Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DVolumeShaper.java522 final float[] volumes = new float[length];
525 volumes[i] = p.readFloat();
535 volumes);
583 @NonNull float[] volumes) { in Configuration() argument
591 mVolumes = volumes; in Configuration()
670 @Nullable float[] times, @Nullable float[] volumes, boolean log) { in checkCurveForErrors() argument
673 } else if (volumes == null) { in checkCurveForErrors()
675 } else if (times.length != volumes.length) { in checkCurveForErrors()
694 for (int i = 0; i < volumes.length; ++i) { in checkCurveForErrors()
695 if (!(volumes[i] <= 0.f) /* handle nan */) { in checkCurveForErrors()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java71 List<StorageVolume> volumes = storageManager.getStorageVolumes(); in getAppDataSizeForUser() local
74 int numVolumes = volumes.size(); in getAppDataSizeForUser()
78 stats = storageStatsManager.queryStatsForPackage(convert(volumes.get(i).getUuid()), in getAppDataSizeForUser()
82 + volumes.get(i) + " (user " + user + ")", e); in getAppDataSizeForUser()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java75 List<VolumeInfo> volumes = new ArrayList<>(); in createStorageManagerMock() local
76 volumes.add(internalVol); in createStorageManagerMock()
77 volumes.add(adoptedVol); in createStorageManagerMock()
78 volumes.add(publicVol); in createStorageManagerMock()
81 Mockito.when(storageManager.getVolumes()).thenReturn(volumes); in createStorageManagerMock()
/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/services/core/java/com/android/server/
DDynamicSystemService.java119 final StorageVolume[] volumes = in startInstallation() local
121 for (StorageVolume volume : volumes) { in startInstallation()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/
DAndroid.mk38 $(LOCAL_PATH)/../Settings/volumes.pfw
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/
DAndroid.mk38 $(LOCAL_PATH)/../Settings/volumes.pfw
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
DAndroid.mk155 $(LOCAL_PATH)/Settings/volumes.pfw
175 $(LOCAL_PATH)/Settings/volumes.pfw
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/
DAndroid.mk36 $(LOCAL_PATH)/../Settings/volumes.pfw \
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp591 float volumes[2]; in android_Player_volumeUpdate() local
593 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL); in android_Player_volumeUpdate()
594 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/
DEnvironment.java109 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs() local
111 final File[] files = new File[volumes.length]; in getExternalDirs()
112 for (int i = 0; i < volumes.length; i++) { in getExternalDirs()
113 files[i] = volumes[i].getPathFile(); in getExternalDirs()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp423 status_t VolumeTraits::deserialize(_xmlDoc *doc, const _xmlNode *root, Collection &volumes) in deserialize() argument
459 volumes.push_back({ deviceCategory, curvePoints }); in deserialize()
463 status_t VolumeGroupTraits::deserialize(_xmlDoc *doc, const _xmlNode *root, Collection &volumes) in deserialize() argument
516 volumes.push_back({ name, indexMin, indexMax, groupVolumeCurves }); in deserialize()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1145 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume() argument
1161 for (StorageVolume volume : volumes) { in getStorageVolume()
1280 StorageVolume[] volumes = getVolumeList(); in getVolumePaths() local
1281 int count = volumes.length; in getVolumePaths()
1284 paths[i] = volumes[i].getPath(); in getVolumePaths()
1295 public static @NonNull StorageVolume getPrimaryVolume(StorageVolume[] volumes) { in getPrimaryVolume() argument
1296 for (StorageVolume volume : volumes) { in getPrimaryVolume()
/frameworks/base/core/java/android/app/backup/
DFullBackup.java296 final StorageVolume[] volumes = getVolumeList(); in sharedDomainToPath() local
299 return volumes[volNum].getPathFile().getCanonicalPath(); in sharedDomainToPath()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java156 final List<VolumeInfo> volumes = mStorageManager.getVolumes(); in updateVolumesLocked() local
157 for (VolumeInfo volume : volumes) { in updateVolumesLocked()
/frameworks/base/core/java/android/provider/
DMediaStore.java3313 public static @NonNull File getVolumePath(@NonNull List<VolumeInfo> volumes, in getVolumePath() argument
3326 for (VolumeInfo volume : volumes) { in getVolumePath()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2154 List<VolumeInfo> volumes = storageManager.getVolumes(); in pullExternalStorageInfo() local
2155 for (VolumeInfo vol : volumes) { in pullExternalStorageInfo()