Home
last modified time | relevance | path

Searched refs:error (Results 1 - 25 of 10871) sorted by relevance

12345678910>>...435

/test/xts/acts/sensors/sensor_standard/entry/src/ohosTest/js/test/
H A DSensorOnOffTest.test_newPedometer_Detection.test.js54 } catch(error) {
55 console.error('SensorJsTest_sensor_57 exception in, msg:' + JSON.stringify(error))
102 .catch((error) => {
103 console.info('SensorJsTest_sensor_57 error:' + JSON.stringify(error));
104 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
133 sensor.getSingleSensor(sensor.SensorId.PEDOMETER_DETECTION, (error, data) => {
134 if (error) {
135 console.error('newPedometerDetection_SensorJsTest00
[all...]
H A DSensorOnOffTest.test_newPedometer.test.js52 } catch(error) {
53 console.error('SensorJsTest_sensor_56 exception in, msg:' + JSON.stringify(error))
101 .catch((error) => {
102 console.info('SensorJsTest_sensor_56 error:' + JSON.stringify(error));
103 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
134 sensor.getSingleSensor(sensor.SensorId.PEDOMETER, (error, data) => {
135 if (error) {
136 console.error('newPedometer_SensorJsTest00
[all...]
H A DSensorOnOffTest.test_oldPedometer_Detection.test.js54 } catch(error) {
55 console.error('SensorJsTest_sensor_17 exception in, msg:' + JSON.stringify(error))
86 .catch((error) => {
87 console.info('SensorJsTest_sensor_17 error:' + JSON.stringify(error));
88 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
117 sensor.getSingleSensor(sensor.SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, (error, data) => {
118 if (error) {
119 console.error('PedometerDetection_SensorJsTest00
[all...]
H A DSensorOnOffTest.test_oldPedometer.test.js51 } catch(error) {
52 console.error('SensorJsTest_sensor_18 exception in, msg:' + JSON.stringify(error))
86 .catch((error) => {
87 console.info('SensorJsTest_sensor_18 error:' + JSON.stringify(error));
88 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
128 sensor.getSingleSensor(sensor.SensorType.SENSOR_TYPE_ID_PEDOMETER, (error, data) => {
129 if (error) {
130 console.error('Pedometer_SensorJsTest00
[all...]
/kernel/linux/linux-6.6/drivers/base/test/
H A Dproperty-entry-test.c25 int error; in pe_test_uints() local
30 error = fwnode_property_count_u8(node, "prop-u8"); in pe_test_uints()
31 KUNIT_EXPECT_EQ(test, error, 1); in pe_test_uints()
33 error = fwnode_property_read_u8(node, "prop-u8", &val_u8); in pe_test_uints()
34 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
37 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints()
38 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
41 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints()
42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
44 error in pe_test_uints()
136 int error; pe_test_uint_arrays() local
269 int error; pe_test_strings() local
426 int error; pe_test_reference() local
[all...]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Drohm_bu21023.c332 int error, error2; in rohm_ts_manual_calibration() local
347 error = i2c_smbus_write_byte_data(client, INT_MASK, in rohm_ts_manual_calibration()
350 if (error) in rohm_ts_manual_calibration()
353 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration()
355 if (error) in rohm_ts_manual_calibration()
364 error = rohm_i2c_burst_read(client, PRM1_X_H, buf, sizeof(buf)); in rohm_ts_manual_calibration()
365 if (error) in rohm_ts_manual_calibration()
378 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration()
380 if (error) in rohm_ts_manual_calibration()
413 error in rohm_ts_manual_calibration()
536 int error; rohm_ts_soft_irq() local
650 int error, error2; rohm_ts_load_firmware() local
745 int error; swap_xy_store() local
784 int error; inv_x_store() local
823 int error; inv_y_store() local
865 int error; rohm_ts_device_init() local
1050 int error; rohm_ts_power_off() local
1073 int error; rohm_ts_open() local
1104 int error; rohm_bu21023_i2c_probe() local
[all...]
H A Dsilead.c88 int error; in silead_ts_request_input_dev() local
112 error = input_register_device(data->input); in silead_ts_request_input_dev()
113 if (error) { in silead_ts_request_input_dev()
114 dev_err(dev, "Failed to register input device: %d\n", error); in silead_ts_request_input_dev()
115 return error; in silead_ts_request_input_dev()
138 int touch_nr, softbutton, error, i; in silead_ts_read_data() local
141 error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_DATA, in silead_ts_read_data()
143 if (error < 0) { in silead_ts_read_data()
144 dev_err(dev, "Data read error %d\n", error); in silead_ts_read_data()
204 int error; silead_ts_init() local
239 int error; silead_ts_reset() local
268 int error; silead_ts_startup() local
288 int error; silead_ts_load_fw() local
318 int error; silead_ts_get_status() local
335 int error; silead_ts_get_id() local
350 int error; silead_ts_setup() local
438 int error; silead_ts_read_props() local
502 int error; silead_ts_probe() local
590 int error, status; silead_ts_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Drohm_bu21023.c332 int error, error2; in rohm_ts_manual_calibration() local
347 error = i2c_smbus_write_byte_data(client, INT_MASK, in rohm_ts_manual_calibration()
350 if (error) in rohm_ts_manual_calibration()
353 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration()
355 if (error) in rohm_ts_manual_calibration()
364 error = rohm_i2c_burst_read(client, PRM1_X_H, buf, sizeof(buf)); in rohm_ts_manual_calibration()
365 if (error) in rohm_ts_manual_calibration()
378 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration()
380 if (error) in rohm_ts_manual_calibration()
413 error in rohm_ts_manual_calibration()
536 int error; rohm_ts_soft_irq() local
650 int error, error2; rohm_ts_load_firmware() local
745 int error; swap_xy_store() local
784 int error; inv_x_store() local
823 int error; inv_y_store() local
865 int error; rohm_ts_device_init() local
1050 int error; rohm_ts_power_off() local
1073 int error; rohm_ts_open() local
1103 int error; rohm_bu21023_i2c_probe() local
[all...]
H A Dgoodix_fwupload.c63 dev_err(dev, "Main firmware checksum error\n"); in goodix_firmware_verify()
70 dev_err(dev, "DSP firmware checksum error\n"); in goodix_firmware_verify()
88 int tries, error; in goodix_enter_upload_mode() local
93 error = goodix_i2c_write_u8(client, in goodix_enter_upload_mode()
95 if (error) in goodix_enter_upload_mode()
96 return error; in goodix_enter_upload_mode()
98 error = goodix_i2c_read(client, in goodix_enter_upload_mode()
100 if (error) in goodix_enter_upload_mode()
101 return error; in goodix_enter_upload_mode()
113 error in goodix_enter_upload_mode()
158 int error; goodix_start_firmware() local
194 int error; goodix_firmware_upload() local
350 int error; goodix_handle_fw_request() local
408 int error; goodix_save_bak_ref() local
[all...]
/base/account/os_account/services/accountmgr/test/unittest/domain_account/mock/
H A Dmock_musl.cpp65 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); in AddServerConfig() local
66 if (error == nullptr) { in AddServerConfig()
69 error->code = 0; in AddServerConfig()
70 error->msg.data = nullptr; in AddServerConfig()
71 return error; in AddServerConfig()
76 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); in RemoveServerConfig() local
77 if (error == nullptr) { in RemoveServerConfig()
80 error->code = 0; in RemoveServerConfig()
81 error->msg.data = nullptr; in RemoveServerConfig()
82 return error; in RemoveServerConfig()
88 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAccountServerConfig() local
100 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); Auth() local
112 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); AuthWithPopup() local
124 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); AuthWithToken() local
136 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAccountInfo() local
148 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAuthStatusInfo() local
160 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); BindAccount() local
171 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); UnbindAccount() local
183 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); UpdateAccountInfo() local
195 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); IsAccountTokenValid() local
207 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAccessToken() local
218 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); SetAccountPolicy() local
230 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetServerConfig() local
[all...]
/test/xts/acts/communication/wifi_ErrorCode201/entry/src/ohosTest/js/test/
H A DActWifiErrorCode201.test.js81 } catch(error) {
82 console.error(`scan failed, code is ${error.code}, message is ${error.message}`);
83 expect(error.code).assertEqual("201")
100 } catch(error) {
101 console.error(`getScanInfoList failed, code is ${error.code}, message is ${error.message}`);
102 expect(error
[all...]
/kernel/linux/linux-5.10/drivers/base/test/
H A Dproperty-entry-test.c25 int error; in pe_test_uints() local
30 error = fwnode_property_read_u8(node, "prop-u8", &val_u8); in pe_test_uints()
31 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
34 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 1); in pe_test_uints()
35 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
38 error = fwnode_property_read_u8_array(node, "prop-u8", array_u8, 2); in pe_test_uints()
39 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
41 error = fwnode_property_read_u8(node, "no-prop-u8", &val_u8); in pe_test_uints()
42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
44 error in pe_test_uints()
120 int error; pe_test_uint_arrays() local
233 int error; pe_test_strings() local
393 int error; pe_test_reference() local
[all...]
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Delan_i2c_i2c.c142 int error; in elan_i2c_initialize() local
145 error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET); in elan_i2c_initialize()
146 if (error) { in elan_i2c_initialize()
147 dev_err(dev, "device reset failed: %d\n", error); in elan_i2c_initialize()
148 return error; in elan_i2c_initialize()
155 error = i2c_master_recv(client, val, ETP_I2C_INF_LENGTH); in elan_i2c_initialize()
156 if (error < 0) { in elan_i2c_initialize()
157 dev_err(dev, "failed to read reset response: %d\n", error); in elan_i2c_initialize()
158 return error; in elan_i2c_initialize()
161 error in elan_i2c_initialize()
188 int error; elan_i2c_power_control() local
234 int error; elan_i2c_get_baseline_data() local
251 int error; elan_i2c_get_pattern() local
273 int error; elan_i2c_get_version() local
301 int error; elan_i2c_get_sm_version() local
354 int error; elan_i2c_get_product_id() local
370 int error; elan_i2c_get_checksum() local
390 int error; elan_i2c_get_max() local
415 int error; elan_i2c_get_resolution() local
434 int error; elan_i2c_get_num_traces() local
452 int error; elan_i2c_get_pressure_adjustment() local
472 int error; elan_i2c_iap_get_mode() local
494 int error; elan_i2c_iap_reset() local
508 int error; elan_i2c_set_flash_key() local
522 int error; elan_read_write_iap_type() local
559 int error; elan_i2c_prepare_fw_update() local
634 int ret, error; elan_i2c_write_fw_block() local
679 int error = 0; elan_i2c_finish_fw_update() local
[all...]
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Delan_i2c_i2c.c142 int error; in elan_i2c_initialize() local
145 error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET); in elan_i2c_initialize()
146 if (error) { in elan_i2c_initialize()
147 dev_err(dev, "device reset failed: %d\n", error); in elan_i2c_initialize()
148 return error; in elan_i2c_initialize()
155 error = i2c_master_recv(client, val, ETP_I2C_INF_LENGTH); in elan_i2c_initialize()
156 if (error < 0) { in elan_i2c_initialize()
157 dev_err(dev, "failed to read reset response: %d\n", error); in elan_i2c_initialize()
158 return error; in elan_i2c_initialize()
161 error in elan_i2c_initialize()
188 int error; elan_i2c_power_control() local
234 int error; elan_i2c_get_baseline_data() local
251 int error; elan_i2c_get_pattern() local
273 int error; elan_i2c_get_version() local
301 int error; elan_i2c_get_sm_version() local
354 int error; elan_i2c_get_product_id() local
370 int error; elan_i2c_get_checksum() local
390 int error; elan_i2c_get_max() local
415 int error; elan_i2c_get_resolution() local
434 int error; elan_i2c_get_num_traces() local
452 int error; elan_i2c_get_pressure_adjustment() local
472 int error; elan_i2c_iap_get_mode() local
494 int error; elan_i2c_iap_reset() local
508 int error; elan_i2c_set_flash_key() local
522 int error; elan_read_write_iap_type() local
559 int error; elan_i2c_prepare_fw_update() local
634 int ret, error; elan_i2c_write_fw_block() local
679 int error = 0; elan_i2c_finish_fw_update() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_attr.c79 * Returns 0 on successful retrieval, otherwise an error.
118 int error; in xfs_attr_get() local
133 error = xfs_attr_get_ilocked(args); in xfs_attr_get()
136 return error; in xfs_attr_get()
181 int error; in xfs_attr_try_sf_addname() local
189 error = xfs_attr_shortform_addname(args); in xfs_attr_try_sf_addname()
190 if (error == -ENOSPC) in xfs_attr_try_sf_addname()
191 return error; in xfs_attr_try_sf_addname()
195 * NOTE: this is also the error path (EEXIST, etc). in xfs_attr_try_sf_addname()
197 if (!error in xfs_attr_try_sf_addname()
230 int error, error2 = 0; xfs_attr_set_shortform() local
275 int error = 0; xfs_attr_set_args() local
340 int error; xfs_has_attr() local
370 int error; xfs_attr_remove_args() local
398 int error, local; xfs_attr_set() local
673 int error, forkoff; xfs_attr_leaf_addname() local
779 int error = 0; xfs_attr_leaf_hasname() local
804 int error, forkoff; xfs_attr_leaf_removename() local
846 int error; xfs_attr_leaf_get() local
875 int retval, error; xfs_attr_node_hasname() local
915 int retval, error; xfs_attr_node_addname() local
1122 int error, forkoff; xfs_attr_node_shrink() local
1155 int error; xfs_attr_leaf_mark_incomplete() local
1182 int error; xfs_attr_node_removename_setup() local
1208 int error = 0; xfs_attr_node_remove_rmt() local
1234 int retval, error; xfs_attr_node_removename() local
1351 int level, error; xfs_attr_refillstate() local
1410 int error; xfs_attr_node_get() local
[all...]
H A Dxfs_refcount.c113 int error; in xfs_refcount_get_rec() local
116 error = xfs_btree_get_rec(cur, &rec, stat); in xfs_refcount_get_rec()
117 if (error || !*stat) in xfs_refcount_get_rec()
118 return error; in xfs_refcount_get_rec()
162 * This either works (return 0) or gets an EFSCORRUPTED error.
170 int error; in xfs_refcount_update() local
176 error = xfs_btree_update(cur, &rec); in xfs_refcount_update()
177 if (error) in xfs_refcount_update()
179 cur->bc_ag.agno, error, _RET_IP_); in xfs_refcount_update()
180 return error; in xfs_refcount_update()
194 int error; xfs_refcount_insert() local
228 int error; xfs_refcount_delete() local
349 int error; xfs_refcount_split_extent() local
410 int error; xfs_refcount_merge_center_extents() local
486 int error; xfs_refcount_merge_left_extent() local
547 int error; xfs_refcount_merge_right_extent() local
617 int error; xfs_refcount_find_left_extents() local
706 int error; xfs_refcount_find_right_extents() local
803 int error; xfs_refcount_merge_extents() local
922 int error; xfs_refcount_adjust_extents() local
1055 int error; xfs_refcount_adjust() local
1109 xfs_refcount_finish_one_cleanup( struct xfs_trans *tp, struct xfs_btree_cur *rcur, int error) xfs_refcount_finish_one_cleanup() argument
1144 int error = 0; xfs_refcount_finish_one() local
1304 int error; xfs_refcount_find_shared() local
1455 int error; xfs_refcount_adjust_cow_extents() local
1547 int error; xfs_refcount_adjust_cow() local
1695 int error; xfs_refcount_recover_cow_leftovers() local
[all...]
/test/xts/acts/communication/wifi_ErrorCode401/entry/src/ohosTest/js/test/
H A DActWifiErrorCode401.test.js82 }).catch((error) => {
83 console.error('[wifi_test]add OPEN CandidateConfig promise failed -> ' + JSON.stringify(error));
84 expect(true).assertEqual( (JSON.stringify(error)) !=null);
87 console.error('[wifi_test]add OPEN CandidateConfig permission failed -> ' + JSON.stringify(err));
123 }catch(error){
124 console.error('[wifi_test]add OPEN CandidateConfig permission failed -> ' + JSON.stringify(error));
125 expect(error.code).assertEqual("401");
142 } catch(error) {
[all...]
/test/xts/acts/powermgr/battery_manager/entry/src/ohosTest/js/test/
H A Dbattery_common_event.test.js1455 }).catch((error) => {
1456 console.error('Subscriber getCode error because: ' + JSON.stringify(error));
1461 }).catch((error) => {
1462 console.error('Subscriber getData error because: ' + JSON.stringify(error));
1466 commonEvent.subscribe(mySubscriber, (error, commonEventData) => {
1467 console.error('er
[all...]
/test/xts/acts/communication/btmanager_errorcode401/entry/src/ohosTest/ets/test/
H A DBtMGattManager401.test.js34 } catch (error) {
35 console.info('[bluetooth_js] driver error info:'+ error);
121 } catch(error) {
122 console.error('[bluetooth_js]error.code:'+JSON.stringify(error.code)+
123 'error.message:'+JSON.stringify(error.message));
124 expect(Number(error
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Dhibernate.c169 * if so configured, and return an error code if that fails.
295 int error; in create_image() local
297 error = dpm_suspend_end(PMSG_FREEZE); in create_image()
298 if (error) { in create_image()
300 return error; in create_image()
303 error = platform_pre_snapshot(platform_mode); in create_image()
304 if (error || hibernation_test(TEST_PLATFORM)) in create_image()
307 error = pm_sleep_disable_secondary_cpus(); in create_image()
308 if (error || hibernation_test(TEST_CPUS)) in create_image()
315 error in create_image()
373 int error; hibernation_snapshot() local
461 int error; resume_target_kernel() local
538 int error; hibernation_restore() local
565 int error; hibernation_platform_enter() local
646 int error; power_down() local
689 int error; load_image_and_restore() local
722 int error; hibernate() local
819 int error; hibernate_quiet_exec() local
940 int error; software_resume() local
1018 int error = find_resume_device(); software_resume_initcall() local
1105 int error = 0; disk_store() local
1166 int error; resume_store() local
[all...]
/kernel/linux/linux-5.10/kernel/power/
H A Dhibernate.c162 * if so configured, and return an error code if that fails.
288 int error; in create_image() local
290 error = dpm_suspend_end(PMSG_FREEZE); in create_image()
291 if (error) { in create_image()
293 return error; in create_image()
296 error = platform_pre_snapshot(platform_mode); in create_image()
297 if (error || hibernation_test(TEST_PLATFORM)) in create_image()
300 error = suspend_disable_secondary_cpus(); in create_image()
301 if (error || hibernation_test(TEST_CPUS)) in create_image()
308 error in create_image()
366 int error; hibernation_snapshot() local
454 int error; resume_target_kernel() local
529 int error; hibernation_restore() local
556 int error; hibernation_platform_enter() local
637 int error; power_down() local
680 int error; load_image_and_restore() local
710 int error; hibernate() local
806 int error; hibernate_quiet_exec() local
911 int error; software_resume() local
1097 int error = 0; disk_store() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Dinit.c47 int error; in init_chdir() local
49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir()
50 if (error) in init_chdir()
51 return error; in init_chdir()
52 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); in init_chdir()
53 if (!error) in init_chdir()
56 return error; in init_chdir()
62 int error; in init_chroot() local
64 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chroot()
65 if (error) in init_chroot()
86 int error; init_chown() local
103 int error; init_chmod() local
116 int error; init_eaccess() local
130 int error; init_stat() local
145 int error; init_mknod() local
170 int error; init_link() local
203 int error; init_symlink() local
224 int error; init_mkdir() local
246 int error; init_utimes() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dinit.c47 int error; in init_chdir() local
49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir()
50 if (error) in init_chdir()
51 return error; in init_chdir()
52 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in init_chdir()
53 if (!error) in init_chdir()
56 return error; in init_chdir()
62 int error; in init_chroot() local
64 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chroot()
65 if (error) in init_chroot()
86 int error; init_chown() local
103 int error; init_chmod() local
116 int error; init_eaccess() local
130 int error; init_stat() local
145 int error; init_mknod() local
171 int error; init_link() local
205 int error; init_symlink() local
227 int error; init_mkdir() local
250 int error; init_utimes() local
[all...]
/test/xts/acts/communication_lite/wifiservice_hal/src/
H A Dwifiservice_func_test.c49 WifiErrorCode error = GetScanInfoList(info, &checkSize); in WifiScanStateTask() local
50 if (error != WIFI_SUCCESS) { in WifiScanStateTask()
51 printf("WifiScanStateTask:get info fail, error is %d.\n", error); in WifiScanStateTask()
66 WifiErrorCode error = GetLinkedInfo(&linkInfo); in WifiConnectionStateTask() local
67 if (error != WIFI_SUCCESS) { in WifiConnectionStateTask()
68 printf("WifiConnectionChanged:get link info fail, error is %d.\n", error); in WifiConnectionStateTask()
85 WifiErrorCode error = GetStationList(info, &size); in HotspotStateTask() local
86 if (error ! in HotspotStateTask()
214 WifiErrorCode error; WifiServiceFuncTestSuiteSetUp() local
280 WifiErrorCode error = UnRegisterWifiEvent(&g_wifiEventHandler); WifiServiceFuncTestSuiteTearDown() local
299 WifiErrorCode error = EnableWifi(); global() variable
328 WifiErrorCode error = EnableWifi(); global() variable
371 WifiErrorCode error = AddDeviceConfig(&config, &netId); global() variable
409 WifiErrorCode error = AddDeviceConfig(&config, &netId); global() variable
465 WifiErrorCode error = SetHotspotConfig(&config); global() variable
508 WifiErrorCode error = SetHotspotConfig(&config); global() variable
590 WifiErrorCode error = EnableWifi(); global() variable
644 WifiErrorCode error = EnableWifi(); global() variable
672 WifiErrorCode error = EnableWifi(); global() variable
717 WifiErrorCode error = EnableWifi(); global() variable
[all...]
/base/telephony/call_manager/frameworks/native/src/
H A Dcall_manager_service_proxy.cpp38 int32_t error = SendRequest(INTERFACE_REGISTER_CALLBACK, dataParcel, replyParcel); in RegisterCallBack() local
39 if (error != TELEPHONY_SUCCESS) { in RegisterCallBack()
40 TELEPHONY_LOGE("Function RegisterCallBack! errCode:%{public}d", error); in RegisterCallBack()
41 return error; in RegisterCallBack()
53 int32_t error = SendRequest(INTERFACE_OBSERVER_ON_CALL_DETAILS_CHANGE); in ObserverOnCallDetailsChange() local
54 if (error != ERR_NONE) { in ObserverOnCallDetailsChange()
55 TELEPHONY_LOGE("function ObserverOnCallDetailsChange failed! errCode:%{public}d", error); in ObserverOnCallDetailsChange()
80 int32_t error = SendRequest(INTERFACE_DIAL_CALL, dataParcel, replyParcel); in DialCall() local
81 if (error != TELEPHONY_SUCCESS) { in DialCall()
82 TELEPHONY_LOGE("function DialCall call failed! errCode:%{public}d", error); in DialCall()
101 int32_t error = SendRequest(INTERFACE_MAKE_CALL, dataParcel, replyParcel); MakeCall() local
119 int32_t error = SendRequest(INTERFACE_ANSWER_CALL, dataParcel, replyParcel); AnswerCall() local
138 int32_t error = SendRequest(INTERFACE_REJECT_CALL, dataParcel, replyParcel); RejectCall() local
155 int32_t error = SendRequest(INTERFACE_DISCONNECT_CALL, dataParcel, replyParcel); HangUpCall() local
177 int32_t error = SendRequest(INTERFACE_HOLD_CALL, dataParcel, replyParcel); HoldCall() local
187 int32_t error = SendRequest(INTERFACE_VOIP_REGISTER_CALLBACK); RegisterVoipCallManagerCallback() local
209 int32_t error = SendRequest(INTERFACE_UNHOLD_CALL, dataParcel, replyParcel); UnHoldCall() local
226 int32_t error = SendRequest(INTERFACE_SWAP_CALL, dataParcel, replyParcel); SwitchCall() local
242 int32_t error = SendRequest(INTERFACE_HAS_CALL, dataParcel, replyParcel); HasCall() local
258 int32_t error = SendRequest(INTERFACE_IS_NEW_CALL_ALLOWED, dataParcel, replyParcel); IsNewCallAllowed() local
279 int32_t error = SendRequest(INTERFACE_SET_MUTE, dataParcel, replyParcel); SetMuted() local
301 int32_t error = SendRequest(INTERFACE_SET_AUDIO_DEVICE, dataParcel, replyParcel); SetAudioDevice() local
317 int32_t error = SendRequest(INTERFACE_IS_RINGING, dataParcel, replyParcel); IsRinging() local
337 int32_t error = SendRequest(INTERFACE_IS_EMERGENCY_CALL, dataParcel, replyParcel); IsInEmergencyCall() local
359 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_START_DTMF, dataParcel, replyParcel); StartDtmf() local
376 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_STOP_DTMF, dataParcel, replyParcel); StopDtmf() local
394 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_POST_DIAL_PROCEED, dataParcel, replyParcel); PostDialProceed() local
411 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_GET_CALL_WAITING, dataParcel, replyParcel); GetCallWaiting() local
429 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_SET_CALL_WAITING, dataParcel, replyParcel); SetCallWaiting() local
447 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_GET_CALL_RESTRICTION, dataParcel, replyParcel); GetCallRestriction() local
465 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_SET_CALL_RESTRICTION, dataParcel, replyParcel); SetCallRestriction() local
490 int32_t error = SetCallRestrictionPassword() local
509 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_GET_CALL_TRANSFER, dataParcel, replyParcel); GetCallTransferInfo() local
527 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_SET_CALL_TRANSFER, dataParcel, replyParcel); SetCallTransferInfo() local
551 int32_t error = CanSetCallTransferTime() local
570 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_SETCALL_PREFERENCEMODE, dataParcel, replyParcel); SetCallPreferenceMode() local
592 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_START_RTT, dataParcel, replyParcel); StartRtt() local
609 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_STOP_RTT, dataParcel, replyParcel); StopRtt() local
626 int32_t error = SendRequest(INTERFACE_COMBINE_CONFERENCE, dataParcel, replyParcel); CombineConference() local
643 int32_t error = SendRequest(INTERFACE_SEPARATE_CONFERENCE, dataParcel, replyParcel); SeparateConference() local
660 int32_t error = SendRequest(INTERFACE_KICK_OUT_CONFERENCE, dataParcel, replyParcel); KickOutFromConference() local
678 int32_t error = SendRequest(INTERFACE_CTRL_CAMERA, dataParcel, replyParcel); ControlCamera() local
702 int32_t error = SendRequest(INTERFACE_SET_PREVIEW_WINDOW, dataParcel, replyParcel); SetPreviewWindow() local
726 int32_t error = SendRequest(INTERFACE_SET_DISPLAY_WINDOW, dataParcel, replyParcel); SetDisplayWindow() local
743 int32_t error = SendRequest(INTERFACE_SET_CAMERA_ZOOM, dataParcel, replyParcel); SetCameraZoom() local
761 int32_t error = SendRequest(INTERFACE_SET_PAUSE_IMAGE, dataParcel, replyParcel); SetPausePicture() local
779 int32_t error = SendRequest(INTERFACE_SET_DEVICE_DIRECTION, dataParcel, replyParcel); SetDeviceDirection() local
801 int32_t error = SendRequest(INTERFACE_IS_EMERGENCY_NUMBER, dataParcel, replyParcel); IsEmergencyPhoneNumber() local
828 int32_t error = SendRequest(INTERFACE_IS_FORMAT_NUMBER, dataParcel, replyParcel); FormatPhoneNumber() local
855 int32_t error = SendRequest(INTERFACE_IS_FORMAT_NUMBER_E164, dataParcel, replyParcel); FormatPhoneNumberToE164() local
876 int32_t error = SendRequest(INTERFACE_GET_MAINID, dataParcel, replyParcel); GetMainCallId() local
897 int32_t error = SendRequest(INTERFACE_GET_SUBCALL_LIST_ID, dataParcel, replyParcel); GetSubCallIdList() local
918 int32_t error = SendRequest(INTERFACE_GET_CALL_LIST_ID_FOR_CONFERENCE, dataParcel, replyParcel); GetCallIdListForConference() local
940 int32_t error = SendRequest(INTERFACE_GET_IMS_CONFIG, dataParcel, replyParcel); GetImsConfig() local
959 int32_t error = SendRequest(INTERFACE_SET_IMS_CONFIG, dataParcel, replyParcel); SetImsConfig() local
977 int32_t error = SendRequest(INTERFACE_GET_IMS_FEATURE_VALUE, dataParcel, replyParcel); GetImsFeatureValue() local
996 int32_t error = SendRequest(INTERFACE_SET_IMS_FEATURE_VALUE, dataParcel, replyParcel); SetImsFeatureValue() local
1014 int32_t error = SendRequest(INTERFACE_UPDATE_CALL_MEDIA_MODE, dataParcel, replyParcel); UpdateImsCallMode() local
1031 int32_t error = SendRequest(INTERFACE_ENABLE_VOLTE, dataParcel, replyParcel); EnableImsSwitch() local
1048 int32_t error = SendRequest(INTERFACE_DISABLE_VOLTE, dataParcel, replyParcel); DisableImsSwitch() local
1065 int32_t error = SendRequest(INTERFACE_IS_VOLTE_ENABLED, dataParcel, replyParcel); IsImsSwitchEnabled() local
1084 int32_t error = SendRequest(INTERFACE_SET_VONR_STATE, dataParcel, replyParcel); SetVoNRState() local
1101 int32_t error = SendRequest(INTERFACE_GET_VONR_STATE, dataParcel, replyParcel); GetVoNRState() local
1120 int32_t error = SendRequest(INTERFACE_JOIN_CONFERENCE, dataParcel, replyParcel); JoinConference() local
1145 int32_t error = SendRequest(INTERFACE_REPORT_OTT_CALL_DETAIL_INFO, dataParcel, replyParcel); ReportOttCallDetailsInfo() local
1162 int32_t error = SendRequest(INTERFACE_REPORT_OTT_CALL_EVENT_INFO, dataParcel, replyParcel); ReportOttCallEventInfo() local
1179 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_CLOSE_UNFINISHED_USSD, dataParcel, replyParcel); CloseUnFinishedUssd() local
1196 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_INPUT_DIALER_SPECIAL_CODE, dataParcel, replyParcel); InputDialerSpecialCode() local
1212 int32_t error = SendRequest( RemoveMissedIncomingCallNotification() local
1230 int32_t error = SendRequest(INTERFACE_SET_VOIP_CALL_STATE, dataParcel, replyParcel); SetVoIPCallState() local
1246 int32_t error = SendRequest(INTERFACE_GET_VOIP_CALL_STATE, dataParcel, replyParcel); GetVoIPCallState() local
1264 int32_t error = SendRequest(INTERFACE_GET_PROXY_OBJECT_PTR, dataParcel, replyParcel); GetProxyObjectPtr() local
1286 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_CANCEL_CALL_UPGRADE, dataParcel, replyParcel); CancelCallUpgrade() local
1303 int32_t error = SendRequest( RequestCameraCapabilities() local
1320 int32_t error = SendRequest(code, dataParcel, replyParcel); SendRequest() local
1350 int32_t error = SendRequest(INTERFACE_SEND_CALLUI_EVENT, dataParcel, replyParcel); SendCallUiEvent() local
1367 int32_t error = SendRequest(INTERFACE_BLUETOOTH_REGISTER_CALLBACKPTR, dataParcel, replyParcel); RegisterBluetoothCallManagerCallbackPtr() local
[all...]

Completed in 18 milliseconds

12345678910>>...435