Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java76 @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()
320 : ShortcutService.parseIntAttribute(parser, ATTR_LAUNCHER_USER_ID, ownerUserId); in loadFromXml()
322 final ShortcutLauncher ret = new ShortcutLauncher(shortcutUser, ownerUserId, in loadFromXml()
[all …]
DShortcutService.java1362 @NonNull String packageName, @UserIdInt int ownerUserId, in getLauncherShortcutsLocked() argument
1364 return getUserShortcutsLocked(ownerUserId) in getLauncherShortcutsLocked()
3827 void checkPackageChanges(@UserIdInt int ownerUserId) {
3829 Slog.d(TAG, "checkPackageChanges() ownerUserId=" + ownerUserId);
3841 final ShortcutUser user = getUserShortcutsLocked(ownerUserId);
3859 cleanUpPackageLocked(pu.packageName, ownerUserId, pu.userId,
3864 rescanUpdatedPackagesLocked(ownerUserId, user.getLastAppScanTime());
DLauncherAppsService.java816 int flags, Bundle options, String ownerPackage, int ownerUserId) { in injectCreatePendingIntent() argument
818 flags, options, ownerPackage, ownerUserId); in injectCreatePendingIntent()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java123 /* 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()
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.cpp309 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java705 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()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java818 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java639 int flags, Bundle options, String ownerPackage, int ownerUserId) { in injectCreatePendingIntent() argument