Home
last modified time | relevance | path

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

/test/ostest/wukong/input_factory/src/
H A Drecord_input.cpp59 static void WriteEventHead(std::ofstream &outFile) in WriteEventHead() argument
61 outFile << "x" << ','; in WriteEventHead()
62 outFile << "y" << ','; in WriteEventHead()
63 outFile << "interval" << std::endl; in WriteEventHead()
66 static void WriteEventData(std::ofstream &outFile, const EventData &data) in WriteEventData() argument
68 outFile << data.xPosi << ','; in WriteEventData()
69 outFile << data.yPosi << ','; in WriteEventData()
70 outFile << data.interval << std::endl; in WriteEventData()
88 bool InitEventRecordFile(std::ofstream &outFile, const std::string &recordName) in InitEventRecordFile() argument
95 outFile in InitEventRecordFile()
[all...]
/test/testfwk/arkxtest/uitest/record/
H A Dui_record.cpp143 auto json = snapshootKeyTracker.WriteSingleData(info, outFile, csv_lock); in OnInputEvent()
155 auto json = snapshootKeyTracker.WriteCombinationData(outFile, csv_lock); in OnInputEvent()
249 auto json = pointerTracker_.WriteData(info, outFile, csv_lock); in FindWidgetsandWriteData()
345 outFile.open(filePath, std::ios_base::out | std::ios_base::trunc); in InitEventRecordFile()
346 if (!outFile) { in InitEventRecordFile()
367 if (outFile.is_open()) { in RecordInitEnv()
368 outFile << "windowBounds" << ','; in RecordInitEnv()
369 outFile << windowBounds.left_ << ','; in RecordInitEnv()
370 outFile << windowBounds.top_ << ','; in RecordInitEnv()
371 outFile << windowBound in RecordInitEnv()
[all...]
H A Dkeyevent_tracker.cpp104 nlohmann::json KeyeventTracker::WriteCombinationData(ofstream& outFile, shared_ptr<mutex> &csv_lock) in WriteCombinationData() argument
121 if (outFile.is_open()) { in WriteCombinationData()
122 outFile << data.dump() << std::endl; in WriteCombinationData()
127 nlohmann::json KeyeventTracker::WriteSingleData(KeyEventInfo &info, ofstream &outFile, shared_ptr<mutex> &csv_lock) in WriteSingleData() argument
139 if (outFile.is_open()) { in WriteSingleData()
140 outFile << data.dump() << std::endl; in WriteSingleData()
H A Dkeyevent_tracker.h114 nlohmann::json WriteCombinationData(ofstream &outFile, shared_ptr<mutex> &csv_lock);
115 nlohmann::json WriteSingleData(KeyEventInfo &info, ofstream &outFile, shared_ptr<mutex> &csv_lock);
H A Dpointer_tracker.cpp379 nlohmann::json PointerTracker::WriteData(PointerInfo pointerInfo, ofstream& outFile, shared_ptr<mutex> &csv_lock) in WriteData() argument
383 if (outFile.is_open()) { in WriteData()
384 outFile << out.dump() << std::endl; in WriteData()
H A Dpointer_tracker.h86 nlohmann::json WriteData(PointerInfo pointerInfo, ofstream &outFile, shared_ptr<mutex> &csv_lock);
H A Dui_record.h105 mutable std::ofstream outFile; member in OHOS::uitest::InputEventCallback
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/
H A Dvideodec_ndk_sample.cpp369 void VDecNdkSample::WriteOutputFrame(uint32_t index, OH_AVMemory *buffer, OH_AVCodecBufferAttr attr, FILE *outFile) in WriteOutputFrame() argument
376 fwrite(tmpBuffer, 1, attr.size, outFile); in WriteOutputFrame()
394 FILE *outFile = fopen(OUT_DIR, "wb"); in OutputFunc() local
395 if (outFile == nullptr) { in OutputFunc()
430 WriteOutputFrame(index, buffer, attr, outFile); in OutputFunc()
435 (void)fclose(outFile); in OutputFunc()
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/
H A Dvideoenc_api11_sample.cpp854 FILE *outFile = fopen(OUT_DIR, "wb"); in OutputFunc() local
883 if (outFile == nullptr) { in OutputFunc()
886 fwrite(OH_AVBuffer_GetAddr(buffer), 1, size, outFile); in OutputFunc() local
897 if (outFile) { in OutputFunc()
898 (void)fclose(outFile); in OutputFunc()
H A Dvideoenc_ndk_sample.cpp807 FILE *outFile = fopen(OUT_DIR, "wb"); in OutputFunc() local
837 if (outFile == nullptr) { in OutputFunc()
840 fwrite(OH_AVMemory_GetAddr(buffer), 1, size, outFile); in OutputFunc() local
852 if (outFile) { in OutputFunc()
853 (void)fclose(outFile); in OutputFunc()
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/
H A DVDecEncNdkSample.cpp692 FILE *outFile = fopen(outFile_.c_str(), "a"); in WriteToFile() local
693 if (outFile == nullptr) { in WriteToFile()
697 fwrite(OH_AVMemory_GetAddr(buffer), 1, size, outFile); in WriteToFile() local
699 return fclose(outFile); in WriteToFile()
/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/src/
H A DADecEncNdkSample.cpp697 FILE *outFile = fopen(OUT_FILE, "a"); in WriteToFile() local
698 if (outFile == nullptr) { in WriteToFile()
702 fwrite(OH_AVMemory_GetAddr(buffer), 1, size, outFile); in WriteToFile() local
704 return fclose(outFile); in WriteToFile()
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/include/
H A Dvideodec_ndk_sample.h98 void WriteOutputFrame(uint32_t index, OH_AVMemory *buffer, OH_AVCodecBufferAttr attr, FILE *outFile);

Completed in 20 milliseconds