Home
last modified time | relevance | path

Searched refs:profiles (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/av/media/libmedia/
DMediaProfiles.cpp173 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) in createVideoCodec() argument
191 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec()
192 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec; in createVideoCodec()
197 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) in createAudioCodec() argument
213 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec()
214 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec; in createAudioCodec()
398 MediaProfiles *profiles = (MediaProfiles *) userData; in startElementHandler() local
400 createVideoCodec(atts, profiles); in startElementHandler()
402 createAudioCodec(atts, profiles); in startElementHandler()
405 profiles->mVideoEncoders.add(createVideoEncoderCap(atts)); in startElementHandler()
[all …]
/frameworks/base/core/java/android/service/euicc/
DGetEuiccProfileInfoListResult.java53 public final EuiccProfileInfo[] profiles; field in GetEuiccProfileInfoListResult
72 int result, @Nullable EuiccProfileInfo[] profiles, boolean isRemovable) { in GetEuiccProfileInfoListResult() argument
76 this.profiles = profiles; in GetEuiccProfileInfoListResult()
78 if (profiles != null) { in GetEuiccProfileInfoListResult()
82 this.profiles = null; in GetEuiccProfileInfoListResult()
89 this.profiles = in.createTypedArray(EuiccProfileInfo.CREATOR); in GetEuiccProfileInfoListResult()
96 dest.writeTypedArray(profiles, flags); in writeToParcel()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java107 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_canForward_sendIntent() local
108 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_canForward_sendIntent()
109 profiles.add(MANAGED_PROFILE_INFO); in forwardToManagedProfile_canForward_sendIntent()
110 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_sendIntent()
140 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_cannotForward_sendIntent() local
141 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_cannotForward_sendIntent()
142 profiles.add(MANAGED_PROFILE_INFO); in forwardToManagedProfile_cannotForward_sendIntent()
143 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_cannotForward_sendIntent()
162 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_noManagedProfile_sendIntent() local
163 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_noManagedProfile_sendIntent()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java426 Collection<LocalBluetoothProfile> profiles, in updateProfiles() argument
431 removedProfiles.addAll(profiles); in updateProfiles()
433 Log.d(TAG,"Current Profiles" + profiles.toString()); in updateProfiles()
435 profiles.clear(); in updateProfiles()
446 profiles.add(mHeadsetProfile); in updateProfiles()
454 profiles.add(mHfpClientProfile); in updateProfiles()
460 profiles.add(mA2dpProfile); in updateProfiles()
466 profiles.add(mA2dpSinkProfile); in updateProfiles()
472 profiles.add(mOppProfile); in updateProfiles()
479 profiles.add(mHidProfile); in updateProfiles()
[all …]
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h371 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles);
372 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
412 static void createDefaultCamcorderProfiles(MediaProfiles *profiles);
413 static void createDefaultVideoEncoders(MediaProfiles *profiles);
414 static void createDefaultAudioEncoders(MediaProfiles *profiles);
415 static void createDefaultVideoDecoders(MediaProfiles *profiles);
416 static void createDefaultAudioDecoders(MediaProfiles *profiles);
417 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles);
418 static void createDefaultImageEncodingQualityLevels(MediaProfiles *profiles);
419 static void createDefaultImageDecodingMaxMemory(MediaProfiles *profiles);
/frameworks/av/include/media/
DMediaProfiles.h371 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles);
372 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
412 static void createDefaultCamcorderProfiles(MediaProfiles *profiles);
413 static void createDefaultVideoEncoders(MediaProfiles *profiles);
414 static void createDefaultAudioEncoders(MediaProfiles *profiles);
415 static void createDefaultVideoDecoders(MediaProfiles *profiles);
416 static void createDefaultAudioDecoders(MediaProfiles *profiles);
417 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles);
418 static void createDefaultImageEncodingQualityLevels(MediaProfiles *profiles);
419 static void createDefaultImageDecodingMaxMemory(MediaProfiles *profiles);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp240 AudioProfileTraits::Collection profiles; in deserialize() local
241 deserializeCollection<AudioProfileTraits>(doc, child, profiles, NULL); in deserialize()
242 if (profiles.isEmpty()) { in deserialize()
248 profiles.add(dynamicProfile); in deserialize()
250 mixPort->setAudioProfiles(profiles); in deserialize()
318 AudioProfileTraits::Collection profiles; in deserialize() local
319 deserializeCollection<AudioProfileTraits>(doc, root, profiles, NULL); in deserialize()
320 if (profiles.isEmpty()) { in deserialize()
326 profiles.add(dynamicProfile); in deserialize()
328 deviceDesc->setAudioProfiles(profiles); in deserialize()
DHwModule.cpp89 void HwModule::setProfiles(const IOProfileCollection &profiles) in setProfiles() argument
91 for (size_t i = 0; i < profiles.size(); i++) { in setProfiles()
92 addProfile(profiles[i]); in setProfiles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java89 List<UserInfo> profiles = userManager.getProfiles(currentUserId); in updateCurrentQuietProfilesCache() local
90 if (profiles != null) { in updateCurrentQuietProfilesCache()
91 for (int i = 0; i < profiles.size(); i++) { in updateCurrentQuietProfilesCache()
92 UserInfo user = profiles.get(i); in updateCurrentQuietProfilesCache()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java71 public static boolean isVisibleToAnyProfile(WifiConfiguration config, List<UserInfo> profiles) { in isVisibleToAnyProfile() argument
72 return (config.shared || doesUidBelongToAnyProfile(config.creatorUid, profiles)); in isVisibleToAnyProfile()
83 public static boolean doesUidBelongToAnyProfile(int uid, List<UserInfo> profiles) { in doesUidBelongToAnyProfile() argument
85 for (UserInfo profile : profiles) { in doesUidBelongToAnyProfile()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java762 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(
764 List<UserInfo> profilesToStart = new ArrayList<>(profiles.size());
765 for (UserInfo user : profiles) {
1233 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(oldUserId, false);
1234 int count = profiles.size();
1236 int profileUserId = profiles.get(i).id;
1248 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(newUserId, false);
1249 int count = profiles.size();
1251 int profileUserId = profiles.get(i).id;
1426 final List<UserInfo> profiles = mInjector.getUserManager().getProfiles(mCurrentUserId,
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h78 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } in setAudioProfiles() argument
DHwModule.h55 void setProfiles(const IOProfileCollection &profiles);
/frameworks/compile/mclinker/include/mcld/LD/
DDiagAttribute.inc18 "conflicting architecture profiles %0 in %1.",
19 "conflicting architecture profiles %0 in %1.")
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java75 final List<UserHandle> profiles = um.getUserProfiles(); in getAppList() local
86 if (isAndroidOs || !profiles.contains(new UserHandle(userId))) { in getAppList()
/frameworks/av/media/libstagefright/
DUtils.cpp179 const static ALookup<uint16_t, OMX_AUDIO_AACPROFILETYPE> profiles { in parseAacProfileFromCsd() local
193 if (profiles.map(audioObjectType, &profile)) { in parseAacProfileFromCsd()
226 const static ALookup<uint8_t, OMX_VIDEO_AVCPROFILETYPE> profiles { in parseAvcProfileLevelFromAvcc() local
239 if (profiles.map(profile, &codecProfile)) { in parseAvcProfileLevelFromAvcc()
264 const static ALookup<uint8_t, OMX_VIDEO_H263PROFILETYPE> profiles { in parseH263ProfileLevelFromD263() local
290 if (profiles.map(profile, &codecProfile)) { in parseH263ProfileLevelFromD263()
336 const static ALookup<uint8_t, OMX_VIDEO_HEVCPROFILETYPE> profiles { in parseHevcProfileLevelFromHvcc() local
344 if (!profiles.map(profile, &codecProfile)) { in parseHevcProfileLevelFromHvcc()
376 const static ALookup<uint8_t, OMX_VIDEO_MPEG2PROFILETYPE> profiles { in parseMpeg2ProfileLevelFromHeader() local
409 } else if (profiles.map(indication & 0x70, &profile)) { in parseMpeg2ProfileLevelFromHeader()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java124 List<UserInfo> profiles = Arrays.asList(new UserInfo(PRIMARY_USER_ID, "Primary", in testWorkAccount() local
128 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in testWorkAccount()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java541 List<UserInfo> profiles = mUserManager.getProfiles(userId); in onUnlockUser()
542 for (int i = 0; i < profiles.size(); i++) { in onUnlockUser()
543 UserInfo profile = profiles.get(i); in onUnlockUser()
1109 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in unlockUser() local
1110 for (UserInfo pi : profiles) { in unlockUser()
1134 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in getDecryptedPasswordsForAllTiedProfiles() local
1135 final int size = profiles.size(); in getDecryptedPasswordsForAllTiedProfiles()
1137 final UserInfo profile = profiles.get(i); in getDecryptedPasswordsForAllTiedProfiles()
1176 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in synchronizeUnifiedWorkChallengeForProfiles() local
1177 final int size = profiles.size(); in synchronizeUnifiedWorkChallengeForProfiles()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4101 SortedVector< sp<IOProfile> > profiles; in AudioPolicyManager() local
4113 profiles.add(profile); in AudioPolicyManager()
4120 ALOGV(" found %zu profiles, %zu outputs", profiles.size(), outputs.size()); in AudioPolicyManager()
4122 if (profiles.isEmpty() && outputs.isEmpty()) { in AudioPolicyManager()
4129 for (ssize_t profile_index = 0; profile_index < (ssize_t)profiles.size(); profile_index++) { in AudioPolicyManager()
4130 sp<IOProfile> profile = profiles[profile_index]; in AudioPolicyManager()
4260 profiles.removeAt(profile_index); in AudioPolicyManager()
4279 if (profiles.isEmpty()) { in AudioPolicyManager()
4343 SortedVector< sp<IOProfile> > profiles; in AudioPolicyManager() local
4358 profiles.add(profile); in AudioPolicyManager()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java191 List<UserInfo> profiles = getProfiles(userId13); in addUser()
192 return profiles.stream() in addUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java441 final List<UserInfo> profiles = um.getProfiles(userId); in checkIfMaximumTimeToLockIsSet() local
442 final int profilesSize = profiles.size(); in checkIfMaximumTimeToLockIsSet()
447 final UserInfo userInfo = profiles.get(i); in checkIfMaximumTimeToLockIsSet()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java136 ArrayList<SipProfile> profiles = new ArrayList<SipProfile>(); in getListOfProfiles() local
139 profiles.add(group.getLocalProfile()); in getListOfProfiles()
142 return profiles.toArray(new SipProfile[profiles.size()]); in getListOfProfiles()
/frameworks/wilhelm/src/
DAndroid.bp55 // do not claim support for any OpenSL ES or OpenMAX AL profiles
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java883 List<UserInfo> profiles = mUserManager.getEnabledProfiles(mParentUser.getIdentifier()); in queryIntentActivitiesForAllProfiles() local
886 int numProfiles = profiles.size(); in queryIntentActivitiesForAllProfiles()
889 PackageManager.GET_META_DATA, profiles.get(i).id)); in queryIntentActivitiesForAllProfiles()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java1106 List<UserInfo> profiles = userManager.getProfiles(currentUserId); in updateCache() local
1109 for (UserInfo user : profiles) { in updateCache()

12