Home
last modified time | relevance | path

Searched refs:profileId (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DDeviceAdminSettings.java120 final int profileId = profiles.get(i).getIdentifier(); in onResume() local
121 mProfileOwnerComponents.put(profileId, mDPM.getProfileOwnerAsUser(profileId)); in onResume()
142 final int profileId = profiles.get(i).getIdentifier(); in updateList() local
143 updateAvailableAdminsForProfile(profileId); in updateList()
378 private void updateAvailableAdminsForProfile(final int profileId) { in updateAvailableAdminsForProfile() argument
384 List<ComponentName> activeAdminsListForProfile = mDPM.getActiveAdminsAsUser(profileId); in updateAvailableAdminsForProfile()
385 addActiveAdminsForProfile(activeAdminsListForProfile, profileId); in updateAvailableAdminsForProfile()
388 addDeviceAdminBroadcastReceiversForProfile(activeAdminsListForProfile, profileId); in updateAvailableAdminsForProfile()
402 Collection<ComponentName> alreadyAddedComponents, final int profileId) { in addDeviceAdminBroadcastReceiversForProfile() argument
407 profileId); in addDeviceAdminBroadcastReceiversForProfile()
[all …]
DTrustedCredentialsSettings.java447 int profileId = profile.getIdentifier(); in doInBackground() local
451 mKeyChainConnectionByProfileId.put(profileId, keyChainConnection); in doInBackground()
458 aliasesByProfileId.put(profileId, aliases); in doInBackground()
462 int profileId = profile.getIdentifier(); in doInBackground() local
463 List<ParcelableString> aliases = aliasesByProfileId.get(profileId); in doInBackground()
467 IKeyChainService service = mKeyChainConnectionByProfileId.get(profileId) in doInBackground()
477 mTab, alias, cert, profileId)); in doInBackground()
481 certHoldersByProfile.put(profileId, certHolders); in doInBackground()
542 int profileId) { in CertHolder() argument
543 mProfileId = profileId; in CertHolder()
DMasterClear.java199 final int profileId = userInfo.id; in loadAccountList() local
200 final UserHandle userHandle = new UserHandle(profileId); in loadAccountList()
201 Account[] accounts = mgr.getAccountsAsUser(profileId); in loadAccountList()
209 .getAuthenticatorTypesAsUser(profileId); in loadAccountList()
/packages/apps/Settings/src/com/android/settings/location/
DSettingsInjector.java119 final int profileId = userHandle.getIdentifier(); in getSettings() local
121 pm.queryIntentServicesAsUser(intent, PackageManager.GET_META_DATA, profileId); in getSettings()
123 Log.d(TAG, "Found services for profile id " + profileId + ": " + resolveInfos); in getSettings()
141 Log.d(TAG, "Loaded settings for profile id " + profileId + ": " + settings); in getSettings()
233 public List<Preference> getInjectedSettings(final int profileId) { in getInjectedSettings() argument
240 if (profileId == UserHandle.USER_CURRENT || profileId == userHandle.getIdentifier()) { in getInjectedSettings()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java192 …public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, i… in onProfileConnectionStateChanged() argument
195 m.arg1 = profileId; in onProfileConnectionStateChanged()
246 …private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int p… in processProfileStateChanged() argument
247 if (((profileId == BluetoothProfile.A2DP) ||(profileId == BluetoothProfile.HEADSET)) && in processProfileStateChanged()
251 setProfileAutoConnectionPriority(device, profileId); in processProfileStateChanged()
256 binder.sendConnectionStateChange(device, profileId, newState,prevState); in processProfileStateChanged()
1429 void setProfileAutoConnectionPriority (BluetoothDevice device, int profileId){ in setProfileAutoConnectionPriority() argument
1430 if (profileId == BluetoothProfile.HEADSET) { in setProfileAutoConnectionPriority()
1439 else if (profileId == BluetoothProfile.A2DP) { in setProfileAutoConnectionPriority()
DProfileService.java227 int profileId, int newState, int prevState) { in notifyProfileConnectionStateChanged() argument
229 mAdapterService.onProfileConnectionStateChanged(device, profileId, newState, prevState); in notifyProfileConnectionStateChanged()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java501 String profileId = parser.getAttributeValue(null, "profile_id"); in getRow() local
502 if (profileId != null) { in getRow()
503 map.put(Telephony.Carriers.PROFILE_ID, Integer.parseInt(profileId)); in getRow()