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.java92 mInjectedCallingUid = 12345; in testNonShell()
96 mInjectedCallingUid = Process.SYSTEM_UID; in testNonShell()
106 mInjectedCallingUid = Process.ROOT_UID; in testRoot()
115 mInjectedCallingUid = Process.SHELL_UID; in testRestConfig()
124 mInjectedCallingUid = Process.SHELL_UID; in testOverrideConfig()
141 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling()
162 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_not_running()
193 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_running()
214 mInjectedCallingUid = Process.SHELL_UID; in testResetAllThrottling()
245 mInjectedCallingUid = Process.SHELL_UID; in testLauncherCommands()
[all …]
DBaseShortcutManagerTest.java236 final int prevCallingUid = mInjectedCallingUid; in injectClearCallingIdentity()
237 mInjectedCallingUid = Process.SYSTEM_UID; in injectClearCallingIdentity()
242 mInjectedCallingUid = (int) token; in injectRestoreCallingIdentity()
345 return mInjectedCallingUid; in injectBinderCallingUid()
351 return mInjectedCallingUid * 123; in injectBinderCallingPid()
567 return UserHandle.getUserId(mInjectedCallingUid); in injectMyUserId()
610 return mInjectedCallingUid; in injectBinderCallingUid()
616 return mInjectedCallingUid * 123; in injectBinderCallingPid()
621 final int prevCallingUid = mInjectedCallingUid; in injectClearCallingIdentity()
622 mInjectedCallingUid = Process.SYSTEM_UID; in injectClearCallingIdentity()
[all …]
DShortcutManagerTest10.java140 mInjectedCallingUid = 12345; in testCreateShortcutResult_defaultLauncherChanges()
DShortcutManagerTest2.java1739 mInjectedCallingUid = CALLING_UID_2;
1755 mInjectedCallingUid = CALLING_UID_1;
1782 mInjectedCallingUid = CALLING_UID_2;
DShortcutManagerTest8.java1569 mInjectedCallingUid = 12345; in testRequestPinShortcut_wrongLauncherCannotAccept()
DShortcutManagerTest1.java6573 int prevUid = mInjectedCallingUid; in testBackupAndRestore_appAlreadyInstalledWhenRestored()
6574 mInjectedCallingUid = Process.SYSTEM_UID; // Only system can call it. in testBackupAndRestore_appAlreadyInstalledWhenRestored()
6590 mInjectedCallingUid = prevUid; in testBackupAndRestore_appAlreadyInstalledWhenRestored()