Home
last modified time | relevance | path

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

12345

/system/bt/stack/btm/
Dble_advertiser_hci_interface.cc57 uint8_t* param, uint16_t param_len) { in btm_ble_multi_adv_vsc_cmpl_cback() argument
63 STREAM_TO_UINT8(status, param); in btm_ble_multi_adv_vsc_cmpl_cback()
64 STREAM_TO_UINT8(subcode, param); in btm_ble_multi_adv_vsc_cmpl_cback()
124 uint8_t param[BTM_BLE_MULTI_ADV_SET_PARAM_LEN]; in SetParameters() local
125 memset(param, 0, BTM_BLE_MULTI_ADV_SET_PARAM_LEN); in SetParameters()
127 uint8_t* pp = param; in SetParameters()
155 FROM_HERE, BTM_BLE_MULTI_ADV_SET_PARAM_LEN, param, in SetParameters()
163 uint8_t param[BTM_BLE_MULTI_ADV_WRITE_DATA_LEN]; in SetAdvertisingData() local
164 memset(param, 0, BTM_BLE_MULTI_ADV_WRITE_DATA_LEN); in SetAdvertisingData()
174 uint8_t* pp = param; in SetAdvertisingData()
[all …]
Dbtm_ble_adv_filter.cc301 uint8_t param[len_max]; in BTM_LE_PF_local_name() local
302 memset(param, 0, len_max); in BTM_LE_PF_local_name()
304 uint8_t* p = param; in BTM_LE_PF_local_name()
317 FROM_HERE, HCI_BLE_ADV_FILTER_OCF, param, len, in BTM_LE_PF_local_name()
346 uint8_t param[len_max]; in BTM_LE_PF_manu_data() local
347 memset(param, 0, len_max); in BTM_LE_PF_manu_data()
349 uint8_t* p = param; in BTM_LE_PF_manu_data()
380 FROM_HERE, HCI_BLE_ADV_FILTER_OCF, param, len, in BTM_LE_PF_manu_data()
398 uint8_t param[len_max]; in BTM_LE_PF_srvc_data_pattern() local
399 memset(param, 0, len_max); in BTM_LE_PF_srvc_data_pattern()
[all …]
Dbtm_ble_batchscan.cc236 uint8_t param[len]; in btm_ble_read_batchscan_reports() local
237 memset(param, 0, len); in btm_ble_read_batchscan_reports()
239 uint8_t* pp = param; in btm_ble_read_batchscan_reports()
243 btu_hcif_send_cmd_with_cb(FROM_HERE, HCI_BLE_BATCH_SCAN_OCF, param, len, cb); in btm_ble_read_batchscan_reports()
305 uint8_t param[len]; in btm_ble_set_storage_config() local
306 memset(param, 0, len); in btm_ble_set_storage_config()
308 uint8_t* pp = param; in btm_ble_set_storage_config()
314 btu_hcif_send_cmd_with_cb(FROM_HERE, HCI_BLE_BATCH_SCAN_OCF, param, len, cb); in btm_ble_set_storage_config()
328 uint8_t param[len]; in btm_ble_set_batchscan_param() local
329 memset(param, 0, len); in btm_ble_set_batchscan_param()
[all …]
Dbtm_ble_privacy.cc421 uint8_t param[20] = {0}; in btm_ble_remove_resolving_list_entry() local
422 uint8_t* p = param; in btm_ble_remove_resolving_list_entry()
429 BTM_BLE_META_REMOVE_IRK_LEN, param, in btm_ble_remove_resolving_list_entry()
451 uint8_t param[20] = {0}; in btm_ble_clear_resolving_list() local
452 uint8_t* p = param; in btm_ble_clear_resolving_list()
456 BTM_BLE_META_CLEAR_IRK_LEN, param, in btm_ble_clear_resolving_list()
480 uint8_t param[20] = {0}; in btm_ble_read_resolving_list_entry() local
481 uint8_t* p = param; in btm_ble_read_resolving_list_entry()
487 param, btm_ble_resolving_list_vsc_op_cmpl); in btm_ble_read_resolving_list_entry()
589 uint8_t param[20], *p; in btm_ble_vendor_enable_irk_feature() local
[all …]
/system/keymaster/ng/include/
Dkeymaster_tags.h203 inline auto accessTagValue(TypedTag<tag_type, tag>, const KeyParameter& param) \
204 ->const decltype(param.field_name)& { \
205 return param.field_name; \
208 inline auto accessTagValue(TypedTag<tag_type, tag>, KeyParameter& param) \
209 ->decltype(param.field_name)& { \
210 return param.field_name; \
226 inline auto accessTagValue(decltype(typed_tag), const KeyParameter& param) \
227 ->const decltype(param.field_name)& { \
228 return param.field_name; \
230 inline auto accessTagValue(decltype(typed_tag), KeyParameter& param) \
[all …]
/system/security/keystore/
Dauthorization_set.cpp243 OutStreams& serialize(T ttag, OutStreams& out, const KeyParameter& param) { in serialize() argument
244 out.elements.write(reinterpret_cast<const char*>(&param.tag), sizeof(int32_t)); in serialize()
245 return serializeParamValue(out, accessTagValue(ttag, param)); in serialize()
252 static OutStreams& serialize(OutStreams& out, const KeyParameter& param) { in serialize()
253 return choose_serializer<Tags...>::serialize(out, param); in serialize()
264 static OutStreams& serialize(OutStreams& out, const KeyParameter& param) { in serialize()
265 if (param.tag == tag) { in serialize()
266 return keystore::serialize(TypedTag<tag_type, tag>(), out, param); in serialize()
268 return choose_serializer<Tail...>::serialize(out, param); in serialize()
273 OutStreams& serialize(OutStreams& out, const KeyParameter& param) { in serialize() argument
[all …]
Dkeystore_aidl_hidl_marshalling_utils.cpp102 android::status_t writeKeyParameterToParcel(const KeyParameter& param, android::Parcel* out) { in writeKeyParameterToParcel() argument
106 auto tag = param.tag; in writeKeyParameterToParcel()
109 switch (typeFromTag(param.tag)) { in writeKeyParameterToParcel()
114 rc = out->writeInt32(param.f.integer); in writeKeyParameterToParcel()
119 rc = out->writeInt64(param.f.longInteger); in writeKeyParameterToParcel()
126 rc = writeKeymasterBlob(param.blob, out); in writeKeyParameterToParcel()
129 ALOGE("Failed to write KeyParameter: Unsupported tag %d", param.tag); in writeKeyParameterToParcel()
146 auto param = readKeyParameterFromParcel(in); in readParamSetFromParcel() local
147 if (!param.isOk()) { in readParamSetFromParcel()
151 result[i] = param.value(); in readParamSetFromParcel()
Dkeymaster_enforcement.cpp175 for (auto& param : auth_set) { in AuthorizeUpdateOrFinish() local
176 auto user_secure_id = authorizationValue(TAG_USER_SECURE_ID, param); in AuthorizeUpdateOrFinish()
229 for (auto& param : auth_set) { in AuthorizeBegin() local
233 if (int32_t(param.tag) == KM_TAG_PADDING_OLD || int32_t(param.tag) == KM_TAG_DIGEST_OLD) in AuthorizeBegin()
236 switch (param.tag) { in AuthorizeBegin()
239 auto date = authorizationValue(TAG_ACTIVE_DATETIME, param); in AuthorizeBegin()
245 auto date = authorizationValue(TAG_ORIGINATION_EXPIRE_DATETIME, param); in AuthorizeBegin()
252 auto date = authorizationValue(TAG_USAGE_EXPIRE_DATETIME, param); in AuthorizeBegin()
258 auto min_ops_timeout = authorizationValue(TAG_MIN_SECONDS_BETWEEN_OPS, param); in AuthorizeBegin()
264 auto max_users = authorizationValue(TAG_MAX_USES_PER_BOOT, param); in AuthorizeBegin()
[all …]
/system/hardware/interfaces/net/netd/1.1/
DINetd.hal30 * @param networkHandle Handle to the OEM network previously returned from
32 * @param ifname Interface name specified by the route, or an empty
36 * @param destination The destination prefix of the route in CIDR notation.
38 * @param nexthop IP address of the gateway for the route, or an empty
53 * @param networkHandle Handle to the OEM network previously returned from
55 * @param ifname Interface name specified by the route, or an empty
59 * @param destination The destination prefix of the route in CIDR notation.
61 * @param nexthop IP address of the gateway for the route, or an empty
75 * @param networkHandle Handle to the OEM network previously returned from
77 * @param ifname Interface name to add to the OEM network.
[all …]
/system/keymaster/android_keymaster/
Dauthorization_set.cpp308 static size_t serialized_size(const keymaster_key_param_t& param) { in serialized_size() argument
309 switch (keymaster_tag_get_type(param.tag)) { in serialized_size()
331 static uint8_t* serialize(const keymaster_key_param_t& param, uint8_t* buf, const uint8_t* end, in serialize() argument
333 buf = append_uint32_to_buf(buf, end, param.tag); in serialize()
334 switch (keymaster_tag_get_type(param.tag)) { in serialize()
339 buf = append_uint32_to_buf(buf, end, param.enumerated); in serialize()
343 buf = append_uint32_to_buf(buf, end, param.integer); in serialize()
347 buf = append_uint64_to_buf(buf, end, param.long_integer); in serialize()
350 buf = append_uint64_to_buf(buf, end, param.date_time); in serialize()
354 *buf = static_cast<uint8_t>(param.boolean); in serialize()
[all …]
Dkeymaster_enforcement.cpp175 for (auto& param : auth_set) { in AuthorizeUpdateOrFinish() local
176 if (param.tag == KM_TAG_USER_SECURE_ID) { in AuthorizeUpdateOrFinish()
179 if (AuthTokenMatches(auth_set, operation_params, param.long_integer, auth_type_index, in AuthorizeUpdateOrFinish()
228 for (auto& param : auth_set) { in AuthorizeBegin() local
232 if (param.tag == KM_TAG_PADDING_OLD || param.tag == KM_TAG_DIGEST_OLD) in AuthorizeBegin()
235 switch (param.tag) { in AuthorizeBegin()
238 if (!activation_date_valid(param.date_time)) in AuthorizeBegin()
243 if (is_origination_purpose(purpose) && expiration_date_passed(param.date_time)) in AuthorizeBegin()
248 if (is_usage_purpose(purpose) && expiration_date_passed(param.date_time)) in AuthorizeBegin()
253 min_ops_timeout = param.integer; in AuthorizeBegin()
[all …]
/system/nfc/src/nfc/tags/
Drw_main.cc209 p_activate_params->rf_tech_param.param.pa.sel_rsp); in RW_SetActivatedTagType()
230 status = rw_t1t_select(p_activate_params->rf_tech_param.param.pa.hr, in RW_SetActivatedTagType()
231 p_activate_params->rf_tech_param.param.pa.nfcid1); in RW_SetActivatedTagType()
236 if (p_activate_params->rf_tech_param.param.pa.sel_rsp == in RW_SetActivatedTagType()
244 rw_t3t_select(p_activate_params->rf_tech_param.param.pf.nfcid2, in RW_SetActivatedTagType()
245 p_activate_params->rf_tech_param.param.pf.mrti_check, in RW_SetActivatedTagType()
246 p_activate_params->rf_tech_param.param.pf.mrti_update); in RW_SetActivatedTagType()
257 status = rw_i93_select(p_activate_params->rf_tech_param.param.pi93.uid); in RW_SetActivatedTagType()
/system/bt/btif/src/
Dbtif_profile_queue.cc98 ConnectNode param(bda, uuid, connect_cb); in queue_int_add() local
100 if (node.uuid() == param.uuid() && node.address() == param.address()) { in queue_int_add()
102 __func__, param.ToString().c_str()); in queue_int_add()
108 param.ToString().c_str()); in queue_int_add()
109 connect_queue.push_back(param); in queue_int_add()
Dbtif_gatt_test.cc222 tGATT_DISC_PARAM param; in btif_gattc_test_command_impl() local
223 memset(&param, 0, sizeof(tGATT_DISC_PARAM)); in btif_gattc_test_command_impl()
231 param.s_handle = params->u2; in btif_gattc_test_command_impl()
232 param.e_handle = params->u3; in btif_gattc_test_command_impl()
233 param.service = *params->uuid1; in btif_gattc_test_command_impl()
238 param.service.ToString().c_str(), params->u2, params->u3); in btif_gattc_test_command_impl()
239 GATTC_Discover(test_cb.conn_id, params->u1, &param); in btif_gattc_test_command_impl()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc1184 std::string param; in out_get_parameters() local
1186 if (!param.empty()) param += "|"; in out_get_parameters()
1187 param += "AUDIO_FORMAT_PCM_16_BIT"; in out_get_parameters()
1190 if (!param.empty()) param += "|"; in out_get_parameters()
1191 param += "AUDIO_FORMAT_PCM_24_BIT_PACKED"; in out_get_parameters()
1194 if (!param.empty()) param += "|"; in out_get_parameters()
1195 param += "AUDIO_FORMAT_PCM_32_BIT"; in out_get_parameters()
1197 if (param.empty()) { in out_get_parameters()
1202 return_params[AUDIO_PARAMETER_STREAM_SUP_FORMATS] = param; in out_get_parameters()
1208 std::string param; in out_get_parameters() local
[all …]
/system/core/libpixelflinger/
Dpixelflinger.cpp334 GGLint param) in ggl_texEnvi() argument
341 switch (param) { in ggl_texEnvi()
347 if (c->activeTMU->env != param) { in ggl_texEnvi()
348 c->activeTMU->env = param; in ggl_texEnvi()
391 GGLint param) in ggl_texParameteri() argument
399 if (param == GGL_CLAMP_TO_EDGE) in ggl_texParameteri()
400 param = GGL_CLAMP; in ggl_texParameteri()
405 if ((param == GGL_CLAMP) || in ggl_texParameteri()
406 (param == GGL_REPEAT)) { in ggl_texParameteri()
411 if ((param == GGL_CLAMP) || in ggl_texParameteri()
[all …]
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1223 std::string param; in out_get_parameters() local
1225 if (!param.empty()) param += "|"; in out_get_parameters()
1226 param += "AUDIO_FORMAT_PCM_16_BIT"; in out_get_parameters()
1229 if (!param.empty()) param += "|"; in out_get_parameters()
1230 param += "AUDIO_FORMAT_PCM_24_BIT_PACKED"; in out_get_parameters()
1233 if (!param.empty()) param += "|"; in out_get_parameters()
1234 param += "AUDIO_FORMAT_PCM_32_BIT"; in out_get_parameters()
1236 if (param.empty()) { in out_get_parameters()
1241 return_params[AUDIO_PARAMETER_STREAM_SUP_FORMATS] = param; in out_get_parameters()
1247 std::string param; in out_get_parameters() local
[all …]
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal46 * @param iface Fully-qualified interface name.
47 * @param name Instance name. Same as in IServiceManager::add.
68 * @param name Instance name. Must also be used to retrieve service.
69 * @param service Handle to registering service.
85 * @param fqName Fully-qualified interface name.
86 * @param name Instance name. Same as in IServiceManager::add
102 * @param fqName Fully-qualified interface name.
119 * @param fqName Fully-qualified interface name.
120 * @param name Instance name. If name is empty, notifications must be
122 * @param callback Client callback to recieve notifications.
/system/libhwbinder/vts/performance/
DLatency.cpp82 sched_param param; in threadGetPri() local
84 REQUIRE(!pthread_getschedparam(pthread_self(), &policy, &param)); in threadGetPri()
85 return param.sched_priority; in threadGetPri()
89 sched_param param; in threadDumpPri() local
97 REQUIRE(!pthread_getschedparam(pthread_self(), &policy, &param)); in threadDumpPri()
102 cout << setw(12) << left << s << param.sched_priority << endl; in threadDumpPri()
136 sched_param param; in threadTransaction() local
141 param.sched_priority = sched_get_priority_max(SCHED_FIFO); in threadTransaction()
142 REQUIRE(!pthread_attr_setschedparam(&attr, &param)); in threadTransaction()
/system/tools/hidl/
DAnnotation.cpp145 for (const auto* param : *mParams) { in getConstantExpressions()
146 const auto& retParam = param->getConstantExpressions(); in getConstantExpressions()
166 const AnnotationParam* param = mParams->at(i); in dump() local
168 out << param->getName() << "="; in dump()
170 const std::vector<std::string>& values = param->getValues(); in dump()
/system/bt/hci/include/
Dvendor.h61 int (*send_command)(vendor_opcode_t opcode, void* param);
64 int (*send_async_command)(vendor_async_opcode_t opcode, void* param);
/system/core/logd/
Dmain.cpp96 struct sched_param param; in drop_privs() local
97 memset(&param, 0, sizeof(param)); in drop_privs()
104 if (sched_setscheduler((pid_t)0, SCHED_BATCH, &param) < 0) { in drop_privs()
459 struct sched_param param; in main() local
461 memset(&param, 0, sizeof(param)); in main()
462 pthread_attr_setschedparam(&attr, &param); in main()
/system/bt/stack/avrc/
Davrc_bld_tg.cc85 p_company_id = p_rsp->param.company_id; in avrc_bld_get_capability_rsp()
91 p_event_id = p_rsp->param.event_id; in avrc_bld_get_capability_rsp()
571 if ((p_rsp->param.play_status <= AVRC_PLAYSTATE_REV_SEEK) || in avrc_bld_notify_rsp()
572 (p_rsp->param.play_status == AVRC_PLAYSTATE_ERROR)) { in avrc_bld_notify_rsp()
573 UINT8_TO_BE_STREAM(p_data, p_rsp->param.play_status); in avrc_bld_notify_rsp()
582 ARRAY_TO_BE_STREAM(p_data, p_rsp->param.track, AVRC_UID_SIZE); in avrc_bld_notify_rsp()
594 UINT32_TO_BE_STREAM(p_data, p_rsp->param.play_pos); in avrc_bld_notify_rsp()
599 if (AVRC_IS_VALID_BATTERY_STATUS(p_rsp->param.battery_status)) { in avrc_bld_notify_rsp()
600 UINT8_TO_BE_STREAM(p_data, p_rsp->param.battery_status); in avrc_bld_notify_rsp()
609 if (AVRC_IS_VALID_SYSTEM_STATUS(p_rsp->param.system_status)) { in avrc_bld_notify_rsp()
[all …]
/system/libhidl/transport/manager/1.1/
DIServiceManager.hal27 * @param fqName Fully-qualified interface name. If empty, unregister for
29 * @param name Instance name. If name is empty, unregister for all instance
31 * @param callback Client callback that was previously registered.
/system/media/audio_utils/tests/
Dformat_tests.cpp61 const auto param = GetParam(); in TEST_P() local
62 const audio_format_t src_encoding = std::get<0>(param); in TEST_P()
63 const audio_format_t dst_encoding = std::get<1>(param); in TEST_P()

12345