/packages/modules/Permission/service/java/com/android/role/ |
D | RoleService.java | 205 private void maybeGrantDefaultRolesSync(@UserIdInt int userId) { in maybeGrantDefaultRolesSync() 214 private void maybeGrantDefaultRolesAsync(@UserIdInt int userId) { in maybeGrantDefaultRolesAsync() 230 private AndroidFuture<Void> maybeGrantDefaultRolesInternal(@UserIdInt int userId) { in maybeGrantDefaultRolesInternal() 258 private RoleUserState getOrCreateUserState(@UserIdInt int userId) { in getOrCreateUserState() 270 private RoleControllerManager getOrCreateController(@UserIdInt int userId) { in getOrCreateController() 291 private RemoteCallbackList<IOnRoleHoldersChangedListener> getListeners(@UserIdInt int userId) { in getListeners() 298 private RemoteCallbackList<IOnRoleHoldersChangedListener> getOrCreateListeners( in getOrCreateListeners() 310 private void onRemoveUser(@UserIdInt int userId) { in onRemoveUser() 330 public void onRoleHoldersChanged(@NonNull String roleName, @UserIdInt int userId) { in onRoleHoldersChanged() 335 private void notifyRoleHoldersChanged(@NonNull String roleName, @UserIdInt int userId) { in notifyRoleHoldersChanged() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | CardEmulationManager.java | 152 public void onUserSwitched(int userId) { in onUserSwitched() 241 public void onServicesUpdated(int userId, List<ApduServiceInfo> services) { in onServicesUpdated() 253 public void onNfcFServicesUpdated(int userId, List<NfcFServiceInfo> services) { in onNfcFServicesUpdated() 260 void verifyDefaults(int userId, List<ApduServiceInfo> services) { in verifyDefaults() 292 ComponentName getDefaultServiceForCategory(int userId, String category, in getDefaultServiceForCategory() 314 boolean setDefaultServiceForCategoryChecked(int userId, ComponentName service, in setDefaultServiceForCategoryChecked() 333 boolean isServiceRegistered(int userId, ComponentName service) { in isServiceRegistered() 347 boolean isNfcFServiceInstalled(int userId, ComponentName service) { in isNfcFServiceInstalled() 376 public boolean isDefaultServiceForCategory(int userId, ComponentName service, in isDefaultServiceForCategory() 389 public boolean isDefaultServiceForAid(int userId, in isDefaultServiceForAid() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountDetailsWithSyncStatusPreferenceController.java | 91 int userId = getUserHandle().getIdentifier(); in isSyncFailing() local 135 int userId = getUserHandle().getIdentifier(); in requestSyncForEnabledProviders() local 145 int userId = getUserHandle().getIdentifier(); in cancelSyncForEnabledProviders() local 155 List<SyncInfo> getCurrentSyncs(int userId) { in getCurrentSyncs() 160 void requestSync(String authority, int userId) { in requestSync() 161 AccountSyncHelper.requestSyncIfAllowed(getAccount(), authority, userId); in requestSync() local 165 void cancelSync(String authority, int userId) { in cancelSync() 166 ContentResolver.cancelSyncAsUser(getAccount(), authority, userId); in cancelSync() local
|
/packages/modules/Permission/framework-s/java/android/app/role/ |
D | IRoleManager.aidl | 32 List<String> getRoleHoldersAsUser(in String roleName, int userId); in getRoleHoldersAsUser() 34 void addRoleHolderAsUser(in String roleName, in String packageName, int flags, int userId, in addRoleHolderAsUser() 37 void removeRoleHolderAsUser(in String roleName, in String packageName, int flags, int userId, in removeRoleHolderAsUser() 40 void clearRoleHoldersAsUser(in String roleName, int flags, int userId, in clearRoleHoldersAsUser() 43 void addOnRoleHoldersChangedListenerAsUser(IOnRoleHoldersChangedListener listener, int userId); in addOnRoleHoldersChangedListenerAsUser() 46 int userId); in removeOnRoleHoldersChangedListenerAsUser() 60 String getBrowserRoleHolder(int userId); in getBrowserRoleHolder() 62 boolean setBrowserRoleHolder(String packageName, int userId); in setBrowserRoleHolder() 64 String getSmsRoleHolder(int userId); in getSmsRoleHolder()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowContentResolver.java | 58 protected static SyncAdapterType[] getSyncAdapterTypesAsUser(int userId) { in getSyncAdapterTypesAsUser() 63 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser() 69 int userId) { in getSyncAutomaticallyAsUser() 74 protected static boolean getMasterSyncAutomaticallyAsUser(int userId) { in getMasterSyncAutomaticallyAsUser() 79 protected static List<SyncInfo> getCurrentSyncsAsUser(@UserIdInt int userId) { in getCurrentSyncsAsUser() 85 @UserIdInt int userId) { in getSyncStatusAsUser() 100 boolean sync, @UserIdInt int userId) { in setSyncAutomaticallyAsUser() 105 protected static void setMasterSyncAutomaticallyAsUser(boolean sync, @UserIdInt int userId) { in setMasterSyncAutomaticallyAsUser() 118 public static void cancelSyncAsUser(Account account, String authority, @UserIdInt int userId) { in cancelSyncAsUser() 125 public static void requestSyncAsUser(Account account, String authority, @UserIdInt int userId, in requestSyncAsUser() [all …]
|
D | ShadowAccountManager.java | 40 protected Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() 47 public void addAccountAsUser(int userId, Account account) { in addAccountAsUser() 58 protected AuthenticatorDescription[] getAuthenticatorTypesAsUser(int userId) { in getAuthenticatorTypesAsUser() 65 public void addAuthenticatorAsUser(int userId, AuthenticatorDescription authenticator) { in addAuthenticatorAsUser()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RedactNotificationPreferenceController.java | 90 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in displayPreference() local 99 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in isChecked() local 107 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in setChecked() local 123 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus() local 161 private RestrictedLockUtils.EnforcedAdmin getEnforcedAdmin(int userId) { in getEnforcedAdmin() 173 private boolean getAllowPrivateNotifications(int userId) { in getAllowPrivateNotifications() 178 private boolean getLockscreenNotificationsEnabled(int userId) { in getLockscreenNotificationsEnabled()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | UserHelperTest.java | 62 int userId = 20; in testDefaultNonAdminRestrictions() local 73 int userId = 20; in testDefaultNonAdminRestrictions_nullContext_throwsException() local 90 int userId = 20; in testAssignDefaultIcon() local 100 int userId = 20; in testAssignDefaultIcon_nullContext_throwsException() local 115 int userId = 30; in testGrantAdminPermissions_nonAdmin() local 126 int userId = 30; in testGrantAdminPermissions_admin() local
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | DefaultDialerCache.java | 46 String getDefaultDialerApplication(Context context, int userId); in getDefaultDialerApplication() 47 boolean setDefaultDialerApplication(Context context, String packageName, int userId); in setDefaultDialerApplication() 57 public String getDefaultDialerApplication(Context context, int userId) { in getDefaultDialerApplication() 63 int userId) { in setDefaultDialerApplication() 178 public String getDefaultDialerApplication(int userId) { in getDefaultDialerApplication() 230 public boolean isDefaultOrSystemDialer(String packageName, int userId) { in isDefaultOrSystemDialer() 236 public boolean setDefaultDialer(String packageName, int userId) { in setDefaultDialer() 248 private String refreshCacheForUser(int userId) { in refreshCacheForUser() 264 int userId = mCurrentDefaultDialerPerUser.keyAt(i); in refreshCachesForUsersWithPackage() local 283 private void removeUserFromCache(int userId) { in removeUserFromCache()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersAccess.java | 48 RootInfo getRootOneshot(UserId userId, String authority, String rootId); in getRootOneshot() 56 RootInfo getRecentsRoot(UserId userId); in getRecentsRoot() 58 String getApplicationName(UserId userId, String authority); in getApplicationName() 60 String getPackageName(UserId userId, String authority); in getPackageName() 66 Collection<RootInfo> getRootsForAuthorityBlocking(UserId userId, String authority); in getRootsForAuthorityBlocking()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowLockPatternUtils.java | 65 protected int getActivePasswordQuality(int userId) { in getActivePasswordQuality() 80 protected List<ComponentName> getEnabledTrustAgents(int userId) { in getEnabledTrustAgents() 90 int userId) { in getPasswordHistoryHashFactor() 95 protected boolean checkPasswordHistory(byte[] passwordToCheck, byte[] hashFactor, int userId) { in checkPasswordHistory() 100 public @DevicePolicyManager.PasswordComplexity int getRequestedPasswordComplexity(int userId) { in getRequestedPasswordComplexity() 105 public @DevicePolicyManager.PasswordComplexity int getRequestedPasswordComplexity(int userId, in getRequestedPasswordComplexity() 129 public PasswordMetrics getRequestedPasswordMetrics(int userId, boolean deviceWideOnly) { in getRequestedPasswordMetrics()
|
D | ShadowContentResolver.java | 45 protected static SyncAdapterType[] getSyncAdapterTypesAsUser(int userId) { in getSyncAdapterTypesAsUser() 59 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser() 65 int userId) { in getSyncAutomaticallyAsUser() 71 boolean sync, int userId) { in setSyncAutomaticallyAsUser() 78 protected static boolean getMasterSyncAutomaticallyAsUser(int userId) { in getMasterSyncAutomaticallyAsUser() 95 public static void setMasterSyncAutomatically(int userId, boolean syncAutomatically) { in setMasterSyncAutomatically()
|
D | ShadowAccountManager.java | 39 protected AuthenticatorDescription[] getAuthenticatorTypesAsUser(int userId) { in getAuthenticatorTypesAsUser() 53 protected Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() 61 public static void addAccountForUser(int userId, Account account) { in addAccountForUser()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioSettings.java | 49 int getStoredVolumeGainIndexForUser(int userId, int zoneId, int groupId) { in getStoredVolumeGainIndexForUser() 54 void storeVolumeGainIndexForUser(int userId, int zoneId, int groupId, int gainIndex) { in storeVolumeGainIndexForUser() 71 void storeVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int groupId, in storeVolumeGroupMuteForUser() 78 boolean getVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int groupId) { in getVolumeGroupMuteForUser() 84 boolean isPersistVolumeGroupMuteEnabled(@UserIdInt int userId) { in isPersistVolumeGroupMuteEnabled() 93 public boolean isRejectNavigationOnCallEnabledInSettings(@UserIdInt int userId) { in isRejectNavigationOnCallEnabledInSettings()
|
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/ |
D | InitialLockSetupService.java | 73 int userId = UserHandle.myUserId(); in onBind() local 141 int userId = UserHandle.myUserId(); in setLock() local 165 userId); in setLock() local 176 userId); in setLock() local 186 userId); in setLock() local
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/ |
D | FixedActivityServiceTest.java | 120 int userId = 10; in testStartFixedActivityModeForDisplayAndUser_noRunningActivity() local 137 int userId = 10; in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity() local 165 int userId = 10; in testStartFixedActivityModeForDisplayAndUser_runNewActivity() local 193 int userId = 10; in testStartFixedActivityModeForDisplay_relaunchWithPackageUpdated() local 241 int userId = 10; in testStartFixedActivityModeForDisplayAndUser_runOnDifferentDisplay() local 264 int userId = 10; in testStartFixedActivityModeForDisplayAndUser_invalidDisplay() local 291 int userId = 10; in testStartFixedActivityModeForDisplayAndUser_invalidComponent() local 303 int userId = 10; in testStopFixedActivityMode() local 326 private void expectNoProfileUser(@UserIdInt int userId) { in expectNoProfileUser() 331 @UserIdInt int userId) throws Exception { in expectComponentUnavailable() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | InitialUserSetterTest.java | 1001 private void setLastActiveUser(@UserIdInt int userId) { in setLastActiveUser() 1005 private void setLastPersistentActiveUser(@UserIdInt int userId) { in setLastPersistentActiveUser() 1009 private void setDefaultBootUserOverride(@UserIdInt int userId) { in setDefaultBootUserOverride() 1013 private UserInfo expectHasInitialUser(@UserIdInt int userId) { in expectHasInitialUser() 1017 private UserInfo expectHasInitialUser(@UserIdInt int userId, in expectHasInitialUser() 1022 private UserInfo expectHasInitialGuest(int userId) { in expectHasInitialGuest() 1026 private UserInfo expectHasInitialUser(@UserIdInt int userId, boolean isGuest, in expectHasInitialUser() 1034 private UserInfo expectUserExists(@UserIdInt int userId) { in expectUserExists() 1041 private void expectUserIsSecure(@UserIdInt int userId) { in expectUserIsSecure() 1045 private UserInfo expectGuestExists(@UserIdInt int userId, boolean isEphemeral) { in expectGuestExists() [all …]
|
D | ExperimentalCarUserManagerUnitTest.java | 72 int userId = 10; in testCreateDriver_Success_Admin() local 86 int userId = 10; in testCreateDriver_Success_NonAdmin() local 111 int userId = mManager.createPassenger("test passenger", 10); in testCreatePassenger_Success() local 118 int userId = mManager.createPassenger("test passenger", 20); in testCreatePassenger_Error() local 188 private void expectCreateDriverSucceed(String name, @UserIdInt int userId) throws Exception { in expectCreateDriverSucceed() 209 private void expectSwitchDriverSucceed(@UserIdInt int userId) throws Exception { in expectSwitchDriverSucceed() 219 private void expectSwitchDriverFail(@UserIdInt int userId) throws Exception { in expectSwitchDriverFail()
|
/packages/services/Car/car-test-lib/src/android/car/test/util/ |
D | UserTestingHelper.java | 42 public static UserInfo newUser(@UserIdInt int userId) { in newUser() 68 public static UserInfo newSecondaryUser(@UserIdInt int userId) { in newSecondaryUser() 76 public static UserInfo newGuestUser(@UserIdInt int userId, boolean ephemeral) { in newGuestUser() 84 public static UserInfo newGuestUser(@UserIdInt int userId) { in newGuestUser() 106 public static void setUserLockCredentials(@UserIdInt int userId, int pin) { in setUserLockCredentials() 113 public static void clearUserLockCredentials(@UserIdInt int userId, int pin) { in clearUserLockCredentials() 143 public UserInfoBuilder(@UserIdInt int userId) { in UserInfoBuilder()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SettingsFacade.java | 38 public void setUserSetupCompleted(Context context, int userId) { in setUserSetupCompleted() 40 Secure.putIntForUser(context.getContentResolver(), USER_SETUP_COMPLETE, 1, userId); in setUserSetupCompleted() local 60 public void setProfileContactRemoteSearch(Context context, boolean allowed, int userId) { in setProfileContactRemoteSearch() 68 public void setCrossProfileCalendarEnabled(Context context, boolean allowed, int userId) { in setCrossProfileCalendarEnabled()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | OverlayManagerCompat.java | 55 public boolean setEnabledExclusiveInCategory(String packageName, int userId) { in setEnabledExclusiveInCategory() 64 public boolean disableOverlay(String packageName, int userId) { in disableOverlay() 98 public List<String> getOverlayPackagesForCategory(String category, int userId, in getOverlayPackagesForCategory() 113 private void ensureCategoryMapForUser(int userId) { in ensureCategoryMapForUser() 127 private List<OverlayInfo> getOverlayInfosForTarget(String targetPackageName, int userId) { in getOverlayInfosForTarget()
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | ICarDevicePolicyService.aidl | 27 void removeUser(int userId, in AndroidFuture<UserRemovalResult> receiver); in removeUser() 29 void startUserInBackground(int userId, in AndroidFuture<UserStartResult> receiver); in startUserInBackground() 30 void stopUser(int userId, in AndroidFuture<UserStopResult> receiver); in stopUser()
|
/packages/services/Car/car-test-lib/src/android/car/test/mocks/ |
D | CarArgumentMatchers.java | 44 public static UserInfo isUserInfo(@UserIdInt int userId) { in isUserInfo() 51 public static UserHandle isUserHandle(@UserIdInt int userId) { in isUserHandle() 78 public final @UserIdInt int userId; field in CarArgumentMatchers.UserInfoMatcher 80 private UserInfoMatcher(@UserIdInt int userId) { in UserInfoMatcher() 106 public final @UserIdInt int userId; field in CarArgumentMatchers.UserHandleMatcher 108 private UserHandleMatcher(@UserIdInt int userId) { in UserHandleMatcher()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountRestrictionHelper.java | 51 String userRestriction, @UserIdInt int userId) { in enforceRestrictionOnPreference() 67 public boolean hasBaseUserRestriction(String userRestriction, @UserIdInt int userId) { in hasBaseUserRestriction() 81 private EnforcedAdmin getEnforcedAdmin(String userRestriction, int userId) { in getEnforcedAdmin() 96 private int getManagedUserId(int userId) { in getManagedUserId()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | NonRequiredAppsLogic.java | 98 public Set<String> getSystemAppsToRemove(int userId) { in getSystemAppsToRemove() 124 private void filterOutSystemAppsFromOta(Set<String> packagesToDelete, int userId) { in filterOutSystemAppsFromOta() 134 public void maybeTakeSystemAppsSnapshot(int userId) { in maybeTakeSystemAppsSnapshot() 140 private boolean shouldDeleteSystemApps(int userId) { in shouldDeleteSystemApps() 146 private int getCase(int userId) { in getCase()
|