Home
last modified time | relevance | path

Searched refs:broadcast (Results 1 – 18 of 18) sorted by relevance

/cts/hostsidetests/incident/src/com/android/server/cts/
DAlarmManagerIncidentTest.java192 private static void testBroadcastStatsProto(BroadcastStatsProto broadcast) throws Exception { in testBroadcastStatsProto() argument
193 assertNotNull(broadcast); in testBroadcastStatsProto()
195 assertTrue(0 <= broadcast.getUid()); in testBroadcastStatsProto()
196 assertTrue(0 <= broadcast.getTotalFlightDurationMs()); in testBroadcastStatsProto()
197 assertTrue(0 <= broadcast.getCount()); in testBroadcastStatsProto()
198 assertTrue(0 <= broadcast.getWakeupCount()); in testBroadcastStatsProto()
199 assertTrue(0 <= broadcast.getStartTimeRealtime()); in testBroadcastStatsProto()
201 assertTrue(0 <= broadcast.getNesting()); in testBroadcastStatsProto()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DSyncOrderedBroadcast.java47 public int sendAndWait(Context context, Intent broadcast, int initialCode, in sendAndWait() argument
50 context.sendOrderedBroadcast(broadcast, null, mReceiver, in sendAndWait()
59 throw new IllegalStateException("Timed out waiting for broadcast " + broadcast); in sendAndWait()
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/
DPermissionActivity.java84 Intent broadcast = new Intent(ACTION_PERMISSION_RESULT); in sendResultBroadcast() local
85 broadcast.putExtra(EXTRA_GRANT_STATE, result); in sendResultBroadcast()
86 sendBroadcast(broadcast); in sendResultBroadcast()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DEphemeralService.java47 .broadcast(this); in onBind()
60 .broadcast(this); in onStartCommand()
DEphemeralActivity3.java41 .broadcast(this); in onCreate()
DEphemeralActivity2.java41 .broadcast(this); in onCreate()
DEphemeralResult.java42 ((TestResult) intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT)).broadcast(this); in onCreate()
DEphemeralActivity.java53 .broadcast(this); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DExposedService.java47 .broadcast(this); in onBind()
68 .broadcast(this); in onStartCommand()
DNormalService.java51 .broadcast(this); in onStartCommand()
DExposedActivity.java55 .broadcast(this); in onCreate()
DNormalWebActivity.java57 .broadcast(this); in onCreate()
DNormalActivity.java64 .broadcast(this); in onCreate()
DExposedProvider.java69 .broadcast(getContext()); in query()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserApp/src/com/android/cts/userapp/
DUserActivity.java39 .broadcast(this); in onCreate()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceProvider.java92 PendingIntent broadcast = PendingIntent.getBroadcast(getContext(), 0, in onBindSlice() local
94 return builder.addAction(broadcast, subSlice, "action").build(); in onBindSlice()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/ImplicitlyExposedApp/src/com/android/cts/implicitapp/
DImplicitActivity.java54 .broadcast(this); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java71 public void broadcast(Context context) { in broadcast() method in TestResult