Searched refs:mProfiles (Results 1 – 4 of 4) sorted by relevance
37 private final LinkedList<UserInfo> mProfiles; field in ManagedProfileControllerImpl44 mProfiles = new LinkedList<UserInfo>(); in ManagedProfileControllerImpl()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 …]
76 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
77 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) { in toAudioPort()78 if (mProfiles[profileIndex]->isValid()) { in toAudioPort()79 audio_format_t formatToExport = mProfiles[profileIndex]->getFormat(); in toAudioPort()80 const SampleRateVector &ratesToExport = mProfiles[profileIndex]->getSampleRates(); in toAudioPort()81 const ChannelsVector &channelsToExport = mProfiles[profileIndex]->getChannels(); in toAudioPort()134 for (indexToImport = 0; indexToImport < port->mProfiles.size(); indexToImport++) { in importAudioPort()135 const sp<AudioProfile> &profileToImport = port->mProfiles[indexToImport]; in importAudioPort()139 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) { in importAudioPort()140 if (*mProfiles[profileIndex] == *profileToImport) { in importAudioPort()308 if (!mProfiles.hasValidProfile()) { in pickAudioProfile()[all …]
58 private final List<LocalBluetoothProfile> mProfiles = field in CachedBluetoothDevice135 } else if (!mProfiles.contains(profile)) { in onProfileStateChanged()137 mProfiles.add(profile); in onProfileStateChanged()151 mProfiles.remove(profile); in onProfileStateChanged()170 for (LocalBluetoothProfile profile : mProfiles) { in disconnect()208 if (mProfiles.isEmpty()) { in connectWithoutResettingTimer()224 for (LocalBluetoothProfile profile : mProfiles) { in connectWithoutResettingTimer()246 for (LocalBluetoothProfile profile : mProfiles) { in connectAutoConnectableProfiles()445 for (LocalBluetoothProfile profile : mProfiles) { in isConnected()462 for (LocalBluetoothProfile profile : mProfiles) { in isBusy()[all …]