Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminUserAddedEvent.java119 Intent intent, UserHandle addedUser) { in logger() argument
120 return new DeviceAdminUserAddedEventLogger(deviceAdminReceiver, context, intent, addedUser); in logger()
128 Intent intent, UserHandle addedUser) { in DeviceAdminUserAddedEventLogger() argument
131 mEvent.mAddedUser = new SerializableParcelWrapper<>(addedUser); in DeviceAdminUserAddedEventLogger()
165 public DeviceAdminUserAddedEventLogger setAddedUser(UserHandle addedUser) { in setAddedUser() argument
166 mEvent.mAddedUser = new SerializableParcelWrapper<>(addedUser); in setAddedUser()
190 public UserHandle addedUser() { in addedUser() method in DeviceAdminUserAddedEvent
206 + ", addedUser=" + addedUser() in toString()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminUserAddedEventTest.java164 assertThat(eventLogs.poll().addedUser()).isEqualTo(USER_HANDLE); in whereAddedUser_works()
180 assertThat(eventLogs.poll().addedUser()).isEqualTo(USER_HANDLE); in whereAddedUser_skipsNonMatching()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppDeviceAdminReceiver.java147 public void onUserAdded(Context context, Intent intent, UserHandle addedUser) { in onUserAdded() argument
148 super.onUserAdded(context, intent, addedUser); in onUserAdded()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiver.kt233 override fun onUserAdded(context: Context, intent: Intent, addedUser: UserHandle) { in onUserAdded()
234 val logger = DeviceAdminUserAddedEvent.logger(this, context, intent, addedUser) in onUserAdded()
237 super.onUserAdded(context, intent, addedUser) in onUserAdded()