/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/broadcastreceivers/ |
D | BroadcastReceivedEvent.java | 53 BroadcastReceiverQueryHelper<BroadcastReceivedEventQuery> mBroadcastReceiver = field in BroadcastReceivedEvent.BroadcastReceivedEventQuery 72 return mBroadcastReceiver; in whereBroadcastReceiver() 80 if (!mBroadcastReceiver.matches(event.mBroadcastReceiver)) { in filter() 90 .field("broadcastReceiver", mBroadcastReceiver) in describeQuery() 114 mEvent.mBroadcastReceiver = new BroadcastReceiverInfo(broadcastReceiver); in setBroadcastReceiver() 121 mEvent.mBroadcastReceiver = new BroadcastReceiverInfo(broadcastReceiverClass); in setBroadcastReceiver() 128 mEvent.mBroadcastReceiver = new BroadcastReceiverInfo(broadcastReceiverClassName); in setBroadcastReceiver() 140 protected BroadcastReceiverInfo mBroadcastReceiver; field in BroadcastReceivedEvent 154 return mBroadcastReceiver; in broadcastReceiver() 161 + ", broadcastReceiver=" + mBroadcastReceiver in toString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | SensorTestScreenManipulator.java | 68 private InternalBroadcastReceiver mBroadcastReceiver; field in SensorTestScreenManipulator 107 if (mBroadcastReceiver == null) { in initialize() 108 mBroadcastReceiver = new InternalBroadcastReceiver(); in initialize() 111 mActivity.registerReceiver(mBroadcastReceiver, intentFilter); in initialize() 120 if (mBroadcastReceiver != null) { in close() 121 mActivity.unregisterReceiver(mBroadcastReceiver); in close() 122 mBroadcastReceiver = null; in close()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | BroadcastReceiverActivity.java | 54 private TestBroadcastReceiver mBroadcastReceiver; field in BroadcastReceiverActivity 62 mBroadcastReceiver = (TestBroadcastReceiver) receiver; in onCreate() 63 mBroadcastReceiver.associate(this); in onCreate() 65 mBroadcastReceiver = new TestBroadcastReceiver(this); in onCreate() 66 mBroadcastReceiver.register(); in onCreate() 89 mBroadcastReceiver.destroy(); in onDestroy() 94 return mBroadcastReceiver; in onRetainNonConfigurationInstance()
|
D | HideOverlayWindowsActivity.java | 40 registerReceiver(mBroadcastReceiver, new IntentFilter(ACTION)); in onCreate() 43 BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in HideOverlayWindowsActivity
|
/cts/tests/tests/assist/service/src/android/assist/service/ |
D | MainInteractionService.java | 40 private BroadcastReceiver mBroadcastReceiver; field in MainInteractionService 85 if (mBroadcastReceiver == null) { in maybeStart() 86 mBroadcastReceiver = new MainInteractionServiceBroadcastReceiver(); in maybeStart() 89 registerReceiver(mBroadcastReceiver, filter, in maybeStart() 136 if (mBroadcastReceiver != null) { in onDestroy() 137 unregisterReceiver(mBroadcastReceiver); in onDestroy()
|
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/ |
D | MainActivity.java | 58 private BroadcastReceiver mBroadcastReceiver; field in MainActivity 123 mBroadcastReceiver = new BroadcastReceiver() { in onStart() 144 registerReceiver(mBroadcastReceiver, new IntentFilter(ACTION_TRIGGER)); in onStart() 150 if (mBroadcastReceiver != null) { in onStop() 151 unregisterReceiver(mBroadcastReceiver); in onStop() 152 mBroadcastReceiver = null; in onStop()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 32 private BlockingBroadcastReceiver mBroadcastReceiver; field in PackageInstallTest 41 mBroadcastReceiver = new BlockingBroadcastReceiver(mContext, ACTION_INSTALL_COMMIT); in setUp() 42 mBroadcastReceiver.register(); in setUp() 47 mBroadcastReceiver.unregisterQuietly(); in tearDown() 61 Intent intent = mBroadcastReceiver.awaitForBroadcast(); in testPackageInstall() 77 Intent intent = mBroadcastReceiver.awaitForBroadcast(); in testPackageUninstall()
|
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/ |
D | EmbeddingActivity.java | 36 private TestBroadcastReceiver mBroadcastReceiver = new TestBroadcastReceiver(); field in EmbeddingActivity 43 registerReceiver(mBroadcastReceiver, broadcastFilter); in onCreate() 50 unregisterReceiver(mBroadcastReceiver); in onDestroy()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_SimContactTest.java | 55 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in ContactsContract_SimContactTest 115 getContext().registerReceiver(mBroadcastReceiver, in testAddSimAccount_broadcastsChange() 138 getContext().registerReceiver(mBroadcastReceiver, in testRemoveSimAccount_broadcastsChange()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 63 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BasePackageInstallTest 104 mContext.unregisterReceiver(mBroadcastReceiver); in tearDown() 149 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in getCommitCallback()
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | BasePackageInstallTest.java | 69 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BasePackageInstallTest 115 mContext.unregisterReceiver(mBroadcastReceiver); in tearDown() 191 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in getCommitCallback()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/ |
D | NetworkSuggestionTestCase.java | 81 private BroadcastReceiver mBroadcastReceiver; field in NetworkSuggestionTestCase 224 mBroadcastReceiver = new BroadcastReceiver() { in executeTest() 237 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in executeTest() 468 if (mBroadcastReceiver != null) { in tearDown() 469 mContext.unregisterReceiver(mBroadcastReceiver); in tearDown()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 75 private BroadcastReceiver mBroadcastReceiver; field in WallpaperManagerTest 90 mBroadcastReceiver = new BroadcastReceiver() { in setUp() 99 mContext.registerReceiver(mBroadcastReceiver, in setUp() 106 if (mBroadcastReceiver != null) { in tearDown() 107 mContext.unregisterReceiver(mBroadcastReceiver); in tearDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputService.java | 111 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in MockTvInputService 227 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate() 232 unregisterReceiver(mBroadcastReceiver); in onDestroy()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 2272 private ComponentName mBroadcastReceiver; 2378 mBroadcastReceiver = broadcastReceiver; 2489 if (mBroadcastReceiver != null && mBroadcastReceiverAction != null) { 2492 .append(" -p ").append(mBroadcastReceiver.getPackageName())
|