Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorTestScreenManipulator.java68 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/
DMainInteractionService.java39 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/
DPackageInstallTest.java32 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/
DEmbeddingActivity.java36 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/
DNetworkSuggestionTestCase.java66 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/
DBroadcastReceiverActivity.java51 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/
DBasePackageInstallTest.java63 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/
DBasePackageInstallTest.java69 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/
DMockTvInputService.java111 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/
DActivityManagerTestBase.java1750 private ComponentName mBroadcastReceiver;
1840 mBroadcastReceiver = broadcastReceiver;
1938 if (mBroadcastReceiver != null && mBroadcastReceiverAction != null) {
1941 .append(" -p ").append(mBroadcastReceiver.getPackageName())