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.java2169 String ownerUserId = parser.getAttributeValue(null, ATTR_ID); in readUserListLP() local
2170 if (ownerUserId != null) { in readUserListLP()
2171 mDeviceOwnerUserId = Integer.parseInt(ownerUserId); in readUserListLP()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java128 /* package */ boolean record(String owningPackageName, String dexPath, int ownerUserId, in record() argument
155 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId, in record()
172 isUsedByOtherApps, ownerUserId, classLoaderContext, loaderIsa); in record()
186 if (ownerUserId != existingData.mOwnerUserId) { in record()
197 + " to " + ownerUserId); in record()
390 int ownerUserId = Integer.parseInt(elems[0]); in read() local
392 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read()
822 /* package */ DexUseInfo(boolean isUsedByOtherApps, int ownerUserId, in DexUseInfo() argument
825 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.java591 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId, in assertSecondaryUse() argument
600 assertEquals(ownerUserId, dui.getOwnerUserId()); in assertSecondaryUse()
607 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) { in assertSecondaryUse() argument
611 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId, in assertSecondaryUse()