Home
last modified time | relevance | path

Searched refs:Volume (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/proto_logging/stats/enums/stats/mediaprovider/
Dmediaprovider_enums.proto22 // Volume is unknown
24 // Volume is MediaStore.VOLUME_INTERNAL
26 // Volume is MediaStore.VOLUME_EXTERNAL_PRIMARY
28 // Volume is non-primary external storage
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DSdCardEjectionTests.kt65 data class Volume( in parameters() class
144 private fun initializeVirtualDisk(): Volume { in initializeVirtualDisk()
165 private fun retrieveNewVolume(existingVolumes: List<String>): Volume { in retrieveNewVolume()
176 return Volume(diskId = sections.first(), fsUuid = sections.last()).also { in retrieveNewVolume()
189 private fun movePackage(pkgName: String, volume: Volume) { in movePackage()
198 private fun unmount(volume: Volume, pkgName: String) { in unmount()
209 private fun remount(volume: Volume, hostApkFile: File, pkgName: String) { in remount()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DMandelbulb.java25 import com.example.android.rs.vr.engine.Volume;
53 public static Volume buildRSVolume(RenderScript rs, in buildRSVolume()
57 Volume v = new Volume(); in buildRSVolume()
DDroid.java25 import com.example.android.rs.vr.engine.Volume;
60 public static Volume buildRSVolume(RenderScript rs, in buildRSVolume()
64 Volume v = new Volume(); in buildRSVolume()
DVolumeLoader.java22 import com.example.android.rs.vr.engine.Volume;
58 public Volume getVolume(RenderScript rs, String name) { in getVolume()
75 Volume v = LoaderDicom.buildRSVolume(rs, new File(baseDir, dir), mListener); in getVolume()
85 Volume v = LoaderRaw.buildRSVolume(rs, new File(baseDir, dir), p, mListener); in getVolume()
DLoaderDicom.java25 import com.example.android.rs.vr.engine.Volume;
266 public static Volume buildVolume(String dirName) { in buildVolume()
270 public static Volume buildVolume(File dir) { in buildVolume()
289 Volume v = new Volume(); in buildVolume()
335 public static Volume buildRSVolume(final RenderScript rs, File dir, in buildRSVolume()
355 final Volume v = new Volume(); in buildRSVolume()
495 public static Volume buildRSVolume2(final RenderScript rs, File dir, in buildRSVolume2()
514 Volume v = new Volume(); in buildRSVolume2()
DLoaderRaw.java25 import com.example.android.rs.vr.engine.Volume;
51 public static Volume buildRSVolume(final RenderScript rs, File dir, Properties prop, in buildRSVolume()
54 Volume v = new Volume(); in buildRSVolume()
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/
DEffectBundleAidl.cpp242 case Volume::levelDb: { in setParameterVolume()
243 RETURN_IF(mContext->setVolumeLevel(vol.get<Volume::levelDb>()) != RetCode::SUCCESS, in setParameterVolume()
247 case Volume::mute: in setParameterVolume()
248 RETURN_IF(mContext->setVolumeMute(vol.get<Volume::mute>()) != RetCode::SUCCESS, in setParameterVolume()
343 ndk::ScopedAStatus EffectBundleAidl::getParameterVolume(const Volume::Id& id, in getParameterVolume()
345 RETURN_IF(id.getTag() != Volume::Id::commonTag, EX_ILLEGAL_ARGUMENT, "VolumeTagNotSupported"); in getParameterVolume()
348 Volume volParam; in getParameterVolume()
350 auto tag = id.get<Volume::Id::commonTag>(); in getParameterVolume()
352 case Volume::levelDb: { in getParameterVolume()
353 volParam.set<Volume::levelDb>(static_cast<int>(mContext->getVolumeLevel())); in getParameterVolume()
[all …]
DBundleTypes.h91 .volume = Flags::Volume::CTRL},
106 .volume = Flags::Volume::CTRL,
124 .volume = Flags::Volume::CTRL,
132 static const std::vector<Range::VolumeRange> kVolumeRanges = {MAKE_RANGE(Volume, levelDb, -96, 0)};
140 .volume = Flags::Volume::CTRL},
DEffectBundleAidl.h74 ndk::ScopedAStatus getParameterVolume(const Volume::Id& id, Parameter::Specific* specific)
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.cpp188 LVM_INT16 Volume = 0; /* Required volume in dBs */ in LVDBE_SetVolume() local
199 Volume = VOLUME_MAX; in LVDBE_SetVolume()
201 Volume = pParams->VolumedB; in LVDBE_SetVolume()
208 dBOffset = (LVM_UINT16)(6 + Volume % 6); /* Get the dBs 0-5 */ in LVDBE_SetVolume()
209 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts */ in LVDBE_SetVolume()
DLVDBE_Init.cpp123 pInstance->pData->AGCInstance.Volume = pInstance->pData->AGCInstance.Target; in LVDBE_Init()
/frameworks/proto_logging/stats/atoms/providers/mediaprovider/
Dmedia_provider_atoms.proto30 enum Volume { enum
36 // Volume recovered
37 optional Volume volume = 1;
Drollback_extension_atoms.proto60 enum Volume { enum
67 // Volume for which status is captured
68 optional Volume volume = 2;
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.cpp313 LVM_INT16 Volume = 0; /* Required volume in dBs */ in LVM_SetVolume() local
320 Volume = 0; in LVM_SetVolume()
322 Volume = pParams->VC_EffectLevel; in LVM_SetVolume()
326 if (Volume > -60) /* Limit volume loss to PSA Limits*/ in LVM_SetVolume()
327 pInstance->PSA_GainOffset = (LVM_INT16)(-Volume); /* Loss is compensated by Gain*/ in LVM_SetVolume()
339 if (Volume > -pInstance->Headroom) Volume = (LVM_INT16)-pInstance->Headroom; in LVM_SetVolume()
347 if (Volume != 0) { in LVM_SetVolume()
348 pInstance->VC_VolumedB = Volume; in LVM_SetVolume()
356 dBOffset = (LVM_UINT16)((-Volume) % 6); /* Get the dBs 0-5 */ in LVM_SetVolume()
357 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts */ in LVM_SetVolume()
/frameworks/av/media/audioaidlconversion/
DAidlConversionEffect.cpp121 ConversionResult<uint32_t> aidl2legacy_Flags_Volume_uint32(Flags::Volume volume) { in aidl2legacy_Flags_Volume_uint32()
123 case Flags::Volume::NONE: in aidl2legacy_Flags_Volume_uint32()
125 case Flags::Volume::CTRL: in aidl2legacy_Flags_Volume_uint32()
127 case Flags::Volume::IND: in aidl2legacy_Flags_Volume_uint32()
129 case Flags::Volume::MONITOR: in aidl2legacy_Flags_Volume_uint32()
135 ConversionResult<Flags::Volume> legacy2aidl_uint32_Flags_Volume(uint32_t legacy) { in legacy2aidl_uint32_Flags_Volume()
138 return Flags::Volume::CTRL; in legacy2aidl_uint32_Flags_Volume()
140 return Flags::Volume::IND; in legacy2aidl_uint32_Flags_Volume()
142 return Flags::Volume::MONITOR; in legacy2aidl_uint32_Flags_Volume()
144 return Flags::Volume::NONE; in legacy2aidl_uint32_Flags_Volume()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DAGC_MIX_VOL_2St1Mon_D32_WRA.cpp95 LVM_FLOAT Vol_Current = pInstance->Volume; /* Actual volume setting */ in AGC_MIX_VOL_Mc1Mon_D32_WRA()
160 pInstance->Volume = Vol_Current; /* Actual volume setting */ in AGC_MIX_VOL_Mc1Mon_D32_WRA()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java39 import com.example.android.rs.vr.engine.Volume;
72 class VrSetupTask extends AsyncTask<String, Integer, Volume> {
94 protected Volume doInBackground(String... names) { in doInBackground()
111 protected void onPostExecute(Volume v) { in onPostExecute()
DVrView.java38 import com.example.android.rs.vr.engine.Volume;
304 public void setVolume(RenderScript rs, Volume v) { in setVolume()
458 class VrBinGridTask extends AsyncTask<Volume, String, Long> {
461 protected Long doInBackground(Volume... v) { in doInBackground()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DCube.java25 public Cube(Volume v, float delta) { in Cube()
29 public Cube(Volume v, float delta, float[] trim) { in Cube()
DRsBrickedBitMask.java36 Volume mVolume;
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DAGC.h37 LVM_FLOAT Volume; /* The current volume setting */ member
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DReverbTypes.h73 .volume = Flags::Volume::CTRL},
109 .volume = Flags::Volume::CTRL},
/frameworks/av/services/audiopolicy/engine/common/include/
DVolumeCurve.h96 audio_devices_t device = Volume::getDeviceForVolume(deviceTypes); in getVolumeIndex()
117 device = Volume::getDeviceForVolume({device}); in hasVolumeIndexForDevice()
/frameworks/av/services/audiopolicy/common/include/
DVolume.h62 class Volume

12