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

/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java563 * Returns list of all mountable volumes.
584 * Returns list of paths for all mountable volumes.
588 StorageVolume[] volumes = getVolumeList();
589 if (volumes == null) return null;
590 int count = volumes.length;
593 paths[i] = volumes[i].getPath();
604 public static StorageVolume getPrimaryVolume(StorageVolume[] volumes) { argument
605 for (StorageVolume volume : volumes) {
/frameworks/base/core/java/android/os/
H A DEnvironment.java62 final StorageVolume[] volumes = mountService.getVolumeList();
63 sPrimaryVolume = StorageManager.getPrimaryVolume(volumes);
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp587 float volumes[2]; local
589 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL);
590 float leftVol = volumes[0], rightVol = volumes[1];
H A DAudioPlayer_to_android.cpp253 // compute volumes without setting
255 float volumes[2]; local
256 android_player_volumeUpdate(volumes, &ap->mVolume, channelCount, ap->mAmplFromDirectLevel,
258 float leftVol = volumes[0], rightVol = volumes[1];
286 // volumes, but setting volumes is handled by the caller.
355 // return the computed volumes

Completed in 184 milliseconds