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/ |
D | DeviceAdminUserAddedEvent.java | 119 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/ |
D | DeviceAdminUserAddedEventTest.java | 164 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/ |
D | BaseTestAppDeviceAdminReceiver.java | 147 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/ |
D | EventLibDeviceAdminReceiver.kt | 233 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()
|