/base/security/security_component_manager/test/fuzztest/security_component/innerkits/reportsecuritycomponentclickevent_fuzzer/ |
D | reportsecuritycomponentclickevent_fuzzer.cpp | 35 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/ |
D | updatesecuritycomponent_fuzzer.cpp | 34 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/ |
D | registersecuritycomponent_fuzzer.cpp | 34 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/ |
D | fusion_security.cpp | 79 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/ |
D | runninglock_napi.cpp | 52 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/ |
D | common_event_data.cpp | 55 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()
|
D | common_event_subscriber.cpp | 72 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/ |
D | actsCESDataTest.cpp | 234 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/ |
D | getenhanceremoteobject_fuzzer.cpp | 32 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/ |
D | getpermissionsstatus_fuzzer.cpp | 64 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/ |
D | unregistersecuritycomponent_fuzzer.cpp | 32 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/ |
D | verifysavepermission_fuzzer.cpp | 32 template <class T> T GetData() in GetData() function 52 SecCompKit::VerifySavePermission(GetData<int32_t>()); in VerifySavePermissionFuzzTest()
|
/base/hiviewdfx/hiview/base/event_store/utility/reader/ |
D | content_reader.cpp | 36 …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/ |
D | message.cpp | 46 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/ |
D | getpermissionsstatusstub_fuzzer.cpp | 69 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/ |
D | hiview_file_info.cpp | 24 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/ |
D | ark_clip_board_image_data_adapter_wrapper.cpp | 36 uint32_t* ArkClipBoardImageDataAdapterWrapper::GetData() in GetData() function in OHOS::ArkWeb::ArkClipBoardImageDataAdapterWrapper 38 return ctocpp_->GetData(); in GetData()
|
/base/powermgr/display_manager/brightness_manager/src/ |
D | light_lux_manager.cpp | 102 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/ |
D | createosaccount_fuzzer.cpp | 36 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/ |
D | raw_data.cpp | 73 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/ |
D | battery_stats.cpp | 42 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/ |
D | admin_manager_fuzzer.cpp | 54 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/ |
D | raw_data.cpp | 85 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/ |
D | enterprise_device_mgr_ability_fuzzer.cpp | 53 EventFwk::CommonEventData eventData = GetData<EventFwk::CommonEventData>(); in LLVMFuzzerTestOneInput() 73 AdminType type = GetData<AdminType>(); in LLVMFuzzerTestOneInput()
|
/base/notification/common_event_service/services/test/unittest/ |
D | common_event_freeze_test.cpp | 116 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()
|