Searched refs:cbType (Results 1 – 4 of 4) sorted by relevance
/foundation/windowmanager/interfaces/kits/napi/display/ |
D | js_display_manager.cpp | 241 std::string cbType; in OnRegisterDisplayManagerCallback() local 242 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnRegisterDisplayManagerCallback() 256 RegisterDisplayListenerWithType(engine, cbType, value); in OnRegisterDisplayManagerCallback() 267 std::string cbType; in OnUnregisterDisplayManagerCallback() local 268 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnUnregisterDisplayManagerCallback() 274 UnregisterAllDisplayListenerWithType(cbType); in OnUnregisterDisplayManagerCallback() 285 UnRegisterDisplayListenerWithType(cbType, value); in OnUnregisterDisplayManagerCallback()
|
/foundation/windowmanager/interfaces/kits/napi/display_runtime/napi/ |
D | js_screen_manager.cpp | 211 std::string cbType; in OnRegisterScreenMangerCallback() local 212 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnRegisterScreenMangerCallback() 226 RegisterScreenListenerWithType(engine, cbType, value); in OnRegisterScreenMangerCallback() 237 std::string cbType; in OnUnregisterScreenManagerCallback() local 238 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnUnregisterScreenManagerCallback() 244 UnregisterAllScreenListenerWithType(cbType); in OnUnregisterScreenManagerCallback() 255 UnRegisterScreenListenerWithType(cbType, value); in OnUnregisterScreenManagerCallback()
|
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_manager_napi/ |
D | js_window_manager.cpp | 359 std::string cbType; in OnRegisterWindowMangerCallback() local 360 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnRegisterWindowMangerCallback() 370 … registerManager_->RegisterListener(nullptr, cbType, CaseType::CASE_WINDOW_MANAGER, engine, value); in OnRegisterWindowMangerCallback() 382 std::string cbType; in OnUnregisterWindowManagerCallback() local 383 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnUnregisterWindowManagerCallback() 388 … registerManager_->UnregisterListener(nullptr, cbType, CaseType::CASE_WINDOW_MANAGER, nullptr); in OnUnregisterWindowManagerCallback() 395 registerManager_->UnregisterListener(nullptr, cbType, CaseType::CASE_WINDOW_MANAGER, value); in OnUnregisterWindowManagerCallback()
|
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/ |
D | js_window.cpp | 619 std::string cbType; in OnRegisterWindowCallback() local 620 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnRegisterWindowCallback() 629 registerManager_->RegisterListener(windowToken_, cbType, CaseType::CASE_WINDOW, engine, value); in OnRegisterWindowCallback() 640 std::string cbType; in OnUnregisterWindowCallback() local 641 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnUnregisterWindowCallback() 654 registerManager_->UnregisterListener(windowToken_, cbType, CaseType::CASE_WINDOW, value); in OnUnregisterWindowCallback() 657 windowToken_->GetWindowId(), windowToken_->GetWindowName().c_str(), cbType.c_str(), value); in OnUnregisterWindowCallback()
|