/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_profile_manager.cpp | 91 sptr<IRemoteObject> BluetoothProfileManager::GetProfileRemote(const std::string &objectName) in GetProfileRemote() argument 95 if (profileRemoteMap_.Find(objectName, remote)) { in GetProfileRemote() 103 if (objectName == BLUETOOTH_HOST) { in GetProfileRemote() 108 if (objectName == BLE_ADVERTISER_SERVER || objectName == BLE_CENTRAL_MANAGER_SERVER) { in GetProfileRemote() 109 remote = hostProxy->GetBleRemote(objectName); in GetProfileRemote() 111 remote = hostProxy->GetProfile(objectName); in GetProfileRemote() 118 profileRemoteMap_.Insert(objectName, remote); in GetProfileRemote() 137 auto remote = GetProfileRemote(property.objectName); in NotifyBluetoothStateChange() 148 auto remote = GetProfileRemote(property.objectName); in RunFuncWhenBluetoothServiceStarted() 210 RegisterFunc(const std::string &objectName, std::function<void (sptr<IRemoteObject>)> func) RegisterFunc() argument 228 RegisterFunc(const std::string &objectName, ProfileFunctions profileFunctions) RegisterFunc() argument [all...] |
/foundation/communication/bluetooth/frameworks/inner/include/ |
H A D | bluetooth_profile_manager.h | 44 std::string objectName = ""; member 53 * @param objectName the objectName of profile 57 sptr<IRemoteObject> GetProfileRemote(const std::string &objectName); 61 * @param objectName the objectName of profile 66 int32_t RegisterFunc(const std::string &objectName, std::function<void (sptr<IRemoteObject>)> func); 70 * @param objectName the objectName of profile 75 int32_t RegisterFunc(const std::string &objectName, ProfileFunction 117 GetRemoteProxy(const std::string &objectName) GetRemoteProxy() argument [all...] |
/foundation/ability/ability_base/interfaces/inner_api/base/src/ |
H A D | user_object_wrapper.cpp | 107 void UserObjectBaseLoader::RegisterUserObject(const std::string &objectName, const CreateUserObjectBase &createFun) in RegisterUserObject() argument 109 registerClassList_.emplace(objectName, createFun); in RegisterUserObject()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/ |
H A D | camera_napi.cpp | 228 const std::string objectName, in CreateObjectWithMap() 232 MEDIA_DEBUG_LOG("Create %{public}s is called", objectName.c_str()); in CreateObjectWithMap() 243 MEDIA_ERR_LOG("Failed to add %{public}s property!", objectName.c_str()); in CreateObjectWithMap() 255 MEDIA_ERR_LOG("Create %{public}s call Failed!", objectName.c_str()); in CreateObjectWithMap() 227 CreateObjectWithMap(napi_env env, const std::string objectName, const std::unordered_map<std::string, int32_t>& inputMap, napi_ref& outputRef) CreateObjectWithMap() argument
|
/foundation/arkui/ui_lite/tools/qt/simulator/uitest/ |
H A D | ui_mainwidget.h | 22 if (MainWidget->objectName().isEmpty()) in setupUi()
|
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/ |
H A D | js_distributedobject.cpp | 313 const char *objectName = "SaveResult";
in GetSaveResultCons() local 329 status = napi_define_class(env, objectName, strlen(objectName), JSDistributedObject::JSConstructor, nullptr,
in GetSaveResultCons() 337 const char *objectName = "RevokeSaveResult";
in GetRevokeSaveResultCons() local 347 status = napi_define_class(env, objectName, strlen(objectName), JSDistributedObject::JSConstructor, nullptr,
in GetRevokeSaveResultCons()
|
/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | web_property.h | 671 const std::string& objectName, in AddJavascriptInterface() 675 addJavascriptInterfaceImpl_(objectName, methodList); in AddJavascriptInterface() 684 void RemoveJavascriptInterface(std::string objectName, const std::vector<std::string>& methodList) in RemoveJavascriptInterface() argument 687 removeJavascriptInterfaceImpl_(objectName, methodList); in RemoveJavascriptInterface() 696 const std::string& objectName, 670 AddJavascriptInterface( const std::string& objectName, const std::vector<std::string>& methodList) AddJavascriptInterface() argument
|
/foundation/ability/ability_base/interfaces/inner_api/base/include/ |
H A D | user_object_base.h | 95 * @param objectName The name of the custom class. 98 void RegisterUserObject(const std::string &objectName, const CreateUserObjectBase &createFun);
|
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_javascript_result_callback.h | 55 const std::string& objectName,
|
H A D | web_delegate.cpp | 1205 void WebDelegate::AddJavascriptInterface(const std::string& objectName, const std::vector<std::string>& methodList) in AddJavascriptInterface() argument 1212 [weak = WeakClaim(this), objectName, methodList]() { in AddJavascriptInterface() 1224 objectName, methodList, asyncMethodList, in AddJavascriptInterface() 1231 void WebDelegate::RemoveJavascriptInterface(const std::string& objectName, const std::vector<std::string>& methodList) in RemoveJavascriptInterface() argument 1238 [weak = WeakClaim(this), objectName, methodList]() { in RemoveJavascriptInterface() 1244 delegate->nweb_->UnregisterArkJSfunction(objectName, methodList); in RemoveJavascriptInterface() 2370 webController->SetAddJavascriptInterfaceImpl([weak = WeakClaim(this), uiTaskExecutor](std::string objectName, in SetWebCallBack() 2372 uiTaskExecutor.PostTask([weak, objectName, methodList]() { in SetWebCallBack() 2375 delegate->AddJavascriptInterface(objectName, methodList); in SetWebCallBack() 2380 webController->SetRemoveJavascriptInterfaceImpl([weak = WeakClaim(this), uiTaskExecutor](std::string objectName, in SetWebCallBack() [all...] |
H A D | web_delegate.h | 1109 void AddJavascriptInterface(const std::string& objectName, const std::vector<std::string>& methodList); 1110 void RemoveJavascriptInterface(const std::string& objectName, const std::vector<std::string>& methodList);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_web_controller.h | 89 const std::string& objectName,
|
H A D | js_web_controller.cpp | 278 std::shared_ptr<WebJSValue> JSWebController::GetJavaScriptResult(const std::string& objectName, in GetJavaScriptResult() argument 283 auto iter = objectorMap_.find(objectName); in GetJavaScriptResult() 937 WebController::JavaScriptCallBackImpl callback = [weak = WeakClaim(this)](const std::string& objectName, in SetJavascriptCallBackImpl() 944 return jsWebController->GetJavaScriptResult(objectName, objectMethod, args); in SetJavascriptCallBackImpl()
|
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/input/ |
H A D | camera_napi.h | 410 const std::string objectName,
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/ |
H A D | mock_web_delegate.cpp | 461 void WebDelegate::AddJavascriptInterface(const std::string& objectName, const std::vector<std::string>& methodList) {} in AddJavascriptInterface() argument 462 void WebDelegate::RemoveJavascriptInterface(const std::string& objectName, const std::vector<std::string>& methodList) in RemoveJavascriptInterface() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsXNode.js | 181 const objectName = `[object Object]`; 182 if (typeName === objectName) {
|