/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
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
|
D | SplitScreenController.java | 620 final int userId1 = shortcutInfo.getUserId(); in startShortcutAndTaskWithLegacyTransition() local 622 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startShortcutAndTaskWithLegacyTransition() 652 final int userId1 = shortcutInfo.getUserId(); in startShortcutAndTask() local 654 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startShortcutAndTask() 685 private void startIntentAndTaskWithLegacyTransition(PendingIntent pendingIntent, int userId1, in startIntentAndTaskWithLegacyTransition() argument 693 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startIntentAndTaskWithLegacyTransition() 712 private void startIntentAndTask(PendingIntent pendingIntent, int userId1, in startIntentAndTask() argument 723 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startIntentAndTask() 748 private void startIntentsWithLegacyTransition(PendingIntent pendingIntent1, int userId1, in startIntentsWithLegacyTransition() argument 758 if (samePackage(packageName1, packageName2, userId1, userId2)) { in startIntentsWithLegacyTransition() [all …]
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsProviderMultiUsersTest.java | 108 private void assertSettingsDifferent(String type, int userId1, int userId2) throws Exception { in assertSettingsDifferent() argument 114 setSetting(type, SETTINGS, "value1", userId1); in assertSettingsDifferent() 126 value = getSetting(type, SETTINGS, userId1); in assertSettingsDifferent() 130 private void assertSettingsShared(String type, int userId1, int userId2) throws Exception { in assertSettingsShared() argument 136 setSetting(type, SETTINGS, "value1", userId1); in assertSettingsShared() 148 value = getSetting(type, SETTINGS, userId1); in assertSettingsShared()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | MultiInstanceHelper.kt | 124 userId1: Int, userId2: Int): Boolean { in samePackage() 125 return (packageName1 != null && packageName1 == packageName2) && (userId1 == userId2) in samePackage()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/ |
D | ShellRecentTaskListProviderTest.kt | 263 userId1: Int = 0, in createTaskPair() 269 createTaskInfo(taskId1, userId1, isVisible), in createTaskPair()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PreferredActivityHelper.java | 587 (parser1, userId1) -> { 593 && packageState.getUserStateOrDefault(userId1).isInstalled()) { 594 mPm.setDefaultBrowser(defaultBrowser, userId1); 598 userId1);
|
D | DeletePackageHelper.java | 869 for (int userId1 : users) { in deletePackageVersionedInternal() 870 if (!ArrayUtils.contains(blockUninstallUserIds, userId1)) { in deletePackageVersionedInternal() 872 userId1, userFlags, false /*removedBySystem*/); in deletePackageVersionedInternal() 874 Slog.w(TAG, "Package delete failed for user " + userId1 in deletePackageVersionedInternal()
|
D | ComputerEngine.java | 4232 final int userId1 = UserHandle.getUserId(uid1); in checkUidSignaturesForAllUsers() local 4234 enforceCrossUserPermission(callingUid, userId1, false /* requireFullPermission */, in checkUidSignaturesForAllUsers() 4239 getSigningDetailsAndFilterAccess(uid1, callingUid, userId1); in checkUidSignaturesForAllUsers()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 301 final int userId1 = (int) invocation.getArguments()[0]; in addUser() 302 final UserInfo ui = getUserInfo(userId1); in addUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
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()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 2970 int userId1 = 123; 2973 userInfo1.id = userId1; 2976 when(mUserManager.getUserSerialNumber(userId1)).thenReturn(12345); 3017 int userId1 = 123; 3020 userInfo1.id = userId1; 3023 when(mUserManager.getUserSerialNumber(userId1)).thenReturn(12345);
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 5007 int userId1 = 11; in testSetNASMigrationDoneAndResetDefault_multiProfile() local 5009 setNASMigrationDone(false, userId1); in testSetNASMigrationDoneAndResetDefault_multiProfile() 5011 setUsers(new int[]{userId1, userId2}); in testSetNASMigrationDoneAndResetDefault_multiProfile() 5013 when(mUm.getProfileIds(userId1, false)).thenReturn(new int[]{userId1, userId2}); in testSetNASMigrationDoneAndResetDefault_multiProfile() 5015 mBinderService.setNASMigrationDoneAndResetDefault(userId1, true); in testSetNASMigrationDoneAndResetDefault_multiProfile() 5016 assertTrue(mService.isNASMigrationDone(userId1)); in testSetNASMigrationDoneAndResetDefault_multiProfile() 5022 int userId1 = 11; in testSetNASMigrationDoneAndResetDefault_multiUser() local 5024 setNASMigrationDone(false, userId1); in testSetNASMigrationDoneAndResetDefault_multiUser() 5026 setUsers(new int[]{userId1, userId2}); in testSetNASMigrationDoneAndResetDefault_multiUser() 5027 when(mUm.getProfileIds(userId1, false)).thenReturn(new int[]{userId1}); in testSetNASMigrationDoneAndResetDefault_multiUser() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 2798 final int userId1 = 11; in testHasAccessConsidersUserVisibilityForBackgroundVisibleUsers() local 2800 final int uid1 = UserHandle.getUid(userId1, appId); in testHasAccessConsidersUserVisibilityForBackgroundVisibleUsers() 2805 doReturn(true).when(mWm.mUmInternal).isUserVisible(userId1, displayId); in testHasAccessConsidersUserVisibilityForBackgroundVisibleUsers()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 2052 EscrowTokenStateChangeCallback internalListener = (handle, userId1) -> { in addWeakEscrowToken() 2054 listener.onWeakEscrowTokenActivated(handle, userId1); in addWeakEscrowToken()
|