Home
last modified time | relevance | path

Searched refs:mInjectedCallingUid (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java83 mInjectedCallingUid = 12345; in testNonShell()
87 mInjectedCallingUid = Process.SYSTEM_UID; in testNonShell()
97 mInjectedCallingUid = Process.ROOT_UID; in testRoot()
106 mInjectedCallingUid = Process.SHELL_UID; in testRestConfig()
115 mInjectedCallingUid = Process.SHELL_UID; in testOverrideConfig()
132 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling()
153 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_not_running()
184 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_running()
205 mInjectedCallingUid = Process.SHELL_UID; in testResetAllThrottling()
236 mInjectedCallingUid = Process.SHELL_UID; in testLauncherCommands()
[all …]
DBaseShortcutManagerTest.java202 final int prevCallingUid = mInjectedCallingUid; in injectClearCallingIdentity()
203 mInjectedCallingUid = Process.SYSTEM_UID; in injectClearCallingIdentity()
208 mInjectedCallingUid = (int) token; in injectRestoreCallingIdentity()
297 return mInjectedCallingUid; in injectBinderCallingUid()
303 return mInjectedCallingUid * 123; in injectBinderCallingPid()
495 return UserHandle.getUserId(mInjectedCallingUid); in injectMyUserId()
538 return mInjectedCallingUid; in injectBinderCallingUid()
544 return mInjectedCallingUid * 123; in injectBinderCallingPid()
549 final int prevCallingUid = mInjectedCallingUid; in injectClearCallingIdentity()
550 mInjectedCallingUid = Process.SYSTEM_UID; in injectClearCallingIdentity()
[all …]
DShortcutManagerTest10.java143 mInjectedCallingUid = 12345; in testCreateShortcutResult_defaultLauncherChanges()
DShortcutManagerTest2.java1502 mInjectedCallingUid = CALLING_UID_2;
1518 mInjectedCallingUid = CALLING_UID_1;
1545 mInjectedCallingUid = CALLING_UID_2;
DShortcutManagerTest8.java1564 mInjectedCallingUid = 12345; in testRequestPinShortcut_wrongLauncherCannotAccept()
DShortcutManagerTest1.java5743 int prevUid = mInjectedCallingUid; in testBackupAndRestore_appAlreadyInstalledWhenRestored()
5744 mInjectedCallingUid = Process.SYSTEM_UID; // Only system can call it. in testBackupAndRestore_appAlreadyInstalledWhenRestored()
5760 mInjectedCallingUid = prevUid; in testBackupAndRestore_appAlreadyInstalledWhenRestored()