Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java46 private final LinkedList<UserInfo> mProfiles; field in ManagedProfileControllerImpl
57 mProfiles = new LinkedList<UserInfo>(); in ManagedProfileControllerImpl()
75 synchronized (mProfiles) { in setWorkModeEnabled()
76 for (UserInfo ui : mProfiles) { in setWorkModeEnabled()
87 synchronized (mProfiles) { in reloadManagedProfiles()
88 boolean hadProfile = mProfiles.size() > 0; in reloadManagedProfiles()
90 mProfiles.clear(); in reloadManagedProfiles()
94 mProfiles.add(ui); in reloadManagedProfiles()
97 if (mProfiles.size() == 0 && hadProfile && (user == mCurrentUser)) { in reloadManagedProfiles()
108 synchronized (mProfiles) { in hasActiveProfile()
[all …]
/frameworks/base/telephony/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/media/libaudiofoundation/include/media/
DAudioPort.h52 mProfiles.add(profile); in addAudioProfile()
55 mProfiles.clearProfiles(); in clearAudioProfiles()
58 bool hasValidAudioProfile() const { return mProfiles.hasValidProfile(); } in hasValidAudioProfile()
60 bool hasDynamicAudioProfile() const { return mProfiles.hasDynamicProfile(); } in hasDynamicAudioProfile()
62 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } in setAudioProfiles()
63 AudioProfileVector &getAudioProfiles() { return mProfiles; } in getAudioProfiles()
94 AudioProfileVector mProfiles; // AudioProfiles supported by this port (format, Rates, Channels) variable
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp28 for (const auto& profileToImport : port->mProfiles) { in importAudioPort()
33 if (std::find_if(mProfiles.begin(), mProfiles.end(), in importAudioPort()
35 return *profile == *profileToImport; }) == mProfiles.end()) { in importAudioPort()
47 for (const auto& profile : mProfiles) { in toAudioPort()
89 mProfiles.dump(&profilesStr, spaces); in dump()
115 mProfiles.equals(other->getAudioProfiles()); in equals()
124 if ((status = parcel->writeParcelable(mProfiles)) != NO_ERROR) return status; in writeToParcel()
141 mProfiles.clear(); in readFromParcel()
142 if ((status = parcel->readParcelable(&mProfiles)) != NO_ERROR) return status; in readFromParcel()
/frameworks/base/identity/java/android/security/identity/
DPersonalizationData.java41 private LinkedList<AccessControlProfile> mProfiles = new LinkedList<>(); field in PersonalizationData
46 return Collections.unmodifiableCollection(mProfiles); in getAccessControlProfiles()
143 mData.mProfiles.add(profile); in addAccessControlProfile()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java73 private final Collection<LocalBluetoothProfile> mProfiles = new CopyOnWriteArrayList<>(); field in CachedBluetoothDevice
199 if (!mProfiles.contains(profile)) { in onProfileStateChanged()
201 mProfiles.add(profile); in onProfileStateChanged()
215 mProfiles.remove(profile); in onProfileStateChanged()
312 if (mProfiles.isEmpty()) { in connectAllEnabledProfiles()
593 for (LocalBluetoothProfile profile : mProfiles) { in isConnected()
612 for (LocalBluetoothProfile profile : mProfiles) { in isBusy()
636 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
691 if (!mProfiles.isEmpty() in onUuidChanged()
702 mProfiles.clear(); in onBondingStateChanged()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h51 addAudioProfileAndSort(mProfiles, profile); in addAudioProfile()
DDeviceDescriptor.h49 addAudioProfileAndSort(mProfiles, profile); in addAudioProfile()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java60 int[] mProfiles; field in NotificationHistoryManagerTest
107 mProfiles = new int[] {userSystem.id, userProfile.id}; in setUp()
108 when(mUserManager.getProfileIds(userSystem.id, true)).thenReturn(mProfiles); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java505 mInjector.mProfiles = new int[]{0, 1}; in testReadEvents()
853 int[] mProfiles; field in BrightnessTrackerTest.TestInjector
979 if (mProfiles != null) { in getProfileIds()
980 return mProfiles; in getProfileIds()