/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 61 public class BlockingBroadcastReceiver extends BroadcastReceiver implements AutoCloseable { class 73 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() 77 public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter) { in create() 81 …public static BlockingBroadcastReceiver create(Context context, String expectedAction, Function<In… in create() 85 …public static BlockingBroadcastReceiver create(Context context, IntentFilter intentFilter, Functio… in create() 89 … public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters) { in create() 93 …public static BlockingBroadcastReceiver create(Context context, Set<IntentFilter> intentFilters, F… in create() 94 BlockingBroadcastReceiver blockingBroadcastReceiver = in create() 95 new BlockingBroadcastReceiver(context, intentFilters, checker); in create() 100 public BlockingBroadcastReceiver(Context context, String expectedAction) { in BlockingBroadcastReceiver() method in BlockingBroadcastReceiver [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | BasicTest.java | 27 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 58 BlockingBroadcastReceiver receiver = in testLaunchAppInstalledInProfileOnly() 59 new BlockingBroadcastReceiver(mContext, ACTIVITY_LAUNCHED_ACTION); in testLaunchAppInstalledInProfileOnly()
|
D | BluetoothTest.java | 27 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 143 try (BlockingBroadcastReceiver r = new BlockingBroadcastReceiver( in disable() 165 try (BlockingBroadcastReceiver r = new BlockingBroadcastReceiver( in enable()
|
D | ResetPasswordWithTokenTest.java | 24 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 80 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in testClearPasswordBeforeUnlock()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | HotwordDetectionServiceNonExistenceTest.java | 27 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 44 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in testHotwordDetectionService_noHotwordDetectionComponentName_triggerFailure()
|
D | VoiceInteractionSessionVisibleActivityTest.java | 39 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 138 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in testReceiveVisibleActivityCallbackAfterStartNewOrFinishActivity() 174 final BlockingBroadcastReceiver onVisibleReceiver = new BlockingBroadcastReceiver( in performActivityChangeAndVerifyCallback() 178 final BlockingBroadcastReceiver onInvisibleReceiver = new BlockingBroadcastReceiver( in performActivityChangeAndVerifyCallback()
|
D | HotwordDetectionServiceBasicTest.java | 53 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 286 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in testHotwordDetection() 299 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in performAndGetDetectionResult()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingIntentSender.java | 24 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 59 private BlockingBroadcastReceiver mBlockingBroadcastReceiver; 66 mBlockingBroadcastReceiver = BlockingBroadcastReceiver.create( in register()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | AppKilledTest.java | 29 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 37 BlockingBroadcastReceiver mReceiver; 67 mReceiver = new BlockingBroadcastReceiver(sContext, in startOutOfProcessActivity()
|
D | WhitelistTest.java | 41 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 142 final BlockingBroadcastReceiver receiver = in launchActivityAndAssert() 143 new BlockingBroadcastReceiver(sContext, actionActivityFinish); in launchActivityAndAssert()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/devicepolicy/provisioning/ |
D | SilentProvisioningTestManager.java | 33 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 85 BlockingBroadcastReceiver managedProfileProvisionedReceiver = in waitManagedProfileProvisioning() 86 new BlockingBroadcastReceiver(mContext, ACTION_MANAGED_PROFILE_PROVISIONED); in waitManagedProfileProvisioning() 87 BlockingBroadcastReceiver managedProfileAddedReceiver = in waitManagedProfileProvisioning() 88 new BlockingBroadcastReceiver(mContext, ACTION_MANAGED_PROFILE_ADDED); in waitManagedProfileProvisioning()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | StartProfilesTest.java | 48 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 92 BlockingBroadcastReceiver broadcastReceiver = sDeviceState.registerBroadcastReceiver( in startProfile_broadcastIsReceived_profileIsStarted() 119 BlockingBroadcastReceiver broadcastReceiver = sDeviceState.registerBroadcastReceiver( in stopProfile_profileIsStopped() 136 try (BlockingBroadcastReceiver broadcastReceiver = sDeviceState.registerBroadcastReceiver( in startUser_immediatelyAfterStopped_profileIsStarted() 143 BlockingBroadcastReceiver broadcastReceiver = sDeviceState.registerBroadcastReceiver( in startUser_immediatelyAfterStopped_profileIsStarted() 221 try (BlockingBroadcastReceiver broadcastReceiver = sDeviceState.registerBroadcastReceiver( in startProfile_tvProfile_profileIsStarted() 236 BlockingBroadcastReceiver broadcastReceiver = sDeviceState.registerBroadcastReceiver( in stopProfile_tvProfile_profileIsStopped()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | RequestPinAppWidgetTest.java | 66 BlockingBroadcastReceiver setupReceiver = new BlockingBroadcastReceiver() in runPinWidgetTest() 93 BlockingBroadcastReceiver resultReceiver = new BlockingBroadcastReceiver() in runPinWidgetTest()
|
D | BlockingBroadcastReceiver.java | 30 public class BlockingBroadcastReceiver extends BroadcastReceiver { class 56 public BlockingBroadcastReceiver register(String action) { in register()
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/ |
D | AppMimeGroups.java | 33 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 69 BlockingBroadcastReceiver receiver = in sendRequestAndAwait() 70 new BlockingBroadcastReceiver(mContext, ACTION_RESPONSE); in sendRequestAndAwait()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AssistScreenCaptureDisabledTest.java | 16 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 82 BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver( in assertScreenCapturePossible()
|
D | CustomizationRestrictionsTest.java | 62 private final BlockingBroadcastReceiver mReceiver; 67 mReceiver = new BlockingBroadcastReceiver(); in BroadcastReceiverRegistrator() 81 private class BlockingBroadcastReceiver extends BroadcastReceiver { class in CustomizationRestrictionsTest
|
D | AlwaysOnVpnTest.java | 26 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 125 final BlockingBroadcastReceiver receiver = VpnTestHelper.registerOnStartReceiver(mContext); in testVpnLockdownUpdateAllowlist() 166 final BlockingBroadcastReceiver receiver = VpnTestHelper.registerOnStartReceiver(mContext); in testVpnLockdownAllowlistVpnComesUp()
|
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/ |
D | HarmfulAppWarningDeviceTest.java | 29 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 57 private BlockingBroadcastReceiver mSampleActivityStartedReceiver; 105 mSampleActivityStartedReceiver = new BlockingBroadcastReceiver( in setUp()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | AutofillManagerTest.java | 37 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 102 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(sContext, in runQueryAutofillStatusActivityAndVerifyResult()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 9 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 32 private BlockingBroadcastReceiver mBroadcastReceiver; 41 mBroadcastReceiver = new BlockingBroadcastReceiver(mContext, ACTION_INSTALL_COMMIT); in setUp()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | Packages.java | 57 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 260 BlockingBroadcastReceiver broadcastReceiver = in install() 283 private Package waitForPackageAddedBroadcast(BlockingBroadcastReceiver broadcastReceiver) { in waitForPackageAddedBroadcast() 370 BlockingBroadcastReceiver broadcastReceiver = in install() 426 BlockingBroadcastReceiver broadcastReceiver = in installPreS() 490 private BlockingBroadcastReceiver registerPackageInstalledBroadcastReceiver( in registerPackageInstalledBroadcastReceiver() 492 BlockingBroadcastReceiver broadcastReceiver = BlockingBroadcastReceiver.create( in registerPackageInstalledBroadcastReceiver()
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/ |
D | DeviceAndProfileOwnerTransferOutgoingTest.java | 36 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 115 BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in testTransferOwnershipChangedBroadcast()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextClassifierServiceSwapTest.java | 44 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 169 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(context, in runQueryTextClassifierServiceActivity()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechConnectionTest.java | 34 import com.android.compatibility.common.util.BlockingBroadcastReceiver; 126 BlockingBroadcastReceiver unbindReceiver = new BlockingBroadcastReceiver(mContext, in testClientsShutdownServiceUnbound()
|