Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java67 @UserIdInt int ownerUserId, @NonNull String packageName, in ShortcutLauncher() argument
71 mOwnerUserId = ownerUserId; in ShortcutLauncher()
75 @UserIdInt int ownerUserId, @NonNull String packageName, in ShortcutLauncher() argument
77 this(shortcutUser, ownerUserId, packageName, launcherUserId, null); in ShortcutLauncher()
239 int ownerUserId, boolean fromBackup) throws IOException, XmlPullParserException { in loadFromXml() argument
245 fromBackup ? ownerUserId in loadFromXml()
246 : ShortcutService.parseIntAttribute(parser, ATTR_LAUNCHER_USER_ID, ownerUserId); in loadFromXml()
248 final ShortcutLauncher ret = new ShortcutLauncher(shortcutUser, ownerUserId, in loadFromXml()
269 final int packageUserId = fromBackup ? ownerUserId in loadFromXml()
271 ATTR_PACKAGE_USER_ID, ownerUserId); in loadFromXml()
DShortcutService.java1214 @NonNull String packageName, @UserIdInt int ownerUserId, in getLauncherShortcutsLocked() argument
1216 return getUserShortcutsLocked(ownerUserId) in getLauncherShortcutsLocked()
2751 void checkPackageChanges(@UserIdInt int ownerUserId) { in checkPackageChanges() argument
2753 Slog.d(TAG, "checkPackageChanges() ownerUserId=" + ownerUserId); in checkPackageChanges()
2765 final ShortcutUser user = getUserShortcutsLocked(ownerUserId); in checkPackageChanges()
2783 cleanUpPackageLocked(pu.packageName, ownerUserId, pu.userId, in checkPackageChanges()
2788 rescanUpdatedPackagesLocked(ownerUserId, user.getLastAppScanTime()); in checkPackageChanges()
DUserManagerService.java1828 String ownerUserId = parser.getAttributeValue(null, ATTR_ID); in readUserListLP() local
1829 if (ownerUserId != null) { in readUserListLP()
1830 mDeviceOwnerUserId = Integer.parseInt(ownerUserId); in readUserListLP()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java88 public boolean record(String owningPackageName, String dexPath, int ownerUserId, in record() argument
107 dexPath, new DexUseInfo(isUsedByOtherApps, ownerUserId, loaderIsa)); in record()
119 isUsedByOtherApps, ownerUserId, loaderIsa); in record()
126 if (ownerUserId != existingData.mOwnerUserId) { in record()
137 + " to " + ownerUserId); in record()
301 int ownerUserId = Integer.parseInt(elems[0]); in read() local
303 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId); in read()
580 public DexUseInfo(boolean isUsedByOtherApps, int ownerUserId) { in DexUseInfo() argument
581 this(isUsedByOtherApps, ownerUserId, null); in DexUseInfo()
584 public DexUseInfo(boolean isUsedByOtherApps, int ownerUserId, String loaderIsa) { in DexUseInfo() argument
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java383 private TestData(String packageName, String dexFile, int ownerUserId, in TestData() argument
387 mOwnerUserId = ownerUserId; in TestData()
DDexManagerTests.java377 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) { in assertSecondaryUse() argument
382 assertEquals(ownerUserId, dui.getOwnerUserId()); in assertSecondaryUse()