Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/base/telephony/core_service/
DREADME_zh.md75 | function getSimState(slotId: number, callback: AsyncCallback\<SimState>): void; | 获取指定卡槽的SIM卡状态 …
76 | function getSimGid1(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的GID1(Gr…
77 | function getSimIccId(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的ICCID(…
78 | function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡…
79 | function getSimOperatorNumeric(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽S…
80 | function getSimSpn(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的运营商SPN(S…
81 | function getDefaultVoiceSlotId(callback: AsyncCallback\<number>): void; | 获取语音业务的默认卡卡槽 …
82 | function isSimActive(slotId: number, callback: AsyncCallback\<boolean>): void | 检查指定卡槽的SIM卡是否激活 …
83 | function hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void | 检查SIM卡是否插入指定卡槽 …
84 | function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\<string>): void | 获取指定卡槽SI…
[all …]
DREADME.md76 | function getSimState(slotId: number, callback: AsyncCallback\<SimState>): void; | Obtains the sta…
77 | function getSimGid1(slotId: number, callback: AsyncCallback\<string>): void; | Obtains the group …
78 | function getSimIccId(slotId: number, callback: AsyncCallback\<string>): void; | Obtains the integ…
79 | function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback\<string>): void; | Obtai…
80 | function getSimOperatorNumeric(slotId: number, callback: AsyncCallback\<string>): void; | Obtains…
81 | function getSimSpn(slotId: number, callback: AsyncCallback\<string>): void; | Obtains the service…
82 | function getDefaultVoiceSlotId(callback: AsyncCallback\<number>): void; | Obtains the slot of the…
83 | function isSimActive(slotId: number, callback: AsyncCallback\<boolean>): void | Checks whether th…
84 | function hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void | Checks whether th…
85 | function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\<string>): void | Obtains …
[all …]
/base/notification/distributed_notification_service/services/ans/include/
Dinterface_system_event.h27 std::function<void(const sptr<NotificationBundleOption> &)> onBundleRemoved;
29 std::function<void()> onScreenOn;
30 std::function<void()> onScreenOff;
32 std::function<void(int32_t userId)> onResourceRemove;
33 std::function<void(const sptr<NotificationBundleOption> &)> onBundleDataCleared;
Ddistributed_kvstore_death_recipient.h32 explicit DistributedKvStoreDeathRecipient(const std::function<void()> &callback) in DistributedKvStoreDeathRecipient()
54 std::function<void()> callback_;
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_cfi.h26 #define ENABLE_CFI(function) __attribute__((no_sanitize("cfi"))) function argument
28 #define ENABLE_CFI(function) function argument
/base/powermgr/power_manager/services/native/src/actions/default/
Dsystem_suspend_controller.h35 …void Suspend(const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool f…
54 void SetListener(std::function<void()>& suspend, std::function<void()>& wakeup);
56 std::function<void()> onSuspend_;
57 std::function<void()> onWakeup_;
/base/location/interfaces/inner_api/include/
Dlocation_dumper.h27 bool GeocodeDump(std::function<void(std::string&)> saBasicDumpFunc,
30 bool GnssDump(std::function<void(std::string&)> saBasicDumpFunc,
33 bool LocatorDump(std::function<void(std::string&)> saBasicDumpFunc,
36 bool NetWorkDump(std::function<void(std::string&)> saBasicDumpFunc,
39 bool PassiveDump(std::function<void(std::string&)> saBasicDumpFunc,
/base/powermgr/power_manager/services/native/src/actions/default/display/
Ddevice_state_action.h37 …uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) ov…
38 void RegisterCallback(std::function<void(uint32_t)>& callback) override;
48 std::function<void(uint32_t)> notify_ {nullptr};
52 std::function<void(uint32_t)> actionCallback_ {nullptr};
Ddefault_device_state_action.cpp54 const std::function<void()> onSuspend, const std::function<void()> onWakeup, bool force) in GoToSleep()
60 void DefaultDeviceStateAction::RegisterCallback(std::function<void(uint32_t)>& callback) in RegisterCallback()
Ddefault_device_state_action.h36 …uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) ov…
37 void RegisterCallback(std::function<void(uint32_t)>& callback) override;
/base/update/updater/test/fuzztest/fuzz_src_data/
Dtest_function.us1 Stdout("Test function ================");
3 function computer(a, b, c) {
8 function computer2() {
/base/update/updater/test/unittest/test_data/src/
Dtest_function.us1 Stdout("Test function ================");
3 function computer(a, b, c) {
8 function computer2() {
Dtest_script.us1 function Add(a, b, c)
15 function Sub(a, b, c)
26 function Mul(a, b, c)
37 function Div(a, b, c)
48 function EQ(a, b, c)
63 function NE(a, b, c)
85 function GT(a, b, c)
100 function GE(a, b, c)
115 function LT(a, b, c)
130 function LE(a, b, c)
[all …]
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/
Dlog_ioctl.h38 int Request(const T1& rqst, std::function<int(const T2& rsp)> handle);
39 int RequestOutput(const OutputRqst& rqst, std::function<int(const OutputRsp& rsp)> handle);
40 …int RequestStatsQuery(const StatsQueryRqst& rqst, std::function<int(const StatsQueryRsp& rsp)> han…
55 int ReceiveAndProcessOutputRsp(std::function<int(const OutputRsp& rsp)> handle);
56 int ReceiveAndProcessStatsQueryRsp(std::function<int(const StatsQueryRsp& rsp)> handle);
97 int LogIoctl::Request(const T1& rqst, std::function<int(const T2& rsp)> handle) in Request()
/base/notification/distributed_notification_service/services/distributed/include/
Ddistributed_database_callback.h31 …std::function<void(const std::string &deviceId, const std::string &key, const std::string &value)>…
32 …std::function<void(const std::string &deviceId, const std::string &key, const std::string &value)>…
33 …std::function<void(const std::string &deviceId, const std::string &key, const std::string &value)>…
/base/powermgr/power_manager/test/systemtest/mock/
Dmock_state_action.h35 …MOCK_METHOD3(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, …
36 MOCK_METHOD1(RegisterCallback, void(std::function<void(uint32_t)>& callback));
/base/powermgr/power_manager/services/native/test/unittest/mock/
Dmock_state_action.h35 …MOCK_METHOD3(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, …
36 MOCK_METHOD1(RegisterCallback, void(std::function<void(uint32_t)>& callback));
/base/location/frameworks/location_common/common/source/
Dlocation_dumper.cpp38 bool LocationDumper::GeocodeDump(std::function<void(std::string&)> saBasicDumpFunc, in GeocodeDump()
55 bool LocationDumper::GnssDump(std::function<void(std::string&)> saBasicDumpFunc, in GnssDump()
72 bool LocationDumper::LocatorDump(std::function<void(std::string&)> saBasicDumpFunc, in LocatorDump()
89 bool LocationDumper::NetWorkDump(std::function<void(std::string&)> saBasicDumpFunc, in NetWorkDump()
106 bool LocationDumper::PassiveDump(std::function<void(std::string&)> saBasicDumpFunc, in PassiveDump()
/base/powermgr/power_manager/services/native/include/actions/
Didevice_state_action.h48 virtual uint32_t GoToSleep(const std::function<void()> onSuspend,
49 const std::function<void()> onWakeup, bool force) = 0;
50 virtual void RegisterCallback(std::function<void(uint32_t)>& callback) = 0;
/base/web/webview/ohos_adapter/interfaces/
Dmmi_adapter.h39 using InputEventCallback = std::function<void(int32_t, int32_t)>;
57 virtual int32_t GetKeyboardType(int32_t deviceId, std::function<void(int32_t)> callback) = 0;
59 virtual int32_t GetDeviceIds(std::function<void(std::vector<int32_t>&)> callback) = 0;
/base/web/webview/ohos_nweb/include/
Dnweb_save_cookie_callback.h33 void SetCallBack(const std::function<void(bool)> &&callback) in SetCallBack()
39 std::function<void(bool)> callback_;
/base/update/updater/services/script/script_interpreter/
Dscript_interpreter.cpp90 int32_t ScriptInterpreter::AddFunction(ScriptFunction *function) in AddFunction() argument
92 if (functions_.find(function->GetFunctionName()) != functions_.end()) { in AddFunction()
93 … USCRIPT_LOGI("Fail to add function %s, function exist", function->GetFunctionName().c_str()); in AddFunction()
96 functions_[function->GetFunctionName()] = function; in AddFunction()
111 ScriptFunction *function = FindFunction(name); in ExecuteFunction() local
112 if (function == nullptr) { in ExecuteFunction()
116 return function->Execute(*this, context, params); in ExecuteFunction()
/base/time/time_service/services/time/test/unittest/include/
Dtimer_info_test.h44 void SetCallbackInfo(const std::function<void()> &callBack);
47 std::function<void()> callBack_ = nullptr;
68 void TimerInfoTest::SetCallbackInfo(const std::function<void()> &callBack) in SetCallbackInfo()
/base/telephony/call_manager/frameworks/native/include/
Dcall_ability_callback_death_recipient.h26 const std::function<void(const wptr<IRemoteObject> &object)> &deathCallback);
32 std::function<void(const wptr<IRemoteObject> &object)> deathCallback_;
Dcellular_call_callback_death_recipient.h26 const std::function<void(const wptr<IRemoteObject> &object)> &deathCallback);
32 std::function<void(const wptr<IRemoteObject> &object)> deathCallback_;

12345678910>>...15