/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/tests/assist/service/src/android/assist/service/ |
D | MainInteractionService.java | 39 private BroadcastReceiver mBroadcastReceiver; field in MainInteractionService 84 if (mBroadcastReceiver == null) { in maybeStart() 85 mBroadcastReceiver = new MainInteractionServiceBroadcastReceiver(); in maybeStart() 88 registerReceiver(mBroadcastReceiver, filter, in maybeStart() 134 if (mBroadcastReceiver != null) { in onDestroy() 135 unregisterReceiver(mBroadcastReceiver); in onDestroy()
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/ |
D | NetworkSuggestionTestCase.java | 66 private BroadcastReceiver mBroadcastReceiver; field in NetworkSuggestionTestCase 115 mBroadcastReceiver = new BroadcastReceiver() { in executeTest() 128 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in executeTest() 241 if (mBroadcastReceiver != null) { in tearDown() 242 mContext.unregisterReceiver(mBroadcastReceiver); in tearDown()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | BroadcastReceiverActivity.java | 51 private TestBroadcastReceiver mBroadcastReceiver = new TestBroadcastReceiver(); field in BroadcastReceiverActivity 59 registerReceiver(mBroadcastReceiver, broadcastFilter); in onCreate() 83 unregisterReceiver(mBroadcastReceiver); in onDestroy()
|
/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/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 | 1750 private ComponentName mBroadcastReceiver; 1840 mBroadcastReceiver = broadcastReceiver; 1938 if (mBroadcastReceiver != null && mBroadcastReceiverAction != null) { 1941 .append(" -p ").append(mBroadcastReceiver.getPackageName())
|