Home
last modified time | relevance | path

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

12

/frameworks/av/media/libmedia/
DMediaProfiles.cpp187 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) in createVideoCodec() argument
205 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec()
206 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec; in createVideoCodec()
211 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) in createAudioCodec() argument
227 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec()
228 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec; in createAudioCodec()
412 MediaProfiles *profiles = (MediaProfiles *) userData; in startElementHandler() local
414 createVideoCodec(atts, profiles); in startElementHandler()
416 createAudioCodec(atts, profiles); in startElementHandler()
419 profiles->mVideoEncoders.add(createVideoEncoderCap(atts)); in startElementHandler()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java136 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_canForward_sendIntent() local
137 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_canForward_sendIntent()
138 profiles.add(MANAGED_PROFILE_INFO); in forwardToManagedProfile_canForward_sendIntent()
139 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_sendIntent()
169 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_cannotForward_sendIntent() local
170 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_cannotForward_sendIntent()
171 profiles.add(MANAGED_PROFILE_INFO); in forwardToManagedProfile_cannotForward_sendIntent()
172 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_cannotForward_sendIntent()
191 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_noManagedProfile_sendIntent() local
192 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_noManagedProfile_sendIntent()
[all …]
/frameworks/av/media/libmedia/xsd/api/
Dcurrent.txt2 package media.profiles {
47 method public java.util.List<media.profiles.EncoderProfile> getEncoderProfile_optional();
48 …method public java.util.List<media.profiles.CamcorderProfiles.ImageDecodingOptional> getImageDecod…
49 …method public java.util.List<media.profiles.CamcorderProfiles.ImageEncodingOptional> getImageEncod…
67 method public java.util.List<media.profiles.Audio> getAudio();
71 method public java.util.List<media.profiles.Video> getVideo();
79 method public java.util.List<media.profiles.AudioDecoderCap> getAudioDecoderCap();
80 method public java.util.List<media.profiles.AudioEncoderCap> getAudioEncoderCap();
81 method public java.util.List<media.profiles.CamcorderProfiles> getCamcorderProfiles();
82 …method public java.util.List<media.profiles.MediaSettings.EncoderOutputFileFormat> getEncoderOutpu…
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java458 Collection<LocalBluetoothProfile> profiles, in updateProfiles() argument
463 removedProfiles.addAll(profiles); in updateProfiles()
465 Log.d(TAG,"Current Profiles" + profiles.toString()); in updateProfiles()
467 profiles.clear(); in updateProfiles()
478 profiles.add(mHeadsetProfile); in updateProfiles()
486 profiles.add(mHfpClientProfile); in updateProfiles()
492 profiles.add(mA2dpProfile); in updateProfiles()
498 profiles.add(mA2dpSinkProfile); in updateProfiles()
504 profiles.add(mOppProfile); in updateProfiles()
511 profiles.add(mHidProfile); in updateProfiles()
[all …]
DBluetoothUtils.java96 List<LocalBluetoothProfile> profiles = cachedDevice.getProfiles(); in getBtClassDrawableWithDescription() local
97 for (LocalBluetoothProfile profile : profiles) { in getBtClassDrawableWithDescription()
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h383 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles);
384 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
424 static void createDefaultCamcorderProfiles(MediaProfiles *profiles);
425 static void createDefaultVideoEncoders(MediaProfiles *profiles);
426 static void createDefaultAudioEncoders(MediaProfiles *profiles);
427 static void createDefaultVideoDecoders(MediaProfiles *profiles);
428 static void createDefaultAudioDecoders(MediaProfiles *profiles);
429 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles);
430 static void createDefaultImageEncodingQualityLevels(MediaProfiles *profiles);
431 static void createDefaultImageDecodingMaxMemory(MediaProfiles *profiles);
/frameworks/av/include/media/
DMediaProfiles.h383 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles);
384 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
424 static void createDefaultCamcorderProfiles(MediaProfiles *profiles);
425 static void createDefaultVideoEncoders(MediaProfiles *profiles);
426 static void createDefaultAudioEncoders(MediaProfiles *profiles);
427 static void createDefaultVideoDecoders(MediaProfiles *profiles);
428 static void createDefaultAudioDecoders(MediaProfiles *profiles);
429 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles);
430 static void createDefaultImageEncodingQualityLevels(MediaProfiles *profiles);
431 static void createDefaultImageDecodingMaxMemory(MediaProfiles *profiles);
/frameworks/base/core/java/android/service/euicc/
DGetEuiccProfileInfoListResult.java94 int result, @Nullable EuiccProfileInfo[] profiles, boolean isRemovable) { in GetEuiccProfileInfoListResult() argument
98 this.mProfiles = profiles; in GetEuiccProfileInfoListResult()
101 if (profiles != null && profiles.length > 0) { in GetEuiccProfileInfoListResult()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp92 void HwModule::setProfiles(const IOProfileCollection &profiles) in setProfiles() argument
94 for (size_t i = 0; i < profiles.size(); i++) { in setProfiles()
95 addProfile(profiles[i]); in setProfiles()
280 const auto& profiles = audio_is_output_device(type) ? in getModuleForDeviceTypes() local
282 for (const auto& profile : profiles) { in getModuleForDeviceTypes()
374 const auto &profiles = (audio_is_output_device(type) ? hwModule->getOutputProfiles() : in createDevice() local
376 for (const auto &profile : profiles) { in createDevice()
417 const IOProfileCollection &profiles = audio_is_output_device(device->type()) ? in cleanUpForDevice() local
419 for (const auto &profile : profiles) { in cleanUpForDevice()
DSerializer.cpp435 AudioProfileTraits::Collection profiles; in deserialize() local
436 status_t status = deserializeCollection<AudioProfileTraits>(child, &profiles, NULL); in deserialize()
440 if (profiles.isEmpty()) { in deserialize()
441 profiles.add(AudioProfile::createFullDynamic()); in deserialize()
443 mixPort->setAudioProfiles(profiles); in deserialize()
519 AudioProfileTraits::Collection profiles; in deserialize() local
520 status_t status = deserializeCollection<AudioProfileTraits>(cur, &profiles, NULL); in deserialize()
524 if (profiles.isEmpty()) { in deserialize()
525 profiles.add(AudioProfile::createFullDynamic()); in deserialize()
527 deviceDesc->setAudioProfiles(profiles); in deserialize()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java137 List<LocalBluetoothProfile> profiles = new ArrayList<>(); in updateProfiles_addHidProfileForRemoteDevice() local
140 mProfileManager.updateProfiles(uuids, localUuids, profiles, removedProfiles, false, in updateProfiles_addHidProfileForRemoteDevice()
144 assertThat(profiles.contains(mProfileManager.getHidProfile())).isTrue(); in updateProfiles_addHidProfileForRemoteDevice()
273 private List<Integer> generateList(int[] profiles) { in generateList() argument
274 if (profiles == null) { in generateList()
277 final List<Integer> profileList = new ArrayList<>(profiles.length); in generateList()
278 for (int profile : profiles) { in generateList()
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIGetAllProfilesCallback.aidl22 void onComplete(int resultCode, in EuiccProfileInfo[] profiles); in onComplete() argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h79 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } in setAudioProfiles() argument
DHwModule.h69 void setProfiles(const IOProfileCollection &profiles);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java233 EuiccProfileInfo[] profiles = resultCaptor.result; in testGetAllProfiles() local
234 assertEquals(1, profiles.length); in testGetAllProfiles()
235 assertEquals("98760000000000543210", profiles[0].getIccid()); in testGetAllProfiles()
236 assertEquals(EuiccProfileInfo.PROFILE_STATE_ENABLED, profiles[0].getState()); in testGetAllProfiles()
250 EuiccProfileInfo[] profiles = resultCaptor.result; in testFSuffix() local
251 assertEquals(1, profiles.length); in testFSuffix()
252 assertEquals("987600000000005432", profiles[0].getIccid()); in testFSuffix()
253 assertEquals(EuiccProfileInfo.PROFILE_STATE_ENABLED, profiles[0].getState()); in testFSuffix()
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp1188 std::vector<std::string> profiles; in TEST_F() local
1189 collect_profiles(&profiles); in TEST_F()
1192 ASSERT_EQ(2u, profiles.size()); in TEST_F()
1193 ASSERT_TRUE(std::find(profiles.begin(), profiles.end(), current_prof) != profiles.end()); in TEST_F()
1194 ASSERT_TRUE(std::find(profiles.begin(), profiles.end(), ref_prof) != profiles.end()); in TEST_F()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagAttribute.inc18 "conflicting architecture profiles %0 in %1.",
19 "conflicting architecture profiles %0 in %1.")
/frameworks/av/media/libstagefright/
DUtils.cpp149 const static ALookup<uint16_t, OMX_AUDIO_AACPROFILETYPE> profiles { in parseAacProfileFromCsd() local
164 if (profiles.map(audioObjectType, &profile)) { in parseAacProfileFromCsd()
200 const static ALookup<uint8_t, OMX_VIDEO_AVCPROFILETYPE> profiles { in parseAvcProfileLevelFromAvcc() local
213 if (profiles.map(profile, &codecProfile)) { in parseAvcProfileLevelFromAvcc()
238 const static ALookup<uint8_t, OMX_VIDEO_H263PROFILETYPE> profiles { in parseH263ProfileLevelFromD263() local
264 if (profiles.map(profile, &codecProfile)) { in parseH263ProfileLevelFromD263()
310 const static ALookup<uint8_t, OMX_VIDEO_HEVCPROFILETYPE> profiles { in parseHevcProfileLevelFromHvcc() local
320 if (!profiles.map(profile, &codecProfile)) { in parseHevcProfileLevelFromHvcc()
353 const static ALookup<uint8_t, OMX_VIDEO_MPEG2PROFILETYPE> profiles { in parseMpeg2ProfileLevelFromHeader() local
386 } else if (profiles.map(indication & 0x70, &profile)) { in parseMpeg2ProfileLevelFromHeader()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java133 List<UserInfo> profiles = Arrays.asList(new UserInfo(PRIMARY_USER_ID, "Primary", in testWorkAccount() local
137 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in testWorkAccount()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java96 final List<UserHandle> profiles = um.getUserProfiles(); in getAppList() local
105 if (!profiles.contains(user)) { in getAppList()
DRecentLocationApps.java89 final List<UserHandle> profiles = um.getUserProfiles(); in getAppList() local
98 if (!profiles.contains(user)) { in getAppList()
/frameworks/av/media/libmedia/xsd/
DAndroid.bp20 package_name: "media.profiles",
/frameworks/base/core/tests/coretests/src/android/service/euicc/
DEuiccProfileInfoTest.java232 EuiccProfileInfo[] profiles = EuiccProfileInfo.CREATOR.newArray(123); in testCreatorNewArray() local
233 assertEquals(123, profiles.length); in testCreatorNewArray()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java958 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(
960 List<UserInfo> profilesToStart = new ArrayList<>(profiles.size());
961 for (UserInfo user : profiles) {
1533 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(oldUserId, false);
1534 int count = profiles.size();
1536 int profileUserId = profiles.get(i).id;
1549 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(newUserId, false);
1550 int count = profiles.size();
1552 int profileUserId = profiles.get(i).id;
1756 final List<UserInfo> profiles = mInjector.getUserManager().getProfiles(getCurrentUserId(),
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java106 public static boolean isVisibleToAnyProfile(WifiConfiguration config, List<UserInfo> profiles) { in isVisibleToAnyProfile() argument
107 return (config.shared || doesUidBelongToAnyProfile(config.creatorUid, profiles)); in isVisibleToAnyProfile()
118 public static boolean doesUidBelongToAnyProfile(int uid, List<UserInfo> profiles) { in doesUidBelongToAnyProfile() argument
120 for (UserInfo profile : profiles) { in doesUidBelongToAnyProfile()

12