Home
last modified time | relevance | path

Searched refs:ownerUserId (Results 1 – 7 of 7) 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.java1260 @NonNull String packageName, @UserIdInt int ownerUserId, in getLauncherShortcutsLocked() argument
1262 return getUserShortcutsLocked(ownerUserId) in getLauncherShortcutsLocked()
2931 void checkPackageChanges(@UserIdInt int ownerUserId) { in checkPackageChanges() argument
2933 Slog.d(TAG, "checkPackageChanges() ownerUserId=" + ownerUserId); in checkPackageChanges()
2945 final ShortcutUser user = getUserShortcutsLocked(ownerUserId); in checkPackageChanges()
2963 cleanUpPackageLocked(pu.packageName, ownerUserId, pu.userId, in checkPackageChanges()
2968 rescanUpdatedPackagesLocked(ownerUserId, user.getLastAppScanTime()); in checkPackageChanges()
DUserManagerService.java2048 String ownerUserId = parser.getAttributeValue(null, ATTR_ID); in readUserListLP() local
2049 if (ownerUserId != null) { in readUserListLP()
2050 mDeviceOwnerUserId = Integer.parseInt(ownerUserId); in readUserListLP()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java119 public boolean record(String owningPackageName, String dexPath, int ownerUserId, in record() argument
143 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId, in record()
160 isUsedByOtherApps, ownerUserId, classLoaderContext, loaderIsa); in record()
170 if (ownerUserId != existingData.mOwnerUserId) { in record()
181 + " to " + ownerUserId); in record()
368 int ownerUserId = Integer.parseInt(elems[0]); in read() local
370 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read()
798 public DexUseInfo(boolean isUsedByOtherApps, int ownerUserId, String classLoaderContext, in DexUseInfo() argument
801 mOwnerUserId = ownerUserId; in DexUseInfo()
/frameworks/av/services/oboeservice/
DAAudioService.cpp189 const uid_t ownerUserId = serviceStream->getOwnerUserId(); in convertHandleToServiceStream() local
190 bool callerOwnsIt = callingUserId == ownerUserId; in convertHandleToServiceStream()
192 bool serverOwnsIt = ownerUserId == mAudioClient.clientUid; in convertHandleToServiceStream()
196 callingUserId, streamHandle, ownerUserId); in convertHandleToServiceStream()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java620 private TestData(String packageName, String dexFile, int ownerUserId, in TestData() argument
622 this(packageName, dexFile, ownerUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in TestData()
625 private TestData(String packageName, String dexFile, int ownerUserId, in TestData() argument
630 mOwnerUserId = ownerUserId; in TestData()
DDexManagerTests.java481 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId, in assertSecondaryUse() argument
490 assertEquals(ownerUserId, dui.getOwnerUserId()); in assertSecondaryUse()
497 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) { in assertSecondaryUse() argument
501 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId, in assertSecondaryUse()