/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingPreferenceController.java | 49 @Nullable private final BluetoothEventManager mEventManager; field in AudioSharingPreferenceController 93 mEventManager = mBtManager == null ? null : mBtManager.getEventManager(); in AudioSharingPreferenceController() 107 if (mEventManager == null || mBroadcast == null) { in onStart() 111 mEventManager.registerCallback(this); in onStart() 121 if (mEventManager == null || mBroadcast == null) { in onStop() 125 mEventManager.unregisterCallback(this); in onStop()
|
D | AudioSharingCallAudioPreferenceController.java | 82 @Nullable private final BluetoothEventManager mEventManager; field in AudioSharingCallAudioPreferenceController 155 mEventManager = mBtManager == null ? null : mBtManager.getEventManager(); in AudioSharingCallAudioPreferenceController() 290 if (mEventManager == null || mContentResolver == null || mAssistant == null) { in registerCallbacks() 294 + (mEventManager == null) in registerCallbacks() 301 mEventManager.registerCallback(this); in registerCallbacks() 316 if (mEventManager == null || mContentResolver == null || mAssistant == null) { in unregisterCallbacks() 322 mEventManager.unregisterCallback(this); in unregisterCallbacks()
|
D | AudioSharingDevicePreferenceController.java | 79 @Nullable private final BluetoothEventManager mEventManager; field in AudioSharingDevicePreferenceController 178 mEventManager = mBtManager == null ? null : mBtManager.getEventManager(); in AudioSharingDevicePreferenceController() 199 if (mEventManager == null in onStart() 207 mEventManager.registerCallback(this); in onStart() 223 if (mEventManager == null in onStop() 231 mEventManager.unregisterCallback(this); in onStop()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/wear/ |
D | StreamingPacketFile.java | 37 private final EventManager mEventManager; field in StreamingPacketFile 58 mEventManager = eventManager; in StreamingPacketFile() 114 mEventManager.execute(() -> { in onBufferedFileInboundData()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/ |
D | BufferedFile.java | 52 private final EventManager mEventManager; field in BufferedFile 86 mEventManager = eventManager; in BufferedFile() 261 mEventManager.execute(() -> { in scheduleOnIoError()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | AvailableMediaDeviceGroupControllerTest.java | 119 @Mock private BluetoothEventManager mEventManager; field in AvailableMediaDeviceGroupControllerTest 165 doReturn(mEventManager).when(mLocalBluetoothManager).getEventManager(); in setUp() 229 verify(mEventManager).registerCallback(any(BluetoothCallback.class)); in testRegister_audioSharingFlagOff() 249 verify(mEventManager).registerCallback(any(BluetoothCallback.class)); in testRegister_audioSharingFlagOn() 267 verify(mEventManager).unregisterCallback(any(BluetoothCallback.class)); in testUnregister_audioSharingFlagOff() 282 verify(mEventManager).unregisterCallback(any(BluetoothCallback.class)); in testUnregister_audioSharingFlagOn()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothPreferenceControllerTest.java | 68 private BluetoothEventManager mEventManager; field in BluetoothPreferenceControllerTest 81 ReflectionHelpers.setField(mLocalBluetoothManager, "mEventManager", mEventManager); in setUp() 269 verify(mEventManager).registerCallback(mController); in onStart_registersEventListener() 281 verify(mEventManager).unregisterCallback(mController); in onStop_unregistersEventListener()
|
D | PairNewDevicePreferenceControllerTest.java | 69 private BluetoothEventManager mEventManager; field in PairNewDevicePreferenceControllerTest 84 ReflectionHelpers.setField(mLocalBluetoothManager, "mEventManager", mEventManager); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDevicePreferenceControllerTest.java | 116 @Mock private BluetoothEventManager mEventManager; field in AudioSharingDevicePreferenceControllerTest 153 when(mLocalBtManager.getEventManager()).thenReturn(mEventManager); in setUp() 193 verify(mEventManager, never()).registerCallback(any(BluetoothCallback.class)); in onStart_flagOff_doNothing() 206 verify(mEventManager).registerCallback(any(BluetoothCallback.class)); in onStart_flagOn_registerCallbacks() 219 verify(mEventManager, never()).unregisterCallback(any(BluetoothCallback.class)); in onStop_flagOff_doNothing() 230 verify(mEventManager).unregisterCallback(any(BluetoothCallback.class)); in onStop_flagOn_unregisterCallbacks()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceControllerTest.java | 103 private BluetoothEventManager mEventManager; field in AccessibilityHearingAidPreferenceControllerTest 298 doReturn(mEventManager).when(mLocalBluetoothManager).getEventManager(); in setupEnvironment()
|