Home
last modified time | relevance | path

Searched refs:randomNum (Results 1 - 13 of 13) sorted by relevance

/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturefileformatfile_fuzzer/
H A Dscreencapturefileformatfile_fuzzer.cpp99 int32_t randomNum = (*reinterpret_cast<int32_t *>(data)) % (fileformatList); in FuzzScreenCaptureFileFormatFile() local
100 MEDIA_LOGI("FuzzTest ScreenCaptureFileFormatFileFuzzer randomNum: %{public}d ", randomNum); in FuzzScreenCaptureFileFormatFile()
107 if (randomNum == 0) { in FuzzScreenCaptureFileFormatFile()
109 } else if (randomNum == 1) { in FuzzScreenCaptureFileFormatFile()
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureaudiocodecformatfile_fuzzer/
H A Dscreencaptureaudiocodecformatfile_fuzzer.cpp106 int32_t randomNum = abs((*reinterpret_cast<int32_t *>(data)) % (audioCodecformatList)); in FuzzScreenCaptureAudioCodecFormatFile() local
107 MEDIA_LOGI("FuzzTest ScreenCaptureAudioBitrateFileNdkFuzzer randomNum: %{public}d ", randomNum); in FuzzScreenCaptureAudioCodecFormatFile()
109 config.audioInfo.audioEncInfo.audioCodecformat = audioCodecformat[randomNum]; in FuzzScreenCaptureAudioCodecFormatFile()
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkfileformatfile_fuzzer/
H A Dscreencapturefileformatfile_ndk_fuzzer.cpp103 int32_t randomNum = abs((*reinterpret_cast<int32_t *>(data)) % (fileformatList)); in FuzzScreenCaptureFileFormatFileNdk() local
104 MEDIA_LOGI("FuzzTest ScreenCaptureFileFormatFileNdkFuzzer randomNum: %{public}d ", randomNum); in FuzzScreenCaptureFileFormatFileNdk()
112 recorderInfo.fileFormat = fileformat[randomNum]; in FuzzScreenCaptureFileFormatFileNdk()
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkvideocodecfile_fuzzer/
H A Dscreencapturevideocodecfile_ndk_fuzzer.cpp108 int32_t randomNum = abs((*reinterpret_cast<int32_t *>(data)) % (videoCodecList)); in FuzzScreenCaptureVideoCodecFileNdk() local
109 MEDIA_LOGI("FuzzTest ScreenCaptureVideoCodecFileNdkFuzzer randomNum: %{public}d ", randomNum); in FuzzScreenCaptureVideoCodecFileNdk()
111 config.videoInfo.videoEncInfo.videoCodec = videoCodec[randomNum]; in FuzzScreenCaptureVideoCodecFileNdk()
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideocodecfile_fuzzer/
H A Dscreencapturevideocodecfile_fuzzer.cpp107 int32_t randomNum = abs((*reinterpret_cast<int32_t *>(data)) % (videoCodecList)); in FuzzScreenCaptureVideoCodecFile() local
108 MEDIA_LOGI("FuzzTest ScreenCaptureVideoCodecFileFuzzer randomNum: %{public}d ", randomNum); in FuzzScreenCaptureVideoCodecFile()
110 config.videoInfo.videoEncInfo.videoCodec = videoCodec[randomNum]; in FuzzScreenCaptureVideoCodecFile()
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiocodecformatfile_fuzzer/
H A Dscreencaptureaudiocodecformatfile_ndk_fuzzer.cpp104 int32_t randomNum = abs((*reinterpret_cast<int32_t *>(data)) % (audioCodecformatList)); in FuzzScreenCaptureAudioCodecFormatFileNdk() local
105 MEDIA_LOGI("FuzzTest ScreenCaptureAudioCodecFormatFileNdkFuzzer randomNum: %{public}d ", randomNum); in FuzzScreenCaptureAudioCodecFormatFileNdk()
107 config.audioInfo.audioEncInfo.audioCodecformat = audioCodecformat[randomNum]; in FuzzScreenCaptureAudioCodecFormatFileNdk()
/foundation/communication/dsoftbus/sdk/frame/standard/src/
H A Dsoftbus_server_proxy_frame.cpp62 int32_t randomNum = rand(); in InnerRegisterService() local
63 int32_t scaledNum = randomNum % RANDOM_RANGE_MAX; in InnerRegisterService()
/foundation/distributeddatamgr/data_object/interfaces/jskits/
H A Ddistributed_data_object.js115 result.__objectId = randomNum();
120 function randomNum() { function
446 genSessionId: randomNum
/foundation/multimedia/audio_framework/frameworks/native/examples/
H A Dpa_stream_test.cpp332 int32_t randomNum = dis(gen); in WriteDataWorker() local
333 AUDIO_INFO_LOG("recorder sleepTime %{public}d", randomNum); in WriteDataWorker()
334 usleep(randomNum); in WriteDataWorker()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A Drfcomm_session_fsm.c423 uint32_t randomNum = RandomGenerate(); in RfcommRecvConnectReq() local
424 uint8_t timer = randomNum % RFCOMM_NUM_TEN; in RfcommRecvConnectReq()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp.h236 FILLP_ULLONG randomNum; member
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dself_cure_state_machine.cpp2440 uint32_t randomNum = 0; in GetNextIpAddr() local
2443 read(fd, &randomNum, sizeof(uint32_t)); in GetNextIpAddr()
2446 uint32_t rand = (randomNum > 0 ? randomNum : -randomNum) % 100; in GetNextIpAddr()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_common.c451 nackTest.randomNum = FILLP_HTONLL(pcb->send.nackRandomNum + FILLP_RAND()); in FillpSendRepaetNack()

Completed in 13 milliseconds