/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 233 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) in createVideoCodec() argument 251 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec() 252 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec; in createVideoCodec() 257 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) in createAudioCodec() argument 273 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec() 274 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec; in createAudioCodec() 458 MediaProfiles *profiles = (MediaProfiles *) userData; in startElementHandler() local 460 createVideoCodec(atts, profiles); in startElementHandler() 462 createAudioCodec(atts, profiles); in startElementHandler() 465 profiles->mVideoEncoders.add(createVideoEncoderCap(atts)); in startElementHandler() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ |
D | ShadowBluetoothAdapter.java | 70 protected boolean removeActiveDevice(@BluetoothAdapter.ActiveDeviceUse int profiles) { in removeActiveDevice() argument 71 if (profiles != ACTIVE_DEVICE_AUDIO && profiles != ACTIVE_DEVICE_PHONE_CALL in removeActiveDevice() 72 && profiles != ACTIVE_DEVICE_ALL) { in removeActiveDevice() 80 @BluetoothAdapter.ActiveDeviceUse int profiles) { in setActiveDevice() argument 84 if (profiles != ACTIVE_DEVICE_AUDIO && profiles != ACTIVE_DEVICE_PHONE_CALL in setActiveDevice() 85 && profiles != ACTIVE_DEVICE_ALL) { in setActiveDevice()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 136 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/ |
D | current.txt | 2 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/ |
D | LocalBluetoothProfileManager.java | 459 Collection<LocalBluetoothProfile> profiles, in updateProfiles() argument 464 removedProfiles.addAll(profiles); in updateProfiles() 466 Log.d(TAG,"Current Profiles" + profiles.toString()); in updateProfiles() 468 profiles.clear(); in updateProfiles() 479 profiles.add(mHeadsetProfile); in updateProfiles() 487 profiles.add(mHfpClientProfile); in updateProfiles() 492 profiles.add(mA2dpProfile); in updateProfiles() 498 profiles.add(mA2dpSinkProfile); in updateProfiles() 503 profiles.add(mOppProfile); in updateProfiles() 509 profiles.add(mHidProfile); in updateProfiles() [all …]
|
D | BluetoothUtils.java | 96 List<LocalBluetoothProfile> profiles = cachedDevice.getProfiles(); in getBtClassDrawableWithDescription() local 97 for (LocalBluetoothProfile profile : profiles) { in getBtClassDrawableWithDescription()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaProfiles.h | 366 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles); 367 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles); 407 static void createDefaultCamcorderProfiles(MediaProfiles *profiles); 408 static void createDefaultVideoEncoders(MediaProfiles *profiles); 409 static void createDefaultAudioEncoders(MediaProfiles *profiles); 410 static void createDefaultVideoDecoders(MediaProfiles *profiles); 411 static void createDefaultAudioDecoders(MediaProfiles *profiles); 412 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles); 413 static void createDefaultImageEncodingQualityLevels(MediaProfiles *profiles); 414 static void createDefaultImageDecodingMaxMemory(MediaProfiles *profiles);
|
/frameworks/base/telephony/java/android/service/euicc/ |
D | GetEuiccProfileInfoListResult.java | 94 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/ |
D | HwModule.cpp | 90 void HwModule::setProfiles(const IOProfileCollection &profiles) in setProfiles() argument 92 for (size_t i = 0; i < profiles.size(); i++) { in setProfiles() 93 addProfile(profiles[i]); in setProfiles() 278 const auto& profiles = audio_is_output_device(type) ? in getModuleForDeviceType() local 280 for (const auto& profile : profiles) { in getModuleForDeviceType() 373 const auto &profiles = (audio_is_output_device(type) ? hwModule->getOutputProfiles() : in createDevice() local 375 for (const auto &profile : profiles) { in createDevice() 416 const IOProfileCollection &profiles = audio_is_output_device(device->type()) ? in cleanUpForDevice() local 418 for (const auto &profile : profiles) { in cleanUpForDevice()
|
D | Serializer.cpp | 436 AudioProfileTraits::Collection profiles; in deserialize() local 437 status_t status = deserializeCollection<AudioProfileTraits>(child, &profiles, NULL); in deserialize() 441 if (profiles.empty()) { in deserialize() 442 profiles.add(AudioProfile::createFullDynamic(gDynamicFormat)); in deserialize() 446 sortAudioProfiles(profiles); in deserialize() 447 mixPort->setAudioProfiles(profiles); in deserialize() 518 AudioProfileTraits::Collection profiles; in deserialize() local 519 status_t status = deserializeCollection<AudioProfileTraits>(cur, &profiles, NULL); in deserialize() 523 if (profiles.empty()) { in deserialize() 524 profiles.add(AudioProfile::createFullDynamic(gDynamicFormat)); in deserialize() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManagerTest.java | 137 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/av/media/libaudiofoundation/include/media/ |
D | AudioPort.h | 62 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } in setAudioProfiles() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/ |
D | IGetAllProfilesCallback.aidl | 22 void onComplete(int resultCode, in EuiccProfileInfo[] profiles); in onComplete() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 243 List<LocalBluetoothProfile> profiles = new ArrayList<>(); in testOnActiveDeviceChanged_updatesAudioActive() local 245 profiles.add(profile); in testOnActiveDeviceChanged_updatesAudioActive() 247 when(device.getProfiles()).thenReturn(profiles); in testOnActiveDeviceChanged_updatesAudioActive()
|
D | SecurityControllerTest.java | 133 List<UserInfo> profiles = Arrays.asList(new UserInfo(PRIMARY_USER_ID, "Primary", in testWorkAccount() local 137 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles); in testWorkAccount()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_dexopt_test.cpp | 1301 std::vector<std::string> profiles; in TEST_F() local 1302 collect_profiles(&profiles); in TEST_F() 1305 ASSERT_EQ(2u, profiles.size()); in TEST_F() 1306 ASSERT_TRUE(std::find(profiles.begin(), profiles.end(), current_prof) != profiles.end()); in TEST_F() 1307 ASSERT_TRUE(std::find(profiles.begin(), profiles.end(), ref_prof) != profiles.end()); in TEST_F()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 1775 public boolean removeActiveDevice(@ActiveDeviceUse int profiles) { in removeActiveDevice() argument 1776 if (profiles != ACTIVE_DEVICE_AUDIO && profiles != ACTIVE_DEVICE_PHONE_CALL in removeActiveDevice() 1777 && profiles != ACTIVE_DEVICE_ALL) { in removeActiveDevice() 1787 if (DBG) Log.d(TAG, "removeActiveDevice, profiles: " + profiles); in removeActiveDevice() 1788 return mService.removeActiveDevice(profiles); in removeActiveDevice() 1816 @ActiveDeviceUse int profiles) { in setActiveDevice() argument 1821 if (profiles != ACTIVE_DEVICE_AUDIO && profiles != ACTIVE_DEVICE_PHONE_CALL in setActiveDevice() 1822 && profiles != ACTIVE_DEVICE_ALL) { in setActiveDevice() 1833 Log.d(TAG, "setActiveDevice, device: " + device + ", profiles: " + profiles); in setActiveDevice() 1835 return mService.setActiveDevice(device, profiles); in setActiveDevice()
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 149 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/compile/mclinker/include/mcld/LD/ |
D | DiagAttribute.inc | 18 "conflicting architecture profiles %0 in %1.", 19 "conflicting architecture profiles %0 in %1.")
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 204 EuiccProfileInfo[] profiles = resultCaptor.result; in testGetAllProfiles() local 205 assertEquals(1, profiles.length); in testGetAllProfiles() 206 assertEquals("98760000000000543210", profiles[0].getIccid()); in testGetAllProfiles() 207 assertEquals(EuiccProfileInfo.PROFILE_STATE_ENABLED, profiles[0].getState()); in testGetAllProfiles() 221 EuiccProfileInfo[] profiles = resultCaptor.result; in testFSuffix() local 222 assertEquals(1, profiles.length); in testFSuffix() 223 assertEquals("987600000000005432", profiles[0].getIccid()); in testFSuffix() 224 assertEquals(EuiccProfileInfo.PROFILE_STATE_ENABLED, profiles[0].getState()); in testFSuffix()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationAccesses.java | 96 final List<UserHandle> profiles = um.getUserProfiles(); in getAppList() local 105 if (!profiles.contains(user)) { in getAppList()
|
D | RecentLocationApps.java | 89 final List<UserHandle> profiles = um.getUserProfiles(); in getAppList() local 102 if (isAndroidOs || !profiles.contains(user)) { in getAppList()
|
/frameworks/av/media/libmedia/xsd/ |
D | Android.bp | 20 package_name: "media.profiles",
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 85 public static boolean isVisibleToAnyProfile(WifiConfiguration config, List<UserInfo> profiles) { in isVisibleToAnyProfile() argument 86 return (config.shared || doesUidBelongToAnyProfile(config.creatorUid, profiles)); in isVisibleToAnyProfile() 97 public static boolean doesUidBelongToAnyProfile(int uid, List<UserInfo> profiles) { in doesUidBelongToAnyProfile() argument 99 for (UserInfo profile : profiles) { in doesUidBelongToAnyProfile()
|
/frameworks/base/core/tests/coretests/src/android/service/euicc/ |
D | EuiccProfileInfoTest.java | 255 EuiccProfileInfo[] profiles = EuiccProfileInfo.CREATOR.newArray(123); in testCreatorNewArray() local 256 assertEquals(123, profiles.length); in testCreatorNewArray()
|