Home
last modified time | relevance | path

Searched refs:functions (Results 1 - 18 of 18) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_profile_manager.cpp127 if (property.functions.bluetoothTurnOffFunc) { in NotifyBluetoothStateChange()
128 property.functions.bluetoothTurnOffFunc(); in NotifyBluetoothStateChange()
136 if (property.functions.bleTurnOnFunc) { in NotifyBluetoothStateChange()
138 property.functions.bleTurnOnFunc(remote); in NotifyBluetoothStateChange()
149 if (property.functions.bluetoothLoadedfunc) { in RunFuncWhenBluetoothServiceStarted()
150 property.functions.bluetoothLoadedfunc(remote); in RunFuncWhenBluetoothServiceStarted()
217 idProperties.functions.bluetoothLoadedfunc = func; in RegisterFunc()
234 idProperties.functions = profileFunctions; in RegisterFunc()
/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_key_parser.cpp82 static parse_key_function functions[] = { in Parse() local
91 const int32_t FUNC_LEN = static_cast<int32_t>(sizeof(functions) / sizeof(functions[0])); in Parse()
93 if (!ParseMatch(keyParts, keyParams, functions, FUNC_LEN, styleRes)) { in Parse()
108 static parse_key_function functions[] = { in DeclarativeParse() local
117 const int32_t FUNC_LEN = static_cast<int32_t>(sizeof(functions) / sizeof(functions[0])); in DeclarativeParse()
119 if (!ParseMatch(reskeyParts, keyParams, functions, FUNC_LEN, true)) { in DeclarativeParse()
129 parse_key_function functions[], int32_t funcLen, bool styleRes) const in ParseMatch()
141 if (functions[ in ParseMatch()
128 ParseMatch(const std::vector<std::string>& keys, std::vector<KeyParam>& keyParams, parse_key_function functions[], int32_t funcLen, bool styleRes) const ParseMatch() argument
[all...]
H A Dace_res_key_parser.h54 parse_key_function functions[], int32_t funcLen, bool styleRes) const;
/foundation/communication/netstack/frameworks/js/napi/tls/src/
H A Dtlssocketserver_module.cpp205 std::initializer_list<napi_property_descriptor> functions = {
215 ModuleTemplate::DefineClass(env, exports, functions, INTERFACE_TLS_SOCKET_SERVER);
232 std::initializer_list<napi_property_descriptor> functions = {
246 ModuleTemplate::DefineClass(env, exports, functions, INTERFACE_TLS_SOCKET_SERVER_CONNECTION);
H A Dtlssocket_module.cpp151 std::initializer_list<napi_property_descriptor> functions = { in DefineTLSSocketClass() local
168 ModuleTemplate::DefineClass(env, exports, functions, INTERFACE_TLS_SOCKET); in DefineTLSSocketClass()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dmetadata_helpers.h92 * @brief Helper to construct/add meta functions to newly created object using the static metadata.
97 for (auto&& pm : sm.functions) { in ConstructFunctionsFromMetadata()
142 StaticObjectMeta().functions.push_back(META_NS::FunctionMetadata { name, intf, ctor, context }); \
H A Dobject.h242 StaticObjectMeta().functions.push_back(FunctionMetadata { name, intf, ctor, context }); in RegisterStaticFunctionMetadata()
/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/
H A Dmdns_module.cpp133 std::initializer_list<napi_property_descriptor> functions = { in InitMDnsModule() local
138 NapiUtils::DefineProperties(env, exports, functions); in InitMDnsModule()
/foundation/communication/bluetooth/frameworks/inner/include/
H A Dbluetooth_profile_manager.h43 ProfileFunctions functions; member
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dstatic_object_metadata.h88 BASE_NS::vector<FunctionMetadata> functions; member
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/ability/
H A Dcamera_ability_napi.h46 static napi_value CreateCameraFunctions(napi_env env, sptr<CameraAbility> functions, FunctionsType type);
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_store_config.cpp427 void RdbStoreConfig::SetScalarFunctions(const std::map<std::string, ScalarFunctionInfo> functions) in SetScalarFunctions() argument
429 customScalarFunctions = functions; in SetScalarFunctions()
/foundation/graphic/graphic_3d/lume/metaobject/test/src/interface/
H A DIntfMetadataTest.cpp205 auto f = GetMeta(sm.functions, "NormalMember"); in HWTEST_F()
/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_module/src/
H A Dconnection_module.cpp171 std::initializer_list<napi_property_descriptor> functions = { in InitConnectionModule() local
203 NapiUtils::DefineProperties(env, exports, functions); in InitConnectionModule()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/
H A Drdb_store_config.h251 void SetScalarFunctions(const std::map<std::string, ScalarFunctionInfo> functions);
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ability/
H A Dcamera_ability_napi.cpp176 napi_value CameraFunctionsNapi::CreateCameraFunctions(napi_env env, sptr<CameraAbility> functions, FunctionsType type) in CreateCameraFunctions() argument
201 sCameraAbility_ = functions; in CreateCameraFunctions()
207 MEDIA_ERR_LOG("Failed to create camera functions instance"); in CreateCameraFunctions()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_store_config.h531 * @brief Obtains the registered scalar functions in this {@code StoreConfig} object.
670 void SetScalarFunctions(const std::map<std::string, ScalarFunctionInfo> functions);
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/
H A Dcamera_session_napi.cpp3481 napi_value functions = nullptr; in CreateFunctionsJSArray() local
3496 functions = CameraFunctionsNapi::CreateCameraFunctions(env, functionsList[i], type); in CreateFunctionsJSArray()
3497 if ((functions == nullptr) || napi_set_element(env, functionsArray, j++, functions) != napi_ok) { in CreateFunctionsJSArray()
3498 MEDIA_ERR_LOG("failed to create functions object napi wrapper object"); in CreateFunctionsJSArray()
3502 MEDIA_INFO_LOG("create functions count = %{public}zu", j); in CreateFunctionsJSArray()

Completed in 25 milliseconds