/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/ |
D | TestResult.java | 72 final Intent broadcastIntent = new Intent(ACTION_START_ACTIVITY); in broadcast() local 73 broadcastIntent.addCategory(Intent.CATEGORY_DEFAULT); in broadcast() 74 broadcastIntent.addFlags(Intent.FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS); in broadcast() 75 broadcastIntent.putExtra(EXTRA_TEST_RESULT, this); in broadcast() 76 context.sendBroadcast(broadcastIntent); in broadcast() 80 final Intent broadcastIntent = new Intent(Intent.ACTION_VIEW); in startActivity() local 81 broadcastIntent.addCategory(Intent.CATEGORY_BROWSABLE); in startActivity() 82 broadcastIntent.putExtra(EXTRA_TEST_RESULT, this); in startActivity() 83 broadcastIntent.setData(uri); in startActivity() 84 context.startActivity(broadcastIntent); in startActivity()
|
/cts/hostsidetests/devicepolicy/app/ContentCaptureApp/src/com/android/cts/devicepolicy/contentcaptureapp/ |
D | SimpleActivity.java | 65 final Intent broadcastIntent = new Intent() in onReceive() local 68 sendBroadcast(broadcastIntent); in onReceive()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionSession.java | 127 Intent broadcastIntent = new Intent(BroadcastUtils.BROADCAST_INTENT + in onTaskFinished() local 133 broadcastIntent.putExtras(extras); in onTaskFinished() 135 ", intent = " + broadcastIntent.toString()); in onTaskFinished() 136 mContext.sendBroadcast(broadcastIntent); in onTaskFinished()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ContentCaptureActivity.java | 60 final Intent broadcastIntent = new Intent().setAction("SimpleActivityReceiver"); in waitContentCaptureEnabled() local 61 sendBroadcast(broadcastIntent); in waitContentCaptureEnabled()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothLeScanTest.java | 278 Intent broadcastIntent = new Intent(); in testStartScanPendingIntent_nullnull() local 279 broadcastIntent.setClass(mContext, BluetoothScanReceiver.class); in testStartScanPendingIntent_nullnull() 280 PendingIntent pi = PendingIntent.getBroadcast(mContext, 1, broadcastIntent, in testStartScanPendingIntent_nullnull() 309 Intent broadcastIntent = new Intent(); in testStartScanPendingIntent() local 310 broadcastIntent.setClass(mContext, BluetoothScanReceiver.class); in testStartScanPendingIntent() 311 PendingIntent pi = PendingIntent.getBroadcast(mContext, 1, broadcastIntent, in testStartScanPendingIntent()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodServiceDeviceTest.java | 115 helper.shell(ShellCommandUtils.broadcastIntent( in testSwitchIme1ToIme2() 155 helper.shell(ShellCommandUtils.broadcastIntent( in testSwitchInputMethod() 186 helper.shell(ShellCommandUtils.broadcastIntent( in testSwitchToNextInputMethod() 211 helper.shell(ShellCommandUtils.broadcastIntent( in switchToPreviousInputMethod() 302 helper.shell(ShellCommandUtils.broadcastIntent( in testImeVisibilityAfterImeSwitching() 310 helper.shell(ShellCommandUtils.broadcastIntent( in testImeVisibilityAfterImeSwitching() 318 helper.shell(ShellCommandUtils.broadcastIntent( in testImeVisibilityAfterImeSwitching() 363 helper.shell(ShellCommandUtils.broadcastIntent( in testImeSwitchingWithoutWindowFocusAfterDisplayOffOn()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | AutofillManagerTest.java | 111 final Intent broadcastIntent = new Intent(actionAutofillStatusActivityFinish); in runQueryAutofillStatusActivityAndVerifyResult() local 112 final PendingIntent pendingIntent = PendingIntent.getBroadcast(sContext, 0, broadcastIntent, in runQueryAutofillStatusActivityAndVerifyResult()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 124 Intent broadcastIntent = new Intent(ACTION_INSTALL_COMMIT); in getCommitCallback() local 128 broadcastIntent, in getCommitCallback()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextClassifierServiceSwapTest.java | 178 final Intent broadcastIntent = new Intent(actionQueryActivityFinish); in runQueryTextClassifierServiceActivity() local 183 broadcastIntent, in runQueryTextClassifierServiceActivity()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 152 Intent broadcastIntent = new Intent(action); in getCommitCallback() local 156 broadcastIntent, in getCommitCallback()
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | BasePackageInstallTest.java | 194 Intent broadcastIntent = new Intent(action); in getCommitCallback() local 198 broadcastIntent, in getCommitCallback()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
D | ShellCommandUtils.java | 210 public static String broadcastIntent(String action, String targetComponent, String... extras) { in broadcastIntent() method in ShellCommandUtils
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 657 Intent broadcastIntent = new Intent(ACTION_LAUNCH_BACKGROUND_ACTIVITIES); in getLaunchActivitiesBroadcast() local 665 broadcastIntent.putExtra(LAUNCH_INTENTS_EXTRA, intents); in getLaunchActivitiesBroadcast() 666 return broadcastIntent; in getLaunchActivitiesBroadcast()
|
/cts/tests/app/NotificationTrampolineBase/src/com/android/test/notificationtrampoline/ |
D | NotificationTrampolineTestService.java | 114 public void onReceive(Context context, Intent broadcastIntent) { in handleMessage()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 814 final Intent broadcastIntent = new Intent(); in testBackgroundCheckBroadcastService() local 815 broadcastIntent.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in testBackgroundCheckBroadcastService() 816 broadcastIntent.setClassName(SIMPLE_PACKAGE_NAME, in testBackgroundCheckBroadcastService() 841 broadcastIntent.putExtra("service", mServiceIntent); in testBackgroundCheckBroadcastService() 842 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService() 866 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService() 901 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService() 920 br.sendAndWait(mContext, broadcastIntent, Activity.RESULT_OK, null, null, WAIT_TIME); in testBackgroundCheckBroadcastService()
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | InputMethodServiceLifecycleTest.java | 505 shell(ShellCommandUtils.broadcastIntent( in sendTestStartEvent()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 616 final Intent broadcastIntent = new Intent(ResultReceiver.MOCK_ACTION); in testSendOrderedBroadcast1() local 617 broadcastIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in testSendOrderedBroadcast1() 618 mContext.sendOrderedBroadcast(broadcastIntent, null); in testSendOrderedBroadcast1()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 221 Intent broadcastIntent = new Intent(receiverActionName); in testQuery() local 223 broadcastReceivers = mPackageManager.queryBroadcastReceivers(broadcastIntent, 0); in testQuery()
|