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

/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java566 * Returns list of all mountable volumes.
587 * Returns list of paths for all mountable volumes.
591 StorageVolume[] volumes = getVolumeList();
592 if (volumes == null) return null;
593 int count = volumes.length;
596 paths[i] = volumes[i].getPath();
607 public static StorageVolume getPrimaryVolume(StorageVolume[] volumes) { argument
608 for (StorageVolume volume : 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.cpp229 // compute volumes without setting
231 float volumes[2]; local
232 android_player_volumeUpdate(volumes, &ap->mVolume, channelCount, ap->mAmplFromDirectLevel,
234 float leftVol = volumes[0], rightVol = volumes[1];
262 // volumes, but setting volumes is handled by the caller.
331 // return the computed volumes
/frameworks/base/core/java/android/os/
H A DEnvironment.java869 final StorageVolume[] volumes = mountService.getVolumeList();
870 for (StorageVolume volume : volumes) {
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java127 final StorageVolume[] volumes = mStorageManager.getVolumeList();
128 for (StorageVolume volume : volumes) {
174 Log.d(TAG, "After updating volumes, found " + mRoots.size() + " active roots");

Completed in 912 milliseconds