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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h43 VolumeCurvesCollection *volumes = nullptr)
48 mVolumeCurves(volumes),
52 void setVolumes(const VolumeCurvesCollection &volumes) argument
55 *mVolumeCurves = volumes;
/frameworks/base/media/java/android/media/
H A DVolumeShaper.java353 new float[] {0.f, 1.f} /* volumes */)
366 new float[] {0.f, 1.f} /* volumes */)
513 final float[] volumes = new float[length];
516 volumes[i] = p.readFloat();
526 volumes);
573 @NonNull float[] volumes) {
581 mVolumes = volumes;
635 * Returns the volumes (y) coordinate array of the volume curve points.
642 * Checks the validity of times and volumes point representation.
644 * {@code times[]} and {@code volumes[]} ar
567 Configuration(@ype int type, int id, @OptionFlag int optionFlags, double durationMs, @InterpolatorType int interpolatorType, @NonNull float[] times, @NonNull float[] volumes) argument
659 checkCurveForErrors( @ullable float[] times, @Nullable float[] volumes, boolean log) argument
701 checkCurveForErrorsAndThrowException( @ullable float[] times, @Nullable float[] volumes, boolean log, boolean ise) argument
725 clampVolume(float[] volumes, boolean log) argument
901 setCurve(@onNull float[] times, @NonNull float[] volumes) argument
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
H A 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/
H A DVrActivity.java63 String dir = "/sdcard/Download/volumes";
174 String[] volumes = mLoader.getNames();
178 for (int i = 0; i < volumes.length; i++) {
179 menu.add(0, Menu.FIRST + i, Menu.NONE, volumes[i]);
/frameworks/base/core/java/android/os/
H A DEnvironment.java87 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId,
89 final File[] files = new File[volumes.length];
90 for (int i = 0; i < volumes.length; i++) {
91 files[i] = volumes[i].getPathFile();
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageHelperTests.java82 List<VolumeInfo> volumes = new ArrayList<>();
83 volumes.add(internalVol);
84 volumes.add(adoptedVol);
85 volumes.add(publicVol);
88 Mockito.when(storageManager.getVolumes()).thenReturn(volumes);
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp585 float volumes[2]; local
587 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL);
588 float leftVol = volumes[0], rightVol = volumes[1];
H A DAudioPlayer_to_android.cpp273 // compute volumes without setting
275 float volumes[2]; local
276 android_player_volumeUpdate(volumes, &ap->mVolume, channelCount, ap->mAmplFromDirectLevel,
278 float leftVol = volumes[0], rightVol = volumes[1];
306 // volumes, but setting volumes is handled by the caller.
375 // return the computed volumes
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java907 // SAF to write to transient volumes.)
1005 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { argument
1015 for (StorageVolume volume : volumes) {
1044 * Return the list of shared/external storage volumes available to the
1046 * any attached external volumes including SD cards and USB drives.
1114 * Returns list of paths for all mountable volumes.
1119 StorageVolume[] volumes = getVolumeList();
1120 int count = volumes.length;
1123 paths[i] = volumes[i].getPath();
1134 public static @NonNull StorageVolume getPrimaryVolume(StorageVolume[] volumes) { argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java286 final StorageVolume[] volumes = getVolumeList();
289 return volumes[volNum].getPathFile().getCanonicalPath();
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java125 final List<VolumeInfo> volumes = mStorageManager.getVolumes();
126 for (VolumeInfo volume : volumes) {
235 // Only report bytes on *volumes*...as a matter of policy.
257 Log.d(TAG, "After updating volumes, found " + mRoots.size() + " active roots");
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSerializer.cpp513 const char *const VolumeTraits::collectionTag = "volumes";
630 VolumeTraits::Collection volumes; local
631 deserializeCollection<VolumeTraits>(doc, cur, volumes, &config);
632 config.setVolumes(volumes);

Completed in 877 milliseconds