Home
last modified time | relevance | path

Searched refs:ios (Results 1 – 24 of 24) sorted by relevance

/system/libufdt/tests/src/
Dufdt_verify_overlay_app.cpp32 std::ifstream file(filename, std::ios::binary | std::ios::in); in read_file_to_buf()
40 file.seekg(0, std::ios::beg); in read_file_to_buf()
/system/extras/libfec/test/
Dtest_read.cpp46 ofstream output(argv[2], ios::binary | ios::trunc); in main()
/system/chre/host/common/audio_stress_test/
Daudio_stress_test.cc81 std::ifstream file(filename, std::ios::binary | std::ios::ate); in sendLoadNanoappRequest()
87 file.seekg(0, std::ios::beg); in sendLoadNanoappRequest()
/system/apex/apexd/
Dapexd_session.cpp97 std::fstream stateFile(path, std::ios::in | std::ios::binary); in GetSessionFromFile()
204 std::ios::out | std::ios::trunc | std::ios::binary); in UpdateStateAndCommit()
Dapex_shim.cpp56 std::ifstream apex(path, std::ios::binary); in CalculateSha512()
Dapexservice_test.cpp342 std::ifstream src_stream(src, std::ios::binary); in Prepare()
344 std::ofstream trg_stream(trg, std::ios::binary); in Prepare()
/system/core/storaged/
Dstoraged_uid_monitor.cpp229 record.ios.user_id = p.second.user_id; in add_records_locked()
230 record.ios.uid_ios = p.second.uid_ios; in add_records_locked()
233 record.ios.task_ios[p_task.first] = p_task.second; in add_records_locked()
282 const io_usage& uid_usage = rec.ios.uid_ios; in dump()
419 userid_t user_id = entry.ios.user_id; in update_uid_io_proto()
436 const io_usage& uio_ios = entry.ios.uid_ios; in update_uid_io_proto()
439 for (const auto& task_io : entry.ios.task_ios) { in update_uid_io_proto()
460 return rec.ios.user_id == user_id;}), in clear_user_history()
489 if (rec.ios.user_id == user_id) { in load_uid_io_proto()
502 record.ios.user_id = rec_proto.user_id(); in load_uid_io_proto()
[all …]
Dstoraged_service.cpp64 const io_usage& uid_usage = record.ios.uid_ios; in dumpUidRecordsDebug()
67 record.name.c_str(), record.ios.user_id, in dumpUidRecordsDebug()
77 for (const auto& task_it : record.ios.task_ios) { in dumpUidRecordsDebug()
Dstoraged.proto20 optional IOUsage ios = 2; field
Dstoraged_utils.cpp129 merged_entries[record.name] += record.ios.uid_ios; in merge_io_usage()
/system/core/storaged/tests/
Dstoraged_test.cpp566 EXPECT_EQ(entries_0[0].ios.user_id, 0UL); in TEST()
567 EXPECT_EQ(entries_0[0].ios.uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
569 EXPECT_EQ(entries_0[1].ios.user_id, 0UL); in TEST()
570 EXPECT_EQ(entries_0[1].ios.uid_ios.bytes[READ][FOREGROUND][CHARGER_OFF], 1000UL); in TEST()
572 EXPECT_EQ(entries_0[2].ios.user_id, 1UL); in TEST()
573 EXPECT_EQ(entries_0[2].ios.uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
574 EXPECT_EQ(entries_0[2].ios.uid_ios.bytes[READ][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
580 EXPECT_EQ(entries_1[0].ios.user_id, 0UL); in TEST()
581 EXPECT_EQ(entries_1[0].ios.uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
583 EXPECT_EQ(entries_1[1].ios.user_id, 0UL); in TEST()
[all …]
/system/tools/aidl/
Dio_delegate.cpp89 std::ifstream in(filename, std::ios::in | std::ios::binary); in GetFileContents()
94 in.seekg(0, std::ios::end); in GetFileContents()
97 in.seekg(0, std::ios::beg); in GetFileContents()
/system/libhwbinder/vts/performance/
DPerfTest.cpp45 using std::ios;
97 file.open(TRACE_PATH "/tracing_on", ios::out | ios::trunc); in traceStop()
DLatency.cpp51 using std::ios;
74 file.open(TRACE_PATH "/tracing_on", ios::in); in traceIsOn()
/system/chre/host/common/test/
Dchre_test_client.cc171 std::ifstream file(filename, std::ios::binary | std::ios::ate); in sendLoadNanoappRequest()
177 file.seekg(0, std::ios::beg); in sendLoadNanoappRequest()
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace_all.py116 self.ios = {} #K: process name, v:ProcessData
147 io = self.ios.get(process)
150 self.ios[process] = io
189 sorted_by_total_rw = collections.OrderedDict(sorted(self.ios.items(), \
198 sorted_by_total_w = collections.OrderedDict(sorted(self.ios.items(), \
/system/core/storaged/include/
Dstoraged_uid_monitor.h71 uid_io_usage ios; member
/system/extras/perfprofd/binder_interface/
Dperfprofd_binder.cc215 std::ios::binary | std::ios::in) { in StartProfilingProtobufFd()
/system/bpf/libbpf_android/
DLoader.cpp48 using std::ios;
554 ifstream elfFile(elfPath, ios::in | ios::binary); in loadProg()
/system/chre/host/msm/daemon/
Dchre_daemon.cc621 std::ifstream file(filename, std::ios::binary | std::ios::ate); in readFileContents()
626 file.seekg(0, std::ios::beg); in readFileContents()
/system/extras/tests/kernel.config/
Daslr_test.cpp46 std::ofstream bo_file(path, std::ios::out); in set_mmap_rnd_bits()
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device_test.cpp436 ifstream file_stream(file_name, std::ios::binary); in read_file()
/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test.cc39 str.setf(std::ios_base::hex, std::ios::basefield); in DumpByteBufferToString()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp1628 ifstream file_stream(file_name, std::ios::binary); in read_file()