Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileController.java37 private final LinkedList<UserInfo> mProfiles; field in ManagedProfileController
44 mProfiles = new LinkedList<UserInfo>(); in ManagedProfileController()
62 synchronized (mProfiles) { in setWorkModeEnabled()
63 for (UserInfo ui : mProfiles) { in setWorkModeEnabled()
78 synchronized (mProfiles) { in reloadManagedProfiles()
79 boolean hadProfile = mProfiles.size() > 0; in reloadManagedProfiles()
81 mProfiles.clear(); in reloadManagedProfiles()
85 mProfiles.add(ui); in reloadManagedProfiles()
88 if (mProfiles.size() == 0 && hadProfile && (user == mCurrentUser)) { in reloadManagedProfiles()
99 synchronized (mProfiles) { in hasActiveProfile()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h76 void addAudioProfile(const sp<AudioProfile> &profile) { mProfiles.add(profile); } in addAudioProfile()
78 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } in setAudioProfiles()
79 AudioProfileVector &getAudioProfiles() { return mProfiles; } in getAudioProfiles()
81 bool hasValidAudioProfile() const { return mProfiles.hasValidProfile(); } in hasValidAudioProfile()
83 bool hasDynamicAudioProfile() const { return mProfiles.hasDynamicProfile(); } in hasDynamicAudioProfile()
90 return mProfiles.checkExactProfile(samplingRate, channelMask, format); in checkExactAudioProfile()
99 return mProfiles.checkCompatibleProfile(samplingRate, channelMask, format, mType, mRole); in checkCompatibleAudioProfile()
102 void clearAudioProfiles() { return mProfiles.clearProfiles(); } in clearAudioProfiles()
153 AudioProfileVector mProfiles; // AudioProfiles supported by this port (format, Rates, Channels) variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp76 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) { in toAudioPort()
77 if (mProfiles[profileIndex]->isValid()) { in toAudioPort()
78 audio_format_t formatToExport = mProfiles[profileIndex]->getFormat(); in toAudioPort()
79 const SampleRateVector &ratesToExport = mProfiles[profileIndex]->getSampleRates(); in toAudioPort()
80 const ChannelsVector &channelsToExport = mProfiles[profileIndex]->getChannels(); in toAudioPort()
133 for (indexToImport = 0; indexToImport < port->mProfiles.size(); indexToImport++) { in importAudioPort()
134 const sp<AudioProfile> &profileToImport = port->mProfiles[indexToImport]; in importAudioPort()
138 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) { in importAudioPort()
139 if (*mProfiles[profileIndex] == *profileToImport) { in importAudioPort()
307 if (!mProfiles.hasValidProfile()) { in pickAudioProfile()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java58 private final List<LocalBluetoothProfile> mProfiles = field in CachedBluetoothDevice
138 } else if (!mProfiles.contains(profile)) { in onProfileStateChanged()
140 mProfiles.add(profile); in onProfileStateChanged()
154 mProfiles.remove(profile); in onProfileStateChanged()
173 for (LocalBluetoothProfile profile : mProfiles) { in disconnect()
211 if (mProfiles.isEmpty()) { in connectWithoutResettingTimer()
227 for (LocalBluetoothProfile profile : mProfiles) { in connectWithoutResettingTimer()
249 for (LocalBluetoothProfile profile : mProfiles) { in connectAutoConnectableProfiles()
449 for (LocalBluetoothProfile profile : mProfiles) { in isConnected()
466 for (LocalBluetoothProfile profile : mProfiles) { in isBusy()
[all …]