Home
last modified time | relevance | path

Searched refs:mProfiles (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DCachedBluetoothDevice.java56 private final List<LocalBluetoothProfile> mProfiles = field in CachedBluetoothDevice
139 } else if (!mProfiles.contains(profile)) { in onProfileStateChanged()
141 mProfiles.add(profile); in onProfileStateChanged()
155 mProfiles.remove(profile); in onProfileStateChanged()
174 for (LocalBluetoothProfile profile : mProfiles) { in disconnect()
212 if (mProfiles.isEmpty()) { in connectWithoutResettingTimer()
228 for (LocalBluetoothProfile profile : mProfiles) { in connectWithoutResettingTimer()
250 for (LocalBluetoothProfile profile : mProfiles) { in connectAutoConnectableProfiles()
450 for (LocalBluetoothProfile profile : mProfiles) { in isConnected()
467 for (LocalBluetoothProfile profile : mProfiles) { in isBusy()
[all …]
DDockService.java113 private LocalBluetoothProfile[] mProfiles; field in DockService
647 mProfiles = new LocalBluetoothProfile[numOfProfiles]; in initBtSettings()
656 mProfiles[0] = mProfileManager.getHeadsetProfile(); in initBtSettings()
657 mProfiles[1] = mProfileManager.getA2dpProfile(); in initBtSettings()
663 mCheckedItems[0] = mProfiles[0].isPreferred(device); in initBtSettings()
664 mCheckedItems[1] = mProfiles[1].isPreferred(device); in initBtSettings()
672 mProfiles[0] = mProfileManager.getA2dpProfile(); in initBtSettings()
677 mCheckedItems[0] = mProfiles[0].isPreferred(device); in initBtSettings()
808 if (device == null || mProfiles == null || mCheckedItems == null in applyBtSettings()
846 for (int i = 0; i < mProfiles.length; i++) { in applyBtSettings()
[all …]
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSettings.java83 private SparseArray<ProfileData> mProfiles = new SparseArray<ProfileData>(); field in AccountSettings
137 if (mProfiles.size() == 1) { in onPrepareOptionsMenu()
145 } else if (mProfiles.size() > 1) { in onPrepareOptionsMenu()
147 final UserHandle managedProfile = mProfiles.valueAt(1).userInfo.getUserHandle(); in onPrepareOptionsMenu()
183 final ProfileData profileData = mProfiles.get(userHandle.getIdentifier()); in onAccountsUpdate()
194 final int count = mProfiles.size(); in onPreferenceClick()
196 ProfileData profileData = mProfiles.valueAt(i); in onPreferenceClick()
248 final int profilesCount = mProfiles.size(); in updateUi()
250 ProfileData profileData = mProfiles.valueAt(i); in updateUi()
281 mProfiles.put(userInfo.id, profileData); in updateProfileUi()
[all …]
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java489 private List<VpnProfile> mProfiles; field in VpnSettings.LockdownConfigFragment
515 mProfiles = loadVpnProfiles(keyStore, VpnProfile.TYPE_PPTP); in initProfiles()
520 for (VpnProfile profile : mProfiles) { in initProfiles()
557 final VpnProfile profile = mProfiles.get(newIndex - 1); in onCreateDialog()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java97 private final ArrayList<ProfileService> mProfiles = new ArrayList<ProfileService>(); field in AdapterService
264 synchronized (mProfiles) { in addProfile()
265 mProfiles.add(profile); in addProfile()
270 synchronized (mProfiles) { in removeProfile()
271 mProfiles.remove(profile); in removeProfile()
1735 synchronized (mProfiles) { in dump()
1736 for (ProfileService profile : mProfiles) { in dump()