/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/ |
TestResult.java | 72 final Intent broadcastIntent = new Intent(ACTION_START_ACTIVITY); 73 broadcastIntent.addCategory(Intent.CATEGORY_DEFAULT); 74 broadcastIntent.addFlags(Intent.FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS); 75 broadcastIntent.putExtra(EXTRA_TEST_RESULT, this); 76 context.sendBroadcast(broadcastIntent); 80 final Intent broadcastIntent = new Intent(Intent.ACTION_VIEW); 81 broadcastIntent.addCategory(Intent.CATEGORY_BROWSABLE); 82 broadcastIntent.putExtra(EXTRA_TEST_RESULT, this); 83 broadcastIntent.setData(uri); 84 context.startActivity(broadcastIntent); [all...] |
/cts/hostsidetests/devicepolicy/app/ContentCaptureApp/src/com/android/cts/devicepolicy/contentcaptureapp/ |
SimpleActivity.java | 65 final Intent broadcastIntent = new Intent() 68 sendBroadcast(broadcastIntent);
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
ContentCaptureActivity.java | 60 final Intent broadcastIntent = new Intent().setAction("SimpleActivityReceiver"); 61 sendBroadcast(broadcastIntent);
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
BluetoothLeScanTest.java | 283 Intent broadcastIntent = new Intent(); 284 broadcastIntent.setClass(mContext, BluetoothScanReceiver.class); 285 PendingIntent pi = PendingIntent.getBroadcast(mContext, 1, broadcastIntent, 0); 313 Intent broadcastIntent = new Intent(); 314 broadcastIntent.setClass(mContext, BluetoothScanReceiver.class); 315 PendingIntent pi = PendingIntent.getBroadcast(mContext, 1, broadcastIntent, 0);
|
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/ |
ShadowLocalBroadcastManager.java | 63 final Intent broadcastIntent = intent; 67 receiver.onReceive(RuntimeEnvironment.application, broadcastIntent);
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
MainInteractionSession.java | 124 Intent broadcastIntent = new Intent(BroadcastUtils.BROADCAST_INTENT + 130 broadcastIntent.putExtras(extras); 132 ", intent = " + broadcastIntent.toString()); 133 mContext.sendBroadcast(broadcastIntent);
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
PackageInstallTest.java | 124 Intent broadcastIntent = new Intent(ACTION_INSTALL_COMMIT); 128 broadcastIntent,
|
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/ |
ShadowLocalBroadcastManagerTest.java | 135 Intent broadcastIntent = new Intent("foo"); 136 broadcastManager.sendBroadcast(broadcastIntent); 139 assertEquals(broadcastIntent, shadowLocalBroadcastManager.getSentBroadcastIntents().get(0));
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
ShellCommandUtils.java | 173 public static String broadcastIntent(String action, String targetComponent, String... extras) {
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
InputMethodServiceDeviceTest.java | 108 helper.shell(ShellCommandUtils.broadcastIntent( 148 helper.shell(ShellCommandUtils.broadcastIntent( 179 helper.shell(ShellCommandUtils.broadcastIntent( 204 helper.shell(ShellCommandUtils.broadcastIntent(
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
BasePackageInstallTest.java | 152 Intent broadcastIntent = new Intent(action); 156 broadcastIntent,
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
BasePackageInstallTest.java | 194 Intent broadcastIntent = new Intent(action); 198 broadcastIntent,
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowUsageStatsManagerTest.java | 285 Intent broadcastIntent = broadcastIntents.get(0); 286 assertThat(broadcastIntent.getAction()).isEqualTo("ACTION2"); 287 assertThat(broadcastIntent.getIntExtra(UsageStatsManager.EXTRA_OBSERVER_ID, 0)).isEqualTo(24); 288 assertThat(broadcastIntent.getLongExtra(UsageStatsManager.EXTRA_TIME_LIMIT, 0)) 290 assertThat(broadcastIntent.getLongExtra(UsageStatsManager.EXTRA_TIME_USED, 0))
|
ShadowApplicationTest.java | 477 Intent broadcastIntent = new Intent("foo"); 478 context.sendBroadcast(broadcastIntent); 482 assertThat(broadcastIntents.get(0)).isEqualTo(broadcastIntent); 487 Intent broadcastIntent = new Intent("Foo"); 488 context.sendStickyBroadcast(broadcastIntent); 496 context.sendStickyBroadcast(broadcastIntent);
|
ShadowContextWrapperTest.java | 280 Intent broadcastIntent = new Intent("foo"); 281 contextWrapper.sendBroadcast(broadcastIntent); 285 assertEquals(broadcastIntent, broadcastIntents.get(0));
|
/cts/tests/app/src/android/app/cts/ |
ActivityManagerProcessStateTest.java | [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 518 final Intent broadcastIntent = new Intent(ResultReceiver.MOCK_ACTION); 519 broadcastIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); 520 mContext.sendOrderedBroadcast(broadcastIntent, null); [all...] |
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
InputMethodServiceLifecycleTest.java | 404 shell(ShellCommandUtils.broadcastIntent(
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 154 Intent broadcastIntent = new Intent(receiverActionName); 156 broadcastReceivers = mPackageManager.queryBroadcastReceivers(broadcastIntent, 0); [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowInstrumentation.java | 267 final Intent broadcastIntent = intent; 273 shReceiver.onReceive(context, broadcastIntent, abort);
|