/frameworks/rs/ |
D | rs.spec | 7 param void *data 8 param size_t *receiveLen 9 param uint32_t *usrID 15 param size_t *receiveLen 16 param uint32_t *usrID 21 param uint32_t id 22 param const uint8_t *data 35 param const char * cacheDir 40 param RsElement e 41 param uint32_t dimX [all …]
|
D | rsg.spec | 3 param bool colorMaskR 4 param bool colorMaskG 5 param bool colorMaskB 6 param bool colorMaskA 7 param bool depthMask 8 param bool ditherEnable 9 param RsBlendSrcFunc srcFunc 10 param RsBlendDstFunc destFunc 11 param RsDepthFunc depthFunc 17 param bool pointSprite [all …]
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionEnvReverb.cpp | 56 #define SET_AIDL_PARAMETER(param, aidlType, valueType, tag) \ argument 60 if (status_t status = param.readFromValue(&value); status != OK) { \ 80 #define GET_AIDL_PARAMETER(param, aidltype, valueType, tag) \ argument 90 if (status_t status = param.writeToValue((valueType*)&value); status != OK) { \ 91 param.setStatus(status); \ 97 status_t AidlConversionEnvReverb::setParameter(EffectParamReader& param) { in setParameter() argument 99 if (status_t status = param.readFromParameter(&type); status != OK) { in setParameter() 100 ALOGE("%s failed to read type from %s, ret %d", __func__, param.toString().c_str(), status); in setParameter() 106 SET_AIDL_PARAMETER(param, int32_t, int16_t, roomLevelMb); in setParameter() 110 SET_AIDL_PARAMETER(param, int32_t, int16_t, roomHfLevelMb); in setParameter() [all …]
|
D | AidlConversionDynamicsProcessing.cpp | 49 status_t AidlConversionDp::setParameter(EffectParamReader& param) { in setParameter() argument 51 RETURN_STATUS_IF_ERROR(param.readFromParameter(&type)); in setParameter() 56 RETURN_STATUS_IF_ERROR(param.readFromParameter(&inputGainAidl.channel)); in setParameter() 57 RETURN_STATUS_IF_ERROR(param.readFromValue(&inputGainAidl.gainDb)); in setParameter() 64 VALUE_OR_RETURN_STATUS(readEngineArchitectureFromParam(param)); in setParameter() 72 VALUE_OR_RETURN_STATUS(readChannelConfigFromParam(param)); in setParameter() 79 VALUE_OR_RETURN_STATUS(readChannelConfigFromParam(param)); in setParameter() 86 VALUE_OR_RETURN_STATUS(readChannelConfigFromParam(param)); in setParameter() 93 VALUE_OR_RETURN_STATUS(readEqBandConfigFromParam(param)); in setParameter() 100 VALUE_OR_RETURN_STATUS(readEqBandConfigFromParam(param)); in setParameter() [all …]
|
D | AidlConversionAgc1.cpp | 44 status_t AidlConversionAgc1::setParameterLevel(EffectParamReader& param) { in setParameterLevel() argument 46 RETURN_STATUS_IF_ERROR(param.readFromValue(&level)); in setParameterLevel() 52 status_t AidlConversionAgc1::setParameterGain(EffectParamReader& param) { in setParameterGain() argument 54 RETURN_STATUS_IF_ERROR(param.readFromValue(&gain)); in setParameterGain() 60 status_t AidlConversionAgc1::setParameterLimiterEnable(EffectParamReader& param) { in setParameterLimiterEnable() argument 62 RETURN_STATUS_IF_ERROR(param.readFromValue(&enable)); in setParameterLimiterEnable() 68 status_t AidlConversionAgc1::setParameter(EffectParamReader& param) { in setParameter() argument 70 if (OK != param.readFromParameter(&type)) { in setParameter() 71 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 76 return setParameterLevel(param); in setParameter() [all …]
|
D | AidlConversionEq.cpp | 46 status_t AidlConversionEq::setParameter(EffectParamReader& param) { in setParameter() argument 48 if (OK != param.readFromParameter(&type)) { in setParameter() 49 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 57 if (OK != param.readFromValue(&value)) { in setParameter() 58 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 67 if (OK != param.readFromParameter(&band) || OK != param.readFromValue(&level)) { in setParameter() 68 ALOGE("%s invalid bandLevel param %s", __func__, param.toString().c_str()); in setParameter() 77 if (OK != param.readFromValue(&num)) { in setParameter() 78 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 87 if (OK != param.readFromValue(&num)) { in setParameter() [all …]
|
D | AidlConversionVirtualizer.cpp | 48 status_t AidlConversionVirtualizer::setParameter(EffectParamReader& param) { in setParameter() argument 50 if (OK != param.readFromParameter(&type)) { in setParameter() 51 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 58 if (OK != param.readFromValue(&strength)) { in setParameter() 59 ALOGE("%s invalid param %s for type %d", __func__, param.toString().c_str(), type); in setParameter() 67 if (OK != param.readFromValue(&deviceType)) { in setParameter() 68 ALOGE("%s invalid param %s for type %d", __func__, param.toString().c_str(), type); in setParameter() 80 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter() 88 status_t AidlConversionVirtualizer::getParameter(EffectParamWriter& param) { in getParameter() argument 90 if (OK != param.readFromParameter(&type)) { in getParameter() [all …]
|
D | AidlConversionPresetReverb.cpp | 45 status_t AidlConversionPresetReverb::setParameter(EffectParamReader& param) { in setParameter() argument 47 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint16_t)) || in setParameter() 48 OK != param.readFromParameter(&type)) { in setParameter() 49 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 55 if (OK != param.readFromValue(&value)) { in setParameter() 56 ALOGE("%s invalid preset value %s", __func__, param.toString().c_str()); in setParameter() 64 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter() 71 status_t AidlConversionPresetReverb::getParameter(EffectParamWriter& param) { in getParameter() argument 74 ALOGE("%s enter %s", __func__, param.toString().c_str()); in getParameter() 75 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint16_t)) || in getParameter() [all …]
|
D | AidlConversionHapticGenerator.cpp | 44 status_t AidlConversionHapticGenerator::setParameter(EffectParamReader& param) { in setParameter() argument 46 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint16_t)) || in setParameter() 47 OK != param.readFromParameter(&type)) { in setParameter() 48 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 55 if (OK != param.readFromValue(&id) || OK != param.readFromValue(&scale)) { in setParameter() 56 ALOGE("%s invalid intensity %s", __func__, param.toString().c_str()); in setParameter() 67 if (OK != param.readFromValue(&resonantFrequencyHz) || in setParameter() 68 OK != param.readFromValue(&qFactor) || OK != param.readFromValue(&maxAmplitude)) { in setParameter() 69 ALOGE("%s invalid vibrator info %s", __func__, param.toString().c_str()); in setParameter() 82 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter() [all …]
|
D | AidlConversionLoudnessEnhancer.cpp | 44 status_t AidlConversionLoudnessEnhancer::setParameter(EffectParamReader& param) { in setParameter() argument 47 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint16_t)) || in setParameter() 48 OK != param.readFromParameter(&type) || OK != param.readFromValue(&gain)) { in setParameter() 49 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 61 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter() 69 status_t AidlConversionLoudnessEnhancer::getParameter(EffectParamWriter& param) { in getParameter() argument 71 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint32_t)) || in getParameter() 72 OK != param.readFromParameter(&type)) { in getParameter() 73 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in getParameter() 74 param.setStatus(BAD_VALUE); in getParameter() [all …]
|
D | AidlConversionBassBoost.cpp | 47 status_t AidlConversionBassBoost::setParameter(EffectParamReader& param) { in setParameter() argument 50 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint16_t)) || in setParameter() 51 OK != param.readFromParameter(&type) || OK != param.readFromValue(&value)) { in setParameter() 52 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 69 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter() 78 status_t AidlConversionBassBoost::getParameter(EffectParamWriter& param) { in getParameter() argument 80 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint16_t)) || in getParameter() 81 OK != param.readFromParameter(&type)) { in getParameter() 82 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in getParameter() 83 param.setStatus(BAD_VALUE); in getParameter() [all …]
|
D | AidlConversionAec.cpp | 44 status_t AidlConversionAec::setParameter(EffectParamReader& param) { in setParameter() argument 46 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint32_t)) || in setParameter() 47 OK != param.readFromParameter(&type) || in setParameter() 48 OK != param.readFromValue(&value)) { in setParameter() 49 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 70 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter() 81 status_t AidlConversionAec::getParameter(EffectParamWriter& param) { in getParameter() argument 83 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint32_t)) || in getParameter() 84 OK != param.readFromParameter(&type)) { in getParameter() 85 param.setStatus(BAD_VALUE); in getParameter() [all …]
|
D | AidlConversionDownmix.cpp | 45 status_t AidlConversionDownmix::setParameter(EffectParamReader& param) { in setParameter() argument 48 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(int16_t)) || in setParameter() 49 OK != param.readFromParameter(&type) || OK != param.readFromValue(&value)) { in setParameter() 50 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 63 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter() 71 status_t AidlConversionDownmix::getParameter(EffectParamWriter& param) { in getParameter() argument 74 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint16_t)) || in getParameter() 75 OK != param.readFromParameter(&type)) { in getParameter() 76 param.setStatus(BAD_VALUE); in getParameter() 89 VENDOR_EXTENSION_GET_AND_RETURN(Downmix, downmix, param); in getParameter() [all …]
|
D | AidlConversionNoiseSuppression.cpp | 44 status_t AidlConversionNoiseSuppression::setParameter(EffectParamReader& param) { in setParameter() argument 46 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint16_t)) || in setParameter() 47 OK != param.readFromParameter(&type) || OK != param.readFromValue(&value)) { in setParameter() 48 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter() 66 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter() 74 status_t AidlConversionNoiseSuppression::getParameter(EffectParamWriter& param) { in getParameter() argument 76 if (!param.validateParamValueSize(sizeof(uint32_t), sizeof(uint32_t)) || in getParameter() 77 OK != param.readFromParameter(¶mType)) { in getParameter() 78 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in getParameter() 79 param.setStatus(BAD_VALUE); in getParameter() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | EnvironmentalReverb.java | 150 byte[] param = shortToByteArray(room); in setRoomLevel() 151 checkStatus(setParameter(PARAM_ROOM_LEVEL, param)); in setRoomLevel() 163 byte[] param = new byte[2]; in getRoomLevel() 164 checkStatus(getParameter(PARAM_ROOM_LEVEL, param)); in getRoomLevel() 165 return byteArrayToShort(param); in getRoomLevel() 179 byte[] param = shortToByteArray(roomHF); in setRoomHFLevel() 180 checkStatus(setParameter(PARAM_ROOM_HF_LEVEL, param)); in setRoomHFLevel() 192 byte[] param = new byte[2]; in getRoomHFLevel() 193 checkStatus(getParameter(PARAM_ROOM_HF_LEVEL, param)); in getRoomHFLevel() 194 return byteArrayToShort(param); in getRoomHFLevel() [all …]
|
D | Equalizer.java | 152 int[] param = new int[2]; in Equalizer() local 153 param[0] = PARAM_GET_PRESET_NAME; in Equalizer() 155 param[1] = i; in Equalizer() 156 checkStatus(getParameter(param, value)); in Equalizer() 180 int[] param = new int[1]; in getNumberOfBands() local 181 param[0] = PARAM_NUM_BANDS; in getNumberOfBands() 183 checkStatus(getParameter(param, result)); in getNumberOfBands() 217 int[] param = new int[2]; in setBandLevel() local 220 param[0] = PARAM_BAND_LEVEL; in setBandLevel() 221 param[1] = (int)band; in setBandLevel() [all …]
|
D | AudioEffect.java | 696 public int setParameter(byte[] param, byte[] value) in setParameter() argument 699 return native_setParameter(param.length, param, value.length, value); in setParameter() 709 public int setParameter(int param, int value) throws IllegalStateException { in setParameter() argument 710 byte[] p = intToByteArray(param); in setParameter() 723 public int setParameter(int param, short value) in setParameter() argument 725 byte[] p = intToByteArray(param); in setParameter() 738 public int setParameter(int param, byte[] value) in setParameter() argument 740 byte[] p = intToByteArray(param); in setParameter() 752 public int setParameter(int[] param, int[] value) in setParameter() argument 754 if (param.length > 2 || value.length > 2) { in setParameter() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | SatelliteStatsTest.java | 65 SatelliteStats.SatelliteControllerParams param = in onSatelliteControllerMetrics_withAtoms() local 86 mSatelliteStats.onSatelliteControllerMetrics(param); in onSatelliteControllerMetrics_withAtoms() 92 assertEquals(param.getCountOfSatelliteServiceEnablementsSuccess(), in onSatelliteControllerMetrics_withAtoms() 94 assertEquals(param.getCountOfSatelliteServiceEnablementsFail(), in onSatelliteControllerMetrics_withAtoms() 96 assertEquals(param.getCountOfOutgoingDatagramSuccess(), in onSatelliteControllerMetrics_withAtoms() 98 assertEquals(param.getCountOfOutgoingDatagramFail(), in onSatelliteControllerMetrics_withAtoms() 100 assertEquals(param.getCountOfIncomingDatagramSuccess(), in onSatelliteControllerMetrics_withAtoms() 102 assertEquals(param.getCountOfIncomingDatagramFail(), in onSatelliteControllerMetrics_withAtoms() 104 assertEquals(param.getCountOfDatagramTypeSosSmsSuccess(), in onSatelliteControllerMetrics_withAtoms() 106 assertEquals(param.getCountOfDatagramTypeSosSmsFail(), in onSatelliteControllerMetrics_withAtoms() [all …]
|
/frameworks/native/cmds/installd/ |
D | otapreopt_parameters.cpp | 158 const char* param = argv[3 + param_index]; in ReadArgumentsV1() local 159 if (param == nullptr) { in ReadArgumentsV1() 165 apk_path = param; in ReadArgumentsV1() 169 uid = atoi(param); in ReadArgumentsV1() 173 pkgName = param; in ReadArgumentsV1() 177 instruction_set = param; in ReadArgumentsV1() 191 oat_dir = param; in ReadArgumentsV1() 204 int input = atoi(param); in ReadArgumentsV1() 215 compiler_filter = param; in ReadArgumentsV1() 219 volume_uuid = ParseNull(param); in ReadArgumentsV1() [all …]
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 98 std::string hapticParamToString(const struct HapticGeneratorParam& param) { in hapticParamToString() argument 101 ss << "\t\t- resonant frequency: " << param.resonantFrequency << '\n'; in hapticParamToString() 102 ss << "\t\t- bpf Q: " << param.bpfQ << '\n'; in hapticParamToString() 103 ss << "\t\t- slow env normalization power: " << param.slowEnvNormalizationPower << '\n'; in hapticParamToString() 104 ss << "\t\t- bsf zero Q: " << param.bsfZeroQ << '\n'; in hapticParamToString() 105 ss << "\t\t- bsf pole Q: " << param.bsfPoleQ << '\n'; in hapticParamToString() 106 ss << "\t\t- distortion corner frequency: " << param.distortionCornerFrequency << '\n'; in hapticParamToString() 107 ss << "\t\t- distortion input gain: " << param.distortionInputGain << '\n'; in hapticParamToString() 108 ss << "\t\t- distortion cube threshold: " << param.distortionCubeThreshold << '\n'; in hapticParamToString() 109 ss << "\t\t- distortion output gain: " << param.distortionOutputGain << '\n'; in hapticParamToString() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/ |
D | CommandParserTest.kt | 59 val param by parser.param("-p", valueParser = Type.Int) in parseSingleOptionalParam_present() constant 61 assertThat(param).isEqualTo(123) in parseSingleOptionalParam_present() 66 val param by parser.param("-p", valueParser = Type.Int) in parseSingleOptionalParam_notPresent() constant 68 assertThat(param).isNull() in parseSingleOptionalParam_notPresent() 73 val param by parser.param("-p", valueParser = Type.Int) in parseSingleOptionalParam_missingArg_throws() constant 79 val param by parser.require(parser.param("-p", valueParser = Type.Int)) in parseSingleRequiredParam_present() constant 81 assertThat(param).isEqualTo(123) in parseSingleRequiredParam_present() 86 val param by parser.require(parser.param("-p", valueParser = Type.Int)) in parseSingleRequiredParam_notPresent_failsValidation() constant 92 val param by parser.require(parser.param("-p", valueParser = Type.Int)) in parseSingleRequiredParam_missingArg_throws() constant 116 val param by parser.param("-p", valueParser = Type.Int) in parseAsSubCommand_singleOptionalParam_present() constant [all …]
|
/frameworks/wilhelm/src/android/ |
D | android_Effect.cpp | 58 uint32_t eq_paramSize(int32_t param) { in eq_paramSize() argument 61 switch (param) { in eq_paramSize() 77 SL_LOGE("Trying to use an unknown EQ parameter %d", param); in eq_paramSize() 84 uint32_t eq_valueSize(int32_t param) { in eq_valueSize() argument 87 switch (param) { in eq_valueSize() 109 SL_LOGE("Trying to access an unknown EQ parameter %d", param); in eq_valueSize() 120 uint32_t bb_valueSize(int32_t param) { in bb_valueSize() argument 123 switch (param) { in bb_valueSize() 132 SL_LOGE("Trying to access an unknown BassBoost parameter %d", param); in bb_valueSize() 144 uint32_t virt_valueSize(int32_t param) { in virt_valueSize() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | SatelliteStats.java | 826 public synchronized void onSatelliteControllerMetrics(SatelliteControllerParams param) { in onSatelliteControllerMetrics() argument 829 param.getCountOfSatelliteServiceEnablementsSuccess(); in onSatelliteControllerMetrics() 831 param.getCountOfSatelliteServiceEnablementsFail(); in onSatelliteControllerMetrics() 832 proto.countOfOutgoingDatagramSuccess = param.getCountOfOutgoingDatagramSuccess(); in onSatelliteControllerMetrics() 833 proto.countOfOutgoingDatagramFail = param.getCountOfOutgoingDatagramFail(); in onSatelliteControllerMetrics() 834 proto.countOfIncomingDatagramSuccess = param.getCountOfIncomingDatagramSuccess(); in onSatelliteControllerMetrics() 835 proto.countOfIncomingDatagramFail = param.getCountOfIncomingDatagramFail(); in onSatelliteControllerMetrics() 836 proto.countOfDatagramTypeSosSmsSuccess = param.getCountOfDatagramTypeSosSmsSuccess(); in onSatelliteControllerMetrics() 837 proto.countOfDatagramTypeSosSmsFail = param.getCountOfDatagramTypeSosSmsFail(); in onSatelliteControllerMetrics() 839 param.getCountOfDatagramTypeLocationSharingSuccess(); in onSatelliteControllerMetrics() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AnnotationValidations.java | 70 String paramName, long param) { in validate() argument 73 if (value < param) { in validate() 74 invalid(annotation, value, paramName, param); in validate() 78 if (value > param) { in validate() 79 invalid(annotation, value, paramName, param); in validate() 98 String paramName, long param) { in validate() argument 101 if (value < param) { in validate() 102 invalid(annotation, value, paramName, param); in validate() 106 if (value > param) { in validate() 107 invalid(annotation, value, paramName, param); in validate() [all …]
|
/frameworks/av/media/module/codecs/amrwb/dec/src/ |
D | homing_amr_wb_dec.cpp | 251 int16 param[DHF_PARMS_MAX]; in dhf_test() local 283 param[i] = Serial_parm(15, &prms); in dhf_test() 288 param[i] = Serial_parm(tmp, &prms); in dhf_test() 290 param[i] = shl_int16(param[i], shift); in dhf_test() 297 param[i] = Serial_parm(15, &prms); in dhf_test() 299 param[10] = Serial_parm(15, &prms) & 0x61FF; in dhf_test() 303 param[i] = Serial_parm(15, &prms); in dhf_test() 305 param[17] = Serial_parm(15, &prms) & 0xE0FF; in dhf_test() 309 param[i] = Serial_parm(15, &prms); in dhf_test() 311 param[24] = Serial_parm(15, &prms) & 0x7F0F; in dhf_test() [all …]
|