/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
H A D | ISplitScreen.aidl | 100 oneway void startIntentAndTask(in PendingIntent pendingIntent, int userId1, in Bundle options1, in startIntentAndTask() argument 121 oneway void startIntentAndTaskWithLegacyTransition(in PendingIntent pendingIntent, int userId1, in startIntentAndTaskWithLegacyTransition() argument 135 oneway void startIntentsWithLegacyTransition(in PendingIntent pendingIntent1, int userId1, in startIntentsWithLegacyTransition() argument 143 oneway void startIntents(in PendingIntent pendingIntent1, int userId1, in startIntents() argument
|
H A D | SplitScreenController.java | 608 final int userId1 = shortcutInfo.getUserId(); in startShortcutAndTaskWithLegacyTransition() local 610 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startShortcutAndTaskWithLegacyTransition() 639 final int userId1 = shortcutInfo.getUserId(); in startShortcutAndTask() local 641 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startShortcutAndTask() 680 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startIntentAndTaskWithLegacyTransition() 709 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startIntentAndTask() 740 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startIntentsWithLegacyTransition() 762 private void startIntents(PendingIntent pendingIntent1, int userId1, in startIntents() argument 775 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startIntents() 817 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startIntent() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
H A D | SplitScreenUtils.java | 89 int userId1, int userId2) { in samePackage() argument 90 return (packageName1 != null && packageName1.equals(packageName2)) && (userId1 == userId2); in samePackage()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PreferredActivityHelper.java | 585 (parser1, userId1) -> { 591 && packageState.getUserStateOrDefault(userId1).isInstalled()) { 592 mPm.setDefaultBrowser(defaultBrowser, userId1); 596 userId1);
|
H A D | DeletePackageHelper.java | 820 for (int userId1 : users) { in deletePackageVersionedInternal() 821 if (!ArrayUtils.contains(blockUninstallUserIds, userId1)) { in deletePackageVersionedInternal() 823 userId1, userFlags, false /*removedBySystem*/); in deletePackageVersionedInternal() 825 Slog.w(TAG, "Package delete failed for user " + userId1 in deletePackageVersionedInternal()
|
H A D | ComputerEngine.java | 4152 final int userId1 = UserHandle.getUserId(uid1); in checkUidSignaturesForAllUsers() local 4154 enforceCrossUserPermission(callingUid, userId1, false /* requireFullPermission */, in checkUidSignaturesForAllUsers() 4159 getSigningDetailsAndFilterAccess(uid1, callingUid, userId1); in checkUidSignaturesForAllUsers()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | MockSystemServices.java | 301 final int userId1 = (int) invocation.getArguments()[0]; in addUser() 302 final UserInfo ui = getUserInfo(userId1); in addUser()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
H A D | RecoverableKeyStoreDbTest.java | 926 int userId1 = 12; in setRecoveryServiceMetadataEntry_allowsTwoUsersToHaveTheSameUid() local 930 mRecoverableKeyStoreDb.setRecoveryServicePublicKey(userId1, uid, pubkey); in setRecoveryServiceMetadataEntry_allowsTwoUsersToHaveTheSameUid() 932 assertThat(mRecoverableKeyStoreDb.getRecoveryServicePublicKey(userId1, uid)).isEqualTo( in setRecoveryServiceMetadataEntry_allowsTwoUsersToHaveTheSameUid()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
H A D | AlarmManagerServiceTest.java | 3070 final int userId1 = 42; 3075 when(mActivityManagerInternal.getStartedUserIds()).thenReturn(new int[]{userId1, userId2}); 3085 mService.mLastOpScheduleExactAlarm.put(UserHandle.getUid(userId1, appId1), MODE_ALLOWED); 3087 mService.mLastOpScheduleExactAlarm.put(UserHandle.getUid(userId1, appId2), MODE_IGNORED); 3129 final int userId1 = 42; 3134 when(mActivityManagerInternal.getStartedUserIds()).thenReturn(new int[]{userId1, userId2}); 3140 mService.mLastOpScheduleExactAlarm.put(UserHandle.getUid(userId1, appId1), MODE_ALLOWED); 3142 mService.mLastOpScheduleExactAlarm.put(UserHandle.getUid(userId1, appId2), MODE_IGNORED); 3149 eq(UserHandle.getUid(userId1, appId1)), eq(packages[0]), eq(true)); 3151 eq(UserHandle.getUid(userId1, appId2)), eq(packages[1]), eq(true));
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationManagerServiceTest.java | 4445 int userId1 = 11; in testSetNASMigrationDoneAndResetDefault_multiProfile() local 4447 setNASMigrationDone(false, userId1); in testSetNASMigrationDoneAndResetDefault_multiProfile() 4451 when(mUm.getProfileIds(userId1, false)).thenReturn(new int[]{userId1, userId2}); in testSetNASMigrationDoneAndResetDefault_multiProfile() 4460 int userId1 = 11; in testSetNASMigrationDoneAndResetDefault_multiUser() local 4462 setNASMigrationDone(false, userId1); in testSetNASMigrationDoneAndResetDefault_multiUser() 4465 when(mUm.getProfileIds(userId1, false)).thenReturn(new int[]{userId1}); in testSetNASMigrationDoneAndResetDefault_multiUser() 8234 int userId1 = 11; in testNASSettingUpgrade_multiUser() local 8237 when(mUm.getProfileIds(userId1, false)).thenReturn(new int[]{userId1}); in testNASSettingUpgrade_multiUser() 8240 setNASMigrationDone(false, userId1); in testNASSettingUpgrade_multiUser() 8269 int userId1 = 11; in testNASSettingUpgrade_multiProfile() local [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsService.java | 1861 EscrowTokenStateChangeCallback internalListener = (handle, userId1) -> { in addWeakEscrowToken() 1863 listener.onWeakEscrowTokenActivated(handle, userId1); in addWeakEscrowToken()
|