Home
last modified time | relevance | path

Searched refs:DATA_LENGTH (Results 1 - 5 of 5) sorted by relevance

/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/fuzztest/resschedobserver_fuzzer/
H A Dresschedobserver_fuzzer.cpp69 static const int32_t DATA_LENGTH = 10; member
145 if (size <= SIX_PARAMETERS * sizeof(int32_t) + DATA_LENGTH) { in HisysEventAvCodecEventFuzzTest()
161 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventAvCodecEventFuzzTest()
174 if (size <= FOUR_PARAMETERS * sizeof(int32_t) + DATA_LENGTH) { in HisysEventRunningLockEventFuzzTest()
188 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventRunningLockEventFuzzTest()
201 if (size <= THREE_PARAMETERS * sizeof(int32_t) + DATA_LENGTH) { in HisysEventAudioEventFuzzTest()
214 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventAudioEventFuzzTest()
227 if (size <= THREE_PARAMETERS * sizeof(int32_t) + DATA_LENGTH) { in HisysEventBluetoothFuzzTest()
240 std::string eventName = GetStringFromData(DATA_LENGTH); in HisysEventBluetoothFuzzTest()
253 if (size <= TWO_PARAMETERS * sizeof(int32_t) + DATA_LENGTH) { in HisysEventCameraEventFuzzTest()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/fuzztest/resschedcommonevent_fuzzer/
H A Dresschedcommonevent_fuzzer.cpp44 static const int32_t DATA_LENGTH = 10; member
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()
173 if (size <= TWO_PARAMETERS * (sizeof(int32_t) + DATA_LENGTH)) { in ResSchedCommonReceiveEventFuzzTest()
184 std::string eventData = GetStringFromData(DATA_LENGTH); in ResSchedCommonReceiveEventFuzzTest()
185 std::string action = GetStringFromData(DATA_LENGTH); in ResSchedCommonReceiveEventFuzzTest()
210 if (size <= TWO_PARAMETERS * (sizeof(int32_t) + DATA_LENGTH)) { in ResSchedPkgCommonEventFuzzTest()
221 std::string eventData = GetStringFromData(DATA_LENGTH); in ResSchedPkgCommonEventFuzzTest()
[all...]
/foundation/arkui/napi/test/unittest/
H A Dtest_napi_threadsafe.cpp64 static constexpr int32_t DATA_LENGTH = 40; variable
579 char *testData = (char *)malloc(DATA_LENGTH); in CallThreadSafeFunc()
583 memset_s(testData, DATA_LENGTH, 0, DATA_LENGTH); in CallThreadSafeFunc()
585 strcpy_s(testData, DATA_LENGTH, "hello world from A"); in CallThreadSafeFunc()
587 strcpy_s(testData, DATA_LENGTH, "hello world from B"); in CallThreadSafeFunc()
589 strcpy_s(testData, DATA_LENGTH, "hello world from C"); in CallThreadSafeFunc()
591 strcpy_s(testData, DATA_LENGTH, "hello world from D"); in CallThreadSafeFunc()
616 char *testDataA = (char *)malloc(DATA_LENGTH); in CallThreadSafeWithSamePriorityTest()
617 memset_s(testDataA, DATA_LENGTH, in CallThreadSafeWithSamePriorityTest()
[all...]
/foundation/ability/ability_lite/frameworks/want_lite/src/
H A Dwant.cpp54 constexpr static int DATA_LENGTH = 2048;
286 if ((io == nullptr) || (want == nullptr) || (want->dataLength > DATA_LENGTH)) {
/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; member
792 auto ret = installdProxy->DeliverySignProfile(TEST_STRING, DATA_LENGTH, profileBlock); in HWTEST_F()

Completed in 5 milliseconds