Searched defs:ownerUserId (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/services/oboeservice/
H A DAAudioService.cpp189 const uid_t ownerUserId = serviceStream->getOwnerUserId(); local
190 bool callerOwnsIt = callingUserId == ownerUserId;
192 bool serverOwnsIt = ownerUserId == mAudioClient.clientUid;
196 callingUserId, streamHandle, ownerUserId);
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutLauncher.java68 @UserIdInt int ownerUserId, @NonNull String packageName,
72 mOwnerUserId = ownerUserId;
76 @UserIdInt int ownerUserId, @NonNull String packageName,
78 this(shortcutUser, ownerUserId, packageName, launcherUserId, null);
261 int ownerUserId, boolean fromBackup) throws IOException, XmlPullParserException {
267 fromBackup ? ownerUserId
268 : ShortcutService.parseIntAttribute(parser, ATTR_LAUNCHER_USER_ID, ownerUserId);
270 final ShortcutLauncher ret = new ShortcutLauncher(shortcutUser, ownerUserId,
291 final int packageUserId = fromBackup ? ownerUserId
293 ATTR_PACKAGE_USER_ID, ownerUserId);
67 ShortcutLauncher(@onNull ShortcutUser shortcutUser, @UserIdInt int ownerUserId, @NonNull String packageName, @UserIdInt int launcherUserId, ShortcutPackageInfo spi) argument
75 ShortcutLauncher(@onNull ShortcutUser shortcutUser, @UserIdInt int ownerUserId, @NonNull String packageName, @UserIdInt int launcherUserId) argument
260 loadFromXml(XmlPullParser parser, ShortcutUser shortcutUser, int ownerUserId, boolean fromBackup) argument
[all...]
H A DShortcutService.java1260 @NonNull String packageName, @UserIdInt int ownerUserId,
1262 return getUserShortcutsLocked(ownerUserId)
2931 void checkPackageChanges(@UserIdInt int ownerUserId) { argument
2933 Slog.d(TAG, "checkPackageChanges() ownerUserId=" + ownerUserId);
2945 final ShortcutUser user = getUserShortcutsLocked(ownerUserId);
2963 cleanUpPackageLocked(pu.packageName, ownerUserId, pu.userId,
2968 rescanUpdatedPackagesLocked(ownerUserId, user.getLastAppScanTime());
1259 getLauncherShortcutsLocked( @onNull String packageName, @UserIdInt int ownerUserId, @UserIdInt int launcherUserId) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DDexManagerTests.java481 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId,
490 assertEquals(ownerUserId, dui.getOwnerUserId());
497 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) {
501 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId,
480 assertSecondaryUse(TestData testData, PackageUseInfo pui, List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId, String[] expectedContexts) argument
496 assertSecondaryUse(TestData testData, PackageUseInfo pui, List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) argument
H A DPackageDexUsageTests.java620 private TestData(String packageName, String dexFile, int ownerUserId, argument
622 this(packageName, dexFile, ownerUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit,
625 private TestData(String packageName, String dexFile, int ownerUserId, argument
630 mOwnerUserId = ownerUserId;
/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DPackageDexUsage.java109 * @param ownerUserId the user id which runs the code loading the dex files
119 public boolean record(String owningPackageName, String dexPath, int ownerUserId, argument
143 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId,
160 isUsedByOtherApps, ownerUserId, classLoaderContext, loaderIsa);
170 if (ownerUserId != existingData.mOwnerUserId) {
179 throw new IllegalArgumentException("Trying to change ownerUserId for "
181 + " to " + ownerUserId);
368 int ownerUserId = Integer.parseInt(elems[0]);
370 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId,
798 public DexUseInfo(boolean isUsedByOtherApps, int ownerUserId, Strin argument
[all...]

Completed in 152 milliseconds