Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java37 private final LinkedList<UserInfo> mProfiles; field in ManagedProfileControllerImpl
44 mProfiles = new LinkedList<UserInfo>(); in ManagedProfileControllerImpl()
62 synchronized (mProfiles) { in setWorkModeEnabled()
63 for (UserInfo ui : mProfiles) { in setWorkModeEnabled()
74 synchronized (mProfiles) { in reloadManagedProfiles()
75 boolean hadProfile = mProfiles.size() > 0; in reloadManagedProfiles()
77 mProfiles.clear(); in reloadManagedProfiles()
81 mProfiles.add(ui); in reloadManagedProfiles()
84 if (mProfiles.size() == 0 && hadProfile && (user == mCurrentUser)) { in reloadManagedProfiles()
95 synchronized (mProfiles) { in hasActiveProfile()
[all …]
/frameworks/base/core/java/android/service/euicc/
DGetEuiccProfileInfoListResult.java54 private final EuiccProfileInfo[] mProfiles; field in GetEuiccProfileInfoListResult
71 if (mProfiles == null) return null; in getProfiles()
72 return Arrays.asList(mProfiles); in getProfiles()
98 this.mProfiles = profiles; in GetEuiccProfileInfoListResult()
104 this.mProfiles = null; in GetEuiccProfileInfoListResult()
110 this.mProfiles = in.createTypedArray(EuiccProfileInfo.CREATOR); in GetEuiccProfileInfoListResult()
117 dest.writeTypedArray(mProfiles, flags); in writeToParcel()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h77 void addAudioProfile(const sp<AudioProfile> &profile) { mProfiles.add(profile); } in addAudioProfile()
79 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } in setAudioProfiles()
80 AudioProfileVector &getAudioProfiles() { return mProfiles; } in getAudioProfiles()
82 bool hasValidAudioProfile() const { return mProfiles.hasValidProfile(); } in hasValidAudioProfile()
84 bool hasDynamicAudioProfile() const { return mProfiles.hasDynamicProfile(); } in hasDynamicAudioProfile()
95 return mProfiles.checkCompatibleProfile(samplingRate, channelMask, format, mType, mRole); in checkCompatibleAudioProfile()
98 void clearAudioProfiles() { return mProfiles.clearProfiles(); } in clearAudioProfiles()
149 AudioProfileVector mProfiles; // AudioProfiles supported by this port (format, Rates, Channels) variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp65 for (const auto& profile : mProfiles) { in toAudioPort()
121 for (const auto& profileToImport : port->mProfiles) { in importAudioPort()
125 for (const auto& profile : mProfiles) { in importAudioPort()
153 status = mProfiles.checkExactProfile(config->sample_rate, in checkExactAudioProfile()
314 if (!mProfiles.hasValidProfile()) { in pickAudioProfile()
324 for (size_t i = 0; i < mProfiles.size(); i ++) { in pickAudioProfile()
325 if (!mProfiles[i]->isValid()) { in pickAudioProfile()
328 audio_format_t formatToCompare = mProfiles[i]->getFormat(); in pickAudioProfile()
333 pickChannelMask(pickedChannelMask, mProfiles[i]->getChannels()); in pickAudioProfile()
334 pickSamplingRate(pickedSamplingRate, mProfiles[i]->getSampleRates()); in pickAudioProfile()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java66 private final List<LocalBluetoothProfile> mProfiles = field in CachedBluetoothDevice
159 if (!mProfiles.contains(profile)) { in onProfileStateChanged()
161 mProfiles.add(profile); in onProfileStateChanged()
175 mProfiles.remove(profile); in onProfileStateChanged()
197 for (LocalBluetoothProfile profile : mProfiles) { in disconnect()
235 if (mProfiles.isEmpty()) { in connectWithoutResettingTimer()
251 for (LocalBluetoothProfile profile : mProfiles) { in connectWithoutResettingTimer()
273 for (LocalBluetoothProfile profile : mProfiles) { in connectAutoConnectableProfiles()
583 for (LocalBluetoothProfile profile : mProfiles) { in isConnected()
600 for (LocalBluetoothProfile profile : mProfiles) { in isBusy()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java383 mInjector.mProfiles = new int[]{0, 1}; in testReadEvents()
715 int[] mProfiles; field in BrightnessTrackerTest.TestInjector
835 if (mProfiles != null) { in getProfileIds()
836 return mProfiles; in getProfileIds()