/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_mount.cc | 87 const std::vector<file_manager::VolumeInfo> volumes = local 89 for (size_t i = 0; i < volumes.size(); ++i) { 90 if (volumes[i].type == file_manager::VOLUME_TYPE_DOWNLOADS_DIRECTORY && 91 volumes[i].mount_path.IsParent(path)) {
|
/bootable/recovery/mtdutils/ |
mounts.c | 34 MountedVolume *volumes; member in struct:__anon1122 40 NULL, // volumes 67 if (g_mounts_state.volumes == NULL) { 69 MountedVolume *volumes = malloc(numv * sizeof(*volumes)); local 70 if (volumes == NULL) { 74 g_mounts_state.volumes = volumes; 76 memset(volumes, 0, numv * sizeof(*volumes)); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
SDL_syscdrom.c | 31 static FSVolumeRefNum* volumes; variable 71 if (ListTrackFiles (volumes[cdrom->id], tracks[cdrom->id], cdrom->numtracks) < 0) 160 volumes = NULL; 187 mounted audio CD volumes, rather than 192 /* Find out how many cd volumes are mounted */ 196 If there are no volumes, fake a cd device 208 /* Allocate space for volumes */ 209 volumes = (FSVolumeRefNum*) SDL_calloc (1, sizeof(*volumes) * SDL_numcds); 210 if (volumes == NULL) [all...] |
/frameworks/wilhelm/src/android/ |
MediaPlayer_to_android.cpp | 587 float volumes[2]; local 589 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL); 590 float leftVol = volumes[0], rightVol = volumes[1];
|
AudioPlayer_to_android.cpp | 229 // 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 [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 130 StorageVolume[] volumes = mStorageManager.getVolumeList(); local 131 mVolumes = volumes; 132 for (int i = 0; i < volumes.length; i++) { 133 String path = volumes[i].getPath();
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Memory.java | 75 // Assumes no two successive unmount event on 2 different volumes are performed before the first 120 final StorageVolume[] volumes = mStorageManager.getVolumeList(); local 121 final StorageVolume primary = StorageManager.getPrimaryVolume(volumes);
|
/frameworks/base/core/java/android/os/storage/ |
StorageManager.java | 566 * Returns list of all mountable volumes. 587 * Returns list of paths for all mountable volumes. 591 StorageVolume[] volumes = getVolumeList(); local 592 if (volumes == null) return null; 593 int count = volumes.length; 596 paths[i] = volumes[i].getPath(); 607 public static StorageVolume getPrimaryVolume(StorageVolume[] volumes) { 608 for (StorageVolume volume : volumes) {
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
ExternalStorageProvider.java | 125 final StorageVolume[] volumes = mStorageManager.getVolumeList(); local 126 for (StorageVolume volume : volumes) { 167 Log.d(TAG, "After updating volumes, found " + mRoots.size() + " active roots");
|
/frameworks/base/core/java/android/os/ |
Environment.java | 869 final StorageVolume[] volumes = mountService.getVolumeList(); local [all...] |