Home
last modified time | relevance | path

Searched refs:broadcastReceiver (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourcesLiveDataTest.java125 .map(wrapper -> wrapper.broadcastReceiver) in testGetAppsOnPackageAdded()
126 .forEach(broadcastReceiver -> broadcastReceiver.onReceive(application, in testGetAppsOnPackageAdded()
148 .map(wrapper -> wrapper.broadcastReceiver) in testGetAppsOnPackageRemoved()
149 .forEach(broadcastReceiver -> in testGetAppsOnPackageRemoved()
150 broadcastReceiver.onReceive(application, packageRemoved)); in testGetAppsOnPackageRemoved()
/packages/apps/TV/common/src/com/android/tv/common/support/tis/
DBaseTvInputService.java39 protected final BroadcastReceiver broadcastReceiver = field in BaseTvInputService
78 registerReceiver(broadcastReceiver, INTENT_FILTER); in onCreate()
84 unregisterReceiver(broadcastReceiver); in onDestroy()
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/support/tis/
DBaseTvInputServiceTest.java125 tvInputService.broadcastReceiver.onReceive( in testReceiver_actionEnabledChanged()
134 tvInputService.broadcastReceiver.onReceive( in testReceiver_actionBlockedChanged()
143 tvInputService.broadcastReceiver.onReceive( in testReceiver_invalidAction()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocalBroadcastManager.java107 public Wrapper(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter) { in Wrapper() argument
108 this.mBroadcastReceiver = broadcastReceiver; in Wrapper()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java131 final BroadcastReceiver broadcastReceiver = new BroadcastReceiver() { in clearPackageData() local
137 mTargetContext.registerReceiver(broadcastReceiver, in clearPackageData()
143 mTargetContext.unregisterReceiver(broadcastReceiver); in clearPackageData()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java900 for (ResolveInfo broadcastReceiver : broadcastReceivers) { in postViewNotificationToSyncAdapter()
901 Log.d(TAG, broadcastReceiver.activityInfo.toString()); in postViewNotificationToSyncAdapter()