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.java43 private final LinkedList<UserInfo> mProfiles; field in ManagedProfileControllerImpl
53 mProfiles = new LinkedList<UserInfo>(); in ManagedProfileControllerImpl()
71 synchronized (mProfiles) { in setWorkModeEnabled()
72 for (UserInfo ui : mProfiles) { in setWorkModeEnabled()
83 synchronized (mProfiles) { in reloadManagedProfiles()
84 boolean hadProfile = mProfiles.size() > 0; in reloadManagedProfiles()
86 mProfiles.clear(); in reloadManagedProfiles()
90 mProfiles.add(ui); in reloadManagedProfiles()
93 if (mProfiles.size() == 0 && hadProfile && (user == mCurrentUser)) { in reloadManagedProfiles()
104 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()
105 this.mProfiles = null; in GetEuiccProfileInfoListResult()
111 this.mProfiles = in.createTypedArray(EuiccProfileInfo.CREATOR); in GetEuiccProfileInfoListResult()
118 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()
154 AudioProfileVector mProfiles; // AudioProfiles supported by this port (format, Rates, Channels) variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp71 for (const auto& profile : mProfiles) { in toAudioPort()
127 for (const auto& profileToImport : port->mProfiles) { in importAudioPort()
131 for (const auto& profile : mProfiles) { in importAudioPort()
159 status = mProfiles.checkExactProfile(config->sample_rate, in checkExactAudioProfile()
315 if (!mProfiles.hasValidProfile()) { in pickAudioProfile()
325 for (size_t i = 0; i < mProfiles.size(); i ++) { in pickAudioProfile()
326 if (!mProfiles[i]->isValid()) { in pickAudioProfile()
329 audio_format_t formatToCompare = mProfiles[i]->getFormat(); in pickAudioProfile()
334 pickChannelMask(pickedChannelMask, mProfiles[i]->getChannels()); in pickAudioProfile()
335 pickSamplingRate(pickedSamplingRate, mProfiles[i]->getSampleRates()); in pickAudioProfile()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java67 private final List<LocalBluetoothProfile> mProfiles = new ArrayList<>(); field in CachedBluetoothDevice
138 if (!mProfiles.contains(profile)) { in onProfileStateChanged()
140 mProfiles.add(profile); in onProfileStateChanged()
154 mProfiles.remove(profile); in onProfileStateChanged()
165 for (LocalBluetoothProfile profile : mProfiles) { in disconnect()
220 if (mProfiles.isEmpty()) { in connectWithoutResettingTimer()
233 for (LocalBluetoothProfile profile : mProfiles) { in connectWithoutResettingTimer()
256 for (LocalBluetoothProfile profile : mProfiles) { in connectAutoConnectableProfiles()
528 for (LocalBluetoothProfile profile : mProfiles) { in isConnected()
547 for (LocalBluetoothProfile profile : mProfiles) { in isBusy()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java469 mInjector.mProfiles = new int[]{0, 1}; in testReadEvents()
807 int[] mProfiles; field in BrightnessTrackerTest.TestInjector
933 if (mProfiles != null) { in getProfileIds()
934 return mProfiles; in getProfileIds()