From 02795c946f221d37ec2dc8decde4dcd376f8a77e Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Wed, 18 Apr 2018 13:33:53 +0100 Subject: [PATCH] Sort hiddenapi-light-greylist.txt Previous CL Ide42eacc8db4e403432ddd9d952495dda85db0ac left it unsorted which makes it difficult to programatically add new APIs. Bug: 64382372 Test: make Change-Id: Iff35925d9ad64d8a98e59c1b8c4094d59a1c3a3c --- config/hiddenapi-light-greylist.txt | 40 ++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/config/hiddenapi-light-greylist.txt b/config/hiddenapi-light-greylist.txt index fa5c808c14a57..bc9f674612730 100644 --- a/config/hiddenapi-light-greylist.txt +++ b/config/hiddenapi-light-greylist.txt @@ -406,17 +406,14 @@ Landroid/appwidget/AppWidgetManager;->bindAppWidgetId(ILandroid/content/Componen Landroid/appwidget/AppWidgetManager;->bindAppWidgetId(ILandroid/content/ComponentName;)V Landroid/appwidget/AppWidgetManager;->mService:Lcom/android/internal/appwidget/IAppWidgetService; Landroid/appwidget/AppWidgetProviderInfo;->providerInfo:Landroid/content/pm/ActivityInfo; +Landroid/bluetooth/BluetoothA2dp;->ACTION_ACTIVE_DEVICE_CHANGED:Ljava/lang/String; +Landroid/bluetooth/BluetoothA2dp;->ACTION_CODEC_CONFIG_CHANGED:Ljava/lang/String; Landroid/bluetooth/BluetoothA2dp;->connect(Landroid/bluetooth/BluetoothDevice;)Z Landroid/bluetooth/BluetoothA2dp;->disableOptionalCodecs(Landroid/bluetooth/BluetoothDevice;)V Landroid/bluetooth/BluetoothA2dp;->enableOptionalCodecs(Landroid/bluetooth/BluetoothDevice;)V Landroid/bluetooth/BluetoothA2dp;->getActiveDevice()Landroid/bluetooth/BluetoothDevice; Landroid/bluetooth/BluetoothA2dp;->getCodecStatus(Landroid/bluetooth/BluetoothDevice;)Landroid/bluetooth/BluetoothCodecStatus; Landroid/bluetooth/BluetoothA2dp;->getOptionalCodecsEnabled(Landroid/bluetooth/BluetoothDevice;)I -Landroid/bluetooth/BluetoothA2dp;->setCodecConfigPreference(Landroid/bluetooth/BluetoothDevice;Landroid/bluetooth/BluetoothCodecConfig;)V -Landroid/bluetooth/BluetoothA2dp;->setOptionalCodecsEnabled(Landroid/bluetooth/BluetoothDevice;I)V -Landroid/bluetooth/BluetoothA2dp;->supportsOptionalCodecs(Landroid/bluetooth/BluetoothDevice;)I -Landroid/bluetooth/BluetoothA2dp;->ACTION_ACTIVE_DEVICE_CHANGED:Ljava/lang/String; -Landroid/bluetooth/BluetoothA2dp;->ACTION_CODEC_CONFIG_CHANGED:Ljava/lang/String; Landroid/bluetooth/BluetoothA2dp;->OPTIONAL_CODECS_NOT_SUPPORTED:I Landroid/bluetooth/BluetoothA2dp;->OPTIONAL_CODECS_PREF_DISABLED:I Landroid/bluetooth/BluetoothA2dp;->OPTIONAL_CODECS_PREF_ENABLED:I @@ -424,6 +421,9 @@ Landroid/bluetooth/BluetoothA2dp;->OPTIONAL_CODECS_PREF_UNKNOWN:I Landroid/bluetooth/BluetoothA2dp;->OPTIONAL_CODECS_SUPPORTED:I Landroid/bluetooth/BluetoothA2dp;->OPTIONAL_CODECS_SUPPORT_UNKNOWN:I Landroid/bluetooth/BluetoothA2dp;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z +Landroid/bluetooth/BluetoothA2dp;->setCodecConfigPreference(Landroid/bluetooth/BluetoothDevice;Landroid/bluetooth/BluetoothCodecConfig;)V +Landroid/bluetooth/BluetoothA2dp;->setOptionalCodecsEnabled(Landroid/bluetooth/BluetoothDevice;I)V +Landroid/bluetooth/BluetoothA2dp;->supportsOptionalCodecs(Landroid/bluetooth/BluetoothDevice;)I Landroid/bluetooth/BluetoothAdapter;->disable(Z)Z Landroid/bluetooth/BluetoothAdapter;->factoryReset()Z Landroid/bluetooth/BluetoothAdapter;->getDiscoverableTimeout()I @@ -432,17 +432,6 @@ Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth; Landroid/bluetooth/BluetoothAdapter;->setScanMode(II)Z Landroid/bluetooth/BluetoothAdapter;->setScanMode(I)Z Landroid/bluetooth/BluetoothCodecConfig; -Landroid/bluetooth/BluetoothCodecConfig;->(IIIIIJJJJ)V -Landroid/bluetooth/BluetoothCodecConfig;->getBitsPerSample()I -Landroid/bluetooth/BluetoothCodecConfig;->getChannelMode()I -Landroid/bluetooth/BluetoothCodecConfig;->getCodecPriority()I -Landroid/bluetooth/BluetoothCodecConfig;->getCodecSpecific1()J -Landroid/bluetooth/BluetoothCodecConfig;->getCodecSpecific2()J -Landroid/bluetooth/BluetoothCodecConfig;->getCodecSpecific3()J -Landroid/bluetooth/BluetoothCodecConfig;->getCodecSpecific4()J -Landroid/bluetooth/BluetoothCodecConfig;->getCodecType()I -Landroid/bluetooth/BluetoothCodecConfig;->getSampleRate()I -Landroid/bluetooth/BluetoothCodecConfig;->setCodecPriority(I)V Landroid/bluetooth/BluetoothCodecConfig;->BITS_PER_SAMPLE_16:I Landroid/bluetooth/BluetoothCodecConfig;->BITS_PER_SAMPLE_24:I Landroid/bluetooth/BluetoothCodecConfig;->BITS_PER_SAMPLE_32:I @@ -453,6 +442,16 @@ Landroid/bluetooth/BluetoothCodecConfig;->CHANNEL_MODE_STEREO:I Landroid/bluetooth/BluetoothCodecConfig;->CODEC_PRIORITY_DEFAULT:I Landroid/bluetooth/BluetoothCodecConfig;->CODEC_PRIORITY_DISABLED:I Landroid/bluetooth/BluetoothCodecConfig;->CODEC_PRIORITY_HIGHEST:I +Landroid/bluetooth/BluetoothCodecConfig;->getBitsPerSample()I +Landroid/bluetooth/BluetoothCodecConfig;->getChannelMode()I +Landroid/bluetooth/BluetoothCodecConfig;->getCodecPriority()I +Landroid/bluetooth/BluetoothCodecConfig;->getCodecSpecific1()J +Landroid/bluetooth/BluetoothCodecConfig;->getCodecSpecific2()J +Landroid/bluetooth/BluetoothCodecConfig;->getCodecSpecific3()J +Landroid/bluetooth/BluetoothCodecConfig;->getCodecSpecific4()J +Landroid/bluetooth/BluetoothCodecConfig;->getCodecType()I +Landroid/bluetooth/BluetoothCodecConfig;->getSampleRate()I +Landroid/bluetooth/BluetoothCodecConfig;->(IIIIIJJJJ)V Landroid/bluetooth/BluetoothCodecConfig;->SAMPLE_RATE_176400:I Landroid/bluetooth/BluetoothCodecConfig;->SAMPLE_RATE_192000:I Landroid/bluetooth/BluetoothCodecConfig;->SAMPLE_RATE_44100:I @@ -460,18 +459,19 @@ Landroid/bluetooth/BluetoothCodecConfig;->SAMPLE_RATE_48000:I Landroid/bluetooth/BluetoothCodecConfig;->SAMPLE_RATE_88200:I Landroid/bluetooth/BluetoothCodecConfig;->SAMPLE_RATE_96000:I Landroid/bluetooth/BluetoothCodecConfig;->SAMPLE_RATE_NONE:I +Landroid/bluetooth/BluetoothCodecConfig;->setCodecPriority(I)V Landroid/bluetooth/BluetoothCodecConfig;->SOURCE_CODEC_TYPE_AAC:I -Landroid/bluetooth/BluetoothCodecConfig;->SOURCE_CODEC_TYPE_APTX:I Landroid/bluetooth/BluetoothCodecConfig;->SOURCE_CODEC_TYPE_APTX_HD:I +Landroid/bluetooth/BluetoothCodecConfig;->SOURCE_CODEC_TYPE_APTX:I Landroid/bluetooth/BluetoothCodecConfig;->SOURCE_CODEC_TYPE_INVALID:I Landroid/bluetooth/BluetoothCodecConfig;->SOURCE_CODEC_TYPE_LDAC:I Landroid/bluetooth/BluetoothCodecConfig;->SOURCE_CODEC_TYPE_MAX:I Landroid/bluetooth/BluetoothCodecConfig;->SOURCE_CODEC_TYPE_SBC:I Landroid/bluetooth/BluetoothCodecStatus; +Landroid/bluetooth/BluetoothCodecStatus;->EXTRA_CODEC_STATUS:Ljava/lang/String; Landroid/bluetooth/BluetoothCodecStatus;->getCodecConfig()Landroid/bluetooth/BluetoothCodecConfig; Landroid/bluetooth/BluetoothCodecStatus;->getCodecsLocalCapabilities()[Landroid/bluetooth/BluetoothCodecConfig; Landroid/bluetooth/BluetoothCodecStatus;->getCodecsSelectableCapabilities()[Landroid/bluetooth/BluetoothCodecConfig; -Landroid/bluetooth/BluetoothCodecStatus;->EXTRA_CODEC_STATUS:Ljava/lang/String; Landroid/bluetooth/BluetoothDevice;->createBond(I)Z Landroid/bluetooth/BluetoothDevice;->getAlias()Ljava/lang/String; Landroid/bluetooth/BluetoothDevice;->getAliasName()Ljava/lang/String; @@ -481,6 +481,7 @@ Landroid/bluetooth/BluetoothGattDescriptor;->mCharacteristic:Landroid/bluetooth/ Landroid/bluetooth/BluetoothGattDescriptor;->mInstance:I Landroid/bluetooth/BluetoothGatt;->mAuthRetryState:I Landroid/bluetooth/BluetoothGatt;->refresh()Z +Landroid/bluetooth/BluetoothHeadset;->ACTION_ACTIVE_DEVICE_CHANGED:Ljava/lang/String; Landroid/bluetooth/BluetoothHeadset;->close()V Landroid/bluetooth/BluetoothHeadset;->connectAudio()Z Landroid/bluetooth/BluetoothHeadset;->disconnectAudio()Z @@ -488,10 +489,9 @@ Landroid/bluetooth/BluetoothHeadset;->getActiveDevice()Landroid/bluetooth/Blueto Landroid/bluetooth/BluetoothHeadset;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z Landroid/bluetooth/BluetoothHeadset;->startScoUsingVirtualVoiceCall(Landroid/bluetooth/BluetoothDevice;)Z Landroid/bluetooth/BluetoothHeadset;->stopScoUsingVirtualVoiceCall(Landroid/bluetooth/BluetoothDevice;)Z -Landroid/bluetooth/BluetoothHeadset;->ACTION_ACTIVE_DEVICE_CHANGED:Ljava/lang/String; +Landroid/bluetooth/BluetoothHearingAid;->ACTION_ACTIVE_DEVICE_CHANGED:Ljava/lang/String; Landroid/bluetooth/BluetoothHearingAid;->getActiveDevices()Ljava/util/List; Landroid/bluetooth/BluetoothHearingAid;->setActiveDevice(Landroid/bluetooth/BluetoothDevice;)Z -Landroid/bluetooth/BluetoothHearingAid;->ACTION_ACTIVE_DEVICE_CHANGED:Ljava/lang/String; Landroid/bluetooth/BluetoothMapClient;->sendMessage(Landroid/bluetooth/BluetoothDevice;[Landroid/net/Uri;Ljava/lang/String;Landroid/app/PendingIntent;Landroid/app/PendingIntent;)Z Landroid/bluetooth/BluetoothPan;->close()V Landroid/bluetooth/BluetoothPan;->connect(Landroid/bluetooth/BluetoothDevice;)Z