Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/frameworks/base/core/tests/coretests/src/android/content/pm/
DInstallLocationUtilsTests.java168 String volume = null; in testResolveInstallVolumeInternal_SystemApp() local
169 volume = InstallLocationUtils.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
171 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume); in testResolveInstallVolumeInternal_SystemApp()
175 volume = InstallLocationUtils.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
177 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume); in testResolveInstallVolumeInternal_SystemApp()
181 volume = InstallLocationUtils.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
183 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume); in testResolveInstallVolumeInternal_SystemApp()
187 volume = InstallLocationUtils.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp()
189 assertEquals(StorageManager.UUID_PRIVATE_INTERNAL, volume); in testResolveInstallVolumeInternal_SystemApp()
244 String volume = null; in testResolveInstallVolumeInternal_3rdParty_existing_not_too_big() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/dagger/
DVolumePanelComponent.kt17 package com.android.systemui.volume.panel.dagger
19 import com.android.systemui.volume.dagger.UiEventLoggerStartableModule
20 import com.android.systemui.volume.panel.component.anc.AncModule
21 import com.android.systemui.volume.panel.component.bottombar.BottomBarModule
22 import com.android.systemui.volume.panel.component.captioning.CaptioningModule
23 import com.android.systemui.volume.panel.component.mediaoutput.MediaOutputModule
24 import com.android.systemui.volume.panel.component.spatialaudio.SpatialAudioModule
25 import com.android.systemui.volume.panel.component.volume.VolumeSlidersModule
26 import com.android.systemui.volume.panel.dagger.factory.VolumePanelComponentFactory
27 import com.android.systemui.volume.panel.dagger.scope.VolumePanelScope
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/volume/ui/viewmodel/
DVolumeSlidersViewModelKosmos.kt17 package com.android.systemui.volume.panel.component.volume.ui.viewmodel
21 import com.android.systemui.volume.mediaDeviceSessionInteractor
22 import com.android.systemui.volume.mediaOutputInteractor
23 import com.android.systemui.volume.panel.component.volume.domain.interactor.audioSlidersInteractor
24 import com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.audioStreamSliderView…
25 import com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.castVolumeSliderViewM…
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/ui/viewmodel/
DAudioVolumeComponentViewModel.kt17 package com.android.systemui.volume.panel.component.volume.ui.viewmodel in <lambda>()
19 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>()
20 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaDeviceSession… in <lambda>()
21 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaOutputInterac… in <lambda>()
22 import com.android.systemui.volume.panel.component.mediaoutput.shared.model.MediaDeviceSession in <lambda>()
23 import com.android.systemui.volume.panel.component.volume.domain.interactor.AudioSlidersInteractor in <lambda>()
24 import com.android.systemui.volume.panel.component.volume.domain.model.SliderType in <lambda>()
25 import com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.AudioStreamSliderView… in <lambda>()
26 import com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.CastVolumeSliderViewM… in <lambda>()
27 import com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.SliderViewModel in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/domain/interactor/
DComponentsInteractorKosmos.kt17 package com.android.systemui.volume.panel.domain.interactor
21 import com.android.systemui.volume.panel.component.bottombar.ui.bottomBarAvailabilityCriteria
22 import com.android.systemui.volume.panel.component.captioning.captioningAvailabilityCriteria
23 import com.android.systemui.volume.panel.component.mediaoutput.mediaOutputAvailabilityCriteria
24 import com.android.systemui.volume.panel.component.shared.model.VolumePanelComponents
25 import com.android.systemui.volume.panel.component.spatial.spatialAudioAvailabilityCriteria
26 import com.android.systemui.volume.panel.component.volume.volumeSlidersAvailabilityCriteria
27 import com.android.systemui.volume.panel.domain.ComponentAvailabilityCriteria
28 import com.android.systemui.volume.panel.domain.defaultCriteria
29 import com.android.systemui.volume.panel.shared.model.VolumePanelComponentKey
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/dagger/factory/
DKosmosVolumePanelComponentFactory.kt17 package com.android.systemui.volume.panel.dagger.factory
21 import com.android.systemui.volume.panel.dagger.VolumePanelComponent
22 import com.android.systemui.volume.panel.domain.VolumePanelStartable
23 import com.android.systemui.volume.panel.domain.interactor.ComponentsInteractor
24 import com.android.systemui.volume.panel.domain.interactor.componentsInteractor
25 import com.android.systemui.volume.panel.ui.composable.ComponentsFactory
26 import com.android.systemui.volume.panel.ui.composable.componentsFactory
27 import com.android.systemui.volume.panel.ui.layout.ComponentsLayoutManager
28 import com.android.systemui.volume.panel.ui.layout.componentsLayoutManager
29 import com.android.systemui.volume.panel.ui.viewmodel.VolumePanelViewModel
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/domain/interactor/
DAudioVolumeInteractor.kt17 package com.android.settingslib.volume.domain.interactor in <lambda>()
21 import com.android.settingslib.volume.data.repository.AudioRepository in <lambda>()
22 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>()
23 import com.android.settingslib.volume.shared.model.AudioStreamModel in <lambda>()
24 import com.android.settingslib.volume.shared.model.RingerMode in <lambda>()
44 streamModel.copy(volume = processVolume(streamModel, ringerMode, isZenMuted)) in <lambda>()
50 suspend fun setVolume(audioStream: AudioStream, volume: Int) { in <lambda>()
52 val oldVolume = streamModel.volume in <lambda>()
53 if (volume != oldVolume) { in <lambda>()
54 audioRepository.setVolume(audioStream, volume) in <lambda>()
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioMixerOps.h53 TO MixMul(TI value, TV volume);
56 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) {
57 return value * volume;
61 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) {
62 return (value >> 12) * volume;
66 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_t volume) {
67 return value * (volume >> 16);
71 inline int32_t MixMul<int32_t, int32_t, int32_t>(int32_t value, int32_t volume) {
72 return (value >> 12) * (volume >> 16);
76 inline float MixMul<float, float, int16_t>(float value, int16_t volume) {
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/volume/
DVolumeModuleKosmos.kt17 package com.android.systemui.volume.panel.component.volume
20 import com.android.systemui.volume.panel.component.volume.ui.composable.VolumeSlidersComponent
21 import com.android.systemui.volume.panel.component.volume.ui.viewmodel.audioVolumeComponentViewModel
22 import com.android.systemui.volume.panel.domain.ComponentAvailabilityCriteria
23 import com.android.systemui.volume.panel.domain.availableCriteria
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/
DVolumeSlidersComponent.kt17 package com.android.systemui.volume.panel.component.volume.ui.composable
25 import com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.SliderViewModel
26 import com.android.systemui.volume.panel.component.volume.ui.viewmodel.AudioVolumeComponentViewModel
27 import com.android.systemui.volume.panel.component.volume.ui.viewmodel.SlidersExpandableViewModel
28 import com.android.systemui.volume.panel.ui.composable.ComposeVolumePanelUiComponent
29 import com.android.systemui.volume.panel.ui.composable.VolumePanelComposeScope
30 import com.android.systemui.volume.panel.ui.composable.isPortrait
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/ui/composable/
DComponentsFactoryKosmos.kt17 package com.android.systemui.volume.panel.ui.composable
20 import com.android.systemui.volume.panel.component.bottombar.ui.bottomBarComponent
21 import com.android.systemui.volume.panel.component.captioning.captioningComponent
22 import com.android.systemui.volume.panel.component.mediaoutput.mediaOutputComponent
23 import com.android.systemui.volume.panel.component.shared.model.VolumePanelComponents
24 import com.android.systemui.volume.panel.component.spatial.spatialAudioComponent
25 import com.android.systemui.volume.panel.component.volume.volumeSlidersComponent
26 import com.android.systemui.volume.panel.shared.model.VolumePanelComponentKey
27 import com.android.systemui.volume.panel.shared.model.VolumePanelUiComponent
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rscript96 rs_allocation volume;
121 short pix = rsGetElementAt_short(volume, ip.x, ip.y, ip.z);
141 // short2 tmps = rsAllocationVLoadX_short2(volume, ip.x + 0, ip.y + 0, ip.z + 0);
143 float v_0_0_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 0, ip.z + 0);
144 float v_0_0_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 0, ip.z + 0);
146 float v_0_1_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 1, ip.z + 0);
147 float v_0_1_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 1, ip.z + 0);
148 float v_1_0_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 0, ip.z + 1);
149 float v_1_0_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 0, ip.z + 1);
150 float v_1_1_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 1, ip.z + 1);
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/
DVolumeSlidersModule.kt17 package com.android.systemui.volume.panel.component.volume
19 import com.android.systemui.volume.panel.component.shared.model.VolumePanelComponents
20 import com.android.systemui.volume.panel.component.volume.ui.composable.VolumeSlidersComponent
21 import com.android.systemui.volume.panel.domain.AlwaysAvailableCriteria
22 import com.android.systemui.volume.panel.domain.ComponentAvailabilityCriteria
23 import com.android.systemui.volume.panel.shared.model.VolumePanelUiComponent
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/domain/interactor/
DAudioSlidersInteractor.kt17 package com.android.systemui.volume.panel.component.volume.domain.interactor in <lambda>()
21 import com.android.settingslib.volume.data.repository.AudioRepository in <lambda>()
22 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>()
23 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaOutputInterac… in <lambda>()
24 import com.android.systemui.volume.panel.component.mediaoutput.shared.model.MediaDeviceSession in <lambda>()
25 import com.android.systemui.volume.panel.component.mediaoutput.shared.model.isTheSameSession in <lambda>()
26 import com.android.systemui.volume.panel.component.volume.domain.model.SliderType in <lambda>()
27 import com.android.systemui.volume.panel.dagger.scope.VolumePanelScope in <lambda>()
28 import com.android.systemui.volume.panel.shared.model.filterData in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/dagger/
DVolumeModule.java17 package com.android.systemui.volume.dagger;
37 import com.android.systemui.volume.CsdWarningDialog;
38 import com.android.systemui.volume.VolumeComponent;
39 import com.android.systemui.volume.VolumeDialogComponent;
40 import com.android.systemui.volume.VolumeDialogImpl;
41 import com.android.systemui.volume.VolumePanelDialogReceiver;
42 import com.android.systemui.volume.VolumeUI;
43 import com.android.systemui.volume.domain.interactor.VolumeDialogInteractor;
44 import com.android.systemui.volume.domain.interactor.VolumePanelNavigationInteractor;
45 import com.android.systemui.volume.panel.dagger.VolumePanelComponent;
[all …]
DMediaDevicesModule.kt17 package com.android.systemui.volume.dagger
21 import com.android.settingslib.volume.data.repository.MediaControllerRepository
22 import com.android.settingslib.volume.data.repository.MediaControllerRepositoryImpl
23 import com.android.settingslib.volume.shared.AudioManagerEventsReceiver
27 import com.android.systemui.volume.panel.component.mediaoutput.data.repository.LocalMediaRepository…
28 import com.android.systemui.volume.panel.component.mediaoutput.data.repository.LocalMediaRepository…
29 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaControllerInt…
30 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaControllerInt…
DAudioModule.kt17 package com.android.systemui.volume.dagger
24 import com.android.settingslib.volume.data.repository.AudioRepository
25 import com.android.settingslib.volume.data.repository.AudioRepositoryImpl
26 import com.android.settingslib.volume.data.repository.AudioSharingRepository
27 import com.android.settingslib.volume.data.repository.AudioSharingRepositoryImpl
28 import com.android.settingslib.volume.domain.interactor.AudioModeInteractor
29 import com.android.settingslib.volume.domain.interactor.AudioVolumeInteractor
30 import com.android.settingslib.volume.shared.AudioManagerEventsReceiver
31 import com.android.settingslib.volume.shared.AudioManagerEventsReceiverImpl
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/data/repository/
DFakeAudioRepository.kt17 package com.android.systemui.volume.data.repository
21 import com.android.settingslib.volume.data.repository.AudioRepository
22 import com.android.settingslib.volume.shared.model.AudioStream
23 import com.android.settingslib.volume.shared.model.AudioStreamModel
24 import com.android.settingslib.volume.shared.model.RingerMode
53 volume = 0, in getAudioStreamModelState()
66 override suspend fun setVolume(audioStream: AudioStream, volume: Int) { in getAudioStream()
67 getAudioStreamModelState(audioStream).update { it.copy(volume = volume) } in getAudioStream()
99 fun setLastAudibleVolume(audioStream: AudioStream, volume: Int) { in setLastAudibleVolume()
100 lastAudibleVolumes[audioStream] = volume in setLastAudibleVolume()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/captioning/
DCaptioningModule.kt17 package com.android.systemui.volume.panel.component.captioning
19 import com.android.systemui.volume.panel.component.button.ui.composable.ToggleButtonComponent
20 import com.android.systemui.volume.panel.component.captioning.domain.CaptioningAvailabilityCriteria
21 import com.android.systemui.volume.panel.component.captioning.ui.viewmodel.CaptioningViewModel
22 import com.android.systemui.volume.panel.component.shared.model.VolumePanelComponents
23 import com.android.systemui.volume.panel.domain.ComponentAvailabilityCriteria
24 import com.android.systemui.volume.panel.shared.model.VolumePanelUiComponent
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/ui/layout/
DDefaultComponentsLayoutManager.kt17 package com.android.systemui.volume.panel.ui.layout
19 import com.android.systemui.volume.panel.dagger.scope.VolumePanelScope
20 import com.android.systemui.volume.panel.shared.model.VolumePanelComponentKey
21 import com.android.systemui.volume.panel.ui.BottomBar
22 import com.android.systemui.volume.panel.ui.FooterComponents
23 import com.android.systemui.volume.panel.ui.HeaderComponents
24 import com.android.systemui.volume.panel.ui.viewmodel.ComponentState
25 import com.android.systemui.volume.panel.ui.viewmodel.VolumePanelState
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DMediaOutputComponentInteractor.kt17 package com.android.systemui.volume.panel.component.mediaoutput.domain.interactor in <lambda>()
19 import com.android.settingslib.volume.domain.interactor.AudioModeInteractor in <lambda>()
20 import com.android.systemui.volume.domain.interactor.AudioOutputInteractor in <lambda>()
21 import com.android.systemui.volume.domain.model.AudioOutputDevice in <lambda>()
22 import com.android.systemui.volume.panel.component.mediaoutput.domain.model.MediaOutputComponentMod… in <lambda>()
23 import com.android.systemui.volume.panel.component.mediaoutput.shared.model.SessionWithPlaybackState in <lambda>()
24 import com.android.systemui.volume.panel.dagger.scope.VolumePanelScope in <lambda>()
25 import com.android.systemui.volume.panel.shared.model.Result in <lambda>()
26 import com.android.systemui.volume.panel.shared.model.filterData in <lambda>()
27 import com.android.systemui.volume.panel.shared.model.wrapInResult in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/
DMediaOutputKosmos.kt17 package com.android.systemui.volume
27 import com.android.systemui.volume.data.repository.FakeLocalMediaRepository
28 import com.android.systemui.volume.data.repository.FakeMediaControllerRepository
29 import com.android.systemui.volume.panel.component.mediaoutput.data.repository.FakeLocalMediaReposi…
30 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaDeviceSession…
31 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaOutputActions…
32 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.MediaOutputInterac…
33 import com.android.systemui.volume.panel.component.mediaoutput.domain.interactor.mediaControllerInt…
/frameworks/base/media/java/android/media/
DBluetoothProfileConnectionInfo.java39 int volume, boolean isLeOutput) { in BluetoothProfileConnectionInfo() argument
42 mVolume = volume; in BluetoothProfileConnectionInfo()
90 boolean suppressNoisyIntent, int volume) { in createA2dpInfo() argument
92 volume, false); in createA2dpInfo()
101 public static @NonNull BluetoothProfileConnectionInfo createA2dpSinkInfo(int volume) { in createA2dpSinkInfo() argument
102 return new BluetoothProfileConnectionInfo(BluetoothProfile.A2DP_SINK, true, volume, false); in createA2dpSinkInfo()
144 boolean suppressNoisyIntent, int volume) { in createLeAudioOutputInfo() argument
146 volume, /*isLeOutput*/ true); in createLeAudioOutputInfo()
/frameworks/base/media/java/android/mtp/
DMtpStorage.java40 public MtpStorage(StorageVolume volume, int storageId, Supplier<Boolean> isHostWindows) { in MtpStorage() argument
42 mPath = volume.getPath(); in MtpStorage()
43 mDescription = volume.getDescription(null); in MtpStorage()
44 mRemovable = volume.isRemovable(); in MtpStorage()
45 mMaxFileSize = volume.getMaxFileSize(); in MtpStorage()
46 mVolumeName = volume.getMediaStoreVolumeName(); in MtpStorage()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java93 VolumeInfo volume = new VolumeInfo("testuuid", 0, null, null); in testNoApps() local
94 volume.fsUuid = "testuuid"; in testNoApps()
95 AppCollector collector = new AppCollector(mContext, volume); in testNoApps()
103 VolumeInfo volume = new VolumeInfo("testuuid", 0, null, null); in testAppOnExternalVolume() local
104 volume.fsUuid = "testuuid"; in testAppOnExternalVolume()
105 AppCollector collector = new AppCollector(mContext, volume); in testAppOnExternalVolume()
113 VolumeInfo volume = new VolumeInfo("testuuid", 0, null, null); in testOneValidApp() local
114 volume.fsUuid = "testuuid"; in testOneValidApp()
115 AppCollector collector = new AppCollector(mContext, volume); in testOneValidApp()
130 VolumeInfo volume = new VolumeInfo("testuuid", 0, null, null); in testMultipleUsersOneApp() local
[all …]

12345678910>>...19