Home
last modified time | relevance | path

Searched refs:GetData (Results 1 – 25 of 115) sorted by relevance

12345

/base/security/security_component_manager/test/fuzztest/security_component/innerkits/reportsecuritycomponentclickevent_fuzzer/
Dreportsecuritycomponentclickevent_fuzzer.cpp35 template <class T> T GetData() in GetData() function
53 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = GetData<SecCompType>(); in BuildLocationComponentInfo()
55 {JsonTagConstants::JSON_RECT_X, GetData<DimensionT>() }, in BuildLocationComponentInfo()
56 {JsonTagConstants::JSON_RECT_Y, GetData<SecCompType>() }, in BuildLocationComponentInfo()
57 {JsonTagConstants::JSON_RECT_WIDTH, GetData<SecCompType>() }, in BuildLocationComponentInfo()
58 {JsonTagConstants::JSON_RECT_HEIGHT, GetData<SecCompType>() } in BuildLocationComponentInfo()
65 {JsonTagConstants::JSON_RECT_X, GetData<DimensionT>() }, in BuildLocationComponentInfo()
66 {JsonTagConstants::JSON_RECT_Y, GetData<DimensionT>() }, in BuildLocationComponentInfo()
67 {JsonTagConstants::JSON_RECT_WIDTH, GetData<DimensionT>() }, in BuildLocationComponentInfo()
68 {JsonTagConstants::JSON_RECT_HEIGHT, GetData<DimensionT>() } in BuildLocationComponentInfo()
[all …]
/base/security/security_component_manager/test/fuzztest/security_component/innerkits/updatesecuritycomponent_fuzzer/
Dupdatesecuritycomponent_fuzzer.cpp34 template <class T> T GetData() in GetData() function
52 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = GetData<SecCompType>(); in BuildLocationComponentInfo()
55 { JsonTagConstants::JSON_BORDER_WIDTH_TAG, GetData<DimensionT>() }, in BuildLocationComponentInfo()
58 {JsonTagConstants::JSON_RECT_X, GetData<DimensionT>() }, in BuildLocationComponentInfo()
59 {JsonTagConstants::JSON_RECT_Y, GetData<SecCompType>() }, in BuildLocationComponentInfo()
60 {JsonTagConstants::JSON_RECT_WIDTH, GetData<SecCompType>() }, in BuildLocationComponentInfo()
61 {JsonTagConstants::JSON_RECT_HEIGHT, GetData<SecCompType>() } in BuildLocationComponentInfo()
68 {JsonTagConstants::JSON_RECT_X, GetData<DimensionT>() }, in BuildLocationComponentInfo()
69 {JsonTagConstants::JSON_RECT_Y, GetData<DimensionT>() }, in BuildLocationComponentInfo()
70 {JsonTagConstants::JSON_RECT_WIDTH, GetData<DimensionT>() }, in BuildLocationComponentInfo()
[all …]
/base/security/security_component_manager/test/fuzztest/security_component/innerkits/registersecuritycomponent_fuzzer/
Dregistersecuritycomponent_fuzzer.cpp34 template <class T> T GetData() in GetData() function
52 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = GetData<SecCompType>(); in BuildLocationComponentInfo()
54 {JsonTagConstants::JSON_RECT_X, GetData<DimensionT>() }, in BuildLocationComponentInfo()
55 {JsonTagConstants::JSON_RECT_Y, GetData<SecCompType>() }, in BuildLocationComponentInfo()
56 {JsonTagConstants::JSON_RECT_WIDTH, GetData<SecCompType>() }, in BuildLocationComponentInfo()
57 {JsonTagConstants::JSON_RECT_HEIGHT, GetData<SecCompType>() } in BuildLocationComponentInfo()
61 {JsonTagConstants::JSON_RECT_X, GetData<DimensionT>() }, in BuildLocationComponentInfo()
62 {JsonTagConstants::JSON_RECT_Y, GetData<DimensionT>() }, in BuildLocationComponentInfo()
63 {JsonTagConstants::JSON_RECT_WIDTH, GetData<DimensionT>() }, in BuildLocationComponentInfo()
64 {JsonTagConstants::JSON_RECT_HEIGHT, GetData<DimensionT>() } in BuildLocationComponentInfo()
[all …]
/base/msdp/device_status/rust/subsystem/device_profile/binding/src/
Dfusion_security.cpp79 static const char* GetData(CIString* target);
87 data = &CString::GetData; in CString()
95 data = &CString::GetData; in CString()
112 const char* CString::GetData(CIString* target) in GetData() function in CString
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_napi.cpp52 asyncInfo->GetData().SetRunningLockInstance(napiRunningLockIns); in Create()
140 asyncInfo->GetData().SetName(env, argv[INDEX_0]); in CreateAsyncCallback()
141 asyncInfo->GetData().SetType(env, argv[INDEX_1]); in CreateAsyncCallback()
149 auto error = asyncInfo->GetData().CreateRunningLock(); in CreateAsyncCallback()
155 napi_value result = asyncInfo->GetData().CreateInstanceForRunningLock(env); in CreateAsyncCallback()
176 asyncInfo->GetData().SetName(env, argv[INDEX_0]); in CreatePromise()
177 asyncInfo->GetData().SetType(env, argv[INDEX_1]); in CreatePromise()
184 auto error = asyncInfo->GetData().CreateRunningLock(); in CreatePromise()
193 napi_value result = asyncInfo->GetData().CreateInstanceForRunningLock(env); in CreatePromise()
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_data.cpp55 std::string CommonEventData::GetData() const in GetData() function in OHOS::EventFwk::CommonEventData
74 if (GetData().empty()) { in Marshalling()
83 if (!parcel.WriteString16(Str8ToStr16(GetData()))) { in Marshalling()
Dcommon_event_subscriber.cpp72 std::string CommonEventSubscriber::GetData() const in GetData() function in OHOS::EventFwk::CommonEventSubscriber
79 return result_->GetData(); in GetData()
/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/
DactsCESDataTest.cpp234 EXPECT_EQ(GetData() == DATACASE1, true); in SubscriberFirstTestCase1()
242 EXPECT_EQ(GetData() == DATACASE2, true); in SubscriberFirstTestCase2()
250 EXPECT_EQ(GetData() == DATACASE3, true); in SubscriberFirstTestCase3()
258 EXPECT_EQ(GetData() == DATACASE4, true); in SubscriberFirstTestCase4()
266 EXPECT_EQ(GetData() == DATACASE5, true); in SubscriberFirstTestCase5()
274 EXPECT_EQ(GetData() == DATACASE6, true); in SubscriberFirstTestCase6()
282 EXPECT_EQ(GetData() == DATACASE7, true); in SubscriberFirstTestCase7()
312 EXPECT_EQ(GetData() == DATACASE1, true); in SubscriberFirstTestCase19()
315 EXPECT_EQ(GetData() == DATACASE2, true); in SubscriberFirstTestCase19()
326 EXPECT_EQ(GetData() == DATACASE3, true); in SubscriberFirstTestCase20()
[all …]
/base/security/security_component_manager/test/fuzztest/security_component/innerkits/getenhanceremoteobject_fuzzer/
Dgetenhanceremoteobject_fuzzer.cpp32 template <class T> T GetData() in GetData() function
52 SecCompKit::GetEnhanceRemoteObject(GetData<bool>()); in GetEnhanceRemoteObjectFuzzTest()
/base/security/access_token/test/fuzztest/innerkits/accesstoken/getpermissionsstatus_fuzzer/
Dgetpermissionsstatus_fuzzer.cpp64 template<class T> T GetData() in GetData() function
84 cstr[i] = GetData<char>(); in GetStringFromData()
101 AccessTokenID tokenId = static_cast<AccessTokenID>(GetData<uint32_t>()); in GetPermissionsStatusFuzzTest()
/base/security/security_component_manager/test/fuzztest/security_component/innerkits/unregistersecuritycomponent_fuzzer/
Dunregistersecuritycomponent_fuzzer.cpp32 template <class T> T GetData() in GetData() function
52 SecCompKit::UnregisterSecurityComponent(GetData<int32_t>()); in UnregisterSecurityComponentFuzzTest()
/base/security/security_component_manager/test/fuzztest/security_component/innerkits/verifysavepermission_fuzzer/
Dverifysavepermission_fuzzer.cpp32 template <class T> T GetData() in GetData() function
52 SecCompKit::VerifySavePermission(GetData<int32_t>()); in VerifySavePermissionFuzzTest()
/base/hiviewdfx/hiview/base/event_store/utility/reader/
Dcontent_reader.cpp36 …auto header = *(reinterpret_cast<struct EventRaw::HiSysEventHeader*>(rawData->GetData() + BLOCK_SI… in UpdateParamCnt()
40 int32_t paramCnt = *(reinterpret_cast<int32_t*>(rawData->GetData() + pos)) + addParamCnt; in UpdateParamCnt()
154 if (!rawData->Append(tagRawData.GetData(), tagRawData.GetDataLength())) { in AppendTag()
165 if (!rawData->Append(levelRawData.GetData(), levelRawData.GetDataLength())) { in AppendLevel()
176 if (!rawData->Append(seqRawData.GetData(), seqRawData.GetDataLength())) { in AppendSeq()
/base/inputmethod/imf/common/src/
Dmessage.cpp46 msgContent_->ParseFrom(src->GetData(), src->GetDataSize()); in Message()
62 msgContent_->ParseFrom(msg.msgContent_->GetData(), msg.msgContent_->GetDataSize()); in operator =()
/base/security/access_token/test/fuzztest/services/accesstoken/getpermissionsstatusstub_fuzzer/
Dgetpermissionsstatusstub_fuzzer.cpp69 template<class T> T GetData() in GetData() function
89 cstr[i] = GetData<char>(); in GetStringFromData()
106 AccessTokenID tokenId = static_cast<AccessTokenID>(GetData<uint32_t>()); in GetPermissionsStatusStubFuzzTest()
/base/hiviewdfx/hiview/adapter/service/idl/src/
Dhiview_file_info.cpp24 void* HiviewFileInfo::GetData(uint32_t& dataSize) const in GetData() function in OHOS::HiviewDFX::HiviewFileInfo
48 if (memcpy_s(data, size, reinterpret_cast<void*>(outParcel.GetData()), size) != 0) { in GetData()
/base/web/webview/ohos_glue/ohos_adapter/bridge/
Dark_clip_board_image_data_adapter_wrapper.cpp36 uint32_t* ArkClipBoardImageDataAdapterWrapper::GetData() in GetData() function in OHOS::ArkWeb::ArkClipBoardImageDataAdapterWrapper
38 return ctocpp_->GetData(); in GetData()
/base/powermgr/display_manager/brightness_manager/src/
Dlight_lux_manager.cpp102 return mLuxBuffer.GetData(size - 1); in CalcSmoothLux()
106 float luxMin = mLuxBuffer.GetData(size - 1); in CalcSmoothLux()
107 float luxMax = mLuxBuffer.GetData(size - 1); in CalcSmoothLux()
109 float lux = mLuxBuffer.GetData(i - 1); in CalcSmoothLux()
132 if ((mLuxBufferFilter.GetData(i - 1) - mFilteredLux) < mBrightenDelta) { in GetNextBrightenTime()
151 if ((mFilteredLux - mLuxBufferFilter.GetData(i - 1)) < mDarkenDelta) { in GetNextDarkenTime()
/base/account/os_account/test/fuzztest/osaccount/createosaccount_fuzzer/
Dcreateosaccount_fuzzer.cpp36 template <class T> T GetData() in GetData() function
67 uint32_t listSize = GetData<uint32_t>(); in CreateOsAccountWithShortNameFuzzTest()
70 uint32_t hapNameSize = GetData<uint32_t>(); in CreateOsAccountWithShortNameFuzzTest()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
Draw_data.cpp73 auto rawData = data.GetData(); in RawData()
102 auto rawData = data.GetData(); in operator =()
184 uint8_t* RawData::GetData() const in GetData() function in OHOS::HiviewDFX::Encoded::RawData
/base/powermgr/battery_statistics/frameworks/napi/src/
Dbattery_stats.cpp42 asCallbackInfo->GetError().Error(asCallbackInfo->GetData().GetBatteryStatsInfo()); in StatsAsyncCallBack()
48 asCallbackInfo->GetData().CreateArrayValue(env, arrRes); in StatsAsyncCallBack()
73 asCallbackInfo->GetError().Error(asCallbackInfo->GetData().GetBatteryStatsInfo()); in StatsPromise()
82 asCallbackInfo->GetData().CreateArrayValue(env, arrRes); in StatsPromise()
/base/customization/enterprise_device_management/test/fuzztest/adminmanager_fuzzer/
Dadmin_manager_fuzzer.cpp54 ManagedEvent event = GetData<ManagedEvent>(); in DoSomethingInterestingWithMyAPI()
67 AdminType role = GetData<AdminType>(); in DoSomethingInterestingWithMyAPI()
74 uint32_t fuzzEvent = GetData<uint32_t>(); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hiview/base/event_raw/base/
Draw_data.cpp85 auto ret = memcpy_s(data_, dataLen, data.GetData(), dataLen); in RawData()
107 auto ret = memcpy_s(tmpData, dataLen, data.GetData(), dataLen); in operator =()
197 uint8_t* RawData::GetData() const in GetData() function in OHOS::HiviewDFX::EventRaw::RawData
/base/customization/enterprise_device_management/test/fuzztest/enterprisedevicemgrability_fuzzer/
Denterprise_device_mgr_ability_fuzzer.cpp53 EventFwk::CommonEventData eventData = GetData<EventFwk::CommonEventData>(); in LLVMFuzzerTestOneInput()
73 AdminType type = GetData<AdminType>(); in LLVMFuzzerTestOneInput()
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_freeze_test.cpp116 EXPECT_EQ(INNITDATA, data.GetData()); in ProcessSubscriberTestCase1()
125 EXPECT_EQ(INNITDATA, data.GetData()); in ProcessSubscriberTestCase2()
167 EXPECT_EQ(CHANGEDATA, data.GetData()); in ProcessSubscriberTest2Case1()
170 EXPECT_EQ(INNITDATA, data.GetData()); in ProcessSubscriberTest2Case1()
180 EXPECT_EQ(INNITDATA, data.GetData()); in ProcessSubscriberTest2Case2()
224 EXPECT_EQ(CHANGEDATA2, data.GetData()); in ProcessSubscriberTestLastCase1()
228 EXPECT_EQ(CHANGEDATA, data.GetData()); in ProcessSubscriberTestLastCase1()
231 EXPECT_EQ(INNITDATA, data.GetData()); in ProcessSubscriberTestLastCase1()

12345