Home
last modified time | relevance | path

Searched refs:startedUser (Results 1 – 4 of 4) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminUserStartedEvent.java118 … DeviceAdminReceiver deviceAdminReceiver, Context context, Intent intent, UserHandle startedUser) { in logger() argument
119 … return new DeviceAdminUserStartedEventLogger(deviceAdminReceiver, context, intent, startedUser); in logger()
126 … DeviceAdminReceiver deviceAdminReceiver, Context context, Intent intent, UserHandle startedUser) { in DeviceAdminUserStartedEventLogger() argument
129 mEvent.mStartedUser = new SerializableParcelWrapper<>(startedUser); in DeviceAdminUserStartedEventLogger()
163 public DeviceAdminUserStartedEventLogger setStartedUser(UserHandle startedUser) { in setStartedUser() argument
164 mEvent.mStartedUser = new SerializableParcelWrapper<>(startedUser); in setStartedUser()
188 public UserHandle startedUser() { in startedUser() method in DeviceAdminUserStartedEvent
204 + ", startedUser=" + startedUser() in toString()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminUserStartedEventTest.java161 assertThat(eventLogs.poll().startedUser()).isEqualTo(USER_HANDLE); in whereStartedUser_works()
177 assertThat(eventLogs.poll().startedUser()).isEqualTo(USER_HANDLE); in whereStartedUser_skipsNonMatching()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppDeviceAdminReceiver.java157 public void onUserStarted(Context context, Intent intent, UserHandle startedUser) { in onUserStarted() argument
158 super.onUserStarted(context, intent, startedUser); in onUserStarted()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiver.kt247 override fun onUserStarted(context: Context, intent: Intent, startedUser: UserHandle) { in onUserStarted()
248 val logger = DeviceAdminUserStartedEvent.logger(this, context, intent, startedUser) in onUserStarted()
251 super.onUserStarted(context, intent, startedUser) in onUserStarted()