Home
last modified time | relevance | path

Searched refs:BlockingBroadcastReceiver (Results 1 – 25 of 35) sorted by relevance

12

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockingBroadcastReceiver.java61 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/
DBasicTest.java27 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
58 BlockingBroadcastReceiver receiver = in testLaunchAppInstalledInProfileOnly()
59 new BlockingBroadcastReceiver(mContext, ACTIVITY_LAUNCHED_ACTION); in testLaunchAppInstalledInProfileOnly()
DBluetoothTest.java27 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
143 try (BlockingBroadcastReceiver r = new BlockingBroadcastReceiver( in disable()
165 try (BlockingBroadcastReceiver r = new BlockingBroadcastReceiver( in enable()
DResetPasswordWithTokenTest.java24 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
80 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in testClearPasswordBeforeUnlock()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DHotwordDetectionServiceNonExistenceTest.java27 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
44 final BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in testHotwordDetectionService_noHotwordDetectionComponentName_triggerFailure()
DVoiceInteractionSessionVisibleActivityTest.java39 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()
DHotwordDetectionServiceBasicTest.java53 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/
DBlockingIntentSender.java24 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
59 private BlockingBroadcastReceiver mBlockingBroadcastReceiver;
66 mBlockingBroadcastReceiver = BlockingBroadcastReceiver.create( in register()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAppKilledTest.java29 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
37 BlockingBroadcastReceiver mReceiver;
67 mReceiver = new BlockingBroadcastReceiver(sContext, in startOutOfProcessActivity()
DWhitelistTest.java41 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/
DSilentProvisioningTestManager.java33 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/
DStartProfilesTest.java48 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/
DRequestPinAppWidgetTest.java66 BlockingBroadcastReceiver setupReceiver = new BlockingBroadcastReceiver() in runPinWidgetTest()
93 BlockingBroadcastReceiver resultReceiver = new BlockingBroadcastReceiver() in runPinWidgetTest()
DBlockingBroadcastReceiver.java30 public class BlockingBroadcastReceiver extends BroadcastReceiver { class
56 public BlockingBroadcastReceiver register(String action) { in register()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DAppMimeGroups.java33 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/
DAssistScreenCaptureDisabledTest.java16 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
82 BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver( in assertScreenCapturePossible()
DCustomizationRestrictionsTest.java62 private final BlockingBroadcastReceiver mReceiver;
67 mReceiver = new BlockingBroadcastReceiver(); in BroadcastReceiverRegistrator()
81 private class BlockingBroadcastReceiver extends BroadcastReceiver { class in CustomizationRestrictionsTest
DAlwaysOnVpnTest.java26 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/
DHarmfulAppWarningDeviceTest.java29 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/
DAutofillManagerTest.java37 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/
DPackageInstallTest.java9 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/
DPackages.java57 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/
DDeviceAndProfileOwnerTransferOutgoingTest.java36 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
115 BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, in testTransferOwnershipChangedBroadcast()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierServiceSwapTest.java44 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/
DTextToSpeechConnectionTest.java34 import com.android.compatibility.common.util.BlockingBroadcastReceiver;
126 BlockingBroadcastReceiver unbindReceiver = new BlockingBroadcastReceiver(mContext, in testClientsShutdownServiceUnbound()

12