Home
last modified time | relevance | path

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

1234567891011

/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/
DEvsParamsTest.cpp30 EvsParams* param = new EvsParams(); in TEST() local
31 param->setEvsBandwidth(kEvsBandwidth); in TEST()
32 param->setEvsMode(kEvsMode); in TEST()
33 param->setChannelAwareMode(kChannelAwareMode); in TEST()
34 param->setUseHeaderFullOnly(kUseHeaderFullOnly); in TEST()
35 param->setCodecModeRequest(kcodecModeRequest); in TEST()
36 EXPECT_EQ(param->getEvsMode(), kEvsMode); in TEST()
37 EXPECT_EQ(param->getChannelAwareMode(), kChannelAwareMode); in TEST()
38 EXPECT_EQ(param->getUseHeaderFullOnly(), kUseHeaderFullOnly); in TEST()
39 EXPECT_EQ(param->getCodecModeRequest(), kcodecModeRequest); in TEST()
[all …]
DAmrParamsTest.cpp28 AmrParams* param = new AmrParams(); in TEST() local
29 param->setAmrMode(kAmrMode); in TEST()
30 param->setOctetAligned(kOctetAligned); in TEST()
31 param->setMaxRedundancyMillis(kMaxRedundancyMillis); in TEST()
32 EXPECT_EQ(param->getAmrMode(), kAmrMode); in TEST()
33 EXPECT_EQ(param->getOctetAligned(), kOctetAligned); in TEST()
34 EXPECT_EQ(param->getMaxRedundancyMillis(), kMaxRedundancyMillis); in TEST()
35 delete param; in TEST()
40 AmrParams* param = new AmrParams(); in TEST() local
41 param->setAmrMode(kAmrMode); in TEST()
[all …]
/packages/modules/Bluetooth/system/bta/test/
Dbta_gatt_test.cc31 namespace param { namespace
44 param::bta_gatt_read_complete_callback.conn_id = conn_id; in bta_gatt_read_complete_callback()
45 param::bta_gatt_read_complete_callback.status = status; in bta_gatt_read_complete_callback()
46 param::bta_gatt_read_complete_callback.handle = handle; in bta_gatt_read_complete_callback()
47 param::bta_gatt_read_complete_callback.len = len; in bta_gatt_read_complete_callback()
48 param::bta_gatt_read_complete_callback.value = value; in bta_gatt_read_complete_callback()
49 param::bta_gatt_read_complete_callback.data = data; in bta_gatt_read_complete_callback()
52 namespace param { namespace
66 param::bta_gatt_write_complete_callback.conn_id = conn_id; in bta_gatt_write_complete_callback()
67 param::bta_gatt_write_complete_callback.status = status; in bta_gatt_write_complete_callback()
[all …]
/packages/modules/NeuralNetworks/common/cpu_operations/
DDepthwiseConv2D.cpp439 DepthwiseConv2dParam param; in prepare() local
440 NN_RET_CHECK(param.initialize(context)); in prepare()
443 uint32_t height = getSizeOfDimension(input, param.useNchw ? 2 : 1); in prepare()
444 uint32_t width = getSizeOfDimension(input, param.useNchw ? 3 : 2); in prepare()
445 uint32_t channels_in = getSizeOfDimension(input, param.useNchw ? 1 : 3); in prepare()
450 NN_OPS_CHECK(param.depth_multiplier * channels_in == channels_out); in prepare()
451 int32_t effectiveFilterWidth = (filterWidth - 1) * param.dilation_width_factor + 1; in prepare()
452 int32_t effectiveFilterHeight = (filterHeight - 1) * param.dilation_height_factor + 1; in prepare()
453 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_left); in prepare()
454 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_right); in prepare()
[all …]
DPooling.cpp143 bool averagePoolNhwc(const float* inputData, const Shape& inputShape, const PoolingParam& param, in averagePoolNhwc() argument
146 auto op_params = param.toTfliteParam(outputShape); in averagePoolNhwc()
153 bool averagePoolNhwc(const _Float16* inputData, const Shape& inputShape, const PoolingParam& param, in averagePoolNhwc() argument
160 averagePoolNhwc(inputDataFloat32.data(), inputShape, param, outputDataFloat32.data(), in averagePoolNhwc()
166 bool averagePoolNhwc(const uint8_t* inputData, const Shape& inputShape, const PoolingParam& param, in averagePoolNhwc() argument
169 auto op_params = param.toTfliteParam(outputShape); in averagePoolNhwc()
176 bool averagePoolNhwc(const int8_t* inputData, const Shape& inputShape, const PoolingParam& param, in averagePoolNhwc() argument
179 auto op_params = param.toTfliteParam(outputShape); in averagePoolNhwc()
189 bool l2PoolNhwc(const float* inputData, const Shape& inputShape, const PoolingParam& param, in l2PoolNhwc() argument
192 auto op_params = param.toTfliteParam(outputShape); in l2PoolNhwc()
[all …]
DConv2D.cpp551 Conv2dParam param; in prepare() local
552 NN_RET_CHECK(param.initialize(context)); in prepare()
555 uint32_t height = getSizeOfDimension(input, param.useNchw ? 2 : 1); in prepare()
556 uint32_t width = getSizeOfDimension(input, param.useNchw ? 3 : 2); in prepare()
557 uint32_t channels_in = getSizeOfDimension(input, param.useNchw ? 1 : 3); in prepare()
569 int32_t effectiveFilterWidth = (filterWidth - 1) * param.dilation_width_factor + 1; in prepare()
570 int32_t effectiveFilterHeight = (filterHeight - 1) * param.dilation_height_factor + 1; in prepare()
571 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_left); in prepare()
572 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_right); in prepare()
573 NN_RET_CHECK_GT(effectiveFilterHeight, param.padding_top); in prepare()
[all …]
DTransposeConv2D.cpp115 int32_t paddingLeft = param.paddingLeft; \
116 [[maybe_unused]] int32_t paddingRight = param.paddingRight; \
117 int32_t paddingTop = param.paddingTop; \
118 [[maybe_unused]] int32_t paddingBottom = param.paddingBottom; \
119 int32_t strideWidth = param.strideWidth, strideHeight = param.strideHeight; \
120 int32_t activation = param.activation;
124 const TransposeConv2dParam& param, float* outputData, in transposeConvNhwc() argument
181 const TransposeConv2dParam& param, T* outputData, const Shape& outputShape) { in transposeConvNhwc() argument
276 const TransposeConv2dParam& param, _Float16* outputData, in transposeConvNhwc() argument
289 biasData_float32.data(), biasShape, param, outputData_float32.data(), in transposeConvNhwc()
[all …]
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/
DAnnotationValidations.java53 String paramName, long param) { in validate() argument
56 if (value < param) { in validate()
57 invalid(annotation, value, paramName, param); in validate()
61 if (value > param) { in validate()
62 invalid(annotation, value, paramName, param); in validate()
81 String paramName, long param) { in validate() argument
84 if (value < param) { in validate()
85 invalid(annotation, value, paramName, param); in validate()
89 if (value > param) { in validate()
90 invalid(annotation, value, paramName, param); in validate()
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DAnnotationValidations.java70 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()
100 String paramName, long param) { in validate() argument
103 if (value < param) { in validate()
104 invalid(annotation, value, paramName, param); in validate()
108 if (value > param) { in validate()
109 invalid(annotation, value, paramName, param); in validate()
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DSwitchSlotSidecar.java73 Param param = new Param(); in runSwitchToRemovableSlot() local
74 param.command = Command.SWITCH_TO_REMOVABLE_SIM; in runSwitchToRemovableSlot()
75 param.slotId = id; in runSwitchToRemovableSlot()
76 param.removedSubInfo = removedSubInfo; in runSwitchToRemovableSlot()
77 param.port = 0; in runSwitchToRemovableSlot()
78 super.run(param); in runSwitchToRemovableSlot()
91 Param param = new Param(); in runSwitchToEuiccSlot() local
92 param.command = Command.SWITCH_TO_EUICC_SIM; in runSwitchToEuiccSlot()
93 param.slotId = physicalSlotId; in runSwitchToEuiccSlot()
94 param.removedSubInfo = removedSubInfo; in runSwitchToEuiccSlot()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DIMSIParameterTest.java76 IMSIParameter param = new IMSIParameter("12345", false); in matchesNullImsi() local
77 assertFalse(param.matchesImsi(null)); in matchesNullImsi()
88 IMSIParameter param = new IMSIParameter(VALID_FULL_IMSI, false); in matchesImsiWithFullImsi() local
91 assertFalse(param.matchesImsi(INVALID_MCC_MNC)); in matchesImsiWithFullImsi()
92 assertFalse(param.matchesImsi(VALID_MCC_MNC)); in matchesImsiWithFullImsi()
93 assertTrue(param.matchesImsi(VALID_FULL_IMSI)); in matchesImsiWithFullImsi()
104 IMSIParameter param = new IMSIParameter(VALID_MCC_MNC, true); in matchesImsiWithPrefixImsi() local
107 assertFalse(param.matchesImsi(INVALID_MCC_MNC)); in matchesImsiWithPrefixImsi()
108 assertTrue(param.matchesImsi(VALID_FULL_IMSI)); in matchesImsiWithPrefixImsi()
119 IMSIParameter param = new IMSIParameter(VALID_MCC_MNC, true); in matchesNullMccMnc() local
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DAmrParams.cpp36 AmrParams::AmrParams(AmrParams& param) in AmrParams() argument
38 this->amrMode = param.amrMode; in AmrParams()
39 this->octetAligned = param.octetAligned; in AmrParams()
40 this->maxRedundancyMillis = param.maxRedundancyMillis; in AmrParams()
45 AmrParams& AmrParams::operator=(const AmrParams& param) in operator =() argument
47 if (this != &param) in operator =()
49 this->amrMode = param.amrMode; in operator =()
50 this->octetAligned = param.octetAligned; in operator =()
51 this->maxRedundancyMillis = param.maxRedundancyMillis; in operator =()
56 bool AmrParams::operator==(const AmrParams& param) const in operator ==()
[all …]
DEvsParams.cpp49 EvsParams& EvsParams::operator=(const EvsParams& param) in operator =() argument
51 if (this != &param) in operator =()
53 this->evsBandwidth = param.evsBandwidth; in operator =()
54 this->evsMode = param.evsMode; in operator =()
55 this->channelAwareMode = param.channelAwareMode; in operator =()
56 this->useHeaderFullOnly = param.useHeaderFullOnly; in operator =()
57 this->codecModeRequest = param.codecModeRequest; in operator =()
62 bool EvsParams::operator==(const EvsParams& param) const in operator ==()
64 return (this->evsBandwidth == param.evsBandwidth && this->evsMode == param.evsMode && in operator ==()
65 this->channelAwareMode == param.channelAwareMode && in operator ==()
[all …]
DAnbrMode.cpp35 AnbrMode::AnbrMode(AnbrMode& param) in AnbrMode() argument
37 this->anbrUplinkMode = param.anbrUplinkMode; in AnbrMode()
38 this->anbrDownlinkMode = param.anbrDownlinkMode; in AnbrMode()
43 AnbrMode& AnbrMode::operator=(const AnbrMode& param) in operator =() argument
45 if (this != &param) in operator =()
47 this->anbrUplinkMode = param.anbrUplinkMode; in operator =()
48 this->anbrDownlinkMode = param.anbrDownlinkMode; in operator =()
53 bool AnbrMode::operator==(const AnbrMode& param) const in operator ==()
55 return (this->anbrUplinkMode == param.anbrUplinkMode && in operator ==()
56 this->anbrDownlinkMode == param.anbrDownlinkMode); in operator ==()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DEventLogTags.logtags6 # @param name Package name of the QSB app.
7 # @param version QSB app versionCode value.
8 # @param start_method
19 # @param latency start-up latency as seen by QSB
20 # @param search_source name of the initially selected search source
21 # @param enabled_sources A pipe-separated list of source names, ordered by source ranking.
22 # @param on_create_latency time spend inside onCreate
27 # @param id Suggestion ID; a 0-based index of the clicked suggestion if the suggestion list is flat;
29 # @param A pipe-separated list of suggestion log names.
31 # @param queried_sources A pipe-separated list of the sources that were queried to produce
[all …]
/packages/services/Car/cpp/watchdog/testclient/src/
Dmain.cpp36 CommandParam param; in checkArgument() local
43 param.timeout = argv[1]; in checkArgument()
45 if (!ParseInt(strValue, &param.inactiveAfterInSec)) { in checkArgument()
49 if (!ParseInt(strValue, &param.terminateAfterInSec)) { in checkArgument()
52 param.forcedKill = false; in checkArgument()
53 param.verbose = false; in checkArgument()
56 param.forcedKill = true; in checkArgument()
58 param.verbose = true; in checkArgument()
63 return param; in checkArgument()
81 auto param = checkArgument(argc, argv); in main() local
[all …]
/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pcl.c69 } param; member
113 static void *_send_thread(void *param) { in _send_thread() argument
115 plugin_data_t *priv = (plugin_data_t *) param; in _send_thread()
127 priv->pcl_ifc->start_page(&priv->job_info, msg.param.start_page.width, in _send_thread()
128 msg.param.start_page.height); in _send_thread()
131 priv->pcl_ifc->print_swath(&priv->job_info, msg.param.send.buffer, in _send_thread()
132 msg.param.send.start_row, msg.param.send.num_rows, in _send_thread()
133 msg.param.send.bytes_per_row); in _send_thread()
138 priv->pcl_ifc->end_page(&priv->job_info, msg.param.end_page.page); in _send_thread()
139 for (i = 0; i < msg.param.end_page.count; i++) { in _send_thread()
[all …]
/packages/modules/Bluetooth/system/gd/packet/parser/
Dpacket_def.cc610 for (const auto& param : params) { in GenBuilderCreatePybind11() local
612 auto param_type = param->GetBuilderParameterType(); in GenBuilderCreatePybind11()
617 if (param->BuilderParameterMustBeMoved()) { in GenBuilderCreatePybind11()
620 ss << param_type << " " << param->GetName(); in GenBuilderCreatePybind11()
626 for (const auto& param : params) { in GenBuilderCreatePybind11() local
628 auto param_type = param->GetBuilderParameterType(); in GenBuilderCreatePybind11()
632 if (!param->BuilderParameterMustBeMoved()) { in GenBuilderCreatePybind11()
635 auto move_only_param_name = param->GetName() + "_move_only"; in GenBuilderCreatePybind11()
637 if (param->IsContainerField()) { in GenBuilderCreatePybind11()
639 auto struct_type = param->GetElementField()->GetDataType(); in GenBuilderCreatePybind11()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DRtcpEncoderNode.cpp247 bool RtcpEncoderNode::SendNack(NackParams* param) in SendNack() argument
249 if (param == nullptr) in SendNack()
256 IMLOGD3("[SendNack] PID[%d], BLP[%d], nSecNackCnt[%d]", param->PID, param->BLP, in SendNack()
257 param->nSecNackCnt); in SendNack()
269 mBitWriter.Write(param->PID, 16); // PID in SendNack()
270 mBitWriter.Write(param->BLP, 16); // BLP in SendNack()
272 if (param->bNackReport) in SendNack()
323 bool RtcpEncoderNode::SendTmmbrn(const uint32_t type, TmmbrParams* param) in SendTmmbrn() argument
325 if (mRtpSession == nullptr || param == nullptr) in SendTmmbrn()
331 param->ssrc, param->exp, param->mantissa, param->overhead); in SendTmmbrn()
[all …]
/packages/modules/Bluetooth/system/stack/hcic/
Dhciblecmds.cc247 uint8_t* param, uint16_t /* param_len */) { in btsnd_hcic_ble_rand() argument
249 param[0] == 0, in btsnd_hcic_ble_rand()
251 cb.Run(param + 1 /* skip status */); in btsnd_hcic_ble_rand()
459 uint8_t param[params_len]; in btsnd_hcic_set_cig_params() local
460 uint8_t* pp = param; in btsnd_hcic_set_cig_params()
482 btu_hcif_send_cmd_with_cb(FROM_HERE, HCI_LE_SET_CIG_PARAMS, param, params_len, in btsnd_hcic_set_cig_params()
489 uint8_t param[params_len]; in btsnd_hcic_create_cis() local
490 uint8_t* pp = param; in btsnd_hcic_create_cis()
499 btu_hcif_send_cmd_with_cb(FROM_HERE, HCI_LE_CREATE_CIS, param, params_len, in btsnd_hcic_create_cis()
506 uint8_t param[params_len]; in btsnd_hcic_remove_cig() local
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/annotation/
DAnnotationBuilder.kt43 fun param(name: String, value: String): AnnotationBuilder { in param() method in com.android.libraries.pcc.chronicle.api.policy.annotation.AnnotationBuilder
44 val param = AnnotationParam.Str(value) in param() constant
45 params[name] = param in param()
55 fun param(name: String, value: Int): AnnotationBuilder { in param() method
56 val param = AnnotationParam.Num(value) in param() constant
57 params[name] = param in param()
67 fun param(name: String, value: Boolean): AnnotationBuilder { in param() method
68 val param = AnnotationParam.Bool(value) in param() constant
69 params[name] = param in param()
/packages/modules/Bluetooth/system/device/src/
Desco_parameters.cc385 enh_esco_params_t param = default_esco_parameters[codec]; in esco_parameters_for_codec() local
386 param.input_coding_format.coding_format = ESCO_CODING_FORMAT_LC3; in esco_parameters_for_codec()
387 param.output_coding_format.coding_format = ESCO_CODING_FORMAT_LC3; in esco_parameters_for_codec()
388 param.input_bandwidth = TXRX_64KBITS_RATE; in esco_parameters_for_codec()
389 param.output_bandwidth = TXRX_64KBITS_RATE; in esco_parameters_for_codec()
390 return param; in esco_parameters_for_codec()
406 enh_esco_params_t param = default_esco_parameters[codec]; in esco_parameters_for_codec() local
407 param.input_data_path = param.output_data_path = ESCO_DATA_PATH_HCI; in esco_parameters_for_codec()
410 param.transmit_coding_format.coding_format = ESCO_CODING_FORMAT_TRANSPNT; in esco_parameters_for_codec()
411 param.receive_coding_format.coding_format = ESCO_CODING_FORMAT_TRANSPNT; in esco_parameters_for_codec()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java281 ImageListParam param) { in makeImageList() argument
282 DataLocation location = param.mLocation; in makeImageList()
283 int inclusion = param.mInclusion; in makeImageList()
284 int sort = param.mSort; in makeImageList()
285 String bucketId = param.mBucketId; in makeImageList()
286 Uri singleImageUri = param.mSingleImageUri; in makeImageList()
287 boolean isEmptyImageList = param.mIsEmptyImageList; in makeImageList()
402 ImageListParam param = new ImageListParam(); in getImageListParam() local
403 param.mLocation = location; in getImageListParam()
404 param.mInclusion = inclusion; in getImageListParam()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dhfp_lc3_encoder_linux.cc41 mmc::Lc3Param param; in hfp_lc3_encoder_init() local
42 param.set_dt_us(dt_us); in hfp_lc3_encoder_init()
43 param.set_sr_hz(sr_hz); in hfp_lc3_encoder_init()
44 param.set_sr_pcm_hz(sr_pcm_hz); in hfp_lc3_encoder_init()
45 param.set_stride(1); in hfp_lc3_encoder_init()
46 param.set_fmt(mmc::Lc3Param::kLc3PcmFormatS16); in hfp_lc3_encoder_init()
49 *config.mutable_hfp_lc3_encoder_param() = param; in hfp_lc3_encoder_init()
/packages/services/Car/cpp/watchdog/server/src/
DThreadPriorityController.cpp76 sched_param param{.sched_priority = priority}; in setThreadPriority() local
78 if (mSystemCallsInterface->setScheduler(tpid, policy, &param) != 0) { in setThreadPriority()
99 sched_param param = {}; in getThreadPriority() local
101 int callResult = mSystemCallsInterface->getParam(tpid, &param); in getThreadPriority()
107 result->priority = param.sched_priority; in getThreadPriority()
112 const sched_param* param) { in setScheduler() argument
113 return sched_setscheduler(tid, policy, param); in setScheduler()
120 int ThreadPriorityController::SystemCalls::getParam(pid_t tid, sched_param* param) { in getParam() argument
121 return sched_getparam(tid, param); in getParam()

1234567891011