Home
last modified time | relevance | path

Searched refs:HasKey (Results 1 – 25 of 54) sorted by relevance

123

/ohos5.0/foundation/window/window_manager/utils/test/unittest/
H A Dpersistent_storage_test.cpp54 HWTEST_F(PersistentStorageTest, HasKey, Function | SmallTest | Level3)
57 auto result = PersistentStorage::HasKey(keyName, PersistentStorageType::UKNOWN);
60 auto result2 = PersistentStorage::HasKey(keyName, PersistentStorageType::ASPECT_RATIO);
76 auto result0 = PersistentStorage::HasKey(keyName, PersistentStorageType::UKNOWN);
87 auto result = PersistentStorage::HasKey(keyName, PersistentStorageType::ASPECT_RATIO);
91 auto result2 = PersistentStorage::HasKey(keyName, PersistentStorageType::ASPECT_RATIO);
98 auto result3 = PersistentStorage::HasKey(keyName, PersistentStorageType::MAXIMIZE_STATE);
102 auto result4 = PersistentStorage::HasKey(keyName, PersistentStorageType::MAXIMIZE_STATE);
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_persistent_storage_test.cpp54 HWTEST_F(ScenePersistentStorageTest, HasKey, Function | SmallTest | Level1)
59 bool result01 = scenePersistentStorage_.HasKey(key, storageType);
62 bool result02 = scenePersistentStorage_.HasKey(key, storageType);
79 ASSERT_FALSE(scenePersistentStorage_.HasKey(key, ScenePersistentStorageType::UKNOWN));
92 …ASSERT_FALSE(scenePersistentStorage_.HasKey("maximize_state", ScenePersistentStorageType::MAXIMIZE…
/ohos5.0/base/msdp/device_status/tools/vdev/src/
H A Dv_input_device.cpp293 if (HasKey(BTN_STYLUS) || HasKey(BTN_TOOL_PEN)) { in CheckAbs()
295 … } else if (HasKey(BTN_TOOL_FINGER) && !HasKey(BTN_TOOL_PEN) && !HasProperty(INPUT_PROP_DIRECT)) { in CheckAbs()
299 } else if (HasKey(BTN_TOUCH) || HasProperty(INPUT_PROP_DIRECT)) { in CheckAbs()
308 if (HasKey(BTN_STYLUS) || HasKey(BTN_TOOL_PEN)) { in CheckMt()
310 … } else if (HasKey(BTN_TOOL_FINGER) && !HasKey(BTN_TOOL_PEN) && !HasProperty(INPUT_PROP_DIRECT)) { in CheckMt()
312 } else if (HasKey(BTN_TOUCH) || HasProperty(INPUT_PROP_DIRECT)) { in CheckMt()
/ohos5.0/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 : … 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… in HandleKeyEvent()
129 …(keyEvent.HasKey(KeyCode::KEY_SHIFT_LEFT) || keyEvent.HasKey(KeyCode::KEY_SHIFT_RIGHT) ? KEY_SHIFT… in HandleKeyEvent()
130 …(keyEvent.HasKey(KeyCode::KEY_CTRL_LEFT) || keyEvent.HasKey(KeyCode::KEY_CTRL_RIGHT) ? KEY_CTRL : … in HandleKeyEvent()
131 …(keyEvent.HasKey(KeyCode::KEY_META_LEFT) || keyEvent.HasKey(KeyCode::KEY_META_RIGHT) ? KEY_META : … in HandleKeyEvent()
/ohos5.0/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_TOUCH) || HasProperty(INPUT_PROP_DIRECT)) { in CheckMt()
/ohos5.0/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_TOUCH) || HasProperty(INPUT_PROP_DIRECT)) { in CheckMt()
/ohos5.0/base/msdp/device_status/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_TOUCH) || HasProperty(INPUT_PROP_DIRECT)) { in CheckMt()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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
/ohos5.0/base/msdp/device_status/tools/vdev/include/
H A Dv_input_device.h98 bool HasKey(size_t key) const;
247 inline bool VInputDevice::HasKey(size_t key) const in HasKey() function
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dpersistent_storage.h39 static bool HasKey(const std::string& key, PersistentStorageType storageType);
/ohos5.0/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
/ohos5.0/base/msdp/device_status/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
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_enhance_impl.h47 bool HasKey(const std::string &key) override;
H A Dpreferences_impl.h47 bool HasKey(const std::string &key) override;
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_preferences.h46 bool HasKey(const std::string &key) override;
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_persistent_storage.h94 static bool HasKey(const std::string& key, ScenePersistentStorageType storageType);
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_preferences.h69 bool HasKey(const std::string& key) override in HasKey() function
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/include/
H A Dnapi_storage.h49 static napi_value HasKey(napi_env env, napi_callback_info info);
/ohos5.0/foundation/filemanagement/dfs_service/test/mock/
H A Dpreference_helper_mock.cpp34 MOCK_METHOD1(HasKey, bool(const std::string &key));
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/
H A Dnapi_preferences.cpp83 DECLARE_NAPI_FUNCTION_WITH_DATA("has", HasKey, ASYNC), in Init()
84 DECLARE_NAPI_FUNCTION_WITH_DATA("hasSync", HasKey, SYNC), in Init()
309 napi_value PreferencesProxy::HasKey(napi_env env, napi_callback_info info) in HasKey() function in OHOS::Sendable::JSPreferences::PreferencesProxy
325 context->hasKey = instance->HasKey(context->key); in HasKey()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/cj/src/
H A Dpreferences_impl.h52 bool HasKey(const std::string &key);
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/include/
H A Dnapi_preferences.h56 static napi_value HasKey(napi_env env, napi_callback_info info);
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp211 bool ret = pref->HasKey(LONG_KEY + 'x');
214 ret = pref->HasKey(std::string());
218 ret = pref->HasKey(KEY_TEST_STRING_ELEMENT);
222 ret = pref->HasKey(KEY_TEST_STRING_ELEMENT);

123