Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioDeviceVolumeManager.java152 @NonNull List<VolumeInfo> volumes, boolean handlesVolumeAdjustment, in register() argument
157 Objects.requireNonNull(device), Objects.requireNonNull(volumes), in register()
214 final ArrayList<VolumeInfo> volumes = new ArrayList<>(1); in setDeviceAbsoluteVolumeBehavior() local
215 volumes.add(volume); in setDeviceAbsoluteVolumeBehavior()
216 setDeviceAbsoluteMultiVolumeBehavior(device, volumes, executor, vclistener, in setDeviceAbsoluteVolumeBehavior()
236 @NonNull List<VolumeInfo> volumes, in setDeviceAbsoluteMultiVolumeBehavior() argument
240 baseSetDeviceAbsoluteMultiVolumeBehavior(device, volumes, executor, vclistener, in setDeviceAbsoluteMultiVolumeBehavior()
265 final ArrayList<VolumeInfo> volumes = new ArrayList<>(1); in setDeviceAbsoluteVolumeAdjustOnlyBehavior() local
266 volumes.add(volume); in setDeviceAbsoluteVolumeAdjustOnlyBehavior()
267 setDeviceAbsoluteMultiVolumeAdjustOnlyBehavior(device, volumes, executor, vclistener, in setDeviceAbsoluteVolumeAdjustOnlyBehavior()
[all …]
DVolumeShaper.java535 final float[] volumes = new float[length / 2]; in fromParcelable() local
538 volumes[i] = parcelable.interpolatorConfig.xy[i * 2 + 1]; in fromParcelable()
548 volumes); in fromParcelable()
681 @NonNull float[] volumes) { in Configuration() argument
689 mVolumes = volumes; in Configuration()
768 @Nullable float[] times, @Nullable float[] volumes, boolean log) { in checkCurveForErrors() argument
771 } else if (volumes == null) { in checkCurveForErrors()
773 } else if (times.length != volumes.length) { in checkCurveForErrors()
792 for (int i = 0; i < volumes.length; ++i) { in checkCurveForErrors()
793 if (!(volumes[i] <= 0.f) /* handle nan */) { in checkCurveForErrors()
[all …]
DIAudioService.aidl731 in AudioDeviceAttributes device, in List<VolumeInfo> volumes, in registerDeviceVolumeDispatcherForAbsoluteVolume() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAbsoluteVolumeBehaviorTest.java116 List<VolumeInfo> volumes = Collections.singletonList( in registerDispatcher_setsVolumeBehaviorToAbsolute() local
120 mMockDispatcher, mPackageName, DEVICE_SPEAKER_OUT, volumes, true, in registerDispatcher_setsVolumeBehaviorToAbsolute()
134 List<VolumeInfo> volumes = Collections.singletonList( in registerDispatcherAfterSetDeviceVolumeBehavior_setsVolumeBehaviorToAbsolute() local
142 mMockDispatcher, mPackageName, DEVICE_SPEAKER_OUT, volumes, true, in registerDispatcherAfterSetDeviceVolumeBehavior_setsVolumeBehaviorToAbsolute()
152 List<VolumeInfo> volumes = Collections.singletonList( in registerDispatcher_setsVolume() local
160 mMockDispatcher, mPackageName, DEVICE_SPEAKER_OUT, volumes, true, in registerDispatcher_setsVolume()
172 List<VolumeInfo> volumes = Collections.singletonList( in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered() local
176 mMockDispatcher, mPackageName, DEVICE_SPEAKER_OUT, volumes, true, in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
181 mMockDispatcher, mPackageName, DEVICE_SPEAKER_OUT, volumes, true, in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
199 List<VolumeInfo> volumes = Collections.singletonList( in setDeviceVolumeBehavior_unregistersDispatcher() local
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DInstallLocationUtilsTests.java76 List<VolumeInfo> volumes = new ArrayList<>(); in createStorageManagerMock() local
77 volumes.add(internalVol); in createStorageManagerMock()
78 volumes.add(adoptedVol); in createStorageManagerMock()
79 volumes.add(publicVol); in createStorageManagerMock()
82 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/av/services/audiopolicy/engineconfigurable/parameter-framework/
DAndroid.bp81 name: "volumes.pfw",
82 srcs: ["examples/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.cpp277 float volumes[2]; in android_audioPlayer_volumeUpdate() local
278 android_player_volumeUpdate(volumes, &ap->mVolume, channelCount, ap->mAmplFromDirectLevel, in android_audioPlayer_volumeUpdate()
280 float leftVol = volumes[0], rightVol = volumes[1]; in android_audioPlayer_volumeUpdate()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoOutput/
DAndroid.bp80 ":volumes.pfw",
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/
DAndroid.bp79 ":volumes.pfw",
/frameworks/base/core/java/android/os/
DEnvironment.java185 final StorageVolume[] volumes = StorageManager.getVolumeList(mUserId, in getExternalDirs() local
187 final File[] files = new File[volumes.length]; in getExternalDirs()
188 for (int i = 0; i < volumes.length; i++) { in getExternalDirs()
189 files[i] = volumes[i].getPathFile(); in getExternalDirs()
/frameworks/av/media/libaudiohal/impl/
DStreamHalAidl.cpp709 std::vector<float> volumes(channelCount); in setVolume() local
711 volumes[0] = (left + right) / 2; in setVolume()
713 volumes[0] = left; in setVolume()
714 volumes[1] = right; in setVolume()
716 volumes[i] = (left + right) / 2; in setVolume()
719 return statusTFromBinderStatus(mStream->setHwVolume(volumes)); in setVolume()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/
DAndroid.bp89 ":volumes.pfw",
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/
DAndroid.bp90 ":volumes.pfw",
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/
DAndroid.bp89 ":volumes.pfw",
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp546 status_t VolumeTraits::deserialize(_xmlDoc *doc, const _xmlNode *root, Collection &volumes) in deserialize() argument
582 volumes.push_back({ deviceCategory, curvePoints }); in deserialize()
586 status_t VolumeGroupTraits::deserialize(_xmlDoc *doc, const _xmlNode *root, Collection &volumes) in deserialize() argument
639 volumes.push_back({ name, indexMin, indexMax, groupVolumeCurves }); in deserialize()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1246 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { in getStorageVolume() argument
1262 for (StorageVolume volume : volumes) { in getStorageVolume()
1422 StorageVolume[] volumes = getVolumeList(); in getVolumePaths() local
1423 int count = volumes.length; in getVolumePaths()
1426 paths[i] = volumes[i].getPath(); in getVolumePaths()
1437 public static @NonNull StorageVolume getPrimaryVolume(StorageVolume[] volumes) { in getPrimaryVolume() argument
1438 for (StorageVolume volume : volumes) { in getPrimaryVolume()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java188 final List<VolumeInfo> volumes = mStorageManager.getVolumes(); in updateVolumesLocked() local
189 for (VolumeInfo volume : volumes) { in updateVolumesLocked()
/frameworks/base/core/java/android/app/backup/
DFullBackup.java369 final StorageVolume[] volumes = getVolumeList(); in sharedDomainToPath() local
372 return volumes[volNum].getPathFile().getCanonicalPath(); in sharedDomainToPath()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3825 List<VolumeInfo> volumes = mStorageManager.getVolumes();
3826 for (VolumeInfo vol : volumes) {
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7578 AudioDeviceAttributes device, List<VolumeInfo> volumes, in registerDeviceVolumeDispatcherForAbsoluteVolume() argument
7591 Objects.requireNonNull(volumes); in registerDeviceVolumeDispatcherForAbsoluteVolume()
7596 device, volumes, cb, handlesVolumeAdjustment, deviceVolumeBehavior); in registerDeviceVolumeDispatcherForAbsoluteVolume()
7610 for (VolumeInfo volumeInfo : volumes) { in registerDeviceVolumeDispatcherForAbsoluteVolume()
/frameworks/proto_logging/stats/
Datoms.proto7258 // Number of accesses on secondary volumes like SD cards.
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...