Home
last modified time | relevance | path

Searched refs:BroadcastReceivedEvent (Results 1 – 10 of 10) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/broadcastreceivers/
DBroadcastReceivedEventTest.java61 BroadcastReceivedEvent.logger(BROADCAST_RECEIVER, sContext, intent, 0).log(); in whereIntent_works()
63 EventLogs<BroadcastReceivedEvent> eventLogs = in whereIntent_works()
64 BroadcastReceivedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
75 BroadcastReceivedEvent.logger(BROADCAST_RECEIVER, sContext, differentIntent, 0).log(); in whereIntent_skipsNonMatching()
76 BroadcastReceivedEvent.logger(BROADCAST_RECEIVER, sContext, intent, 0).log(); in whereIntent_skipsNonMatching()
78 EventLogs<BroadcastReceivedEvent> eventLogs = in whereIntent_skipsNonMatching()
79 BroadcastReceivedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
87 BroadcastReceivedEvent.logger(BROADCAST_RECEIVER, sContext, INTENT, 0) in whereBroadcastReceiver_customValueOnLogger_works()
91 EventLogs<BroadcastReceivedEvent> eventLogs = in whereBroadcastReceiver_customValueOnLogger_works()
92 BroadcastReceivedEvent.queryPackage(sContext.getPackageName()) in whereBroadcastReceiver_customValueOnLogger_works()
[all …]
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibBroadcastReceiverTest.java26 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent;
63 EventLogs<BroadcastReceivedEvent> eventLogs = BroadcastReceivedEvent in receiveBroadcast_logsBroadcastReceivedEvent()
76 EventLogs<BroadcastReceivedEvent> eventLogs = BroadcastReceivedEvent in receiveBroadcast_withGeneratedBroadcastReceiverClass_logsBroadcastReceivedEventWithCorrectClassName()
89 EventLogs<BroadcastReceivedEvent> eventLogs = BroadcastReceivedEvent in receiveBroadcast_logsIntent()
DEventLibAppComponentFactoryTest.java28 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent;
81 EventLogs<BroadcastReceivedEvent> eventLogs = BroadcastReceivedEvent in sendBroadcast_receiverDoesNotExist_launchesBroadcastReceiver()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/broadcastreceivers/
DBroadcastReceivedEvent.java42 public final class BroadcastReceivedEvent extends Event { class
53 extends EventLogsQuery<BroadcastReceivedEvent, BroadcastReceivedEventQuery> {
64 super(BroadcastReceivedEvent.class, packageName); in BroadcastReceivedEventQuery()
91 protected boolean filter(BroadcastReceivedEvent event) { in filter()
106 return toStringBuilder(BroadcastReceivedEvent.class, this) in describeQuery()
121 extends EventLogger<BroadcastReceivedEvent> {
125 super(context, new BroadcastReceivedEvent()); in BroadcastReceivedEventLogger()
DBroadcastReceiverEvents.kt18 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent.BroadcastReceivedEvent…
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibBroadcastReceiver.java23 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent;
39 BroadcastReceivedEvent.BroadcastReceivedEventLogger logger = in onReceive()
40 BroadcastReceivedEvent.logger(this, context, intent, getResultCode()); in onReceive()
DEventLibDeviceAdminReceiver.kt24 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent
292 val logger = BroadcastReceivedEvent.logger(this, context, intent, resultCode) in onReceive()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java50 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent;
240 EventLogs<BroadcastReceivedEvent> logs = in stop_registeredReceiver_doesNotReceiveBroadcast()
241 BroadcastReceivedEvent.queryPackage(sTestApp.packageName()) in stop_registeredReceiver_doesNotReceiveBroadcast()
255 EventLogs<BroadcastReceivedEvent> logs = in unregisterReceiver_registeredReceiver_doesNotReceiveBroadcast()
256 BroadcastReceivedEvent.queryPackage(sTestApp.packageName()) in unregisterReceiver_registeredReceiver_doesNotReceiveBroadcast()
272 EventLogs<BroadcastReceivedEvent> logs = in unregisterReceiver_doesNotUnregisterOtherReceivers()
273 BroadcastReceivedEvent.queryPackage(sTestApp.packageName()) in unregisterReceiver_doesNotUnregisterOtherReceivers()
275 EventLogs<BroadcastReceivedEvent> logs2 = in unregisterReceiver_doesNotUnregisterOtherReceivers()
276 BroadcastReceivedEvent.queryPackage(sTestApp.packageName()) in unregisterReceiver_doesNotUnregisterOtherReceivers()
306 EventLogs<BroadcastReceivedEvent> logs = in registerReceiver_appIsKilled_stillReceivesBroadcast()
[all …]
DTestAppAppComponentFactoryTest.java32 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent;
89 assertThat(BroadcastReceivedEvent in sendBroadcast_receiverDoesNotExist_launchesBroadcastReceiver()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppEvents.kt33 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent
34 import com.android.eventlib.events.broadcastreceivers.BroadcastReceivedEvent.BroadcastReceivedEvent…
153 BroadcastReceivedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())