Home
last modified time | relevance | path

Searched refs:ownerUserId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java68 @UserIdInt int ownerUserId, @NonNull String packageName, in ShortcutLauncher() argument
72 mOwnerUserId = ownerUserId; in ShortcutLauncher()
76 @UserIdInt int ownerUserId, @NonNull String packageName, in ShortcutLauncher() argument
78 this(shortcutUser, ownerUserId, packageName, launcherUserId, null); in ShortcutLauncher()
261 int ownerUserId, boolean fromBackup) throws IOException, XmlPullParserException { in loadFromXml() argument
267 fromBackup ? ownerUserId in loadFromXml()
268 : ShortcutService.parseIntAttribute(parser, ATTR_LAUNCHER_USER_ID, ownerUserId); in loadFromXml()
270 final ShortcutLauncher ret = new ShortcutLauncher(shortcutUser, ownerUserId, in loadFromXml()
291 final int packageUserId = fromBackup ? ownerUserId in loadFromXml()
293 ATTR_PACKAGE_USER_ID, ownerUserId); in loadFromXml()
DShortcutService.java1268 @NonNull String packageName, @UserIdInt int ownerUserId, in getLauncherShortcutsLocked() argument
1270 return getUserShortcutsLocked(ownerUserId) in getLauncherShortcutsLocked()
2995 void checkPackageChanges(@UserIdInt int ownerUserId) { in checkPackageChanges() argument
2997 Slog.d(TAG, "checkPackageChanges() ownerUserId=" + ownerUserId); in checkPackageChanges()
3009 final ShortcutUser user = getUserShortcutsLocked(ownerUserId); in checkPackageChanges()
3027 cleanUpPackageLocked(pu.packageName, ownerUserId, pu.userId, in checkPackageChanges()
3032 rescanUpdatedPackagesLocked(ownerUserId, user.getLastAppScanTime()); in checkPackageChanges()
DUserManagerService.java2110 String ownerUserId = parser.getAttributeValue(null, ATTR_ID); in readUserListLP() local
2111 if (ownerUserId != null) { in readUserListLP()
2112 mDeviceOwnerUserId = Integer.parseInt(ownerUserId); in readUserListLP()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java127 /* package */ boolean record(String owningPackageName, String dexPath, int ownerUserId, in record() argument
151 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()
386 int ownerUserId = Integer.parseInt(elems[0]); in read() local
388 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read()
818 /* package */ DexUseInfo(boolean isUsedByOtherApps, int ownerUserId, in DexUseInfo() argument
821 mOwnerUserId = ownerUserId; in DexUseInfo()
DPackageDynamicCodeLoading.java111 boolean record(String owningPackageName, String filePath, int fileType, int ownerUserId, in record() argument
122 return packageInfo.add(filePath, (char) fileType, ownerUserId, loadingPackageName); in record()
/frameworks/av/services/oboeservice/
DAAudioService.cpp192 const uid_t ownerUserId = serviceStream->getOwnerUserId(); in convertHandleToServiceStream() local
193 bool callerOwnsIt = callingUserId == ownerUserId; in convertHandleToServiceStream()
195 bool serverOwnsIt = ownerUserId == mAudioClient.clientUid; in convertHandleToServiceStream()
199 callingUserId, streamHandle, ownerUserId); in convertHandleToServiceStream()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java648 private TestData(String packageName, String dexFile, int ownerUserId, in TestData() argument
650 this(packageName, dexFile, ownerUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in TestData()
653 private TestData(String packageName, String dexFile, int ownerUserId, in TestData() argument
658 mOwnerUserId = ownerUserId; in TestData()
DDexManagerTests.java511 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId, in assertSecondaryUse() argument
520 assertEquals(ownerUserId, dui.getOwnerUserId()); in assertSecondaryUse()
527 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) { in assertSecondaryUse() argument
531 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId, in assertSecondaryUse()