Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java45 private final LinkedList<UserInfo> mProfiles; field in ManagedProfileControllerImpl
57 mProfiles = new LinkedList<>(); in ManagedProfileControllerImpl()
77 synchronized (mProfiles) { in setWorkModeEnabled()
78 for (UserInfo ui : mProfiles) { in setWorkModeEnabled()
89 synchronized (mProfiles) { in reloadManagedProfiles()
90 boolean hadProfile = mProfiles.size() > 0; in reloadManagedProfiles()
92 mProfiles.clear(); in reloadManagedProfiles()
96 mProfiles.add(ui); in reloadManagedProfiles()
99 if (mProfiles.size() == 0 && hadProfile && (user == mCurrentUser)) { in reloadManagedProfiles()
117 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()
135 + ", isRemovable=" + mIsRemovable + ", mProfiles=" + Arrays.toString(mProfiles) in toString()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h64 mProfiles.add(profile); in addAudioProfile()
67 mProfiles.clearProfiles(); in clearAudioProfiles()
70 bool hasValidAudioProfile() const { return mProfiles.hasValidProfile(); } in hasValidAudioProfile()
72 bool hasDynamicAudioProfile() const { return mProfiles.hasDynamicProfile(); } in hasDynamicAudioProfile()
74 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } in setAudioProfiles()
75 AudioProfileVector &getAudioProfiles() { return mProfiles; } in getAudioProfiles()
147 AudioProfileVector mProfiles; // AudioProfiles supported by this port (format, Rates, Channels) variable
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeUserInfoHelper.java38 private final SparseArray<IntArray> mProfiles; field in FakeUserInfoHelper
45 mProfiles = new SparseArray<>(); in FakeUserInfoHelper()
82 mProfiles.put(parentUser, in setCurrentUserIds()
145 IntArray profiles = mProfiles.get(userId); in getProfileIds()
/frameworks/base/media/java/android/media/
DAudioPort.java88 private final List<AudioProfile> mProfiles; field in AudioPort
107 mProfiles = new ArrayList<>(); in AudioPort()
110 mProfiles.add(new AudioProfile( in AudioPort()
124 mProfiles = profiles; in AudioPort()
214 return mProfiles; in profiles()
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp45 for (const auto& profileToImport : port->mProfiles) { in importAudioPort()
50 if (std::find_if(mProfiles.begin(), mProfiles.end(), in importAudioPort()
52 return *profile == *profileToImport; }) == mProfiles.end()) { in importAudioPort()
75 if (!mProfiles.contains(profile)) { in importAudioPort()
101 for (const auto& profile : mProfiles) { in toAudioPort()
131 for (const auto& profile : mProfiles) { in toAudioPort()
185 mProfiles.dump(&profilesStr, spaces); in dump()
228 mProfiles.equals(other->getAudioProfiles()) && in equals()
240 legacy2aidl_AudioProfileVector(mProfiles, useInputChannelMask())); in writeToParcelable()
266 mProfiles = VALUE_OR_RETURN_STATUS( in readFromParcelable()
/frameworks/base/identity/java/android/security/identity/
DPersonalizationData.java42 private ArrayList<AccessControlProfile> mProfiles = new ArrayList<>(); field in PersonalizationData
47 return Collections.unmodifiableCollection(mProfiles); in getAccessControlProfiles()
144 mData.mProfiles.add(profile); in addAccessControlProfile()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp166 for (const auto& profile : mProfiles) { in toSupportedMixerAttributes()
207 if (mProfiles.hasDynamicFormat()) { in importAudioPort()
212 addProfilesForFormats(mProfiles, FormatVector(formats.begin(), formats.end())); in importAudioPort()
214 for (audio_format_t format : mProfiles.getSupportedFormats()) { in importAudioPort()
224 mProfiles, sp<AudioProfile>::make( in importAudioPort()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java116 private final Collection<LocalBluetoothProfile> mProfiles = new CopyOnWriteArrayList<>(); field in CachedBluetoothDevice
289 if (!mProfiles.contains(profile)) { in onProfileStateChanged()
291 mProfiles.add(profile); in onProfileStateChanged()
309 mProfiles.remove(profile); in onProfileStateChanged()
326 if (mProfiles.stream().noneMatch(p -> p instanceof LeAudioProfile) in updatePreferredTransport()
327 || mProfiles.stream().noneMatch(p -> p instanceof HidProfile)) { in updatePreferredTransport()
493 if (mProfiles.isEmpty()) { in connectDevice()
881 for (LocalBluetoothProfile profile : mProfiles) { in isConnected()
900 for (LocalBluetoothProfile profile : mProfiles) { in isBusy()
925 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java61 int[] mProfiles; field in NotificationHistoryManagerTest
108 mProfiles = new int[] {userSystem.id, userProfile.id}; in setUp()
109 when(mUserManager.getProfileIds(userSystem.id, true)).thenReturn(mProfiles); in setUp()
205 mProfiles = new int[] {MIN_SECONDARY_USER_ID, userProfile.id}; in testAddProfile_historyEnabledInPrimary()
206 when(mUserManager.getProfileIds(MIN_SECONDARY_USER_ID, true)).thenReturn(mProfiles); in testAddProfile_historyEnabledInPrimary()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h46 addAudioProfileAndSort(mProfiles, profile); in addAudioProfile()
DDeviceDescriptor.h49 addAudioProfileAndSort(mProfiles, profile); in addAudioProfile()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java567 mInjector.mProfiles = new int[]{0, 1}; in testReadEvents()
1020 int[] mProfiles; field in BrightnessTrackerTest.TestInjector
1154 if (mProfiles != null) { in getProfileIds()
1155 return mProfiles; in getProfileIds()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt48654 Landroid/service/euicc/GetEuiccProfileInfoListResult;->mProfiles:[Landroid/service/euicc/EuiccProfi…