/packages/apps/Settings/src/com/android/settings/notification/ |
D | RedactNotificationPreferenceController.java | 59 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in isChecked() local 67 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in setChecked() local 83 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus() local 111 private boolean adminAllowsNotifications(int userId) { in adminAllowsNotifications() 116 private boolean adminAllowsUnredactedNotifications(int userId) { in adminAllowsUnredactedNotifications() 121 private boolean getAllowPrivateNotifications(int userId) { in getAllowPrivateNotifications() 126 private boolean getLockscreenNotificationsEnabled(int userId) { in getLockscreenNotificationsEnabled()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | CardEmulationManager.java | 149 public void onUserSwitched(int userId) { in onUserSwitched() 195 public void onServicesUpdated(int userId, List<ApduServiceInfo> services) { in onServicesUpdated() 205 public void onNfcFServicesUpdated(int userId, List<NfcFServiceInfo> services) { in onNfcFServicesUpdated() 212 void verifyDefaults(int userId, List<ApduServiceInfo> services) { in verifyDefaults() 242 ComponentName getDefaultServiceForCategory(int userId, String category, in getDefaultServiceForCategory() 264 boolean setDefaultServiceForCategoryChecked(int userId, ComponentName service, in setDefaultServiceForCategoryChecked() 283 boolean isServiceRegistered(int userId, ComponentName service) { in isServiceRegistered() 297 boolean isNfcFServiceInstalled(int userId, ComponentName service) { in isNfcFServiceInstalled() 326 public boolean isDefaultServiceForCategory(int userId, ComponentName service, in isDefaultServiceForCategory() 339 public boolean isDefaultServiceForAid(int userId, in isDefaultServiceForAid() [all …]
|
D | RegisteredServicesCache.java | 85 void onServicesUpdated(int userId, final List<ApduServiceInfo> services); in onServicesUpdated() 108 private UserServices findOrCreateUserLocked(int userId) { in findOrCreateUserLocked() 186 public boolean hasService(int userId, ComponentName service) { in hasService() 190 public ApduServiceInfo getService(int userId, ComponentName service) { in getService() 197 public List<ApduServiceInfo> getServices(int userId) { in getServices() 206 public List<ApduServiceInfo> getServicesForCategory(int userId, String category) { in getServicesForCategory() 217 ArrayList<ApduServiceInfo> getInstalledServices(int userId) { in getInstalledServices() 272 public void invalidateCache(int userId) { in invalidateCache() 385 final int userId = UserHandle.getUserId(currentUid); in readDynamicSettingsLocked() local 454 public boolean setOffHostSecureElement(int userId, int uid, ComponentName componentName, in setOffHostSecureElement() [all …]
|
D | RegisteredNfcFServicesCache.java | 79 void onNfcFServicesUpdated(int userId, final List<NfcFServiceInfo> services); in onNfcFServicesUpdated() 114 private UserServices findOrCreateUserLocked(int userId) { in findOrCreateUserLocked() 195 public boolean hasService(int userId, ComponentName componentName) { in hasService() 199 public NfcFServiceInfo getService(int userId, ComponentName componentName) { in getService() 206 public List<NfcFServiceInfo> getServices(int userId) { in getServices() 215 ArrayList<NfcFServiceInfo> getInstalledServices(int userId) { in getInstalledServices() 265 public void invalidateCache(int userId) { in invalidateCache() 447 final int userId = UserHandle.getUserId(currentUid); in readDynamicSystemCodeNfcid2Locked() local 533 public boolean registerSystemCodeForService(int userId, int uid, in registerSystemCodeForService() 590 public String getSystemCodeForService(int userId, int uid, ComponentName componentName) { in getSystemCodeForService() [all …]
|
/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()
|
D | ShadowApplicationPackageManager.java | 84 @UserIdInt int userId) { in resolveContentProviderAsUser() 89 protected int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser() 106 protected List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() 111 protected ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser() 156 protected String getDefaultBrowserPackageNameAsUser(int userId) { in getDefaultBrowserPackageNameAsUser() 162 protected boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId) { in setDefaultBrowserPackageNameAsUser() 169 protected int getIntentVerificationStatusAsUser(String packageName, int userId) { in getIntentVerificationStatusAsUser() 178 int userId) { in updateIntentVerificationStatusAsUser()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | DefaultDialerCache.java | 44 String getDefaultDialerApplication(Context context, int userId); in getDefaultDialerApplication() 45 boolean setDefaultDialerApplication(Context context, String packageName, int userId); in setDefaultDialerApplication() 55 public String getDefaultDialerApplication(Context context, int userId) { in getDefaultDialerApplication() 61 int userId) { in setDefaultDialerApplication() 171 public String getDefaultDialerApplication(int userId) { in getDefaultDialerApplication() 201 public boolean isDefaultOrSystemDialer(String packageName, int userId) { in isDefaultOrSystemDialer() 207 public boolean setDefaultDialer(String packageName, int userId) { in setDefaultDialer() 219 private String refreshCacheForUser(int userId) { in refreshCacheForUser() 235 int userId = mCurrentDefaultDialerPerUser.keyAt(i); in refreshCachesForUsersWithPackage() local 254 private void removeUserFromCache(int userId) { in removeUserFromCache()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowLockPatternUtils.java | 45 protected int getActivePasswordQuality(int userId) { in getActivePasswordQuality() 60 protected List<ComponentName> getEnabledTrustAgents(int userId) { in getEnabledTrustAgents() 69 protected byte[] getPasswordHistoryHashFactor(byte[] currentPassword, int userId) { in getPasswordHistoryHashFactor() 74 protected boolean checkPasswordHistory(byte[] passwordToCheck, byte[] hashFactor, int userId) { in checkPasswordHistory()
|
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()
|
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 | ShadowRestrictedLockUtilsInternal.java | 54 String packageName, int userId) { in checkIfMeteredDataRestricted() 66 String accountType, int userId) { in checkIfAccountManagementDisabled() 85 int features, final @UserIdInt int userId) { in checkIfKeyguardFeaturesDisabled() 91 String userRestriction, int userId) { in hasBaseUserRestriction() 97 String userRestriction, int userId) { in checkIfRestrictionEnforced() 108 String packageName, int userId) { in checkIfApplicationIsSuspended()
|
/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/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 247 public synchronized void execute(int userId, AbstractProvisioningTask task) { in execute() 252 private void addMeatUser(int userId) { in addMeatUser() 258 private void setDeviceOwner(int userId, ComponentName admin) { in setDeviceOwner() 263 private void addManagedProfile(int userId, ComponentName admin) { in addManagedProfile() 271 private void addManagedUser(int userId, ComponentName admin) { in addManagedUser() 291 private void assertTaskListContains(Integer userId, Class taskClass) { in assertTaskListContains() 300 private void assertInstallExistingPackageTask(int userId, String packageName) { in assertInstallExistingPackageTask()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | NormalizedIconLoader.java | 56 public Drawable getDefaultIcon(int userId) { in getDefaultIcon() 70 protected Drawable createBadgedDrawable(Drawable drawable, int userId, TaskDescription desc) { in createBadgedDrawable() 75 private BitmapInfo getBitmapInfo(Drawable drawable, int userId, in getBitmapInfo() 90 protected Drawable getBadgedActivityIcon(ActivityInfo activityInfo, int userId, in getBadgedActivityIcon()
|
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/ |
D | ShadowUserManager.java | 86 public boolean isManagedProfile(int userId) { in isManagedProfile() 101 public boolean isUserUnlockingOrUnlocked(int userId) { in isUserUnlockingOrUnlocked() 111 public boolean removeUser(int userId) { in removeUser() 124 public void switchUser(int userId) { in switchUser() 135 public void setCurrentUser(int userId) { in setCurrentUser()
|
D | ShadowActivityManager.java | 44 public boolean switchUser(int userId) { in switchUser() 57 public static void setCurrentUser(int userId) { in setCurrentUser()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | VpnUtils.java | 64 final int userId = context.getUserId(); in isAnyLockdownActive() local 77 public static String getConnectedPackage(IConnectivityManager service, final int userId) in getConnectedPackage() 92 public static boolean isAlwaysOnVpnSet(ConnectivityManager cm, final int userId) { in isAlwaysOnVpnSet() 98 int userId = context.getUserId(); in disconnectLegacyVpn() local
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnUtils.java | 64 final int userId = context.getUserId(); in isAnyLockdownActive() local 77 public static String getConnectedPackage(IConnectivityManager service, final int userId) in getConnectedPackage() 92 public static boolean isAlwaysOnVpnSet(ConnectivityManager cm, final int userId) { in isAlwaysOnVpnSet() 98 int userId = context.getUserId(); in disconnectLegacyVpn() local
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SettingsFacade.java | 36 public void setUserSetupCompleted(Context context, int userId) { in setUserSetupCompleted() 38 Secure.putIntForUser(context.getContentResolver(), USER_SETUP_COMPLETE, 1, userId); in setUserSetupCompleted() local 80 public void setProfileContactRemoteSearch(Context context, boolean allowed, int userId) { in setProfileContactRemoteSearch() 88 public void setCrossProfileCalendarEnabled(Context context, boolean allowed, int userId) { in setCrossProfileCalendarEnabled()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | SetDevicePolicyTask.java | 76 public void run(int userId) { in run() 118 private void setActiveAdmin(ComponentName component, int userId) { in setActiveAdmin() 123 private boolean setDeviceOwner(ComponentName component, String owner, int userId) { in setDeviceOwner() 131 private boolean setProfileOwner(ComponentName component, int userId) { in setProfileOwner()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | RemoveUserFragment.java | 32 static RemoveUserFragment newInstance(int userId) { in newInstance() 42 final int userId = getArguments().getInt(ARG_USER_ID); in onCreateDialog() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | SavePatternWorker.java | 31 void start(int userId, List<LockPatternView.Cell> chosenPattern, byte[] currentPattern) { in start() 40 int userId = getUserId(); in saveLock() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | RemoveUserFragment.java | 32 static RemoveUserFragment newInstance(int userId) { in newInstance() 42 final int userId = getArguments().getInt(ARG_USER_ID); in onCreateDialog() local
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | NonRequiredAppsLogic.java | 99 public Set<String> getSystemAppsToRemove(int userId) { in getSystemAppsToRemove() 129 public void maybeTakeSystemAppsSnapshot(int userId) { in maybeTakeSystemAppsSnapshot() 135 private boolean shouldDeleteSystemApps(int userId) { in shouldDeleteSystemApps() 141 private int getCase(int userId) { in getCase()
|