Searched defs:profileId (Results 1 - 7 of 7) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DUninstallAppProgress.java73 private boolean isProfileOfOrSame(UserManager userManager, int userId, int profileId) { argument
74 if (userId == profileId) {
77 UserInfo parentUser = userManager.getProfileParent(profileId);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DProfileService.java227 int profileId, int newState, int prevState) {
229 mAdapterService.onProfileConnectionStateChanged(device, profileId, newState, prevState);
226 notifyProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) argument
H A DAdapterService.java201 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { argument
204 m.arg1 = profileId;
255 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { argument
256 if (((profileId == BluetoothProfile.A2DP) ||(profileId == BluetoothProfile.HEADSET)) &&
260 setProfileAutoConnectionPriority(device, profileId);
265 binder.sendConnectionStateChange(device, profileId, newState,prevState);
1574 void setProfileAutoConnectionPriority (BluetoothDevice device, int profileId){ argument
1575 if (profileId == BluetoothProfile.HEADSET) {
1584 else if (profileId
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DDeviceAdminSettings.java119 final int profileId = profiles.get(i).getIdentifier();
120 mProfileOwnerComponents.put(profileId, mDPM.getProfileOwnerAsUser(profileId));
141 final int profileId = profiles.get(i).getIdentifier();
142 updateAvailableAdminsForProfile(profileId);
366 * @param profileId the profile identifier.
368 private void updateAvailableAdminsForProfile(final int profileId) { argument
374 List<ComponentName> activeAdminsListForProfile = mDPM.getActiveAdminsAsUser(profileId);
375 addActiveAdminsForProfile(activeAdminsListForProfile, profileId);
378 addDeviceAdminBroadcastReceiversForProfile(activeAdminsListForProfile, profileId);
391 addDeviceAdminBroadcastReceiversForProfile( Collection<ComponentName> alreadyAddedComponents, final int profileId) argument
431 addActiveAdminsForProfile(final List<ComponentName> activeAdmins, final int profileId) argument
[all...]
H A DTrustedCredentialsSettings.java443 int profileId = profile.getIdentifier();
447 mKeyChainConnectionByProfileId.put(profileId, keyChainConnection);
454 aliasesByProfileId.put(profileId, aliases);
458 int profileId = profile.getIdentifier();
459 List<ParcelableString> aliases = aliasesByProfileId.get(profileId);
463 IKeyChainService service = mKeyChainConnectionByProfileId.get(profileId)
473 mTab, alias, cert, profileId));
477 certHoldersByProfile.put(profileId, certHolders);
538 int profileId) {
539 mProfileId = profileId;
533 CertHolder(IKeyChainService service, TrustedCertificateAdapterCommons adapter, Tab tab, String alias, X509Certificate x509Cert, int profileId) argument
[all...]
H A DUtils.java1195 public static ApplicationInfo getAdminApplicationInfo(Context context, int profileId) { argument
1198 ComponentName mdmPackage = dpm.getProfileOwnerAsUser(profileId);
1206 ipm.getApplicationInfo(mdmPackageName, 0, profileId);
1210 + ", userId " + profileId, e);
/packages/apps/Settings/src/com/android/settings/location/
H A DSettingsInjector.java119 final int profileId = userHandle.getIdentifier();
121 pm.queryIntentServicesAsUser(intent, PackageManager.GET_META_DATA, profileId);
123 Log.d(TAG, "Found services for profile id " + profileId + ": " + resolveInfos);
141 Log.d(TAG, "Loaded settings for profile id " + profileId + ": " + settings);
230 * @param profileId Identifier of the user/profile to obtain the injected settings for or
233 public List<Preference> getInjectedSettings(final int profileId) { argument
240 if (profileId == UserHandle.USER_CURRENT || profileId == userHandle.getIdentifier()) {

Completed in 280 milliseconds