Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminUserSwitchedEvent.java120 Intent intent, UserHandle switchedUser) { in logger() argument
122 deviceAdminReceiver, context, intent, switchedUser); in logger()
130 Intent intent, UserHandle switchedUser) { in DeviceAdminUserSwitchedEventLogger() argument
133 mEvent.mSwitchedUser = new SerializableParcelWrapper<>(switchedUser); in DeviceAdminUserSwitchedEventLogger()
167 public DeviceAdminUserSwitchedEventLogger setSwitchedUser(UserHandle switchedUser) { in setSwitchedUser() argument
168 mEvent.mSwitchedUser = new SerializableParcelWrapper<>(switchedUser); in setSwitchedUser()
192 public UserHandle switchedUser() { in switchedUser() method in DeviceAdminUserSwitchedEvent
208 + ", switchedUser=" + switchedUser() in toString()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminUserSwitchedEventTest.java161 assertThat(eventLogs.poll().switchedUser()).isEqualTo(USER_HANDLE); in whereSwitchedUser_works()
177 assertThat(eventLogs.poll().switchedUser()).isEqualTo(USER_HANDLE); in whereSwitchedUser_skipsNonMatching()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppDeviceAdminReceiver.java167 public void onUserSwitched(Context context, Intent intent, UserHandle switchedUser) { in onUserSwitched() argument
168 super.onUserSwitched(context, intent, switchedUser); in onUserSwitched()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiver.kt261 override fun onUserSwitched(context: Context, intent: Intent, switchedUser: UserHandle) { in onUserSwitched()
262 val logger = DeviceAdminUserSwitchedEvent.logger(this, context, intent, switchedUser) in onUserSwitched()
265 super.onUserRemoved(context, intent, switchedUser) in onUserSwitched()