Home
last modified time | relevance | path

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

123

/frameworks/av/media/libmedia/
DMediaProfiles.cpp236 MediaProfiles::createVideoCodec(const char **atts, size_t natts, MediaProfiles *profiles) in createVideoCodec() argument
263 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec()
264 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodecs.emplace_back(videoCodec); in createVideoCodec()
268 MediaProfiles::createAudioCodec(const char **atts, size_t natts, MediaProfiles *profiles) in createAudioCodec() argument
293 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec()
294 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodecs.emplace_back(audioCodec); in createAudioCodec()
511 MediaProfiles *profiles = (MediaProfiles *)userData; in startElementHandler() local
513 createVideoCodec(atts, natts, profiles); in startElementHandler()
515 createAudioCodec(atts, natts, profiles); in startElementHandler()
521 profiles->mVideoEncoders.add(cap); in startElementHandler()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowBluetoothAdapter.java72 protected boolean removeActiveDevice(@BluetoothAdapter.ActiveDeviceUse int profiles) { in removeActiveDevice() argument
73 if (profiles != ACTIVE_DEVICE_AUDIO && profiles != ACTIVE_DEVICE_PHONE_CALL in removeActiveDevice()
74 && profiles != ACTIVE_DEVICE_ALL) { in removeActiveDevice()
82 @BluetoothAdapter.ActiveDeviceUse int profiles) { in setActiveDevice() argument
86 if (profiles != ACTIVE_DEVICE_AUDIO && profiles != ACTIVE_DEVICE_PHONE_CALL in setActiveDevice()
87 && profiles != ACTIVE_DEVICE_ALL) { in setActiveDevice()
/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/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java150 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_canForward_sendIntent() local
151 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_canForward_sendIntent()
152 profiles.add(MANAGED_PROFILE_INFO); in forwardToManagedProfile_canForward_sendIntent()
153 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_canForward_sendIntent()
183 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_cannotForward_sendIntent() local
184 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_cannotForward_sendIntent()
185 profiles.add(MANAGED_PROFILE_INFO); in forwardToManagedProfile_cannotForward_sendIntent()
186 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in forwardToManagedProfile_cannotForward_sendIntent()
205 List<UserInfo> profiles = new ArrayList<>(); in forwardToManagedProfile_noManagedProfile_sendIntent() local
206 profiles.add(CURRENT_USER_INFO); in forwardToManagedProfile_noManagedProfile_sendIntent()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java468 Collection<LocalBluetoothProfile> profiles, in updateProfiles() argument
473 removedProfiles.addAll(profiles); in updateProfiles()
475 Log.d(TAG,"Current Profiles" + profiles.toString()); in updateProfiles()
477 profiles.clear(); in updateProfiles()
488 profiles.add(mHeadsetProfile); in updateProfiles()
496 profiles.add(mHfpClientProfile); in updateProfiles()
501 profiles.add(mA2dpProfile); in updateProfiles()
507 profiles.add(mA2dpSinkProfile); in updateProfiles()
512 profiles.add(mOppProfile); in updateProfiles()
518 profiles.add(mHidProfile); in updateProfiles()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerServiceTest.java355 ResourceClientProfile[] profiles = new ResourceClientProfile[2]; in requestFrontendTest_NoFrontendAvailable_RequestWithLowerPriority() local
356 profiles[0] = resourceClientProfile("0" /*sessionId*/, in requestFrontendTest_NoFrontendAvailable_RequestWithLowerPriority()
358 profiles[1] = resourceClientProfile("1" /*sessionId*/, in requestFrontendTest_NoFrontendAvailable_RequestWithLowerPriority()
366 profiles[0], listener, clientId0); in requestFrontendTest_NoFrontendAvailable_RequestWithLowerPriority()
371 profiles[1], new TestResourcesReclaimListener(), clientId1); in requestFrontendTest_NoFrontendAvailable_RequestWithLowerPriority()
406 ResourceClientProfile[] profiles = new ResourceClientProfile[2]; in requestFrontendTest_NoFrontendAvailable_RequestWithHigherPriority() local
407 profiles[0] = resourceClientProfile("0" /*sessionId*/, in requestFrontendTest_NoFrontendAvailable_RequestWithHigherPriority()
409 profiles[1] = resourceClientProfile("1" /*sessionId*/, in requestFrontendTest_NoFrontendAvailable_RequestWithHigherPriority()
416 profiles[0], listener, clientId0); in requestFrontendTest_NoFrontendAvailable_RequestWithHigherPriority()
421 profiles[1], new TestResourcesReclaimListener(), clientId1); in requestFrontendTest_NoFrontendAvailable_RequestWithHigherPriority()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTrackerImpl.kt132 val profiles = userManager.getProfiles(user) in setUserIdInternal() constant
140 userProfiles = profiles.map { UserInfo(it) } in setUserIdInternal()
142 return ctx to profiles in setUserIdInternal()
156 val (ctx, profiles) = setUserIdInternal(newUser) in handleSwitchUser() constant
160 onProfilesChanged(profiles) in handleSwitchUser()
168 val profiles = userManager.getProfiles(userId) in handleProfilesChanged() constant
170 userProfiles = profiles.map { UserInfo(it) } // save a "deep" copy in handleProfilesChanged()
173 onProfilesChanged(profiles) in handleProfilesChanged()
DUserTracker.kt77 fun onProfilesChanged(profiles: List<UserInfo>) {} in addCallback()
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h479 static void createVideoCodec(const char **atts, size_t natts, MediaProfiles *profiles);
480 static void createAudioCodec(const char **atts, size_t natts, MediaProfiles *profiles);
520 static void createDefaultCamcorderProfiles(MediaProfiles *profiles);
521 static void createDefaultVideoEncoders(MediaProfiles *profiles);
522 static void createDefaultAudioEncoders(MediaProfiles *profiles);
523 static void createDefaultVideoDecoders(MediaProfiles *profiles);
524 static void createDefaultAudioDecoders(MediaProfiles *profiles);
525 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles);
526 static void createDefaultImageEncodingQualityLevels(MediaProfiles *profiles);
527 static void createDefaultImageDecodingMaxMemory(MediaProfiles *profiles);
/frameworks/base/telephony/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/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/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeUserInfoHelper.java109 IntArray profiles = mProfiles.get(userId); in getProfileIds() local
110 if (profiles != null) { in getProfileIds()
111 return profiles.toArray(); in getProfileIds()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp99 void HwModule::setProfiles(const IOProfileCollection &profiles) in setProfiles() argument
101 for (size_t i = 0; i < profiles.size(); i++) { in setProfiles()
102 addProfile(profiles[i]); in setProfiles()
289 const auto& profiles = audio_is_output_device(type) ? in getModuleForDeviceType() local
291 for (const auto& profile : profiles) { in getModuleForDeviceType()
408 const auto &profiles = (audio_is_output_device(type) ? hwModule->getOutputProfiles() : in createDevice() local
410 for (const auto &profile : profiles) { in createDevice()
450 const IOProfileCollection &profiles = audio_is_output_device(device->type()) ? in cleanUpForDevice() local
452 for (const auto &profile : profiles) { in cleanUpForDevice()
DSerializer.cpp468 AudioProfileTraits::Collection profiles; in deserialize() local
469 status_t status = deserializeCollection<AudioProfileTraits>(child, &profiles, NULL); in deserialize()
473 if (profiles.empty()) { in deserialize()
474 profiles.add(AudioProfile::createFullDynamic(gDynamicFormat)); in deserialize()
478 sortAudioProfiles(profiles); in deserialize()
479 mixPort->setAudioProfiles(profiles); in deserialize()
559 AudioProfileTraits::Collection profiles; in deserialize() local
560 status_t status = deserializeCollection<AudioProfileTraits>(cur, &profiles, NULL); in deserialize()
564 if (profiles.empty()) { in deserialize()
565 profiles.add(AudioProfile::createFullDynamic(gDynamicFormat)); in deserialize()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSharedCoordinatorLogger.kt30 fun logUserOrProfileChanged(userId: Int, profiles: String) { in logUserOrProfileChanged()
33 str1 = profiles in logUserOrProfileChanged()
/frameworks/base/media/java/android/media/
DAudioPort.java119 List<AudioProfile> profiles, AudioGain[] gains, in AudioPort() argument
124 mProfiles = profiles; in AudioPort()
131 for (AudioProfile profile : profiles) { in AudioPort()
213 public List<AudioProfile> profiles() { in profiles() method in AudioPort
DAudioMixPort.java48 List<AudioProfile> profiles, AudioGain[] gains) { in AudioMixPort() argument
49 super(handle, role, deviceName, profiles, gains, null); in AudioMixPort()
DAudioDevicePort.java61 AudioDevicePort(AudioHandle handle, String deviceName, List<AudioProfile> profiles, in AudioDevicePort() argument
67 deviceName, profiles, gains, descriptors); in AudioDevicePort()
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIGetAllProfilesCallback.aidl22 void onComplete(int resultCode, in EuiccProfileInfo[] profiles); in onComplete() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/logging/
DPrivacyLogger.kt73 fun logCurrentProfilesChanged(profiles: List<Int>) { in logCurrentProfilesChanged()
75 str1 = profiles.toString() in logCurrentProfilesChanged()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioPort.aidl39 AudioProfile[] profiles;
/frameworks/base/boot/
DOWNERS4 # art-team@ manages the boot image profiles for frameworks
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java222 List<LocalBluetoothProfile> profiles = new ArrayList<>(); in testOnActiveDeviceChanged_updatesAudioActive() local
224 profiles.add(profile); in testOnActiveDeviceChanged_updatesAudioActive()
226 when(device.getProfiles()).thenReturn(profiles); in testOnActiveDeviceChanged_updatesAudioActive()
/frameworks/base/config/
DOWNERS3 # art-team@ manages the boot image profiles
/frameworks/av/media/libstagefright/
DUtils.cpp159 const static ALookup<uint16_t, OMX_AUDIO_AACPROFILETYPE> profiles { in parseAacProfileFromCsd() local
174 if (profiles.map(audioObjectType, &profile)) { in parseAacProfileFromCsd()
210 const static ALookup<uint8_t, OMX_VIDEO_AVCPROFILETYPE> profiles { in parseAvcProfileLevelFromAvcc() local
223 if (profiles.map(profile, &codecProfile)) { in parseAvcProfileLevelFromAvcc()
259 const static ALookup<uint8_t, OMX_VIDEO_DOLBYVISIONPROFILETYPE> profiles{ in parseDolbyVisionProfileLevelFromDvcc() local
290 if (profiles.map(profile, &codecProfile)) { in parseDolbyVisionProfileLevelFromDvcc()
310 const static ALookup<uint8_t, OMX_VIDEO_H263PROFILETYPE> profiles { in parseH263ProfileLevelFromD263() local
336 if (profiles.map(profile, &codecProfile)) { in parseH263ProfileLevelFromD263()
382 const static ALookup<uint8_t, OMX_VIDEO_HEVCPROFILETYPE> profiles { in parseHevcProfileLevelFromHvcc() local
392 if (!profiles.map(profile, &codecProfile)) { in parseHevcProfileLevelFromHvcc()
[all …]

123