Home
last modified time | relevance | path

Searched refs:changeTypes (Results 1 - 7 of 7) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dipc_utils_test.cpp192 std::unordered_set<ProfileChangeType> changeTypes; in HWTEST_F() local
193 bool ret = IpcUtils::Marshalling(parcel, changeTypes); in HWTEST_F()
195 ret = IpcUtils::UnMarshalling(parcel, changeTypes); in HWTEST_F()
197 changeTypes.insert(ProfileChangeType::TRUST_DEVICE_PROFILE_ADD); in HWTEST_F()
198 changeTypes.insert(ProfileChangeType::TRUST_DEVICE_PROFILE_UPDATE); in HWTEST_F()
199 changeTypes.insert(ProfileChangeType::TRUST_DEVICE_PROFILE_DELETE); in HWTEST_F()
200 ret = IpcUtils::Marshalling(parcel, changeTypes); in HWTEST_F()
202 ret = IpcUtils::UnMarshalling(parcel, changeTypes); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dipc_utils.cpp123 bool IpcUtils::Marshalling(MessageParcel& parcel, const std::unordered_set<ProfileChangeType>& changeTypes) in Marshalling() argument
125 if (changeTypes.size() == 0 || changeTypes.size() > MAX_SUBSCRIBE_CHANGE_SIZE) { in Marshalling()
126 HILOGE("listenerMap size is invalid!size : %{public}zu", changeTypes.size()); in Marshalling()
129 uint32_t size = changeTypes.size(); in Marshalling()
131 for (ProfileChangeType item : changeTypes) { in Marshalling()
251 bool IpcUtils::UnMarshalling(MessageParcel& parcel, std::unordered_set<ProfileChangeType>& changeTypes) in UnMarshalling() argument
264 changeTypes.emplace(static_cast<ProfileChangeType>(num)); in UnMarshalling()
/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_event_info.cpp174 void AccessibilityEventInfo::SetWindowContentChangeTypes(const WindowsContentChangeTypes changeTypes) in SetWindowContentChangeTypes() argument
176 windowContentChangeTypes_ = changeTypes; in SetWindowContentChangeTypes()
186 void AccessibilityEventInfo::SetWindowChangeTypes(const WindowUpdateType changeTypes) in SetWindowChangeTypes() argument
188 windowChangeTypes_ = changeTypes; in SetWindowChangeTypes()
/foundation/barrierfree/accessibility/frameworks/common/test/mock/include/
H A Dmock_accessibility_event_info.h52 * @param changeTypes The window content changed types. Refer to "WindowsContentChangeTypes"
56 void SetWindowContentChangeTypes(const WindowsContentChangeTypes changeTypes);
68 * @param changeTypes The window changed types.refer to WindowUpdateType
72 void SetWindowChangeTypes(const WindowUpdateType changeTypes);
/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dipc_utils.h47 static bool Marshalling(MessageParcel& parcel, const std::unordered_set<ProfileChangeType>& changeTypes);
55 static bool UnMarshalling(MessageParcel& parcel, std::unordered_set<ProfileChangeType>& changeTypes);
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_event_info.h291 * @param changeTypes The window content changed types. Refer to "WindowsContentChangeTypes"
295 void SetWindowContentChangeTypes(const WindowsContentChangeTypes changeTypes);
307 * @param changeTypes The window changed types.refer to WindowUpdateType
311 void SetWindowChangeTypes(const WindowUpdateType changeTypes);
/foundation/barrierfree/accessibility/interfaces/innerkits/test/fuzztest/accessibilitysystemabilityclient_fuzzer/
H A Daccessibilitysystemabilityclient_fuzzer.cpp93 WindowsContentChangeTypes changeTypes; in CreateEventInfoFirstPart() local
94 position += GetObject<WindowsContentChangeTypes>(changeTypes, &data[position], size - position); in CreateEventInfoFirstPart()
95 eventInfo.SetWindowContentChangeTypes(changeTypes); in CreateEventInfoFirstPart()

Completed in 5 milliseconds