/frameworks/base/media/java/android/media/ |
D | VolumeShaper.java | 521 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/ |
D | UninstallAlertDialogFragment.java | 71 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/ |
D | PackageHelperTests.java | 75 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/ |
D | Android.bp | 63 name: "volumes.pfw", 64 srcs: ["examples/Settings/volumes.pfw"],
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
D | VrActivity.java | 174 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/ |
D | DynamicSystemService.java | 91 final StorageVolume[] volumes = in startInstallation() local 93 for (StorageVolume volume : volumes) { in startInstallation()
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 112 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/ |
D | MediaPlayer_to_android.cpp | 591 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()
|
D | AudioPlayer_to_android.cpp | 275 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/ |
D | Android.bp | 64 ":volumes.pfw",
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/ |
D | Android.bp | 65 ":volumes.pfw",
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 1145 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/ |
D | Android.bp | 74 ":volumes.pfw",
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/ |
D | Android.bp | 75 ":volumes.pfw",
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 423 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/ |
D | Android.bp | 74 ":volumes.pfw",
|
/frameworks/base/core/java/android/app/backup/ |
D | FullBackup.java | 296 final StorageVolume[] volumes = getVolumeList(); in sharedDomainToPath() local 299 return volumes[volNum].getPathFile().getCanonicalPath(); in sharedDomainToPath()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 156 final List<VolumeInfo> volumes = mStorageManager.getVolumes(); in updateVolumesLocked() local 157 for (VolumeInfo volume : volumes) { in updateVolumesLocked()
|
/frameworks/base/core/java/android/provider/ |
D | MediaStore.java | 3315 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/ |
D | StatsCompanionService.java | 2194 List<VolumeInfo> volumes = storageManager.getVolumes(); in pullExternalStorageInfo() local 2195 for (VolumeInfo vol : volumes) { in pullExternalStorageInfo()
|