/packages/apps/Settings/src/com/android/settings/ |
D | DeviceAdminSettings.java | 158 final int profileId = profiles.get(i).getIdentifier(); in onResume() local 159 mProfileOwnerComponents.put(profileId, mDPM.getProfileOwnerAsUser(profileId)); in onResume() 182 final int profileId = profiles.get(i).getIdentifier(); in updateList() local 183 updateAvailableAdminsForProfile(profileId); in updateList() 342 private void updateAvailableAdminsForProfile(final int profileId) { in updateAvailableAdminsForProfile() argument 348 List<ComponentName> activeAdminsListForProfile = mDPM.getActiveAdminsAsUser(profileId); in updateAvailableAdminsForProfile() 349 addActiveAdminsForProfile(activeAdminsListForProfile, profileId); in updateAvailableAdminsForProfile() 352 addDeviceAdminBroadcastReceiversForProfile(activeAdminsListForProfile, profileId); in updateAvailableAdminsForProfile() 366 Collection<ComponentName> alreadyAddedComponents, final int profileId) { in addDeviceAdminBroadcastReceiversForProfile() argument 371 profileId); in addDeviceAdminBroadcastReceiversForProfile() [all …]
|
D | TrustedCredentialsSettings.java | 697 int profileId = profile.getIdentifier(); in doInBackground() local 704 mKeyChainConnectionByProfileId.put(profileId, keyChainConnection); in doInBackground() 711 aliasesByProfileId.put(profileId, aliases); in doInBackground() 715 int profileId = profile.getIdentifier(); in doInBackground() local 716 List<String> aliases = aliasesByProfileId.get(profileId); in doInBackground() 721 profileId); in doInBackground() 724 certHoldersByProfile.put(profileId, new ArrayList<CertHolder>(0)); in doInBackground() 736 mTab, alias, cert, profileId)); in doInBackground() 740 certHoldersByProfile.put(profileId, certHolders); in doInBackground() 832 int profileId) { in CertHolder() argument [all …]
|
D | MasterClear.java | 313 final int profileId = userInfo.id; in loadAccountList() local 314 final UserHandle userHandle = new UserHandle(profileId); in loadAccountList() 315 Account[] accounts = mgr.getAccountsAsUser(profileId); in loadAccountList() 323 .getAuthenticatorTypesAsUser(profileId); in loadAccountList()
|
D | Utils.java | 659 for (int profileId : profileIds) { in getManagedProfileId() 660 if (profileId != parentUserId) { in getManagedProfileId() 661 return profileId; in getManagedProfileId() 956 public static ApplicationInfo getAdminApplicationInfo(Context context, int profileId) { in getAdminApplicationInfo() argument 959 ComponentName mdmPackage = dpm.getProfileOwnerAsUser(profileId); in getAdminApplicationInfo() 967 ipm.getApplicationInfo(mdmPackageName, 0, profileId); in getAdminApplicationInfo() 971 + ", userId " + profileId, e); in getAdminApplicationInfo()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 251 BluetoothDevice device, int profileId, int nextState, int prevState) { in processProfileStateChanged() argument 252 debugLog("processProfileStateChanged, device=" + device + ", profile=" + profileId + ", " in processProfileStateChanged() 254 if (((profileId == BluetoothProfile.A2DP) || (profileId == BluetoothProfile.HEADSET)) in processProfileStateChanged() 256 switch (profileId) { in processProfileStateChanged() 265 setProfileAutoConnectionPriority(device, profileId); in processProfileStateChanged() 410 private void setProfileAutoConnectionPriority(BluetoothDevice device, int profileId) { in setProfileAutoConnectionPriority() argument 411 switch (profileId) { in setProfileAutoConnectionPriority() 433 Log.w(TAG, "Tried to set AutoConnect priority on invalid profile " + profileId); in setProfileAutoConnectionPriority()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 175 final int profileId = profile.getIdentifier(); in getEntries() local 176 entries.put(profileId, entriesForProfile); in getEntries() 179 profileId); in getEntries() 203 final int profileId = profile.getIdentifier(); in loadPermissionsStates() local 204 final ArrayMap<String, PermissionState> entriesForProfile = entries.get(profileId); in loadPermissionsStates() 210 .getPackagesHoldingPermissions(mPermissions, 0, profileId).getList(); in loadPermissionsStates()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | SettingsInjector.java | 120 final int profileId = userHandle.getIdentifier(); in getSettings() local 122 pm.queryIntentServicesAsUser(intent, PackageManager.GET_META_DATA, profileId); in getSettings() 124 Log.d(TAG, "Found services for profile id " + profileId + ": " + resolveInfos); in getSettings() 142 Log.d(TAG, "Loaded settings for profile id " + profileId + ": " + settings); in getSettings() 234 public List<Preference> getInjectedSettings(Context prefContext, final int profileId) { in getInjectedSettings() argument 241 if (profileId == UserHandle.USER_CURRENT || profileId == userHandle.getIdentifier()) { in getInjectedSettings()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | WorkSoundPreferenceController.java | 283 public void onManagedProfileAdded(@UserIdInt int profileId) { in onManagedProfileAdded() argument 285 mManagedProfileId = profileId; in onManagedProfileAdded() 290 public void onManagedProfileRemoved(@UserIdInt int profileId) { in onManagedProfileRemoved() argument 291 if (mManagedProfileId == profileId) { in onManagedProfileRemoved()
|
D | AudioHelper.java | 49 public Context createPackageContextAsUser(@UserIdInt int profileId) { in createPackageContextAsUser() argument 50 return Utils.createPackageContextAsUser(mContext, profileId); in createPackageContextAsUser()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 208 private boolean isProfileOfOrSame(@NonNull UserManager userManager, int userId, int profileId) { in isProfileOfOrSame() argument 209 if (userId == profileId) { in isProfileOfOrSame() 213 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 242 private boolean isProfileOfOrSame(UserManager userManager, int userId, int profileId) { in isProfileOfOrSame() argument 243 if (userId == profileId) { in isProfileOfOrSame() 246 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 59 MyDatabaseHelper(long profileId) { in MyDatabaseHelper() argument 61 mProfileId = profileId; in MyDatabaseHelper()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | ImportDataTask.java | 132 String profileId = Long.toString(UserManagerCompat.getInstance(mContext) in importWorkspaceItems() local 140 new String[]{profileId, Long.toString(firsetScreenId)}, in importWorkspaceItems() argument 159 Favorites.PROFILE_ID + " = ?", new String[]{profileId}, in importWorkspaceItems() argument
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 502 final int profileId = profile.getIdentifier(); in getAlwaysOnAppVpnInfos() local 503 final String packageName = mConnectivityManager.getAlwaysOnVpnPackageForUser(profileId); in getAlwaysOnAppVpnInfos() 505 result.add(new AppVpnInfo(profileId, packageName)); in getAlwaysOnAppVpnInfos()
|