Home
last modified time | relevance | path

Searched refs:DeviceAdminUserSwitchedEvent (Results 1 – 6 of 6) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminUserSwitchedEventTest.java63DeviceAdminUserSwitchedEvent.logger(DEVICE_ADMIN_RECEIVER, sContext, intent, USER_HANDLE).log(); in whereIntent_works()
65 EventLogs<DeviceAdminUserSwitchedEvent> eventLogs = in whereIntent_works()
66 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereIntent_works()
77 DeviceAdminUserSwitchedEvent.logger( in whereIntent_skipsNonMatching()
79DeviceAdminUserSwitchedEvent.logger(DEVICE_ADMIN_RECEIVER, sContext, intent, USER_HANDLE).log(); in whereIntent_skipsNonMatching()
81 EventLogs<DeviceAdminUserSwitchedEvent> eventLogs = in whereIntent_skipsNonMatching()
82 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereIntent_skipsNonMatching()
90 DeviceAdminUserSwitchedEvent.logger(DEVICE_ADMIN_RECEIVER, sContext, INTENT, USER_HANDLE) in whereDeviceAdminReceiver_customValueOnLogger_works()
94 EventLogs<DeviceAdminUserSwitchedEvent> eventLogs = in whereDeviceAdminReceiver_customValueOnLogger_works()
95 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()) in whereDeviceAdminReceiver_customValueOnLogger_works()
[all …]
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminUserSwitchedEvent.java43 public final class DeviceAdminUserSwitchedEvent extends Event { class
54 extends EventLogsQuery<DeviceAdminUserSwitchedEvent,
67 super(DeviceAdminUserSwitchedEvent.class, packageName); in DeviceAdminUserSwitchedEventQuery()
94 protected boolean filter(DeviceAdminUserSwitchedEvent event) { in filter()
109 return toStringBuilder(DeviceAdminUserSwitchedEvent.class, this) in describeQuery()
127 extends EventLogger<DeviceAdminUserSwitchedEvent> {
131 super(context, new DeviceAdminUserSwitchedEvent()); in DeviceAdminUserSwitchedEventLogger()
DDeviceAdminReceiverEvents.kt43 import com.android.eventlib.events.deviceadminreceivers.DeviceAdminUserSwitchedEvent.DeviceAdminUse…
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppEvents.kt94 import com.android.eventlib.events.deviceadminreceivers.DeviceAdminUserSwitchedEvent
95 import com.android.eventlib.events.deviceadminreceivers.DeviceAdminUserSwitchedEvent.DeviceAdminUse…
231 DeviceAdminUserSwitchedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiverTest.java62 import com.android.eventlib.events.deviceadminreceivers.DeviceAdminUserSwitchedEvent;
422 EventLogs<DeviceAdminUserSwitchedEvent> eventLogs = in userSwitched_logsUserSwitchedEvent()
423 DeviceAdminUserSwitchedEvent.queryPackage(sContext.getPackageName()); in userSwitched_logsUserSwitchedEvent()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiver.kt50 import com.android.eventlib.events.deviceadminreceivers.DeviceAdminUserSwitchedEvent
262 val logger = DeviceAdminUserSwitchedEvent.logger(this, context, intent, switchedUser) in onUserSwitched()