Home
last modified time | relevance | path

Searched refs:mBroadcastReceiver (Results 1 – 4 of 4) 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/voiceinteraction/service/
DMainInteractionService.java42 private BroadcastReceiver mBroadcastReceiver, mResumeReceiver; field in MainInteractionService
67 if (mBroadcastReceiver == null) { in maybeStart()
68 mBroadcastReceiver = new MainInteractionServiceBroadcastReceiver(); in maybeStart()
71 registerReceiver(mBroadcastReceiver, filter); in maybeStart()
149 if (mBroadcastReceiver != null) { in onDestroy()
150 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()
178 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in getCommitCallback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java100 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in MockTvInputService
210 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
215 unregisterReceiver(mBroadcastReceiver); in onDestroy()