/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | generic_kvdb_connection.cpp | 78 std::list<int> eventTypes; in RegisterObserver() local 79 errCode = GetEventType(mode, eventTypes); in RegisterObserver() 102 for (const auto &type : eventTypes) { in RegisterObserver() 136 std::list<int> eventTypes; in UnRegisterObserver() local 137 int errCode = GetEventType(observerHandle->GetObserverMode(), eventTypes); in UnRegisterObserver() 152 for (auto type : eventTypes) { in UnRegisterObserver() 340 int GenericKvDBConnection::GetEventType(unsigned mode, std::list<int> &eventTypes) const 346 return TranslateObserverModeToEventTypes(mode, eventTypes);
|
H A D | generic_kvdb_connection.h | 55 virtual int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const = 0; 140 int GetEventType(unsigned mode, std::list<int> &eventTypes) const;
|
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/ |
H A D | accessibility_ability_info.h | 151 * @param eventTypes the event to set.
153 inline void SetEventTypes(uint32_t eventTypes)
in SetEventTypes() argument 155 eventTypes_ = eventTypes;
in SetEventTypes()
|
H A D | accessibility_utils.h | 102 void ConvertJSToEventTypes(napi_env env, napi_value arrayValue, uint32_t &eventTypes);
|
/foundation/barrierfree/accessibility/frameworks/common/test/mock/include/ |
H A D | mock_accessibility_ability_info.h | 142 * @param eventTypes the event to set. 144 inline void SetEventTypes(uint32_t eventTypes) in SetEventTypes() argument 146 eventTypes_ = eventTypes; in SetEventTypes()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_dumper.cpp | 156 void ConvertEventTypes(const uint32_t value, std::string &eventTypes) in ConvertEventTypes() argument 158 eventTypes = ""; in ConvertEventTypes() 192 eventTypes += itr->second; in ConvertEventTypes() 193 eventTypes += "/"; in ConvertEventTypes() 234 std::string eventTypes; in DumpAccessibilityClientInfo() local 235 ConvertEventTypes(accessibilityAbilityInfo.GetEventTypes(), eventTypes); in DumpAccessibilityClientInfo() 236 oss << " eventTypes: " << eventTypes << std::endl; in DumpAccessibilityClientInfo()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/include/ |
H A D | mock_accessibility_ability_info.h | 49 inline void SetEventTypes(uint32_t eventTypes) in SetEventTypes() argument
|
/foundation/barrierfree/accessibility/services/test/moduletest/mock/include/ |
H A D | mock_mt_accessibility_ability_info.h | 49 inline void SetEventTypes(uint32_t eventTypes) in SetEventTypes() argument
|
/foundation/barrierfree/accessibility/services/test/xts/inc/ |
H A D | mock_accessibility_ability_info.h | 49 inline void SetEventTypes(uint32_t eventTypes) in SetEventTypes() argument
|
/foundation/barrierfree/accessibility/interfaces/innerkits/test/fuzztest/accessibilitysystemabilityclient_fuzzer/ |
H A D | accessibilitysystemabilityclient_fuzzer.cpp | 257 uint32_t eventTypes = 0; in SubscribeStateObserverFuzzTest() local 258 position += GetObject<uint32_t>(eventTypes, &data[position], size - position); in SubscribeStateObserverFuzzTest() 260 instance->SubscribeStateObserver(observer, eventTypes); in SubscribeStateObserverFuzzTest() 262 GetObject<uint32_t>(eventTypes, &data[position], size - position); in SubscribeStateObserverFuzzTest() 263 instance->UnsubscribeStateObserver(observer, eventTypes); in SubscribeStateObserverFuzzTest()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/ |
H A D | sqlite_local_kvdb_connection.h | 83 int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const override;
|
H A D | sqlite_local_kvdb_connection.cpp | 357 std::list<int> &eventTypes) const in TranslateObserverModeToEventTypes()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_natural_store_connection.h | 91 int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const override;
|
H A D | multi_ver_natural_store_connection.cpp | 426 std::list<int> &eventTypes) const in TranslateObserverModeToEventTypes() 431 eventTypes.push_back(NATURAL_STORE_COMMIT_EVENT); in TranslateObserverModeToEventTypes()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_natural_store_connection.h | 74 int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const override;
|
H A D | rd_single_ver_natural_store_connection.cpp | 202 unsigned mode, std::list<int> &eventTypes) const in TranslateObserverModeToEventTypes() 207 eventTypes.push_back(static_cast<int>(SQLiteGeneralNSNotificationEventType::SQLITE_GENERAL_NS_PUT_EVENT)); in TranslateObserverModeToEventTypes()
|
/foundation/distributedhardware/distributed_input/inputdevicehandler/src/ |
H A D | distributed_input_handler.cpp | 70 tmpJson[EVENT_TYPES] = pBuf.eventTypes; in StructTransJson()
|
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/ |
H A D | virtual_device.cpp | 73 evt_type[UI_SET_EVBIT] = inputDevice.eventTypes; in CreateKey()
|
H A D | distributed_input_inject.cpp | 100 tmpJson[EVENT_TYPES] = pBuf.eventTypes; in StructTransJson()
|
H A D | distributed_input_node_manager.cpp | 128 pBuf.eventTypes = inputDeviceJson[EVENT_TYPES].get<std::vector<uint32_t>>(); in ParseInputDeviceEvents()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store_connection.cpp | 370 std::list<int> &eventTypes) const in TranslateObserverModeToEventTypes() 375 eventTypes.push_back(static_cast<int>(SQLiteGeneralNSNotificationEventType::SQLITE_GENERAL_NS_PUT_EVENT)); in TranslateObserverModeToEventTypes() 378 eventTypes.push_back(static_cast<int>(SQLiteGeneralNSNotificationEventType::SQLITE_GENERAL_NS_SYNC_EVENT)); in TranslateObserverModeToEventTypes() 382 eventTypes.push_back(static_cast<int>(SQLiteGeneralNSNotificationEventType::SQLITE_GENERAL_NS_PUT_EVENT)); in TranslateObserverModeToEventTypes() 383 eventTypes.push_back(static_cast<int>(SQLiteGeneralNSNotificationEventType::SQLITE_GENERAL_NS_SYNC_EVENT)); in TranslateObserverModeToEventTypes() 386 eventTypes.push_back( in TranslateObserverModeToEventTypes()
|
H A D | sqlite_single_ver_natural_store_connection.h | 77 int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const override;
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/ |
H A D | napi_accessibility_utils.cpp | 504 std::vector<std::string> eventTypes = ParseEventTypesToVec(eventTypesValue); in ConvertAccessibleAbilityInfoToJSPart2() local 505 for (size_t idxEve = 0; idxEve < eventTypes.size(); idxEve++) { in ConvertAccessibleAbilityInfoToJSPart2() 507 NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, eventTypes[idxEve].c_str(), NAPI_AUTO_LENGTH, &nEve)); in ConvertAccessibleAbilityInfoToJSPart2() 510 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, result, "eventTypes", nEventTypes)); in ConvertAccessibleAbilityInfoToJSPart2() 1887 void ConvertJSToEventTypes(napi_env env, napi_value arrayValue, uint32_t &eventTypes) in ConvertJSToEventTypes() argument 1890 eventTypes = TYPE_VIEW_INVALID; in ConvertJSToEventTypes() 1898 eventTypes = TYPE_VIEW_INVALID; in ConvertJSToEventTypes() 1901 eventTypes |= eventType; in ConvertJSToEventTypes()
|
/foundation/distributedhardware/distributed_input/common/include/ |
H A D | constants_dinput.h | 185 const std::string EVENT_TYPES = "eventTypes"; 278 std::vector<uint32_t> eventTypes; member
|
H A D | input_hub.cpp | 772 identifier.eventTypes.push_back(eventType); in GetEventTypes()
|