Home
last modified time | relevance | path

Searched refs:mBluetoothA2dp (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java46 protected BluetoothA2dp mBluetoothA2dp; field in AbstractBluetoothA2dpPreferenceController
77 if (mBluetoothA2dp == null) { in onPreferenceChange()
85 if (mBluetoothA2dp != null) { in onPreferenceChange()
86 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in onPreferenceChange()
109 if (mBluetoothA2dp == null) { in updateState()
112 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in updateState()
138 mBluetoothA2dp = bluetoothA2dp; in onBluetoothServiceConnected()
151 mBluetoothA2dp = null; in onBluetoothServiceDisconnected()
156 mBluetoothA2dp = null; in onDestroy()
189 if (mBluetoothA2dp == null) { in setCodecConfigPreference()
[all …]
DBluetoothAudioCodecPreferenceController.java112 if (mBluetoothA2dp != null) { in writeConfigurationValues()
113 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in writeConfigurationValues()
117 mBluetoothA2dp.enableOptionalCodecs(activeDevice); in writeConfigurationValues()
123 if (mBluetoothA2dp != null) { in writeConfigurationValues()
124 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in writeConfigurationValues()
128 mBluetoothA2dp.disableOptionalCodecs(activeDevice); in writeConfigurationValues()
DDevelopmentSettingsDashboardFragment.java76 private BluetoothA2dp mBluetoothA2dp; field in DevelopmentSettingsDashboardFragment
115 mBluetoothA2dp = (BluetoothA2dp) proxy;
120 .onBluetoothServiceConnected(mBluetoothA2dp);
128 mBluetoothA2dp = null;
203 adapter.closeProfileProxy(BluetoothProfile.A2DP, mBluetoothA2dp); in onDestroyView()
204 mBluetoothA2dp = null; in onDestroyView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DAbstractBluetoothA2dpPreferenceController.java46 protected BluetoothA2dp mBluetoothA2dp; field in AbstractBluetoothA2dpPreferenceController
77 if (mBluetoothA2dp == null) { in onPreferenceChange()
85 if (mBluetoothA2dp != null) { in onPreferenceChange()
86 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in onPreferenceChange()
88 setCodecConfigPreference(mBluetoothA2dp.getActiveDevice(), codecConfig); in onPreferenceChange()
108 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in updateState()
134 mBluetoothA2dp = bluetoothA2dp; in onBluetoothServiceConnected()
147 mBluetoothA2dp = null; in onBluetoothServiceDisconnected()
152 mBluetoothA2dp = null; in onDestroy()
186 (device != null) ? device : mBluetoothA2dp.getActiveDevice(); in setCodecConfigPreference()
[all …]
DBluetoothAudioCodecPreferenceController.java112 if (mBluetoothA2dp != null) { in writeConfigurationValues()
113 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in writeConfigurationValues()
115 mBluetoothA2dp.enableOptionalCodecs(activeDevice); in writeConfigurationValues()
122 if (mBluetoothA2dp != null) { in writeConfigurationValues()
123 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in writeConfigurationValues()
125 mBluetoothA2dp.disableOptionalCodecs(activeDevice); in writeConfigurationValues()
DDevelopmentSettingsDashboardFragment.java76 private BluetoothA2dp mBluetoothA2dp; field in DevelopmentSettingsDashboardFragment
115 mBluetoothA2dp = (BluetoothA2dp) proxy;
120 .onBluetoothServiceConnected(mBluetoothA2dp);
128 mBluetoothA2dp = null;
203 adapter.closeProfileProxy(BluetoothProfile.A2DP, mBluetoothA2dp); in onDestroyView()
204 mBluetoothA2dp = null; in onDestroyView()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java59 private BluetoothA2dp mBluetoothA2dp; field in A2dpReceiver
88 mBluetoothA2dp = (BluetoothA2dp) proxy;
94 mBluetoothA2dp = null;
405 if (mBluetoothA2dp != null) { in getCodecValue()
406 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in getCodecValue()
411 codecStatus = mBluetoothA2dp.getCodecStatus(activeDevice); in getCodecValue()
461 if (mBluetoothA2dp != null) { in setCodecValue()
472 if (mBluetoothA2dp != null) { in setCodecValue()
473 BluetoothDevice activeDevice = mBluetoothA2dp.getActiveDevice(); in setCodecValue()
479 mBluetoothA2dp.setCodecConfigPreference(mBluetoothA2dp.getActiveDevice(), codecConfig); in setCodecValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceControllerTest.java52 private BluetoothA2dp mBluetoothA2dp; field in AbstractBluetoothA2dpPreferenceControllerTest
84 mController.onBluetoothServiceConnected(mBluetoothA2dp); in onPreferenceChange_bluetoothConnected_shouldUpdateCodec()
115 mController.onBluetoothServiceConnected(mBluetoothA2dp); in onBluetoothServiceConnected_shouldUpdateState()