Home
last modified time | relevance | path

Searched refs:HasKey (Results 1 - 25 of 48) sorted by relevance

12

/foundation/window/window_manager/utils/test/unittest/
H A Dpersistent_storage_test.cpp50 * @tc.name: HasKey
51 * @tc.desc: HasKey test
54 HWTEST_F(PersistentStorageTest, HasKey, Function | SmallTest | Level3) in HWTEST_F()
57 auto result = PersistentStorage::HasKey(keyName, PersistentStorageType::UKNOWN); in HWTEST_F()
60 auto result2 = PersistentStorage::HasKey(keyName, PersistentStorageType::ASPECT_RATIO); in HWTEST_F()
76 auto result0 = PersistentStorage::HasKey(keyName, PersistentStorageType::UKNOWN); in HWTEST_F()
87 auto result = PersistentStorage::HasKey(keyName, PersistentStorageType::ASPECT_RATIO); in HWTEST_F()
91 auto result2 = PersistentStorage::HasKey(keyName, PersistentStorageType::ASPECT_RATIO); in HWTEST_F()
98 auto result3 = PersistentStorage::HasKey(keyName, PersistentStorageType::MAXIMIZE_STATE); in HWTEST_F()
102 auto result4 = PersistentStorage::HasKey(keyNam in HWTEST_F()
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_persistent_storage_test.cpp50 * @tc.name: HasKey
51 * @tc.desc: test function : HasKey
54 HWTEST_F(ScenePersistentStorageTest, HasKey, Function | SmallTest | Level1) in HWTEST_F()
59 bool result01 = scenePersistentStorage_.HasKey(key, storageType); in HWTEST_F()
62 bool result02 = scenePersistentStorage_.HasKey(key, storageType); in HWTEST_F()
79 ASSERT_FALSE(scenePersistentStorage_.HasKey(key, ScenePersistentStorageType::UKNOWN)); in HWTEST_F()
92 ASSERT_FALSE(scenePersistentStorage_.HasKey("maximize_state", ScenePersistentStorageType::MAXIMIZE_STATE)); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_input_client.cpp121 (keyEvent.HasKey(KeyCode::KEY_CTRL_LEFT) || keyEvent.HasKey(KeyCode::KEY_CTRL_RIGHT) ? KEY_CTRL : KEY_NULL); in HandleKeyEvent()
122 bool vFlag = keyEvent.HasKey(KeyCode::KEY_V); in HandleKeyEvent()
128 (keyEvent.HasKey(KeyCode::KEY_ALT_LEFT) || keyEvent.HasKey(KeyCode::KEY_ALT_RIGHT) ? KEY_ALT : KEY_NULL) | in HandleKeyEvent()
129 (keyEvent.HasKey(KeyCode::KEY_SHIFT_LEFT) || keyEvent.HasKey(KeyCode::KEY_SHIFT_RIGHT) ? KEY_SHIFT : KEY_NULL) | in HandleKeyEvent()
130 (keyEvent.HasKey(KeyCode::KEY_CTRL_LEFT) || keyEvent.HasKey(KeyCode::KEY_CTRL_RIGHT) ? KEY_CTRL : KEY_NULL) | in HandleKeyEvent()
131 (keyEvent.HasKey(KeyCod in HandleKeyEvent()
[all...]
/foundation/multimodalinput/input/test/facility/virtual_device/src/
H A Dv_input_device.cpp272 if (HasKey(BTN_STYLUS) || HasKey(BTN_TOOL_PEN)) { in CheckAbs()
274 } else if (HasKey(BTN_TOOL_FINGER) && !HasKey(BTN_TOOL_PEN) && !HasProperty(INPUT_PROP_DIRECT)) { in CheckAbs()
278 } else if (HasKey(BTN_TOUCH) || HasProperty(INPUT_PROP_DIRECT)) { in CheckAbs()
287 if (HasKey(BTN_STYLUS) || HasKey(BTN_TOOL_PEN)) { in CheckMt()
289 } else if (HasKey(BTN_TOOL_FINGER) && !HasKey(BTN_TOOL_PEN) && !HasProperty(INPUT_PROP_DIRECT)) { in CheckMt()
291 } else if (HasKey(BTN_TOUC in CheckMt()
[all...]
/foundation/multimodalinput/input/intention/services/device_manager/src/
H A Ddevice.cpp281 if (HasKey(BTN_STYLUS) || HasKey(BTN_TOOL_PEN)) { in CheckAbs()
283 } else if (HasKey(BTN_TOOL_FINGER) && !HasKey(BTN_TOOL_PEN) && !HasProperty(INPUT_PROP_DIRECT)) { in CheckAbs()
287 } else if (HasKey(BTN_TOUCH) || HasProperty(INPUT_PROP_DIRECT)) { in CheckAbs()
305 if (HasKey(BTN_STYLUS) || HasKey(BTN_TOOL_PEN)) { in CheckMt()
307 } else if (HasKey(BTN_TOOL_FINGER) && !HasKey(BTN_TOOL_PEN) && !HasProperty(INPUT_PROP_DIRECT)) { in CheckMt()
309 } else if (HasKey(BTN_TOUC in CheckMt()
[all...]
/foundation/CastEngine/castengine_wifi_display/tests/demo/configure/
H A Dsharing_configure_demo.cpp84 bool bret1 = values->HasKey("http"); in main()
86 bool bret3 = values->HasKey("http1"); in main()
92 SHARING_LOGD("hasKey: %{public}d,IsTag: %{public}d,HasKey: %{public}d,IsTag: %{public}d,size: %{public}d!", in main()
129 bool bret1 = values->HasKey("", "http"); in main()
131 bool bret3 = values->HasKey("", "http1"); in main()
136 "HasKey: %{public}d,HasTag: %{public}d,HasKey: %{public}d,HasTag: %{public}d,IsModule: %{public}d,IsModule=" in main()
201 bool bret1 = datas->HasKey("http"); in main()
203 bool bret3 = datas->HasKey("http1"); in main()
208 "hasKey: %{public}d,HasTag: %{public}d,HasKey in main()
[all...]
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_persistent_storage.cpp26 bool ScenePersistentStorage::HasKey(const std::string& key, ScenePersistentStorageType storageType) in HasKey() function in OHOS::Rosen::ScenePersistentStorage
34 res = pref->HasKey(key); in HasKey()
/foundation/window/window_manager/utils/src/
H A Dpersistent_storage.cpp34 bool PersistentStorage::HasKey(const std::string& key, PersistentStorageType storageType) in HasKey() function in OHOS::Rosen::PersistentStorage
42 res = pref->HasKey(key); in HasKey()
/foundation/CastEngine/castengine_wifi_display/services/configuration/include/
H A Dsharing_data.h94 bool HasKey(const std::string &key);
125 bool HasKey(const std::string &tag, const std::string &key);
156 bool HasKey(const std::string &key, const std::string &module, const std::string &tag);
/foundation/window/window_manager/utils/include/
H A Dpersistent_storage.h39 static bool HasKey(const std::string& key, PersistentStorageType storageType);
/foundation/CastEngine/castengine_wifi_display/services/configuration/src/
H A Dsharing_data.cpp124 bool SharingDataGroupByTag::HasKey(const std::string &key) in HasKey() function in OHOS::Sharing::SharingDataGroupByTag
242 bool SharingDataGroupByModule::HasKey(const std::string &tag, const std::string &key) in HasKey() function in OHOS::Sharing::SharingDataGroupByModule
250 return iter->second->HasKey(key); in HasKey()
380 bool SharingData::HasKey(const std::string &key, const std::string &module, const std::string &tag) in HasKey() function in OHOS::Sharing::SharingData
388 return iter->second->HasKey(tag, key); in HasKey()
/foundation/multimodalinput/input/test/facility/virtual_device/include/
H A Dv_input_device.h97 bool HasKey(size_t key) const;
246 inline bool VInputDevice::HasKey(size_t key) const in HasKey() function in OHOS::MMI::VInputDevice
/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_preferences.h46 bool HasKey(const std::string &key) override;
/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_impl.h47 bool HasKey(const std::string &key) override;
H A Dpreferences_enhance_impl.h47 bool HasKey(const std::string &key) override;
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/include/
H A Dnapi_storage.h49 static napi_value HasKey(napi_env env, napi_callback_info info);
/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_persistent_storage.h94 static bool HasKey(const std::string& key, ScenePersistentStorageType storageType);
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_preferences.h69 bool HasKey(const std::string& key) override
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_timed_collect_tool.cpp164 return ptr_->HasKey(key); in IsExist()
/foundation/distributeddatamgr/preferences/frameworks/cj/src/
H A Dpreferences_ffi.cpp112 return instance->HasKey(key); in FfiOHOSPreferencesHas()
H A Dpreferences_impl.h52 bool HasKey(const std::string &key);
/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/include/
H A Dnapi_preferences.h59 static napi_value HasKey(napi_env env, napi_callback_info info);
/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/include/
H A Dnapi_preferences.h56 static napi_value HasKey(napi_env env, napi_callback_info info);
/foundation/filemanagement/dfs_service/test/mock/
H A Dpreference_helper_mock.cpp34 MOCK_METHOD1(HasKey, bool(const std::string &key));
/foundation/multimodalinput/input/intention/services/device_manager/include/
H A Ddevice.h97 bool HasKey(size_t key) const;
300 inline bool Device::HasKey(size_t key) const in HasKey() function in OHOS::Msdp::DeviceStatus::Device

Completed in 9 milliseconds

12