Home
last modified time | relevance | path

Searched refs:getBroadcastReceiver (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DActiveDeviceManagerTest.java317 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpConnected()
328 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpDisconnected()
337 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpActiveDeviceChanged()
348 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetConnected()
359 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetDisconnected()
368 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetActiveDeviceChanged()
377 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in hearingAidActiveDeviceChanged()
DPhonePolicyTest.java127 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testProcessInitProfilePriorities()
164 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testAdapterOnAutoConnect()
204 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect()
219 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect()
237 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect()
627 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoReconnectOnNoConnect()
683 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoReconnectOnNoConnect_MultiDevice()
758 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoSupportedUuids()
788 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in updateProfileConnectionStateHelper()
DSilenceDeviceManagerTest.java177 mSilenceDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpConnected()
189 mSilenceDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpDisconnected()
201 mSilenceDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetConnected()
213 mSilenceDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetDisconnected()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocalBroadcastManager.java61 if (wrapper.getBroadcastReceiver() == receiver) { in unregisterReceiver()
78 final BroadcastReceiver receiver = wrapper.getBroadcastReceiver(); in sendBroadcast()
112 public BroadcastReceiver getBroadcastReceiver() { in getBroadcastReceiver() method in ShadowLocalBroadcastManager.Wrapper
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DBroadcastReceiverVerifier.java67 return wrappers.get(i).getBroadcastReceiver(); in getBroadcastReceiverFor()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiverTest.java136 if (wrapper.getBroadcastReceiver() instanceof UsbConnectionBroadcastReceiver) { in countUsbConnectionBroadcastReceivers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DDiscoverableFooterPreferenceControllerTest.java175 registeredBroadcastReceivers.add(wrapper.getBroadcastReceiver()); in getRegisteredBroadcastReceivers()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DSilenceDeviceManager.java343 BroadcastReceiver getBroadcastReceiver() { in getBroadcastReceiver() method in SilenceDeviceManager
DActiveDeviceManager.java476 BroadcastReceiver getBroadcastReceiver() { in getBroadcastReceiver() method in ActiveDeviceManager
DPhonePolicy.java155 BroadcastReceiver getBroadcastReceiver() { in getBroadcastReceiver() method in PhonePolicy