HomeSort by relevance Sort by last modified time
    Searched refs:sendBroadcast (Results 1 - 25 of 382) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/content/
BrickDeniedTest.java 29 getContext().sendBroadcast(new Intent("SHES_A_BRICK_HOUSE"));
30 getContext().sendBroadcast(new Intent("android.intent.action.BRICK"));
  /cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/
NoRestartActivity.java 34 sendBroadcast();
41 sendBroadcast();
44 private void sendBroadcast() {
48 sendBroadcast(intent);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ScreenCaptureDisabledActivity.java 32 sendBroadcast(new Intent(ACTIVITY_RESUMED));
ExampleIntentReceivingActivity1.java 30 sendBroadcast(new Intent(CONFIRM_ACTION));
ExampleIntentReceivingActivity2.java 30 sendBroadcast(new Intent(CONFIRM_ACTION));
  /cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
LifecycleActivity.java 37 sendBroadcast(new Intent("android.intent.action.lifecycle_hasResumed"));
43 sendBroadcast(new Intent("android.intent.action.lifecycle_onpause"));
50 sendBroadcast(new Intent("android.intent.action.lifecycle_onstop"));
57 sendBroadcast(new Intent("android.intent.action.lifecycle_ondestroy"));
FocusChangeActivity.java 33 sendBroadcast(new Intent(Utils.GAINED_FOCUS));
36 sendBroadcast(new Intent(Utils.LOST_FOCUS));
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
LockTaskUtilityActivity.java 44 sendBroadcast(new Intent(CREATE_ACTION));
50 sendBroadcast(new Intent(DESTROY_ACTION));
56 sendBroadcast(new Intent(RESUME_ACTION));
62 sendBroadcast(new Intent(PAUSE_ACTION));
80 sendBroadcast(new Intent(INTENT_ACTION));
  /cts/tests/tests/permission/src/android/permission/cts/
TelephonyManagerPermissionTest.java 180 getContext().sendBroadcast(intent);
185 getContext().sendBroadcast(intent);
190 getContext().sendBroadcast(intent);
196 getContext().sendBroadcast(intent);
202 getContext().sendBroadcast(intent);
208 getContext().sendBroadcast(intent);
213 getContext().sendBroadcast(intent);
RebootPermissionTest.java 42 mContext.sendBroadcast(new Intent(Intent.ACTION_REBOOT));
NoBroadcastPackageRemovedPermissionTest.java 55 * Verify that Context#sendBroadcast(Intent),
56 * Context#sendBroadcast(Intent, String)
67 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED));
68 fail("Context.sendBroadcast did not throw SecurityException as expected");
74 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED),
76 fail("Context.sendBroadcast did not throw SecurityException as expected");
  /frameworks/base/services/tests/servicestests/src/com/android/server/
BroadcastInterceptingContext.java 40 * {@link Context#sendBroadcast(Intent)}.
125 public void sendBroadcast(Intent intent) {
138 public void sendBroadcast(Intent intent, String receiverPermission) {
139 sendBroadcast(intent);
144 sendBroadcast(intent);
149 sendBroadcast(intent);
155 sendBroadcast(intent);
160 sendBroadcast(intent);
165 sendBroadcast(intent);
170 sendBroadcast(intent)
    [all...]
  /development/samples/training/threadsample/src/com/example/android/threadsample/
BroadcastNotifier.java 60 mBroadcaster.sendBroadcast(localIntent);
84 mBroadcaster.sendBroadcast(localIntent);
  /cts/tests/tests/telephony/src/android/telephony/cts/
SmsReceiver.java 28 context.sendBroadcast(new Intent(SmsManagerTest.SMS_DELIVER_DEFAULT_APP_ACTION));
  /development/apps/SettingInjectorSample/src/com/example/android/injector/
UpdatingInjectorService.java 40 sendBroadcast(intent);
  /packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetService.java 38 sendBroadcast(new Intent(DataModel.ACTION_DIGITAL_WIDGET_CHANGED));
  /platform_testing/tests/jank/notificationsgenerator_wear/src/com/google/android/wearable/support/
CustomNotificationStubBroadcastActivity.java 37 sendBroadcast(intent);
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ContextWrapperTest.java 45 contextWrapper.sendBroadcast(new Intent("foo"));
48 contextWrapper.sendBroadcast(new Intent("womp"));
51 contextWrapper.sendBroadcast(new Intent("baz"));
63 contextWrapper.sendBroadcast(new Intent("foo"));
66 contextWrapper.sendBroadcast(new Intent("womp"));
69 contextWrapper.sendBroadcast(new Intent("baz"));
80 contextWrapper.sendBroadcast(new Intent("foo"));
94 new ContextWrapper(Robolectric.application).sendBroadcast(new Intent("foo"));
95 Robolectric.application.sendBroadcast(new Intent("baz"));
104 contextWrapper.sendBroadcast(broadcastIntent)
    [all...]
LocalBroadcastManagerTest.java 39 instance.sendBroadcast(new Intent("com.bar"));
41 instance.sendBroadcast(new Intent("com.foo"));
59 instance.sendBroadcast(new Intent("com.foo"));
  /frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
MediaStoreSaver.java 80 context.sendBroadcast(new Intent("android.hardware.action.NEW_PICTURE", fileUri));
83 context.sendBroadcast(new Intent("com.android.camera.NEW_PICTURE", fileUri));
87 context.sendBroadcast(intent);
  /frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
MediaStoreSaver.java 73 context.sendBroadcast(new Intent("android.hardware.action.NEW_PICTURE", fileUri));
77 context.sendBroadcast(new Intent("com.android.camera.NEW_PICTURE", fileUri));
82 context.sendBroadcast(intent);
  /packages/apps/Nfc/src/com/android/nfc/handover/
ConfirmConnectActivity.java 50 sendBroadcast(allowIntent);
60 sendBroadcast(denyIntent);
76 sendBroadcast(denyIntent);
  /cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
SimpleActivityImmediateExit.java 50 sendBroadcast(reply);
  /cts/tests/tests/security/src/android/security/cts/
STKFrameworkTest.java 45 mContext.sendBroadcast(intent);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleAdvertiserService.java 200 sendBroadcast(new Intent(BLE_ADV_NOT_SUPPORT));
220 sendBroadcast(new Intent(BLE_START_ADVERTISE));
223 sendBroadcast(new Intent(BLE_STOP_ADVERTISE));
250 sendBroadcast(new Intent(BLE_START_POWER_LEVEL));
253 sendBroadcast(new Intent(BLE_STOP_POWER_LEVEL));
260 sendBroadcast(new Intent(BLE_START_SCANNABLE));
267 sendBroadcast(new Intent(BLE_START_UNSCANNABLE));
270 sendBroadcast(new Intent(BLE_STOP_SCANNABLE));
273 sendBroadcast(new Intent(BLE_STOP_UNSCANNABLE));

Completed in 1376 milliseconds

1 2 3 4 5 6 7 8 91011>>