/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
H A D | RestrictedProfilePinStorage.java | 54 final int ownerUserId = findRestrictedProfileParent(currentUserInfo); in newInstance() local 58 return new RestrictedProfilePinStorage(lpu, ownerUserId, connection); in newInstance() 62 RestrictedProfilePinStorage(LockPatternUtils lpu, int ownerUserId, in RestrictedProfilePinStorage() argument 65 mOwnerUserId = ownerUserId; in RestrictedProfilePinStorage() 205 final int ownerUserId; in findRestrictedProfileParent() local 208 ownerUserId = currentUserInfo.id; in findRestrictedProfileParent() 210 ownerUserId = UserHandle.USER_SYSTEM; in findRestrictedProfileParent() 212 ownerUserId = currentUserInfo.restrictedProfileParentId; in findRestrictedProfileParent() 215 return ownerUserId; in findRestrictedProfileParent()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutLauncher.java | 76 @UserIdInt int ownerUserId, @NonNull String packageName, in ShortcutLauncher() argument 80 mOwnerUserId = ownerUserId; in ShortcutLauncher() 84 @UserIdInt int ownerUserId, @NonNull String packageName, in ShortcutLauncher() argument 86 this(shortcutUser, ownerUserId, packageName, launcherUserId, null); in ShortcutLauncher() 266 int ownerUserId, boolean fromBackup) { in loadFromFile() argument 295 ret = loadFromXml(parser, shortcutUser, ownerUserId, fromBackup); in loadFromFile() 313 int ownerUserId, boolean fromBackup) throws IOException, XmlPullParserException { in loadFromXml() argument 319 fromBackup ? ownerUserId in loadFromXml() 322 final ShortcutLauncher ret = new ShortcutLauncher(shortcutUser, ownerUserId, in loadFromXml() 343 final int packageUserId = fromBackup ? ownerUserId in loadFromXml() [all …]
|
H A D | ShortcutService.java | 1362 @NonNull String packageName, @UserIdInt int ownerUserId, in getLauncherShortcutsLocked() argument 1364 return getUserShortcutsLocked(ownerUserId) in getLauncherShortcutsLocked() 3842 void checkPackageChanges(@UserIdInt int ownerUserId) { 3844 Slog.d(TAG, "checkPackageChanges() ownerUserId=" + ownerUserId); 3856 final ShortcutUser user = getUserShortcutsLocked(ownerUserId); 3874 cleanUpPackageLocked(pu.packageName, ownerUserId, pu.userId, 3879 rescanUpdatedPackagesLocked(ownerUserId, user.getLastAppScanTime());
|
H A D | LauncherAppsService.java | 816 int flags, Bundle options, String ownerPackage, int ownerUserId) { in injectCreatePendingIntent() argument 818 flags, null /* options */, ownerPackage, ownerUserId); in injectCreatePendingIntent()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | PackageDexUsage.java | 123 /* package */ boolean record(String owningPackageName, String dexPath, int ownerUserId, in record() argument 152 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId, in record() 168 isUsedByOtherApps, ownerUserId, classLoaderContext, loaderIsa); in record() 182 if (ownerUserId != existingData.mOwnerUserId) { in record() 193 + " to " + ownerUserId); in record() 387 int ownerUserId = Integer.parseInt(elems[0]); in read() local 389 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read() 792 /* package */ DexUseInfo(boolean isUsedByOtherApps, int ownerUserId, in DexUseInfo() argument 795 mOwnerUserId = ownerUserId; in DexUseInfo()
|
H A D | PackageDynamicCodeLoading.java | 111 boolean record(String owningPackageName, String filePath, int fileType, int ownerUserId, in record() argument 122 return packageInfo.add(filePath, (char) fileType, ownerUserId, loadingPackageName); in record()
|
/aosp12/frameworks/av/services/oboeservice/ |
H A D | AAudioService.cpp | 309 const uid_t ownerUserId = serviceStream->getOwnerUserId(); in convertHandleToServiceStream() local 312 bool callerOwnsIt = callingUserId == ownerUserId; in convertHandleToServiceStream() 314 bool serverOwnsIt = ownerUserId == clientUid; in convertHandleToServiceStream() 318 callingUserId, streamHandle, ownerUserId); in convertHandleToServiceStream()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
H A D | PackageDexUsageTests.java | 705 private TestData(String packageName, String dexFile, int ownerUserId, in TestData() argument 707 this(packageName, dexFile, ownerUserId, loaderIsa, primaryOrSplit, in TestData() 710 private TestData(String packageName, String dexFile, int ownerUserId, in TestData() argument 715 mOwnerUserId = ownerUserId; in TestData()
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/ |
H A D | DexManagerTests.java | 818 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId, in assertSecondaryUse() argument 827 assertEquals(ownerUserId, dui.getOwnerUserId()); in assertSecondaryUse() 834 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) { in assertSecondaryUse() argument 838 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId, in assertSecondaryUse()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | BaseShortcutManagerTest.java | 639 int flags, Bundle options, String ownerPackage, int ownerUserId) { in injectCreatePendingIntent() argument
|
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 3858 int ownerUserId = FileUtils.extractUserId(path); in insertFile() local 3860 if (isAppCloneUserForFuse(ownerUserId)) { in insertFile() 3861 values.put(FileColumns._USER_ID, ownerUserId); in insertFile()
|