Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 1286) sorted by relevance

12345678910>>...52

/base/sensors/sensor/interfaces/plugin/src/
Dsensor_system_js.cpp22 napi_value SubscribeAccelerometer(napi_env env, napi_callback_info info) in SubscribeAccelerometer() argument
25 return Subscribe(env, info, SENSOR_TYPE_ID_ACCELEROMETER, SUBSCRIBE_CALLBACK); in SubscribeAccelerometer()
28 napi_value UnsubscribeAccelerometer(napi_env env, napi_callback_info info) in UnsubscribeAccelerometer() argument
31 return Unsubscribe(env, info, SENSOR_TYPE_ID_ACCELEROMETER); in UnsubscribeAccelerometer()
34 napi_value SubscribeCompass(napi_env env, napi_callback_info info) in SubscribeCompass() argument
37 return Subscribe(env, info, SENSOR_TYPE_ID_ORIENTATION, SUBSCRIBE_COMPASS); in SubscribeCompass()
40 napi_value UnsubscribeCompass(napi_env env, napi_callback_info info) in UnsubscribeCompass() argument
43 return Unsubscribe(env, info, SENSOR_TYPE_ID_ORIENTATION); in UnsubscribeCompass()
46 napi_value SubscribeProximity(napi_env env, napi_callback_info info) in SubscribeProximity() argument
49 return Subscribe(env, info, SENSOR_TYPE_ID_PROXIMITY, SUBSCRIBE_CALLBACK); in SubscribeProximity()
[all …]
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Drunning_status_log_util.cpp29 std::string info { "TOOMANYQUERYRULES " }; in LogTooManyQueryRules() local
30 info.append(std::to_string(rules.size())).append(LOG_DETAIL_CONCAT); in LogTooManyQueryRules()
31 info.append("RULES=["); in LogTooManyQueryRules()
33 info.append("{"); in LogTooManyQueryRules()
34 info.append(rule.domain).append(RULE_ITEM_CONCAT); in LogTooManyQueryRules()
36 info.append("["); in LogTooManyQueryRules()
38 info.append(eventName).append(RULE_ITEM_CONCAT); in LogTooManyQueryRules()
40 info.erase(info.end() - 1); in LogTooManyQueryRules()
41 info.append("]").append(RULE_ITEM_CONCAT); in LogTooManyQueryRules()
43 info.append(std::to_string(rule.ruleType)); in LogTooManyQueryRules()
[all …]
/base/usb/usb_manager/test/native/js_unittest/
DUsbFunctionsJsunitEx.test.js25 console.info('begin test getversion :' + Version)
31 console.info('usb case setPortRoles return: ' + data);
33 console.info('usb case setPortRoles error : ' + error);
41 console.info('beforeEach: *************Usb Unit Test Case*************');
45 console.info('afterEach: *************Usb Unit Test Case*************');
58 console.info('usb usb_function_to_string_test_01 begin');
60 console.info('usb case maskCode : ' + usb.NONE);
63 …console.info('usb case maskCode ' + maskCode + ' usbFunctionsToString return int: ' + strMaskCode);
64 console.info('usb usb_function_to_string_test_01 : PASS');
73 console.info('usb usb_function_to_string_test_02 begin');
[all …]
DUsbCoreJsunitEx.test.js27 console.info('begin test getversion :' + Version)
33 console.info('usb case setPortRolesEx return: ' + data);
35 console.info('usb case setPortRolesEx error : ' + error);
43 console.info('beforeEach: *************Usb Unit Test CaseEx*************');
46 console.info('afterEach: *************Usb Unit Test CaseEx*************');
59 console.info('usb connect_device_02 begin');
61 console.info('usb case get_device_list is null')
69 console.info('usb 02 requestRight error:' + error);
71 console.info('usb 02 requestRight end:');
81 console.info('usb connectDevice fail:' + err);
[all …]
DUsbFunctionsJsunit.test.js26 console.info('begin test getversion :' + Version)
32 console.info('usb case setPortRoles return: ' + data);
34 console.info('usb case setPortRoles error : ' + error);
41 console.info('beforeEach: *************Usb Unit Test Case*************');
44 console.info('afterEach: *************Usb Unit Test Case*************');
56 console.info('usb get_current_functions_test_01 begin');
58 console.info('usb case getCurrentFunctions return: ' + maskCode);
61 console.info('usb case usbFunctionsToString return str: ' + strMaskCode);
63 console.info('usb case strMaskCode usbFunctionsFromString return int: ' + nMaskCode);
65 console.info('usb get_current_functions_test_01 : PASS');
[all …]
DUsbCoreJsunit.test.js27 console.info('begin test getversion :' + Version)
33 console.info('usb case setPortRoles return: ' + data);
35 console.info('usb case setPortRoles error : ' + error);
43 console.info('afterEach: *************Usb Unit Test Case*************');
46 console.info('beforeEach: *************Usb Unit Test Case*************');
61 console.info('usb get_device_01 begin');
64 console.info('usb case get_devices list is null')
69 console.info('usb case getDevices ret length: ' + gDeviceList.length);
70 console.info('usb get_devices_test_01: PASS');
80 console.info('usb has_right_01 begin');
[all …]
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
Dfaultlogger_client_unittest.cpp55 auto info = CreateFaultLogInfo(now, getuid(), FaultLogType::CPP_CRASH, "faultlogtest0"); variable
56 ReportCppCrashEvent(&info);
90 auto info = CreateFaultLogInfo(now, getuid(), FaultLogType::CPP_CRASH, "faultlogtest1"); in __anon211548e90102() local
91 AddFaultLog(info); in __anon211548e90102()
130 auto info = result->Next(); variable
131 if (info == nullptr) {
135 info->GetStringFaultType();
150 FaultLogInfo info; variable
151 info.SetId(123);
152 ASSERT_EQ(info.GetId(), 123);
[all …]
Dfaultlogger_unittest.cpp135 FaultLogInfo info; variable
136 info.time = 1607161163;
137 info.id = 0;
138 info.pid = 7497;
139 info.faultLogType = 2;
140 info.module = "com.example.myapplication";
141 info.sectionMap["APPVERSION"] = "1.0";
142 info.sectionMap["FAULT_MESSAGE"] = "Nullpointer";
143 info.sectionMap["TRACEID"] = "0x1646145645646";
144 info.sectionMap["KEY_THREAD_INFO"] = "Test Thread Info";
[all …]
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_webview_controller.h44 static napi_value JsConstructor(napi_env env, napi_callback_info info);
46 static napi_value InitializeWebEngine(napi_env env, napi_callback_info info);
48 static napi_value SetWebDebuggingAccess(napi_env env, napi_callback_info info);
50 static napi_value InnerGetWebDebuggingAccess(napi_env env, napi_callback_info info);
52 static napi_value SetWebId(napi_env env, napi_callback_info info);
54 static napi_value InnerJsProxy(napi_env env, napi_callback_info info);
56 static napi_value InnerGetCustomeSchemeCmdLine(napi_env env, napi_callback_info info);
58 static napi_value AccessForward(napi_env env, napi_callback_info info);
60 static napi_value AccessBackward(napi_env env, napi_callback_info info);
62 static napi_value Forward(napi_env env, napi_callback_info info);
[all …]
/base/global/i18n/interfaces/js/kits/include/
Di18n_addon.h45 static napi_value GetSystemLanguages(napi_env env, napi_callback_info info);
46 static napi_value GetSystemCountries(napi_env env, napi_callback_info info);
47 static napi_value GetSystemCountriesWithError(napi_env env, napi_callback_info info);
48 static napi_value IsSuggested(napi_env env, napi_callback_info info);
49 static napi_value IsSuggestedWithError(napi_env env, napi_callback_info info);
50 static napi_value GetDisplayLanguage(napi_env env, napi_callback_info info);
51 static napi_value GetDisplayLanguageWithError(napi_env env, napi_callback_info info);
52 static napi_value GetDisplayCountry(napi_env env, napi_callback_info info);
53 static napi_value GetDisplayCountryWithError(napi_env env, napi_callback_info info);
54 static napi_value GetSystemLanguage(napi_env env, napi_callback_info info);
[all …]
/base/telephony/call_manager/services/call/src/
Dott_call_connection.cpp27 AppExecFwk::PacMap info; in Answer() local
28 PackCellularCallInfo(requestInfo, info); in Answer()
30 OttCallRequestId::OTT_REQUEST_ANSWER, info); in Answer()
35 AppExecFwk::PacMap info; in HangUp() local
36 PackCellularCallInfo(requestInfo, info); in HangUp()
38 OttCallRequestId::OTT_REQUEST_HANG_UP, info); in HangUp()
43 AppExecFwk::PacMap info; in Reject() local
44 PackCellularCallInfo(requestInfo, info); in Reject()
46 OttCallRequestId::OTT_REQUEST_REJECT, info); in Reject()
51 AppExecFwk::PacMap info; in HoldCall() local
[all …]
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/test/unittest/
DExampleJsunit.test.js24 console.info('FaultlogJsTest beforeAll called')
31 console.info('FaultlogJsTest afterAll called')
38 console.info('FaultlogJsTest beforeEach called')
45 console.info('FaultlogJsTest afterEach called')
64 …console.info("---------------------------FaultlogJsException_001----------------------------------…
67 console.info("FaultlogJsException_001 ret1 == " + ret1);
69 console.info('ret1 assertEqual(undefined) ' + a);
72 console.info("FaultlogJsException_001 ret2 == " + ret2);
76 console.info("FaultlogJsException_001 ret3 == " + ret3);
81 console.info(err);
[all …]
/base/sensors/sensor/interfaces/plugin/include/
Dsensor_system_js.h21 napi_value SubscribeAccelerometer(napi_env env, napi_callback_info info);
22 napi_value UnsubscribeAccelerometer(napi_env env, napi_callback_info info);
23 napi_value SubscribeCompass(napi_env env, napi_callback_info info);
24 napi_value UnsubscribeCompass(napi_env env, napi_callback_info info);
25 napi_value SubscribeProximity(napi_env env, napi_callback_info info);
26 napi_value UnsubscribeProximity(napi_env env, napi_callback_info info);
27 napi_value SubscribeLight(napi_env env, napi_callback_info info);
28 napi_value UnsubscribeLight(napi_env env, napi_callback_info info);
29 napi_value SubscribeStepCounter(napi_env env, napi_callback_info info);
30 napi_value UnsubscribeStepCounter(napi_env env, napi_callback_info info);
[all …]
/base/inputmethod/imf/test/unitest/src/
DInputMethodTest.js23 console.info('beforeAll called')
27 console.info('afterAll called')
31 console.info('beforeEach called')
35 console.info('afterEach called')
50 console.info("************* inputmethod_test_MAX_TYPE_NUM_001 Test start*************");
53 console.info("inputmethod_test_001 result:" + inputMethodSetting);
55 console.info("************* inputmethod_test_MAX_TYPE_NUM_001 Test end*************");
66 …console.info("************* inputmethod_test_getInputMethodController_001 Test start*************"…
69 … console.info("************* inputmethod_test_getInputMethodController_001 Test end*************");
80 console.info("************* inputmethod_test_getController_001 Test start*************");
[all …]
/base/security/device_security_level/services/dslm/
Ddslm_fsm_process.c52 static bool CheckTimesAndSendCredRequest(DslmDeviceInfo *info, bool enforce);
53 static void StopSendDeviceInfoRequestTimer(DslmDeviceInfo *info);
54 static void ProcessSendDeviceInfoCallback(DslmDeviceInfo *info, DslmInfoChecker checker);
67 static void RefreshNotifyList(DslmDeviceInfo *info);
68 static void RefreshHistoryList(DslmDeviceInfo *info);
99 static void StopSendDeviceInfoRequestTimer(DslmDeviceInfo *info) in StopSendDeviceInfoRequestTimer() argument
101 if (info->timeHandle != 0) { in StopSendDeviceInfoRequestTimer()
102 StopTimerTask(info->timeHandle); in StopSendDeviceInfoRequestTimer()
103 info->timeHandle = 0; in StopSendDeviceInfoRequestTimer()
107 static void StartSendDeviceInfoRequestTimer(DslmDeviceInfo *info) in StartSendDeviceInfoRequestTimer() argument
[all …]
Ddslm_hievent.c38 void ReportHiEventInfoSync(const DslmDeviceInfo *info) in ReportHiEventInfoSync() argument
40 if (info == NULL) { in ReportHiEventInfoSync()
47 if (info->lastResponseTime >= info->lastRequestTime) { in ReportHiEventInfoSync()
48 event.costTime = (int32_t)(info->lastResponseTime - info->lastRequestTime); in ReportHiEventInfoSync()
51 event.retCode = (int32_t)info->result; in ReportHiEventInfoSync()
52 event.secLevel = (int32_t)info->credInfo.credLevel; in ReportHiEventInfoSync()
54 event.targetVersion = info->version; in ReportHiEventInfoSync()
55 …if (memcpy_s(event.targetModel, MODEL_MAX_LEN, info->credInfo.model, CRED_INFO_MODEL_LEN) != EOK) { in ReportHiEventInfoSync()
59 event.credType = info->credInfo.credType; in ReportHiEventInfoSync()
63 void ReportHiEventAppInvoke(const DslmDeviceInfo *info) in ReportHiEventAppInvoke() argument
[all …]
/base/powermgr/battery_manager/services/native/src/
Dbattery_notify.cpp55 int32_t BatteryNotify::PublishEvents(const BatteryInfo& info) in PublishEvents() argument
66 bool ret = PublishChangedEvent(info); in PublishEvents()
68 ret = PublishLowEvent(info); in PublishEvents()
70 ret = PublishOkayEvent(info); in PublishEvents()
72 ret = PublishPowerConnectedEvent(info); in PublishEvents()
74 ret = PublishPowerDisconnectedEvent(info); in PublishEvents()
76 ret = PublishChargingEvent(info); in PublishEvents()
78 ret = PublishDischargingEvent(info); in PublishEvents()
102 bool BatteryNotify::PublishChangedEvent(const BatteryInfo& info) const in PublishChangedEvent()
105 want.SetParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, info.GetCapacity()); in PublishChangedEvent()
[all …]
/base/request/request/test/unittest/common/napi/requestTest/
DRequestUploadTest.js23 console.info('beforeAll called')
27 console.info('afterAll called')
31 console.info('beforeEach called')
35 console.info('afterEach called')
81 …console.info("-----------------------SUB_REQUEST_UPLOAD_API_0001 is starting----------------------…
83 … console.info("SUB_REQUEST_UPLOAD_API_0001 request.NETWORK_MOBILE: " + request.NETWORK_MOBILE);
85 console.info("SUB_REQUEST_UPLOAD_API_0001 request.NETWORK_WIFI: " + request.NETWORK_WIFI);
87 …console.info("SUB_REQUEST_UPLOAD_API_0001 request.ERROR_CANNOT_RESUME: " + request.ERROR_CANNOT_RE…
89 …console.info("SUB_REQUEST_UPLOAD_API_0001 request.ERROR_DEVICE_NOT_FOUND: " + request.ERROR_DEVICE…
95 console.info("-----------------------SUB_REQUEST_UPLOAD_API_0001 end-----------------------");
[all …]
/base/telephony/cellular_call/vendor/ims/services/ims_call/src/
Dims_call.cpp44 HRilRadioResponseInfo info; in Dial() local
49 imsCallCallback_->DialResponse(slotId, info); in Dial()
59 HRilRadioResponseInfo info; in HangUp() local
64 imsCallCallback_->HangUpResponse(slotId, info); in HangUp()
74 HRilRadioResponseInfo info; in RejectWithReason() local
79 imsCallCallback_->RejectWithReasonResponse(slotId, info); in RejectWithReason()
89 HRilRadioResponseInfo info; in Answer() local
94 imsCallCallback_->AnswerResponse(slotId, info); in Answer()
103 HRilRadioResponseInfo info; in HoldCall() local
108 imsCallCallback_->HoldCallResponse(slotId, info); in HoldCall()
[all …]
/base/powermgr/powermgr_lite/utils/src/
Dpower_mgr_timer_util.c64 PowerTimerInfo *info = (PowerTimerInfo *)v.sival_ptr; in TimerHandle() local
65 if (info == NULL) { in TimerHandle()
69 if (info->timerCb != NULL) { in TimerHandle()
70 info->timerCb(info->data); in TimerHandle()
76 PowerTimerInfo *info = (PowerTimerInfo *)malloc(sizeof(PowerTimerInfo)); in PowerMgrCreateTimer() local
77 if (info == NULL) { in PowerMgrCreateTimer()
81 (void)memset_s(info, sizeof(PowerTimerInfo), 0, sizeof(PowerTimerInfo)); in PowerMgrCreateTimer()
82 info->isRunning = FALSE; in PowerMgrCreateTimer()
83 info->whenMsec = whenMsec; in PowerMgrCreateTimer()
84 info->intervalMsec = intervalMsec; in PowerMgrCreateTimer()
[all …]
/base/telephony/call_manager/services/call/call_state_observer/src/
Dcall_records_manager.cpp43 CallAttributeInfo info; in CallStateUpdated() local
52 (void)memset_s(&info, sizeof(CallAttributeInfo), 0, sizeof(CallAttributeInfo)); in CallStateUpdated()
53 callObjectPtr->GetCallAttributeBaseInfo(info); in CallStateUpdated()
54 AddOneCallRecord(info); in CallStateUpdated()
59 CallAttributeInfo info; in AddOneCallRecord() local
60 (void)memset_s(&info, sizeof(CallAttributeInfo), 0, sizeof(CallAttributeInfo)); in AddOneCallRecord()
61 call->GetCallAttributeBaseInfo(info); in AddOneCallRecord()
62 AddOneCallRecord(info); in AddOneCallRecord()
65 void CallRecordsManager::AddOneCallRecord(CallAttributeInfo &info) in AddOneCallRecord() argument
73 if (strlen(info.accountNumber) > static_cast<size_t>(kMaxNumberLen)) { in AddOneCallRecord()
[all …]
/base/location/frameworks/js/napi/include/
Dlocation_napi_adapter.h25 napi_value GetLastLocation(napi_env env, napi_callback_info info);
26 napi_value IsLocationEnabled(napi_env env, napi_callback_info info);
27 napi_value EnableLocation(napi_env env, napi_callback_info info);
28 napi_value DisableLocation(napi_env env, napi_callback_info info);
29 napi_value RequestEnableLocation(napi_env env, napi_callback_info info);
30 napi_value IsGeoServiceAvailable(napi_env env, napi_callback_info info);
31 napi_value GetAddressesFromLocation(napi_env env, napi_callback_info info);
32 napi_value GetAddressesFromLocationName(napi_env env, napi_callback_info info);
33 napi_value GetCachedGnssLocationsSize(napi_env env, napi_callback_info info);
34 napi_value FlushCachedGnssLocations(napi_env env, napi_callback_info info);
[all …]
/base/hiviewdfx/hisysevent/test/unittest/common/napi/
Dnapi_hisysevent.test.js26 console.info('hiSysEventJsUnitTest beforeAll called')
34 console.info('hiSysEventJsUnitTest afterAll called')
42 console.info('hiSysEventJsUnitTest beforeEach called')
50 console.info('hiSysEventJsUnitTest afterEach called')
59 console.info('hiSysEventJsUnitTest001 start')
77 console.info('in hiSysEventJsUnitTest001 test callback: result = ' + val);
80 console.info('hiSysEventJsUnitTest001 end')
86 console.info('hiSysEventJsUnitTest001 end')
97 console.info('hiSysEventJsUnitTest002 start')
112 console.info('in hiSysEventJsUnitTest002 test callback: result = ' + val)
[all …]
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_query.cpp24 napi_value DownloadQuery::Query(napi_env env, napi_callback_info info) in Query() argument
31 return Exec(env, info); in Query()
34 napi_value DownloadQuery::GetTaskInfo(napi_env env, napi_callback_info info) in GetTaskInfo() argument
38 if (!NapiUtils::CheckParameterCorrect(env, info, FUNCTION_GET_TASK_INFO, err)) { in GetTaskInfo()
43 return Exec(env, info); in GetTaskInfo()
46 napi_value DownloadQuery::Exec(napi_env env, napi_callback_info info) in Exec() argument
55 DOWNLOAD_HILOGD("description: %{public}s", context->info.GetDescription().c_str()); in Exec()
56 DOWNLOAD_HILOGD("downloadedBytes: %{public}" PRId64, context->info.GetDownloadedBytes()); in Exec()
57 DOWNLOAD_HILOGD("downloadId: %{public}d", context->info.GetDownloadId()); in Exec()
58 DOWNLOAD_HILOGD("failedReason: %{public}d", context->info.GetFailedReason()); in Exec()
[all …]
/base/telephony/state_registry/frameworks/js/napi/include/
Dupdate_contexts.h33 CallStateContext &operator=(const CallStateUpdateInfo &info)
35 callState = info.callState_;
36 phoneNumber = info.phoneNumber_;
43 SignalListContext &operator=(SignalUpdateInfo &info)
45 signalInfoList = info.signalInfoList_;
52 NetworkStateContext &operator=(const NetworkStateUpdateInfo &info)
54 networkState = info.networkState_;
63 SimStateContext &operator=(const SimStateUpdateInfo &info)
65 cardType = info.type_;
66 simState = info.state_;
[all …]

12345678910>>...52