Home
last modified time | relevance | path

Searched refs:Context (Results 1 - 25 of 492) sorted by relevance

12345678910>>...20

/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_crpc_p2p.h31 int RpcP2pStart(RpcServer *server, Context *context);
40 int RpcP2pStop(RpcServer *server, Context *context);
49 int RpcP2pSetRandomMac(RpcServer *server, Context *context);
58 int RpcP2pSetDeviceName(RpcServer *server, Context *context);
67 int RpcP2pSetSsidPostfixName(RpcServer *server, Context *context);
76 int RpcP2pSetWpsDeviceType(RpcServer *server, Context *context);
85 int RpcP2pSetWpsSecondaryDeviceType(RpcServer *server, Context *context);
94 int RpcP2pSetWpsConfigMethods(RpcServer *server, Context *context);
103 int RpcP2pGetDeviceAddress(RpcServer *server, Context *context);
112 int RpcP2pFlush(RpcServer *server, Context *contex
[all...]
H A Dwifi_hal_crpc_sta.h33 int RpcStart(RpcServer *server, Context *context);
43 int RpcStop(RpcServer *server, Context *context);
53 int RpcStartScan(RpcServer *server, Context *context);
63 int RpcGetScanInfos(RpcServer *server, Context *context);
73 int RpcStartPnoScan(RpcServer *server, Context *context);
83 int RpcStopPnoScan(RpcServer *server, Context *context);
93 int RpcConnect(RpcServer *server, Context *context);
103 int RpcReconnect(RpcServer *server, Context *context);
113 int RpcReassociate(RpcServer *server, Context *context);
123 int RpcDisconnect(RpcServer *server, Context *contex
[all...]
H A Dwifi_hal_crpc_chip.h33 int RpcGetWifiChip(RpcServer *server, Context *context);
43 int RpcGetWifiChipIds(RpcServer *server, Context *context);
53 int RpcGetChipId(RpcServer *server, Context *context);
63 int RpcCreateIface(RpcServer *server, Context *context);
73 int RpcGetIface(RpcServer *server, Context *context);
83 int RpcGetIfaceNames(RpcServer *server, Context *context);
93 int RpcRemoveIface(RpcServer *server, Context *context);
103 int RpcGetCapabilities(RpcServer *server, Context *context);
113 int RpcGetSupportedComboModes(RpcServer *server, Context *context);
123 int RpcConfigComboModes(RpcServer *server, Context *contex
[all...]
H A Dwifi_hal_crpc_ap.h33 int RpcStartSoftAp(RpcServer *server, Context *context);
43 int RpcStopSoftAp(RpcServer *server, Context *context);
53 int RpcSetHostapdConfig(RpcServer *server, Context *context);
63 int RpcGetStaInfos(RpcServer *server, Context *context);
73 int RpcSetCountryCode(RpcServer *server, Context *context);
83 int RpcSetMacFilter(RpcServer *server, Context *context);
93 int RpcDelMacFilter(RpcServer *server, Context *context);
103 int RpcDisassociateSta(RpcServer *server, Context *context);
113 int RpcGetValidFrequenciesForBand(RpcServer *server, Context *context);
123 int RpcSetPowerModel(RpcServer *server, Context *contex
[all...]
H A Dwifi_hal_crpc_supplicant.h33 int RpcStartSupplicant(RpcServer *server, Context *context);
43 int RpcStopSupplicant(RpcServer *server, Context *context);
53 int RpcConnectSupplicant(RpcServer *server, Context *context);
63 int RpcDisconnectSupplicant(RpcServer *server, Context *context);
73 int RpcRequestToSupplicant(RpcServer *server, Context *context);
83 int RpcSetPowerSave(RpcServer *server, Context *context);
93 int RpcWpaSetCountryCode(RpcServer *server, Context *context);
103 int RpcWpaGetCountryCode(RpcServer *server, Context *context);
H A Dwifi_hal_crpc_common.h33 int RpcRegisterEventCallback(RpcServer *server, Context *context);
43 int RpcUnRegisterEventCallback(RpcServer *server, Context *context);
53 int RpcNotifyClear(RpcServer *server, Context *context);
64 int RpcGetCommonCmd(RpcServer *server, Context *context);
75 int RpcChbaStart(RpcServer *server, Context *context);
86 int RpcChbaStop(RpcServer *server, Context *context);
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/
H A Di_wifi_test.h23 void IdlCbkAddRemoveIface(Context *context, int event);
24 void IdlCbkStaJoinLeave(Context *context);
25 void IdlCbkScanInfoNotify(Context *context);
26 void IdlCbkConnectChanged(Context *context);
27 void IdlCbkDisConnectReasonNotify(Context *context);
28 void IdlCbkBssidChanged(Context *context);
29 void IdlCbkApStateChange(Context *context, int event);
30 void IdlCbkWpaEventDeal(Context *context, int event);
31 int IdlDealStaApEvent(Context *context, int event);
32 void IdlCbP2pEventDeal(Context *contex
[all...]
H A Dmock_serial.c18 int WriteBegin(Context *context, int type) in WriteBegin()
23 int WriteFunc(Context *context, const char *funcName) in WriteFunc()
28 int WriteInt(Context *context, int iData) in WriteInt()
33 int WriteLong(Context *context, long lData) in WriteLong()
38 int WriteInt64(Context *context, int64_t iData) in WriteInt64()
43 int WriteDouble(Context *context, double dData) in WriteDouble()
48 int WriteChar(Context *context, char cData) in WriteChar()
53 int WriteStr(Context *context, const char *pStr) in WriteStr()
58 int WriteUStr(Context *context, const unsigned char *uStr, unsigned int len) in WriteUStr()
63 int WriteEnd(Context *contex
[all...]
H A Dmock_serial.h29 * @param context - Communication Context
33 int WriteBegin(Context *context, int type);
38 * @param context - Communication Context
42 int WriteFunc(Context *context, const char *funcName);
47 * @param context - Communication Context
51 int WriteInt(Context *context, int i);
56 * @param context - Communication Context
60 int WriteLong(Context *context, long l);
65 * @param context - Communication Context
69 int WriteInt64(Context *contex
[all...]
/foundation/multimodalinput/input/intention/cooperate/plugin/include/
H A Dstate_machine.h39 void OnEvent(Context &context, const CooperateEvent &event);
55 void TransiteTo(Context &context, CooperateState state) override;
56 void AddHandler(CooperateEventType event, std::function<void(Context&, const CooperateEvent&)> handler);
57 void OnQuit(Context &context);
58 void AddObserver(Context &context, const CooperateEvent &event);
59 void RemoveObserver(Context &context, const CooperateEvent &event);
60 void RegisterListener(Context &context, const CooperateEvent &event);
61 void UnregisterListener(Context &context, const CooperateEvent &event);
62 void RegisterHotAreaListener(Context &context, const CooperateEvent &event);
63 void UnregisterHotAreaListener(Context
[all...]
H A Dcooperate_in.h30 void OnEvent(Context &context, const CooperateEvent &event) override;
31 void OnEnterState(Context &context) override;
32 void OnLeaveState(Context &context) override;
40 void OnProgress(Context &context, const CooperateEvent &event) override;
41 void OnReset(Context &context, const CooperateEvent &event) override;
47 void OnDisable(Context &context, const CooperateEvent &event);
48 void OnStart(Context &context, const CooperateEvent &event);
49 void OnComeBack(Context &context, const CooperateEvent &event);
50 void OnRelay(Context &context, const CooperateEvent &event);
51 void OnStop(Context
[all...]
H A Dcooperate_out.h30 void OnEvent(Context &context, const CooperateEvent &event) override;
31 void OnEnterState(Context &context) override;
32 void OnLeaveState(Context &context) override;
40 void OnProgress(Context &context, const CooperateEvent &event) override;
41 void OnReset(Context &context, const CooperateEvent &event) override;
47 void OnDisable(Context &context, const CooperateEvent &event);
48 void OnStart(Context &context, const CooperateEvent &event);
49 void OnStop(Context &context, const CooperateEvent &event);
50 void OnComeBack(Context &context, const CooperateEvent &event);
51 void OnRemoteStart(Context
[all...]
H A Di_cooperate_state.h33 virtual void TransiteTo(Context &context, CooperateState state) = 0;
41 virtual void OnEvent(Context &context, const CooperateEvent &event) = 0;
42 virtual void OnEnterState(Context &context) = 0;
43 virtual void OnLeaveState(Context &context) = 0;
51 virtual void OnEvent(Context &context, const CooperateEvent &event);
52 virtual void OnProgress(Context &context, const CooperateEvent &event) = 0;
53 virtual void OnReset(Context &context, const CooperateEvent &event) = 0;
58 void AddHandler(CooperateEventType event, std::function<void(Context&, const CooperateEvent&)> handler) in AddHandler()
63 void TransiteTo(Context &context, CooperateState state);
65 void Proceed(Context
[all...]
H A Dcooperate_free.h33 void OnEvent(Context &context, const CooperateEvent &event) override;
34 void OnEnterState(Context &context) override;
35 void OnLeaveState(Context &context) override;
47 void OnProgress(Context &context, const CooperateEvent &event) override;
48 void OnReset(Context &context, const CooperateEvent &event) override;
54 void OnStart(Context &context, const CooperateEvent &event);
55 void OnStop(Context &context, const CooperateEvent &event);
56 void OnAppClosed(Context &context, const CooperateEvent &event);
57 void OnRemoteStart(Context &context, const CooperateEvent &event);
58 void OnPointerEvent(Context
[all...]
/foundation/communication/wifi/wifi/base/cRPC/include/
H A Dserial.h29 * @param context - Communication Context
33 int WriteBegin(Context *context, int type);
38 * @param context - Communication Context
42 int WriteFunc(Context *context, const char *funcName);
47 * @param context - Communication Context
51 int WriteInt(Context *context, int i);
56 * @param context - Communication Context
60 int WriteLong(Context *context, long L);
65 * @param context - Communication Context
69 int WriteInt64(Context *contex
[all...]
H A Dcontext.h26 typedef struct Context Context; typedef
27 struct Context { struct
45 * @Description Create a Context object
47 * @param capacity - Context buffer size
48 * @return Context* - context pointer or NULL if failed
50 Context *CreateContext(int capacity);
53 * @Description Release Context
55 * @param context - Context object's pointer
57 void ReleaseContext(Context *contex
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/mock/src/
H A Djs_ability.cpp30 Context::Context() in Context() function in OHOS::AppDataMgrJsKit::Context
51 Context::Context(std::shared_ptr<AbilityRuntime::Platform::Context> stageContext) in Context() function in OHOS::AppDataMgrJsKit::Context
59 std::string Context::GetDatabaseDir() in GetDatabaseDir()
64 std::string Context::GetBundleName() in GetBundleName()
69 std::string Context::GetModuleName() in GetModuleName()
74 int32_t Context::GetArea() const in GetArea()
79 std::string Context
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
H A Djs_ability.cpp28 Context::Context(std::shared_ptr<AbilityRuntime::Context> stageContext) in Context() function in OHOS::AppDataMgrJsKit::Context
43 auto extensionContext = AbilityRuntime::Context::ConvertTo<AbilityRuntime::ExtensionContext>(stageContext); in Context()
61 Context::Context(std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext) in Context() function in OHOS::AppDataMgrJsKit::Context
72 std::string Context::GetDatabaseDir() in GetDatabaseDir()
77 int Context::GetSystemDatabaseDir(const std::string &dataGroupId, std::string &databaseDir) in GetSystemDatabaseDir()
82 std::string Context::GetBundleName() in GetBundleName()
87 std::string Context
[all...]
/foundation/communication/netstack/utils/napi_utils/include/
H A Dbase_async_work.h35 template <class Context, bool (*Executor)(Context *)> static void ExecAsyncWork(napi_env env, void *data) in ExecAsyncWork()
37 static_assert(std::is_base_of<BaseContext, Context>::value); in ExecAsyncWork()
41 auto context = reinterpret_cast<Context *>(data); in ExecAsyncWork()
55 template <class Context, napi_value (*Callback)(Context *)>
58 static_assert(std::is_base_of<BaseContext, Context>::value); in AsyncWorkCallback()
80 auto deleter = [](Context *context) { in AsyncWorkCallback()
85 std::unique_ptr<Context, decltype(deleter)> context(static_cast<Context *>(dat in AsyncWorkCallback()
[all...]
/foundation/communication/netmanager_base/utils/napi_utils/include/
H A Dbase_async_work.h39 template <class Context, bool (*Executor)(Context *)> static void ExecAsyncWork(napi_env env, void *data) in ExecAsyncWork()
41 static_assert(std::is_base_of<BaseContext, Context>::value); in ExecAsyncWork()
45 auto context = reinterpret_cast<Context *>(data); in ExecAsyncWork()
54 template <class Context, napi_value (*Callback)(Context *)>
57 static_assert(std::is_base_of<BaseContext, Context>::value); in AsyncWorkCallback()
74 auto deleter = [](Context *context) { delete context; }; in AsyncWorkCallback()
75 std::unique_ptr<Context, decltype(deleter)> context(static_cast<Context *>(dat in AsyncWorkCallback()
[all...]
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/
H A Djs_ability.cpp23 Context::Context(std::shared_ptr<AbilityRuntime::Context> stageContext) in Context() function in OHOS::ObjectStore::Context
29 Context::Context(std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext) in Context() function in OHOS::ObjectStore::Context
35 std::string Context::GetBundleName() in GetBundleName()
40 std::shared_ptr<Context> JSAbility::GetContext(napi_env env, napi_value value) in GetContext()
51 return std::make_shared<Context>(stageContext); in GetContext()
65 return std::make_shared<Context>(abilityContext); in GetContext()
/foundation/multimedia/player_framework/interfaces/inner_api/native/system_sound_manager/include/
H A Dsystem_sound_manager.h58 * @param context Indicates the Context object on OHOS.
63 virtual std::shared_ptr<RingtonePlayer> GetRingtonePlayer(const std::shared_ptr<AbilityRuntime::Context> &context,
69 * @param context Indicates the Context object on OHOS.
76 virtual int32_t SetRingtoneUri(const std::shared_ptr<AbilityRuntime::Context> &context, const std::string &uri,
82 * @param context Indicates the Context object on OHOS.
87 virtual std::string GetRingtoneUri(const std::shared_ptr<AbilityRuntime::Context> &context,
93 * @param context Indicates the Context object on OHOS.
99 const std::shared_ptr<AbilityRuntime::Context> &context, SystemToneType systemToneType) = 0;
104 * @param context Indicates the Context object on OHOS.
111 virtual int32_t SetSystemToneUri(const std::shared_ptr<AbilityRuntime::Context>
[all...]
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dstate_machine.cpp72 AddHandler(CooperateEventType::ADD_OBSERVER, [this](Context &context, const CooperateEvent &event) { in StateMachine()
75 AddHandler(CooperateEventType::REMOVE_OBSERVER, [this](Context &context, const CooperateEvent &event) { in StateMachine()
78 AddHandler(CooperateEventType::REGISTER_LISTENER, [this](Context &context, const CooperateEvent &event) { in StateMachine()
81 AddHandler(CooperateEventType::UNREGISTER_LISTENER, [this](Context &context, const CooperateEvent &event) { in StateMachine()
84 AddHandler(CooperateEventType::REGISTER_HOTAREA_LISTENER, [this](Context &context, const CooperateEvent &event) { in StateMachine()
88 [this](Context &context, const CooperateEvent &event) { in StateMachine()
91 AddHandler(CooperateEventType::ENABLE, [this](Context &context, const CooperateEvent &event) { in StateMachine()
94 AddHandler(CooperateEventType::DISABLE, [this](Context &context, const CooperateEvent &event) { in StateMachine()
97 AddHandler(CooperateEventType::START, [this](Context &context, const CooperateEvent &event) { in StateMachine()
100 AddHandler(CooperateEventType::GET_COOPERATE_STATE, [this](Context in StateMachine()
[all...]
H A Dcooperate_context.cpp117 Context::Context(IContext *env) in Context() function in OHOS::Msdp::DeviceStatus::Cooperate::Context
122 void Context::AttachSender(Channel<CooperateEvent>::Sender sender) in AttachSender()
128 void Context::AddObserver(std::shared_ptr<ICooperateObserver> observer) in AddObserver()
134 void Context::RemoveObserver(std::shared_ptr<ICooperateObserver> observer) in RemoveObserver()
139 void Context::Enable() in Enable()
148 void Context::Disable() in Disable()
157 int32_t Context::StartEventHandler() in StartEventHandler()
165 void Context::StopEventHandler() in StopEventHandler()
170 int32_t Context
[all...]
/foundation/arkui/ace_engine/adapter/preview/external/ability/
H A Dcontext.h26 class Context : public AceType { class
27 DECLARE_ACE_TYPE(Context, AceType);
30 Context() = default;
31 ~Context() override = default;
33 static RefPtr<Context> CreateContext(bool isStage, const std::string& rootDir);
34 ACE_DISALLOW_COPY_AND_MOVE(Context);

Completed in 7 milliseconds

12345678910>>...20