Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DVolumeShaper.java521 final float[] volumes = new float[length];
524 volumes[i] = p.readFloat();
534 volumes);
582 @NonNull float[] volumes) { in Configuration() argument
590 mVolumes = volumes; in Configuration()
669 @Nullable float[] times, @Nullable float[] volumes, boolean log) { in checkCurveForErrors() argument
672 } else if (volumes == null) { in checkCurveForErrors()
674 } else if (times.length != volumes.length) { in checkCurveForErrors()
693 for (int i = 0; i < volumes.length; ++i) { in checkCurveForErrors()
694 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/av/services/audiopolicy/engineconfigurable/parameter-framework/
DAndroid.bp63 name: "volumes.pfw",
64 srcs: ["examples/Settings/volumes.pfw"],
/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.java91 final StorageVolume[] volumes = in startInstallation() local
93 for (StorageVolume volume : volumes) { in startInstallation()
/frameworks/base/core/java/android/os/
DEnvironment.java112 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs() local
114 final File[] files = new File[volumes.length]; in getExternalDirs()
115 for (int i = 0; i < volumes.length; i++) { in getExternalDirs()
116 files[i] = volumes[i].getPathFile(); in getExternalDirs()
/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/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoOutput/
DAndroid.bp64 ":volumes.pfw",
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/
DAndroid.bp65 ":volumes.pfw",
/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/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/
DAndroid.bp74 ":volumes.pfw",
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/
DAndroid.bp75 ":volumes.pfw",
/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/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/
DAndroid.bp74 ":volumes.pfw",
/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.java3315 public static @NonNull File getVolumePath(@NonNull List<VolumeInfo> volumes, in getVolumePath() argument
3328 for (VolumeInfo volume : volumes) { in getVolumePath()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2194 List<VolumeInfo> volumes = storageManager.getVolumes(); in pullExternalStorageInfo() local
2195 for (VolumeInfo vol : volumes) { in pullExternalStorageInfo()