/foundation/window/window_manager/utils/test/unittest/ |
H A D | persistent_storage_test.cpp | 50 * @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 D | scene_persistent_storage_test.cpp | 50 * @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 D | text_input_client.cpp | 121 (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 D | v_input_device.cpp | 272 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 D | device.cpp | 281 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 D | sharing_configure_demo.cpp | 84 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 D | scene_persistent_storage.cpp | 26 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 D | persistent_storage.cpp | 34 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 D | sharing_data.h | 94 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 D | persistent_storage.h | 39 static bool HasKey(const std::string& key, PersistentStorageType storageType);
|
/foundation/CastEngine/castengine_wifi_display/services/configuration/src/ |
H A D | sharing_data.cpp | 124 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 D | v_input_device.h | 97 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 D | mock_preferences.h | 46 bool HasKey(const std::string &key) override;
|
/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | preferences_impl.h | 47 bool HasKey(const std::string &key) override;
|
H A D | preferences_enhance_impl.h | 47 bool HasKey(const std::string &key) override;
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/include/ |
H A D | napi_storage.h | 49 static napi_value HasKey(napi_env env, napi_callback_info info);
|
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | scene_persistent_storage.h | 94 static bool HasKey(const std::string& key, ScenePersistentStorageType storageType);
|
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/ |
H A D | mock_preferences.h | 69 bool HasKey(const std::string& key) override
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
H A D | device_timed_collect_tool.cpp | 164 return ptr_->HasKey(key); in IsExist()
|
/foundation/distributeddatamgr/preferences/frameworks/cj/src/ |
H A D | preferences_ffi.cpp | 112 return instance->HasKey(key); in FfiOHOSPreferencesHas()
|
H A D | preferences_impl.h | 52 bool HasKey(const std::string &key);
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/include/ |
H A D | napi_preferences.h | 59 static napi_value HasKey(napi_env env, napi_callback_info info);
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/include/ |
H A D | napi_preferences.h | 56 static napi_value HasKey(napi_env env, napi_callback_info info);
|
/foundation/filemanagement/dfs_service/test/mock/ |
H A D | preference_helper_mock.cpp | 34 MOCK_METHOD1(HasKey, bool(const std::string &key));
|
/foundation/multimodalinput/input/intention/services/device_manager/include/ |
H A D | device.h | 97 bool HasKey(size_t key) const; 300 inline bool Device::HasKey(size_t key) const in HasKey() function in OHOS::Msdp::DeviceStatus::Device
|