Home
last modified time | relevance | path

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

1234567

/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_app_event_test.cpp84 int ret = Write(event); in HWTEST_F()
101 ASSERT_EQ(Write(event1), ERROR_INVALID_PARAM_NAME); in HWTEST_F()
104 ASSERT_EQ(Write(event2), ERROR_INVALID_PARAM_NAME); in HWTEST_F()
107 ASSERT_EQ(Write(event3), ERROR_INVALID_PARAM_NAME); in HWTEST_F()
110 ASSERT_EQ(Write(event4), ERROR_INVALID_PARAM_NAME); in HWTEST_F()
115 ASSERT_EQ(Write(event5), HIAPPEVENT_VERIFY_SUCCESSFUL); in HWTEST_F()
118 ASSERT_EQ(Write(event6), ERROR_INVALID_PARAM_NAME); in HWTEST_F()
121 ASSERT_EQ(Write(event7), ERROR_INVALID_PARAM_NAME); in HWTEST_F()
139 ASSERT_EQ(Write(event1), HIAPPEVENT_VERIFY_SUCCESSFUL); in HWTEST_F()
144 ASSERT_EQ(Write(event in HWTEST_F()
[all...]
/base/sensors/sensor/utils/ipc/include/
H A Dstream_buffer.h48 bool Write(const std::string &buf);
49 bool Write(const StreamBuffer &buf);
50 virtual bool Write(const char *buf, size_t size);
65 bool Write(const T &data);
69 bool Write(const std::vector<T> &data);
117 bool StreamBuffer::Write(const T &data) in Write() function in OHOS::Sensors::StreamBuffer
119 if (!Write(reinterpret_cast<const char *>(&data), sizeof(data))) { in Write()
157 bool StreamBuffer::Write(const std::vector<T> &data) in Write() function in OHOS::Sensors::StreamBuffer
164 if (!Write(size)) { in Write()
165 SEN_HILOGE("Write vecto in Write()
[all...]
/base/telephony/core_service/interfaces/innerkits/include/
H A Dtel_ril_base_parcel.h49 // Write the data to the parcel object.
50 bool Write(Parcel &parcel, const int8_t &value);
51 bool Write(Parcel &parcel, const uint8_t &value);
52 bool Write(Parcel &parcel, const int32_t &value);
53 bool Write(Parcel &parcel, const uint32_t &value);
54 bool Write(Parcel &parcel, const int64_t &value);
55 bool Write(Parcel &parcel, const uint64_t &value);
56 bool Write(Parcel &parcel, const bool &value);
57 bool Write(Parcel &parcel, const std::string &value);
60 bool Write(Parce function
125 bool Write(Parcel &parcel, ValueTypes &&...vals) const Write() function in OHOS::Telephony::TelRilBaseParcel
[all...]
/base/telephony/core_service/frameworks/native/src/
H A Dtel_ril_base_parcel.cpp61 bool Write(Parcel &parcel, const int8_t &value) in Write() function
66 bool Write(Parcel &parcel, const uint8_t &value) in Write() function
71 bool Write(Parcel &parcel, const int32_t &value) in Write() function
76 bool Write(Parcel &parcel, const uint32_t &value) in Write() function
81 bool Write(Parcel &parcel, const int64_t &value) in Write() function
86 bool Write(Parcel &parcel, const uint64_t &value) in Write() function
91 bool Write(Parcel &parcel, const bool &value) in Write() function
96 bool Write(Parcel &parcel, const std::string &value) in Write() function
/base/web/webview/test/unittest/ohos_adapter/hiviewdfx_adapter_test/
H A Dhiviewdfx_adapter_test.cpp40 int ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write( in HWTEST()
44 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write( in HWTEST()
48 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write( in HWTEST()
52 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent", in HWTEST()
57 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent", in HWTEST()
62 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent", in HWTEST()
67 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent", in HWTEST()
73 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent", in HWTEST()
/base/web/webview/ohos_adapter/hiviewdfx_adapter/include/
H A Dhisysevent_adapter_impl.h28 int Write(const std::string& eventName, EventType type,
31 int Write(const std::string& eventName, EventType type,
34 int Write(const std::string& eventName, EventType type,
38 int Write(const std::string& eventName, EventType type,
42 int Write(const std::string& eventName, EventType type,
47 int Write(const std::string& eventName, EventType type,
52 int Write(const std::string& eventName, EventType type,
56 int Write(const std::string& eventName, EventType type,
61 int Write(const std::string& eventName, EventType type,
75 int Write(cons
[all...]
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dhisysevent_adapter.h33 virtual int Write(
36 virtual int Write(const std::string& eventName, EventType type,
39 virtual int Write(const std::string& eventName, EventType type,
43 virtual int Write(const std::string& eventName, EventType type,
47 virtual int Write(const std::string& eventName, EventType type,
51 virtual int Write(const std::string& eventName, EventType type,
56 virtual int Write(const std::string& eventName, EventType type,
60 virtual int Write(const std::string& eventName, EventType type,
65 virtual int Write(const std::string& eventName, EventType type,
75 virtual int Write(cons
[all...]
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_hisysevent_adapter.h29 virtual int Write(
33 virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
37 virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
41 virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
46 virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
51 virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
57 virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t value1,
62 virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t value1,
68 virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t value1,
82 virtual int Write(cons
[all...]
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_hisysevent_adapter_wrapper.h31 int Write(const std::string& eventName, ArkEventType type,
34 int Write(const std::string& eventName, ArkEventType type,
37 int Write(const std::string& eventName, ArkEventType type,
41 int Write(const std::string& eventName, ArkEventType type,
45 int Write(const std::string& eventName, ArkEventType type,
50 int Write(const std::string& eventName, ArkEventType type,
55 int Write(const std::string& eventName, ArkEventType type,
59 int Write(const std::string& eventName, ArkEventType type,
64 int Write(const std::string& eventName, ArkEventType type,
74 int Write(cons
[all...]
H A Dark_hisysevent_adapter_wrapper.cpp22 int ArkHiSysEventAdapterWrapper::Write( in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
32 int result = ctocpp_->Write(ark_event_name, (uint32_t)type, ark_key1, ark_value1); in Write()
41 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
53 int result = ctocpp_->Write(ark_event_name, (uint32_t)type, ark_key1, ark_value1, ark_key2, ark_value2); in Write()
64 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
79 int result = ctocpp_->Write( in Write()
93 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
110 int result = ctocpp_->Write(ark_event_name, (uint32_t)type, ark_key1, ark_value1, ark_key2, ark_value2, ark_key3, in Write()
126 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
145 int result = ctocpp_->Write(ark_event_nam in Write()
163 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
205 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
232 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
262 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
337 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
383 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterWrapper
[all...]
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_hisysevent_adapter_impl.h29 int Write(
32 int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
35 int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
39 int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
43 int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
48 int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebString value1,
53 int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t value1,
57 int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t value1,
62 int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t value1,
75 int Write(cons
[all...]
H A Dark_hisysevent_adapter_impl.cpp24 int ArkHiSysEventAdapterImpl::Write( in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
32 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
35 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
45 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
48 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
61 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
64 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
78 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
81 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
100 return real_.Write(s_eventNam in Write()
103 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
127 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
141 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
158 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
202 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
229 int ArkHiSysEventAdapterImpl::Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
[all...]
/base/msdp/device_status/utils/ipc/include/
H A Dstream_buffer.h48 bool Write(const std::string &buf);
50 bool Write(const StreamBuffer &buf);
54 virtual bool Write(const char *buf, size_t size);
61 bool Write(const T &data);
96 bool StreamBuffer::Write(const T &data) in Write() function in OHOS::Msdp::StreamBuffer
98 if (!Write(reinterpret_cast<const char *>(&data), sizeof(data))) { in Write()
118 if (!Write(data)) { in operator <<()
119 FI_HILOGW("Write data failed"); in operator <<()
/base/powermgr/display_manager/state_manager/test/unittest/mock/src/
H A Dmock_parcel.cpp198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
206 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool()
211 return Write<bool>(value); in WriteBoolUnaligned()
216 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8()
221 return Write<int8_t>(value); in WriteInt8Unaligned()
226 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16()
231 return Write<int16_t>(value); in WriteInt16Unaligned()
236 return Write<int32_t>(value); in WriteInt32()
241 return Write<int64_t>(value); in WriteInt64()
246 return Write<uint32_ in WriteUint8()
[all...]
/base/powermgr/thermal_manager/test/unittest/mock/src/
H A Dmock_parcel.cpp199 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
211 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool()
216 return Write<bool>(value); in WriteBoolUnaligned()
221 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8()
226 return Write<int8_t>(value); in WriteInt8Unaligned()
231 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16()
236 return Write<int16_t>(value); in WriteInt16Unaligned()
241 return Write<int32_t>(value); in WriteInt32()
246 return Write<int64_t>(value); in WriteInt64()
251 return Write<uint32_ in WriteUint8()
[all...]
/base/powermgr/battery_statistics/test/unittest/mock/source/
H A Dmock_parcel.cpp200 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
208 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool()
213 return Write<bool>(value); in WriteBoolUnaligned()
218 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8()
223 return Write<int8_t>(value); in WriteInt8Unaligned()
228 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16()
233 return Write<int16_t>(value); in WriteInt16Unaligned()
238 return Write<int32_t>(value); in WriteInt32()
243 return Write<int64_t>(value); in WriteInt64()
248 return Write<uint32_ in WriteUint8()
[all...]
/base/powermgr/power_manager/test/unittest/mock/
H A Dmock_parcel.cpp198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
206 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool()
211 return Write<bool>(value); in WriteBoolUnaligned()
216 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8()
221 return Write<int8_t>(value); in WriteInt8Unaligned()
226 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16()
231 return Write<int16_t>(value); in WriteInt16Unaligned()
236 return Write<int32_t>(value); in WriteInt32()
241 return Write<int64_t>(value); in WriteInt64()
246 return Write<uint32_ in WriteUint8()
[all...]
/base/powermgr/battery_manager/test/unittest/mock/source/
H A Dmock_parcel.cpp198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
206 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool()
211 return Write<bool>(value); in WriteBoolUnaligned()
216 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8()
221 return Write<int8_t>(value); in WriteInt8Unaligned()
226 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16()
231 return Write<int16_t>(value); in WriteInt16Unaligned()
236 return Write<int32_t>(value); in WriteInt32()
241 return Write<int64_t>(value); in WriteInt64()
246 return Write<uint32_ in WriteUint8()
[all...]
/base/msdp/device_status/utils/ipc/src/
H A Dstream_buffer.cpp64 bool StreamBuffer::Write(const std::string &buf) in Write() function in OHOS::Msdp::StreamBuffer
66 return Write(buf.c_str(), buf.length() + 1); in Write()
81 bool StreamBuffer::Write(const StreamBuffer &buf) in Write() function in OHOS::Msdp::StreamBuffer
83 return Write(buf.Data(), buf.Size()); in Write()
88 return buf.Write(Data(), Size()); in Read()
124 bool StreamBuffer::Write(const char *buf, size_t size) in Write() function in OHOS::Msdp::StreamBuffer
211 return Write(buf.Data(), buf.Size()); in Clone()
H A Dcircle_stream_buffer.cpp45 bool CircleStreamBuffer::Write(const char *buf, size_t size) in Write() function in OHOS::Msdp::CircleStreamBuffer
53 return StreamBuffer::Write(buf, size); in Write()
/base/web/webview/ohos_adapter/hiviewdfx_adapter/src/
H A Dhisysevent_adapter_impl.cpp66 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in OHOS::HiSysEventAdapterImpl
72 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in HiSysEventAdapterImpl
78 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in HiSysEventAdapterImpl
85 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in HiSysEventAdapterImpl
92 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in HiSysEventAdapterImpl
100 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in HiSysEventAdapterImpl
111 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in HiSysEventAdapterImpl
129 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in HiSysEventAdapterImpl
149 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in HiSysEventAdapterImpl
175 int HiSysEventAdapterImpl::Write(cons function in HiSysEventAdapterImpl
184 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, Write() function in HiSysEventAdapterImpl
[all...]
/base/sensors/sensor/utils/ipc/src/
H A Dstream_buffer.cpp83 bool StreamBuffer::Write(const std::string &buf) in Write() function in OHOS::Sensors::StreamBuffer
85 return Write(buf.c_str(), buf.length()+1); in Write()
93 return buf.Write(Data(), Size()); in Read()
97 bool StreamBuffer::Write(const StreamBuffer &buf) in Write() function in OHOS::Sensors::StreamBuffer
102 return Write(buf.Data(), buf.Size()); in Write()
141 bool StreamBuffer::Write(const char *buf, size_t size) in Write() function in OHOS::Sensors::StreamBuffer
190 return Write(StreamBufferData(buf.streamBufferPtr_.get()), StreamBufferSize(buf.streamBufferPtr_.get())); in Clone()
192 return Write(buf.Data(), buf.Size()); in Clone()
/base/usb/usb_manager/utils/native/include/
H A Dusb_common.h112 if (!(parcel).Write##type(data)) { \
120 if (!(parcel).Write##type(data)) { \
136 if (!(parcel).Write##type(data)) { \
/base/update/updater/test/unittest/applypatch_test/
H A Dapplypatch_unittest.cpp76 bool ret = writer->Write(addr, 0, nullptr); in HWTEST_F()
80 ret = writer->Write(addr, 0, nullptr); in HWTEST_F()
83 ret = writer->Write(buf, BUFFER_LEN, nullptr); in HWTEST_F()
92 ret = writer->Write(buf, BUFFER_LEN, nullptr); in HWTEST_F()
/base/powermgr/power_manager/utils/native/include/
H A Dpower_common.h47 if (!(parcel).Write##type(data)) { \
63 if (!(parcel).Write##type(data)) { \

Completed in 15 milliseconds

1234567