Home
last modified time | relevance | path

Searched refs:volumes (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/java/android/media/
DVolumeShaper.java513 final float[] volumes = new float[length];
516 volumes[i] = p.readFloat();
526 volumes);
573 @NonNull float[] volumes) { in Configuration() argument
581 mVolumes = volumes; in Configuration()
660 @Nullable float[] times, @Nullable float[] volumes, boolean log) { in checkCurveForErrors() argument
663 } else if (volumes == null) { in checkCurveForErrors()
665 } else if (times.length != volumes.length) { in checkCurveForErrors()
684 for (int i = 0; i < volumes.length; ++i) { in checkCurveForErrors()
685 if (!(volumes[i] <= 0.f) /* handle nan */) { in checkCurveForErrors()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h43 VolumeCurvesCollection *volumes = nullptr)
48 mVolumeCurves(volumes), in mHwModules()
52 void setVolumes(const VolumeCurvesCollection &volumes) in setVolumes() argument
55 *mVolumeCurves = volumes; in setVolumes()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
DAndroid.mk101 $(LOCAL_PATH)/Settings/volumes.pfw
128 $(LOCAL_PATH)/Settings/volumes.pfw
158 $(LOCAL_PATH)/Settings/volumes.pfw
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java174 String[] volumes = mLoader.getNames(); in dataClick() local
178 for (int i = 0; i < volumes.length; i++) { in dataClick()
179 menu.add(0, Menu.FIRST + i, Menu.NONE, volumes[i]); in dataClick()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java82 List<VolumeInfo> volumes = new ArrayList<>(); in createStorageManagerMock() local
83 volumes.add(internalVol); in createStorageManagerMock()
84 volumes.add(adoptedVol); in createStorageManagerMock()
85 volumes.add(publicVol); in createStorageManagerMock()
88 Mockito.when(storageManager.getVolumes()).thenReturn(volumes); in createStorageManagerMock()
/frameworks/base/core/java/android/os/
DEnvironment.java87 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs() local
89 final File[] files = new File[volumes.length]; in getExternalDirs()
90 for (int i = 0; i < volumes.length; i++) { in getExternalDirs()
91 files[i] = volumes[i].getPathFile(); in getExternalDirs()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp585 float volumes[2]; in android_Player_volumeUpdate() local
587 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL); in android_Player_volumeUpdate()
588 float leftVol = volumes[0], rightVol = volumes[1]; in android_Player_volumeUpdate()
DAudioPlayer_to_android.cpp275 float volumes[2]; in android_audioPlayer_volumeUpdate() local
276 android_player_volumeUpdate(volumes, &ap->mVolume, channelCount, ap->mAmplFromDirectLevel, in android_audioPlayer_volumeUpdate()
278 float leftVol = volumes[0], rightVol = volumes[1]; in android_audioPlayer_volumeUpdate()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1005 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume() argument
1015 for (StorageVolume volume : volumes) { in getStorageVolume()
1119 StorageVolume[] volumes = getVolumeList(); in getVolumePaths() local
1120 int count = volumes.length; in getVolumePaths()
1123 paths[i] = volumes[i].getPath(); in getVolumePaths()
1134 public static @NonNull StorageVolume getPrimaryVolume(StorageVolume[] volumes) { in getPrimaryVolume() argument
1135 for (StorageVolume volume : volumes) { in getPrimaryVolume()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp630 VolumeTraits::Collection volumes; in deserialize() local
631 deserializeCollection<VolumeTraits>(doc, cur, volumes, &config); in deserialize()
632 config.setVolumes(volumes); in deserialize()
/frameworks/base/core/java/android/app/backup/
DFullBackup.java286 final StorageVolume[] volumes = getVolumeList(); in sharedDomainToPath() local
289 return volumes[volNum].getPathFile().getCanonicalPath(); in sharedDomainToPath()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java125 final List<VolumeInfo> volumes = mStorageManager.getVolumes(); in updateVolumesLocked() local
126 for (VolumeInfo volume : volumes) { in updateVolumesLocked()