Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 260) sorted by relevance

1234567891011

/frameworks/rs/
Drs.spec7 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 …]
Drsg.spec3 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 …]
Drs_compat.spec3 param RsType vtype
4 param RsAllocationMipmapControl mipmaps
5 param uint32_t usages
6 param uintptr_t ptr
7 param size_t requiredAlignment
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java150 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 …]
DEqualizer.java152 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 …]
DAudioEffect.java637 public int setParameter(byte[] param, byte[] value) in setParameter() argument
640 return native_setParameter(param.length, param, value.length, value); in setParameter()
650 public int setParameter(int param, int value) throws IllegalStateException { in setParameter() argument
651 byte[] p = intToByteArray(param); in setParameter()
664 public int setParameter(int param, short value) in setParameter() argument
666 byte[] p = intToByteArray(param); in setParameter()
679 public int setParameter(int param, byte[] value) in setParameter() argument
681 byte[] p = intToByteArray(param); in setParameter()
693 public int setParameter(int[] param, int[] value) in setParameter() argument
695 if (param.length > 2 || value.length > 2) { in setParameter()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DIMSIParameterTest.java68 IMSIParameter param = new IMSIParameter("1234", false); in matchesNullImsi() local
69 assertFalse(param.matchesImsi(null)); in matchesNullImsi()
80 IMSIParameter param = new IMSIParameter("1234", false); in matchesImsiWithFullImsi() local
83 assertFalse(param.matchesImsi("123")); in matchesImsiWithFullImsi()
84 assertFalse(param.matchesImsi("12345")); in matchesImsiWithFullImsi()
85 assertTrue(param.matchesImsi("1234")); in matchesImsiWithFullImsi()
96 IMSIParameter param = new IMSIParameter("1234", true); in matchesImsiWithPrefixImsi() local
99 assertFalse(param.matchesImsi("123")); in matchesImsiWithPrefixImsi()
100 assertTrue(param.matchesImsi("12345")); in matchesImsiWithPrefixImsi()
101 assertTrue(param.matchesImsi("1234")); in matchesImsiWithPrefixImsi()
[all …]
/frameworks/native/cmds/installd/
Dotapreopt_parameters.cpp158 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/wilhelm/src/android/
Dandroid_Effect.cpp56 uint32_t eq_paramSize(int32_t param) { in eq_paramSize() argument
59 switch (param) { in eq_paramSize()
75 SL_LOGE("Trying to use an unknown EQ parameter %d", param); in eq_paramSize()
82 uint32_t eq_valueSize(int32_t param) { in eq_valueSize() argument
85 switch (param) { in eq_valueSize()
107 SL_LOGE("Trying to access an unknown EQ parameter %d", param); in eq_valueSize()
118 uint32_t bb_valueSize(int32_t param) { in bb_valueSize() argument
121 switch (param) { in bb_valueSize()
130 SL_LOGE("Trying to access an unknown BassBoost parameter %d", param); in bb_valueSize()
142 uint32_t virt_valueSize(int32_t param) { in virt_valueSize() argument
[all …]
Dandroid_Effect.h23 int32_t param, int32_t param2, void *pValue);
26 int32_t param, int32_t param2, void *pValue);
34 int32_t param, void *pValue);
37 int32_t param, void *pValue);
45 int32_t param, void *pValue);
48 int32_t param, void *pValue);
67 int32_t param, void *pValue);
70 int32_t param, void *pValue);
140 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
143 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
/frameworks/ml/nn/common/operations/
DDepthwiseConv2D.cpp534 DepthwiseConv2dParam param; in prepare() local
535 NN_RET_CHECK(param.initialize(context)); in prepare()
538 uint32_t height = getSizeOfDimension(input, param.useNchw ? 2 : 1); in prepare()
539 uint32_t width = getSizeOfDimension(input, param.useNchw ? 3 : 2); in prepare()
540 uint32_t channels_in = getSizeOfDimension(input, param.useNchw ? 1 : 3); in prepare()
545 NN_OPS_CHECK(param.depth_multiplier * channels_in == channels_out); in prepare()
546 int32_t effectiveFilterWidth = (filterWidth - 1) * param.dilation_width_factor + 1; in prepare()
547 int32_t effectiveFilterHeight = (filterHeight - 1) * param.dilation_height_factor + 1; in prepare()
548 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_left); in prepare()
549 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_right); in prepare()
[all …]
DPooling.cpp139 bool averagePoolNhwc(const float* inputData, const Shape& inputShape, const PoolingParam& param, in averagePoolNhwc() argument
142 auto op_params = param.toTfliteParam(outputShape); in averagePoolNhwc()
149 bool averagePoolNhwc(const _Float16* inputData, const Shape& inputShape, const PoolingParam& param, in averagePoolNhwc() argument
156 averagePoolNhwc(inputDataFloat32.data(), inputShape, param, outputDataFloat32.data(), in averagePoolNhwc()
162 bool averagePoolNhwc(const uint8_t* inputData, const Shape& inputShape, const PoolingParam& param, in averagePoolNhwc() argument
165 auto op_params = param.toTfliteParam(outputShape); in averagePoolNhwc()
172 bool averagePoolNhwc(const int8_t* inputData, const Shape& inputShape, const PoolingParam& param, in averagePoolNhwc() argument
175 auto op_params = param.toTfliteParam(outputShape); in averagePoolNhwc()
185 bool l2PoolNhwc(const float* inputData, const Shape& inputShape, const PoolingParam& param, in l2PoolNhwc() argument
188 auto op_params = param.toTfliteParam(outputShape); in l2PoolNhwc()
[all …]
DConv2D.cpp650 Conv2dParam param; in prepare() local
651 NN_RET_CHECK(param.initialize(context)); in prepare()
654 uint32_t height = getSizeOfDimension(input, param.useNchw ? 2 : 1); in prepare()
655 uint32_t width = getSizeOfDimension(input, param.useNchw ? 3 : 2); in prepare()
656 uint32_t channels_in = getSizeOfDimension(input, param.useNchw ? 1 : 3); in prepare()
668 int32_t effectiveFilterWidth = (filterWidth - 1) * param.dilation_width_factor + 1; in prepare()
669 int32_t effectiveFilterHeight = (filterHeight - 1) * param.dilation_height_factor + 1; in prepare()
670 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_left); in prepare()
671 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_right); in prepare()
672 NN_RET_CHECK_GT(effectiveFilterHeight, param.padding_top); in prepare()
[all …]
DTransposeConv2D.cpp120 int32_t paddingLeft = param.paddingLeft, paddingRight = param.paddingRight; \
121 int32_t paddingTop = param.paddingTop, paddingBottom = param.paddingBottom; \
122 int32_t strideWidth = param.strideWidth, strideHeight = param.strideHeight; \
123 int32_t activation = param.activation;
127 const TransposeConv2dParam& param, float* outputData, in transposeConvNhwc() argument
184 const TransposeConv2dParam& param, T* outputData, const Shape& outputShape) { in transposeConvNhwc() argument
279 const TransposeConv2dParam& param, _Float16* outputData, in transposeConvNhwc() argument
292 biasData_float32.data(), biasShape, param, outputData_float32.data(), in transposeConvNhwc()
302 const TransposeConv2dParam& param, T_Input* outputData, in transposeConv() argument
304 InputWithLayout<T_Input> input(param.useNchw); in transposeConv()
[all …]
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp295 for (std::unique_ptr<C2Param> &param : *vec) { in updateParamsFromMessage()
296 if (param && *param) { in updateParamsFromMessage()
297 paramsMap[param->index()] = &param; in updateParamsFromMessage()
304 std::unique_ptr<C2Param> *param = nullptr; in updateParamsFromMessage() local
311 param = paramIt->second; in updateParamsFromMessage()
334 if (param->get()->size() < offset + size) { in updateParamsFromMessage()
340 new (newParam) _C2Param(offset + size, param->get()->index()); in updateParamsFromMessage()
342 memcpy(newParam + 1, param->get() + 1, offset - sizeof(C2Param)); in updateParamsFromMessage()
344 param->reset(newParam); in updateParamsFromMessage()
345 } else if (param->get()->size() > offset + size) { in updateParamsFromMessage()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dhoming_amr_wb_dec.cpp251 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 …]
/frameworks/base/apct-tests/perftests/core/src/android/text/
DPrecomputedTextPerfTest.java56 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_Hyphenation() local
66 PrecomputedText.create(text, param); in testCreate_NoStyled_Hyphenation()
73 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_NoHyphenation() local
83 PrecomputedText.create(text, param); in testCreate_NoStyled_NoHyphenation()
90 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_Hyphenation_WidthOnly() local
100 PrecomputedText.create(text, param); in testCreate_NoStyled_Hyphenation_WidthOnly()
107 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_NoHyphenation_WidthOnly() local
117 PrecomputedText.create(text, param); in testCreate_NoStyled_NoHyphenation_WidthOnly()
124 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_Styled_Hyphenation() local
134 PrecomputedText.create(text, param); in testCreate_Styled_Hyphenation()
[all …]
DPrecomputedTextMemoryUsageTest.java65 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Latin_NoHyphenation() local
73 mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT), param) in testMemoryUsage_Latin_NoHyphenation()
83 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Latin_Hyphenation() local
91 mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT), param) in testMemoryUsage_Latin_Hyphenation()
101 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_CJK_NoHyphenation() local
110 param).getMemoryUsage(); in testMemoryUsage_CJK_NoHyphenation()
119 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_CJK_Hyphenation() local
128 param).getMemoryUsage(); in testMemoryUsage_CJK_Hyphenation()
138 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Arabic_NoHyphenation() local
147 param).getMemoryUsage(); in testMemoryUsage_Arabic_NoHyphenation()
[all …]
/frameworks/compile/slang/lit-tests/P_ref_count/
Dfunc_params.rscript6 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}})
7 … call void @_Z11rsSetObjectP10rs_elementS_(%struct.rs_element{{.*}}* nonnull %.rs.param.a1, {{.*}})
8 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}})
10 …getelementptr inbounds %struct.Wrapper{{.*}}, %struct.Wrapper{{.*}}* %.rs.param.a3, i{{(32|64)}} 0…
11 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}})
13 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}})
14 …getelementptr inbounds %struct.Wrapper{{.*}}, %struct.Wrapper{{.*}}* %.rs.param.a3, i{{(32|64)}} 0…
15 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}})
17 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}})
25 // CHECK-CLR-NOT: call void @_Z13rsClearObject{{.*}}({{.*}}* %.rs.param.a{{[02]}})
[all …]
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp285 status_t AudioEffect::setParameter(effect_param_t *param) in setParameter() argument
291 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
296 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
298 ALOGV("setParameter: param: %d, param2: %d", *(int *)param->data, in setParameter()
299 (param->psize == 8) ? *((int *)param->data + 1): -1); in setParameter()
301 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, in setParameter()
302 &param->status); in setParameter()
305 status_t AudioEffect::setParameterDeferred(effect_param_t *param) in setParameterDeferred() argument
311 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
317 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp590 size_t AudioPolicyEffects::growParamSize(char **param, in growParamSize() argument
602 char *newParam = (char *)realloc(*param, *totSize); in growParamSize()
607 *param = newParam; in growParamSize()
615 char **param, in readParamValue() argument
623 pos = growParamSize(param, sizeof(short), curSize, totSize); in readParamValue()
627 *(short *)(*param + pos) = (short)atoi(node->value); in readParamValue()
628 ALOGV("readParamValue() reading short %d", *(short *)(*param + pos)); in readParamValue()
631 pos = growParamSize(param, sizeof(int), curSize, totSize); in readParamValue()
635 *(int *)(*param + pos) = atoi(node->value); in readParamValue()
636 ALOGV("readParamValue() reading int %d", *(int *)(*param + pos)); in readParamValue()
[all …]
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp212 ResTable_config param; in TEST() local
213 memset(&param, 0, sizeof(param)); in TEST()
214 param.density = 320; in TEST()
215 table.setParameters(&param); in TEST()
241 ResTable_config param; in TEST() local
242 memset(&param, 0, sizeof(param)); in TEST()
243 param.language[0] = 's'; in TEST()
244 param.language[1] = 'v'; in TEST()
245 param.country[0] = 'S'; in TEST()
246 param.country[1] = 'E'; in TEST()
[all …]
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp83 void testWritableParam(TParam *const param, TRealField *const writableField,
126 template <typename T> void getValue(T *const param);
214 template <typename T> void C2CompIntfTest::getValue(T *const param) { in getValue() argument
216 ASSERT_EQ(C2_OK, queryOnStack(param)); in getValue()
242 std::unique_ptr<T> param = makeParam<T>(); in querySupportedParam() local
244 getValue(param.get()); in querySupportedParam()
245 queryParamAsExpected(*param); in querySupportedParam()
473 TParam *const param, TRealField *const writableField, in testWritableParam() argument
479 TRACED_FAILURE(getValue(param)); in testWritableParam()
480 std::unique_ptr<TParam> defaultParam = makeParamFrom(*param); in testWritableParam()
[all …]
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java108 for (String param : spec.split(" +")) { in parseOptions()
109 if (param.length() == 0) continue; in parseOptions()
110 if (param.startsWith("backoff=")) { in parseOptions()
111 String[] pieces = param.substring(8).split("\\+"); in parseOptions()
124 } else if (param.startsWith("max=")) { in parseOptions()
125 options.maxMoratoriumMillis = parseSeconds(param.substring(4)); in parseOptions()
126 } else if (param.startsWith("min=")) { in parseOptions()
127 options.minTriggerMillis = parseSeconds(param.substring(4)); in parseOptions()
128 } else if (param.startsWith("period=")) { in parseOptions()
129 options.periodicIntervalMillis = parseSeconds(param.substring(7)); in parseOptions()
[all …]
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp70 Impl(ParamRef param, C2StringLiteral name, C2StructDescriptor &&strukt) in Impl() argument
71 : mParam(param), mName(name), _mStruct(strukt) { } in Impl()
256 ParamRef param, C2StringLiteral name, C2StructDescriptor &&strukt) in ParamHelper() argument
258 param, name, std::move(strukt))) { } in ParamHelper()
360 C2InterfaceHelper::FieldHelper::FieldHelper(const ParamRef &param, const _C2FieldId &field, in FieldHelper() argument
362 : mParam(param), in FieldHelper()
449 getParamHelper(const ParamRef &param) const override { in getParamHelper()
450 return _mParams.find(param)->second; in getParamHelper()
459 void addParam(std::shared_ptr<ParamHelper> param) { in addParam()
460 _mParams.insert({ param->ref(), param }); in addParam()
[all …]

1234567891011