Searched defs:getCallingUserId (Results 1 - 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | WifiPermissionsWrapper.java | 51 public int getCallingUserId(int uid) { method in class:WifiPermissionsWrapper
|
/frameworks/base/core/java/android/os/ |
H A D | UserHandle.java | 156 public static @UserIdInt int getCallingUserId() { method in class:UserHandle
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
H A D | CompanionDeviceManagerService.java | 220 int userId = getCallingUserId(); 249 checkUsesFeature(callingPackage, getCallingUserId()); 261 checkUsesFeature(callingPackage, getCallingUserId()); 262 removeAssociation(getCallingUserId(), callingPackage, deviceMacAddress); 266 checkCallerIsSystemOr(pkg, getCallingUserId()); 274 checkArgument(getCallingUserId() == userId, 284 int userId = getCallingUserId(); 313 int userId = getCallingUserId(); 344 private static int getCallingUserId() { method in class:CompanionDeviceManagerService 493 int userId = getCallingUserId(); [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | LauncherAppsService.java | 145 private int getCallingUserId() { method in class:LauncherAppsService.LauncherAppsImpl 168 mListeners.register(listener, new BroadcastCookie(UserHandle.of(getCallingUserId()), 440 if (!mShortcutServiceInternal.hasShortcutHostPermission(getCallingUserId(), 462 mShortcutServiceInternal.getShortcuts(getCallingUserId(), 479 mShortcutServiceInternal.pinShortcuts(getCallingUserId(), 494 return mShortcutServiceInternal.getShortcutIconResId(getCallingUserId(), 509 return mShortcutServiceInternal.getShortcutIconFd(getCallingUserId(), 516 return mShortcutServiceInternal.hasShortcutHostPermission(getCallingUserId(), 533 if (!mShortcutServiceInternal.isPinnedByCaller(getCallingUserId(), 539 getCallingUserId(), callingPackag [all...] |
H A D | ShortcutService.java | 2140 resetThrottlingInner(getCallingUserId()); 3831 private int getCallingUserId() { method in class:ShortcutService
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | BaseShortcutManagerTest.java | 186 return getCallingUserId(); 1248 protected int getCallingUserId() { method in class:BaseShortcutManagerTest 1253 return UserHandle.of(getCallingUserId()); 1737 getCallingPackage(), getCallingUserId()); 1754 return getPackageShortcut(getCallingPackage(), shortcutId, getCallingUserId()); 2140 genPackageAddIntent(getCallingPackage(), getCallingUserId()));
|
Completed in 160 milliseconds