Home
last modified time | relevance | path

Searched refs:launchAsUser (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/core/
DSubSettingLauncher.java140 boolean launchAsUser = mLaunchRequest.mUserHandle != null in launch()
143 if (launchAsUser && launchForResult) { in launch()
146 } else if (launchAsUser && !launchForResult) { in launch()
147 launchAsUser(intent, mLaunchRequest.mUserHandle); in launch()
148 } else if (!launchAsUser && launchForResult) { in launch()
191 void launchAsUser(Intent intent, UserHandle userHandle) { in launchAsUser() method in SubSettingLauncher
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DSubSettingLauncherTest.java138 doNothing().when(launcher).launchAsUser(any(Intent.class), any(UserHandle.class)); in launch_hasUserHandle_shouldStartActivityAsUser()
147 verify(launcher).launchAsUser(any(Intent.class), eq(userHandle)); in launch_hasUserHandle_shouldStartActivityAsUser()