Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleAdvertiserPowerLevelActivity.java72 registerReceiver(onBroadcast, filter, RECEIVER_EXPORTED); in onResume()
78 unregisterReceiver(onBroadcast); in onPause()
103 private BroadcastReceiver onBroadcast = new BroadcastReceiver() { field in BleAdvertiserPowerLevelActivity
DBleButtonActivity.java88 registerReceiver(onBroadcast, filter, RECEIVER_EXPORTED); in onResume()
94 unregisterReceiver(onBroadcast); in onPause()
101 private BroadcastReceiver onBroadcast = new BroadcastReceiver() { field in BleButtonActivity
DBleAdvertiserHardwareScanFilterActivity.java91 registerReceiver(onBroadcast, filter, RECEIVER_EXPORTED); in onResume()
97 unregisterReceiver(onBroadcast); in onPause()
124 private BroadcastReceiver onBroadcast = new BroadcastReceiver() { field in BleAdvertiserHardwareScanFilterActivity
DBleScannerHardwareScanFilterActivity.java92 registerReceiver(onBroadcast, filter, RECEIVER_EXPORTED); in onResume()
96 private BroadcastReceiver onBroadcast = new BroadcastReceiver() { field in BleScannerHardwareScanFilterActivity
114 unregisterReceiver(onBroadcast); in onPause()
DBleScannerPowerLevelActivity.java116 registerReceiver(onBroadcast, filter, RECEIVER_EXPORTED); in onResume()
122 unregisterReceiver(onBroadcast); in onPause()
131 private BroadcastReceiver onBroadcast = new BroadcastReceiver() { field in BleScannerPowerLevelActivity
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandInstallTest.java1961 private void runPackageVerifierTest(BiConsumer<Context, Intent> onBroadcast) in runPackageVerifierTest() argument
1963 runPackageVerifierTest(TEST_HW5, TEST_HW7, "Success", onBroadcast); in runPackageVerifierTest()
1967 BiConsumer<Context, Intent> onBroadcast) throws Exception { in runPackageVerifierTest() argument
1968 runPackageVerifierTest(TEST_HW5, TEST_HW7, expectedResultStartsWith, onBroadcast); in runPackageVerifierTest()
1972 String expectedResultStartsWith, BiConsumer<Context, Intent> onBroadcast) in runPackageVerifierTest() argument
1978 Thread thread = new Thread(() -> onBroadcast.accept(context, intent)); in runPackageVerifierTest()
1990 String expectedResultStartsWith, BiConsumer<Context, Intent> onBroadcast) in runPackageVerifierTestSync() argument
2007 onBroadcast.accept(context, intent); in runPackageVerifierTestSync()