Home
last modified time | relevance | path

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

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dgeneric_kvdb_connection.cpp78 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 Dgeneric_kvdb_connection.h55 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 Daccessibility_ability_info.h151 * @param eventTypes the event to set.
153 inline void SetEventTypes(uint32_t eventTypes) in SetEventTypes() argument
155 eventTypes_ = eventTypes; in SetEventTypes()
H A Daccessibility_utils.h102 void ConvertJSToEventTypes(napi_env env, napi_value arrayValue, uint32_t &eventTypes);
/foundation/barrierfree/accessibility/frameworks/common/test/mock/include/
H A Dmock_accessibility_ability_info.h142 * @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 Daccessibility_dumper.cpp156 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 Dmock_accessibility_ability_info.h49 inline void SetEventTypes(uint32_t eventTypes) in SetEventTypes() argument
/foundation/barrierfree/accessibility/services/test/moduletest/mock/include/
H A Dmock_mt_accessibility_ability_info.h49 inline void SetEventTypes(uint32_t eventTypes) in SetEventTypes() argument
/foundation/barrierfree/accessibility/services/test/xts/inc/
H A Dmock_accessibility_ability_info.h49 inline void SetEventTypes(uint32_t eventTypes) in SetEventTypes() argument
/foundation/barrierfree/accessibility/interfaces/innerkits/test/fuzztest/accessibilitysystemabilityclient_fuzzer/
H A Daccessibilitysystemabilityclient_fuzzer.cpp257 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 Dsqlite_local_kvdb_connection.h83 int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const override;
H A Dsqlite_local_kvdb_connection.cpp357 std::list<int> &eventTypes) const in TranslateObserverModeToEventTypes()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store_connection.h91 int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const override;
H A Dmulti_ver_natural_store_connection.cpp426 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 Drd_single_ver_natural_store_connection.h74 int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const override;
H A Drd_single_ver_natural_store_connection.cpp202 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 Ddistributed_input_handler.cpp70 tmpJson[EVENT_TYPES] = pBuf.eventTypes; in StructTransJson()
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/
H A Dvirtual_device.cpp73 evt_type[UI_SET_EVBIT] = inputDevice.eventTypes; in CreateKey()
H A Ddistributed_input_inject.cpp100 tmpJson[EVENT_TYPES] = pBuf.eventTypes; in StructTransJson()
H A Ddistributed_input_node_manager.cpp128 pBuf.eventTypes = inputDeviceJson[EVENT_TYPES].get<std::vector<uint32_t>>(); in ParseInputDeviceEvents()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_natural_store_connection.cpp370 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 Dsqlite_single_ver_natural_store_connection.h77 int TranslateObserverModeToEventTypes(unsigned mode, std::list<int> &eventTypes) const override;
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnapi_accessibility_utils.cpp504 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 Dconstants_dinput.h185 const std::string EVENT_TYPES = "eventTypes";
278 std::vector<uint32_t> eventTypes; member
H A Dinput_hub.cpp772 identifier.eventTypes.push_back(eventType); in GetEventTypes()

Completed in 21 milliseconds