Home
last modified time | relevance | path

Searched refs:ServiceCreatedEvent (Results 1 – 8 of 8) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/
DServiceCreatedEvent.java35 public class ServiceCreatedEvent extends Event { class
40 public static ServiceCreatedEvent.ServiceCreatedEventQuery queryPackage(String packageName) { in queryPackage()
41 return new ServiceCreatedEvent.ServiceCreatedEventQuery(packageName); in queryPackage()
46 extends EventLogsQuery<ServiceCreatedEvent,
47 ServiceCreatedEvent.ServiceCreatedEventQuery> {
51 ServiceQueryHelper<ServiceCreatedEvent.ServiceCreatedEventQuery> mService =
55 super(ServiceCreatedEvent.class, packageName); in ServiceCreatedEventQuery()
60 public ServiceQuery<ServiceCreatedEvent.ServiceCreatedEventQuery> whereService() { in whereService()
65 protected boolean filter(ServiceCreatedEvent event) { in filter()
74 return toStringBuilder(ServiceCreatedEvent.class, this) in describeQuery()
[all …]
DServiceEvents.kt20 import com.android.eventlib.events.services.ServiceCreatedEvent.ServiceCreatedEventQuery
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibServiceTest.java26 import com.android.eventlib.events.services.ServiceCreatedEvent;
53 EventLogs<ServiceCreatedEvent> eventLogs = ServiceCreatedEvent in launchEventLibService_logsServiceCreatedEvent()
66 EventLogs<ServiceCreatedEvent> eventLogs = ServiceCreatedEvent in launchEventLibService_withGeneratedServiceClass_logsServiceCreatedEventWithCorrectClassName()
DEventLibAppComponentFactoryTest.java29 import com.android.eventlib.events.services.ServiceCreatedEvent;
95 EventLogs<ServiceCreatedEvent> eventLogs = in startService_serviceDoesNotExist_startsLoggingService()
96 ServiceCreatedEvent.queryPackage(sContext.getPackageName()) in startService_serviceDoesNotExist_startsLoggingService()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppAppComponentFactoryTest.java33 import com.android.eventlib.events.services.ServiceCreatedEvent;
103 assertThat(ServiceCreatedEvent.queryPackage(sContext.getPackageName()) in startService_serviceDoesNotExist_startsLoggingService()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibService.java28 import com.android.eventlib.events.services.ServiceCreatedEvent;
70 ServiceCreatedEvent.logger(this, getClassName()).log(); in onCreate()
DEventLibContentSuggestionsService.java31 import com.android.eventlib.events.services.ServiceCreatedEvent;
94 ServiceCreatedEvent.logger(this, getClassName()).log(); in onCreate()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppEvents.kt100 import com.android.eventlib.events.services.ServiceCreatedEvent
101 import com.android.eventlib.events.services.ServiceCreatedEvent.ServiceCreatedEventQuery
234 ServiceCreatedEvent.queryPackage(mTestApp.testApp().packageName()).onUser(mTestApp.user())