Home
last modified time | relevance | path

Searched refs:DATA_LENGTH (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/fuzztest/resschedobserver_fuzzer/
H A Dresschedobserver_fuzzer.cpp69 static const int32_t DATA_LENGTH = 10; variable
161 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventAvCodecEventFuzzTest()
188 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventRunningLockEventFuzzTest()
214 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventAudioEventFuzzTest()
240 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventBluetoothFuzzTest()
265 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventCameraEventFuzzTest()
291 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventWifiEventFuzzTest()
304 if (size <= TWO_PARAMETERS * DATA_LENGTH) { in ProcessHiSysEventFuzzTest()
314 sysEvent["domain_"] = GetStringFromData(DATA_LENGTH); in ProcessHiSysEventFuzzTest()
328 if (size <= DATA_LENGTH) { in ObserverManagerFuzzTest()
[all …]
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/fuzztest/resschedcommonevent_fuzzer/
H A Dresschedcommonevent_fuzzer.cpp44 static const int32_t DATA_LENGTH = 10; variable
97 if (size <= sizeof(int32_t) + DATA_LENGTH) { in ResSchedCommonEventFuzzTest()
107 std::string deviceId = GetStringFromData(DATA_LENGTH); in ResSchedCommonEventFuzzTest()
125 if (size <= sizeof(int32_t) + DATA_LENGTH) { in ResSchedCommonEventGetUidFuzzTest()
135 std::string bundleName = GetStringFromData(DATA_LENGTH); in ResSchedCommonEventGetUidFuzzTest()
184 std::string eventData = GetStringFromData(DATA_LENGTH); in ResSchedCommonReceiveEventFuzzTest()
185 std::string action = GetStringFromData(DATA_LENGTH); in ResSchedCommonReceiveEventFuzzTest()
221 std::string eventData = GetStringFromData(DATA_LENGTH); in ResSchedPkgCommonEventFuzzTest()
222 std::string action = GetStringFromData(DATA_LENGTH); in ResSchedPkgCommonEventFuzzTest()
255 std::string eventData = GetStringFromData(DATA_LENGTH); in ResSchedPkgOtherCommonEventFuzzTest()
[all …]
/ohos5.0/base/sensors/sensor/frameworks/js/napi/include/
H A Dasync_callback_info.h36 constexpr static int32_t DATA_LENGTH = 16; variable
78 float data[DATA_LENGTH];
84 float reserve[DATA_LENGTH];
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi_threadsafe.cpp64 static constexpr int32_t DATA_LENGTH = 40; variable
583 char *testData = (char *)malloc(DATA_LENGTH); in CallThreadSafeFunc()
587 memset_s(testData, DATA_LENGTH, 0, DATA_LENGTH); in CallThreadSafeFunc()
589 strcpy_s(testData, DATA_LENGTH, "hello world from A"); in CallThreadSafeFunc()
591 strcpy_s(testData, DATA_LENGTH, "hello world from B"); in CallThreadSafeFunc()
593 strcpy_s(testData, DATA_LENGTH, "hello world from C"); in CallThreadSafeFunc()
595 strcpy_s(testData, DATA_LENGTH, "hello world from D"); in CallThreadSafeFunc()
620 char *testDataA = (char *)malloc(DATA_LENGTH); in CallThreadSafeWithSamePriorityTest()
621 memset_s(testDataA, DATA_LENGTH, 0, DATA_LENGTH); in CallThreadSafeWithSamePriorityTest()
624 char *testDataB = (char *)malloc(DATA_LENGTH); in CallThreadSafeWithSamePriorityTest()
[all …]
/ohos5.0/drivers/peripheral/sensor/hal/include/
H A Dsensor_channel.h31 #define DATA_LENGTH 32 macro
63 uint8_t data[DATA_LENGTH];
/ohos5.0/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/generatecert_fuzzer/
H A Dgeneratecert_fuzzer.cpp32 constexpr int32_t DATA_LENGTH = KEY_LEN * 6; variable
45 if ((data == nullptr) || (size <= sizeof(uint32_t) * DATA_LENGTH)) { in FuzzTest()
/ohos5.0/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/generatecertstub_fuzzer/
H A Dgeneratecertstub_fuzzer.cpp39 constexpr int32_t DATA_LENGTH = KEY_LEN * 4; variable
87 if ((data == nullptr) || (size < sizeof(uint8_t) * DATA_LENGTH)) { in FuzzTest()
/ohos5.0/foundation/ability/ability_lite/frameworks/want_lite/src/
H A Dwant.cpp54 constexpr static int DATA_LENGTH = 2048; variable
286 if ((io == nullptr) || (want == nullptr) || (want->dataLength > DATA_LENGTH)) { in SerializeWant()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp30 constexpr int32_t DATA_LENGTH = 100; variable
792 auto ret = installdProxy->DeliverySignProfile(TEST_STRING, DATA_LENGTH, profileBlock);
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_cdma_sms_test.cpp30 const size_t DATA_LENGTH = 162; variable
140 deliver.cmasData.dataLen = DATA_LENGTH;
/ohos5.0/base/sensors/sensor/frameworks/js/napi/src/
H A Dsensor_js.cpp640 if ((length != DATA_LENGTH) && (length != THREE_DIMENSIONAL_MATRIX_LENGTH)) { in TransformCoordinateSystem()