| /base/notification/distributed_notification_service/services/ans/include/ |
| D | interface_system_event.h | 27 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; 34 std::function<void(const sptr<NotificationBundleOption> &)> onBundleAdd; 35 std::function<void(const sptr<NotificationBundleOption> &)> onBundleUpdate; 36 std::function<void()> onBootSystemCompleted;
|
| /base/telephony/core_service/ |
| D | README_zh.md | 75 | 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 getDefaultVoiceSimId(callback: AsyncCallback\<number>): void; | 获取语音业务的默认卡ID … 83 | function isSimActive(slotId: number, callback: AsyncCallback\<boolean>): void | 检查指定卡槽的SIM卡是否激活 … 84 | function hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void | 检查SIM卡是否插入指定卡槽 … [all …]
|
| D | README.md | 76 | 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 getDefaultVoiceSimId(callback: AsyncCallback\<number>): void; | Obtains the sim id of th… 84 | function isSimActive(slotId: number, callback: AsyncCallback\<boolean>): void | Checks whether th… 85 | function hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void | Checks whether th… [all …]
|
| /base/msdp/device_status/intention/ipc/socket/include/ |
| D | socket_connection.h | 35 std::function<void(NetPacket&)> recv, 36 std::function<void()> onDisconnected); 46 static std::shared_ptr<SocketConnection> Connect(std::function<int32_t()> socket, 47 std::function<void(NetPacket&)> recv, std::function<void()> onDisconnected); 51 std::function<void(NetPacket&)> recv_; 52 std::function<void()> onDisconnected_;
|
| /base/msdp/device_status/intention/prototype/include/ |
| D | i_input_adapter.h | 33 … virtual int32_t AddMonitor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> callback) = 0; 34 virtual int32_t AddMonitor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> callback) = 0; 37 …virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) … 38 virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) = 0; 39 … virtual int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb, 40 std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) = 0; 43 virtual int32_t AddFilter(std::function<bool(std::shared_ptr<MMI::PointerEvent>)> callback) = 0;
|
| /base/msdp/device_status/intention/adapters/input_adapter/include/ |
| D | input_adapter.h | 32 int32_t AddMonitor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> callback) override; 33 int32_t AddMonitor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> callback) override; 36 …int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb) override; 37 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) override; 38 int32_t AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb, 39 std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) override; 42 int32_t AddFilter(std::function<bool(std::shared_ptr<MMI::PointerEvent>)> callback) override;
|
| /base/msdp/device_status/intention/adapters/input_adapter/src/ |
| D | input_adapter.cpp | 33 explicit PointerFilter(std::function<bool(std::shared_ptr<MMI::PointerEvent>)> filter) in PointerFilter() 47 std::function<bool(std::shared_ptr<MMI::PointerEvent>)> filter_; 52 InterceptorConsumer(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb, in InterceptorConsumer() 53 std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) in InterceptorConsumer() 73 std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointerCb_; 74 std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb_; 77 int32_t InputAdapter::AddMonitor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> callback) in AddMonitor() 86 int32_t InputAdapter::AddMonitor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> callback) in AddMonitor() 100 int32_t InputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::PointerEvent>)> pointe… in AddInterceptor() 105 int32_t InputAdapter::AddInterceptor(std::function<void(std::shared_ptr<MMI::KeyEvent>)> keyCb) in AddInterceptor() [all …]
|
| /base/security/huks/frameworks/huks_standard/main/common/include/ |
| D | hks_cfi.h | 26 #define ENABLE_CFI(function) __attribute__((no_sanitize("cfi"))) function argument 28 #define ENABLE_CFI(function) function argument
|
| /base/security/asset/test/unittest/inner_api_rust/src/ |
| D | update.rs | 21 let alias = function!().as_bytes(); in update_same_secret() 22 let secret = function!().as_bytes(); in update_same_secret() 38 let alias = function!().as_bytes(); in update_different_secret() 39 let secret = function!().as_bytes(); in update_different_secret() 61 let alias = function!().as_bytes(); in update_attr_normal() 62 let secret = function!().as_bytes(); in update_attr_normal() 82 let alias = function!().as_bytes(); in update_non_exist() 83 let label_normal = function!().as_bytes(); in update_non_exist()
|
| D | pre_query.rs | 21 let alias = function!().as_bytes(); in pre_query_non_exist_with_alias() 29 let function_name = function!().as_bytes(); in pre_query_with_wrong_auth_type() 40 let function_name = function!().as_bytes(); in pre_query_with_wrong_accessibility() 51 let function_name = function!().as_bytes(); in pre_query_with_unsupported_auth_type() 62 let function_name = function!().as_bytes(); in pre_query_with_wrong_persistent() 73 let function_name = function!().as_bytes(); in pre_query_with_wrong_sync_type() 84 let function_name = function!().as_bytes(); in pre_query_batch_data() 99 let function_name = function!().as_bytes(); in pre_query_single_data() 119 let function_name = function!().as_bytes(); in pre_query_max_times()
|
| /base/powermgr/power_manager/services/native/src/actions/default/ |
| D | system_suspend_controller.h | 36 …void Suspend(const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool f… 56 void SetListener(std::function<void()>& suspend, std::function<void()>& wakeup); 58 std::function<void()> onSuspend_; 59 std::function<void()> onWakeup_;
|
| /base/hiviewdfx/hidumper_lite/ |
| D | README.md | 55 AT instruction processing function injected into the system 76 Rewrites the function of printing system information. This function prints the system information o… 84 Rewrites the function for printing CPU usage information. This function prints the CPU usage of the… 92 Rewrites the function for printing memory usage information. This function prints the memory usage … 100 Rewrite the function of printing all task information of the system. This function prints all task … 108 Rewrite the function for printing exception logs. This function prints the last saved log informati… 116 Overwrites the function of printing memory data in a specified area. This function prints the data … 130 Overwrites the function of printing all memory data. This function can print all memory data. 138 Rewrites the platform hidumper initialization function. This function initializes features such as …
|
| /base/location/interfaces/inner_api/include/ |
| D | location_dumper.h | 27 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/update/updateservice/services/firmware/upgrade/executor/include/ |
| D | firmware_iexecutor.h | 25 using FirmwareComponentCallback = std::function<void( 32 using ProgressCallback = std::function<void(const Progress &progress)>; 42 using InstallCallback = std::function<void(const InstallCallbackInfo &installCallbackInfo)>; 47 using ApplyCallback = std::function<void(bool isSuccess)>;
|
| /base/msdp/device_status/intention/ipc/socket/src/ |
| D | socket_connection.cpp | 32 std::function<void(NetPacket&)> recv, in SocketConnection() 33 std::function<void()> onDisconnected) in SocketConnection() 44 std::shared_ptr<SocketConnection> SocketConnection::Connect(std::function<int32_t()> socket, in Connect() 45 std::function<void(NetPacket&)> recv, std::function<void()> onDisconnected) in Connect()
|
| /base/update/updater/services/factory_reset/ |
| D | factory_reset.h | 25 using CommonResetPreFunc = std::function<int(void)>; 26 using FactoryResetPreFunc = std::function<int(void)>; 27 using FactoryResetPostFunc = std::function<int(int)>; 35 using ResetFunc = std::function<int(const std::string &)>;
|
| /base/powermgr/power_manager/services/native/src/actions/default/display/ |
| D | device_state_action.h | 38 …uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) ov… 39 void RegisterCallback(std::function<void(uint32_t)>& callback) override; 49 std::function<void(uint32_t)> notify_ {nullptr}; 55 std::function<void(uint32_t)> actionCallback_ {nullptr};
|
| /base/update/update_app/feature/ota/src/main/ets/dialog/ |
| D | DialogHelper.ets | 48 export function displayNetworkDialog(operator: DialogOperator): void { 87 export function displayUpgradeFailDialog(operator ?: DialogOperator): void { 96 export function displayDownloadFailDialog(operator ?: DialogOperator): void { 105 export function displayNoNetworkDialog(operator ?: DialogOperator): void { 114 export function displayNotEnoughBatteryDialog(operator ?: DialogOperator): void { 124 export function displayNotEnoughSpaceDialog(operator ?: DialogOperator): void { 133 export function displayVerifyFailDialog(operator ?: DialogOperator): void { 144 …function defaultKnowDialog(title: string | Resource, message: string | Resource, operator ?: Dialo… 154 function defaultNoTitleDialog(message: string | Resource, operator ?: DialogOperator): void { 166 …function showDialog(title: string | Resource, message: string | Resource, confirmText?: string | R… [all …]
|
| /base/update/updater/test/fuzztest/fuzz_src_data/ |
| D | test_function.us | 1 Stdout("Test function ================"); 3 function computer(a, b, c) { 8 function computer2() {
|
| D | test_script.us | 1 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/update/updater/test/unittest/test_data/src/ |
| D | test_function.us | 1 Stdout("Test function ================"); 3 function computer(a, b, c) { 8 function computer2() {
|
| D | test_script.us | 1 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/time/time_service/services/timer/include/ |
| D | timer_proxy.h | 37 std::function<void(std::shared_ptr<TimerInfo> &alarm)> insertAlarmCallback); 39 std::function<void(std::shared_ptr<TimerInfo> &alarm)> insertAlarmCallback); 57 std::function<void(std::shared_ptr<TimerInfo> &alarm)> insertAlarmCallback); 60 std::function<void(std::shared_ptr<TimerInfo> &alarm)> insertAlarmCallback); 63 std::function<void(std::shared_ptr<TimerInfo> &alarm)> insertAlarmCallback); 65 std::function<void(std::shared_ptr<TimerInfo> &alarm)> insertAlarmCallback);
|
| /base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/ |
| D | log_ioctl.h | 38 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/update/update_app/common/src/main/ets/util/ |
| D | DeviceUtils.ets | 30 export function getDeviceType(): string { 39 export function getDisplayVersion(): string { 48 export function getSystemLanguage(): string { 63 export function getDialogLocation(): DialogAlignment{ 72 export function getDialogOffsetY(): string | Resource {
|