/system/bt/gd/security/ |
D | pairing_handler_le_legacy.cc | 45 const auto& ios = pairing_response.GetIoCapability(); in DoLegacyStage1() local 47 if (iom == IoCapability::NO_INPUT_NO_OUTPUT || ios == IoCapability::NO_INPUT_NO_OUTPUT) { in DoLegacyStage1() 52 (ios == IoCapability::DISPLAY_ONLY || ios == IoCapability::DISPLAY_YES_NO)) { in DoLegacyStage1() 58 ios == IoCapability::KEYBOARD_DISPLAY || ios == IoCapability::KEYBOARD_ONLY) { in DoLegacyStage1() 59 IoCapability my_iocaps = IAmCentral(i) ? iom : ios; in DoLegacyStage1() 60 IoCapability remote_iocaps = IAmCentral(i) ? ios : iom; in DoLegacyStage1()
|
D | pairing_handler_le_secure_connections.cc | 111 const auto& ios = pairing_response.GetIoCapability(); in DoSecureConnectionsStage1() local 114 (ios == IoCapability::KEYBOARD_DISPLAY || ios == IoCapability::DISPLAY_YES_NO)) { in DoSecureConnectionsStage1() 118 if (iom == IoCapability::NO_INPUT_NO_OUTPUT || ios == IoCapability::NO_INPUT_NO_OUTPUT) { in DoSecureConnectionsStage1() 123 (ios == IoCapability::DISPLAY_ONLY || ios == IoCapability::DISPLAY_YES_NO)) { in DoSecureConnectionsStage1() 127 IoCapability my_iocaps = IAmCentral(i) ? iom : ios; in DoSecureConnectionsStage1() 128 IoCapability remote_iocaps = IAmCentral(i) ? ios : iom; in DoSecureConnectionsStage1()
|
/system/libufdt/tests/src/ |
D | ufdt_verify_overlay_app.cpp | 32 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/ |
D | test_read.cpp | 46 ofstream output(argv[2], ios::binary | ios::trunc); in main()
|
/system/chre/host/common/audio_stress_test/ |
D | audio_stress_test.cc | 82 std::ifstream file(filename, std::ios::binary | std::ios::ate); in sendLoadNanoappRequest() 88 file.seekg(0, std::ios::beg); in sendLoadNanoappRequest()
|
/system/apex/apexd/ |
D | apexd_session_test.cpp | 90 path_ + "/state", std::ios::out | std::ios::trunc | std::ios::binary); in TEST()
|
D | apexd_session.cpp | 89 std::fstream state_file(path, std::ios::in | std::ios::binary); in GetSessionFromFile() 245 std::ios::out | std::ios::trunc | std::ios::binary); in UpdateStateAndCommit()
|
D | apexd_test_utils.h | 170 std::ifstream file1(filename1, std::ios::binary); in CompareFiles() 171 std::ifstream file2(filename2, std::ios::binary); in CompareFiles()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | scripted_beacon.cc | 111 events_ostream_.open(events_file_, std::ios::out | std::ios::binary | std::ios::trunc); in set_state() 153 std::fstream input(config_file_, std::ios::in | std::ios::binary); in TimerTick()
|
/system/media/audio_utils/fuzz/sndfile_fuzzer/ |
D | sndfile_fuzzer.cpp | 95 file.open(path.c_str(), std::ios::trunc | std::ios::binary | std::ios::out); in LLVMFuzzerTestOneInput()
|
/system/bt/gd/os/linux_generic/ |
D | files.cc | 54 std::ifstream input(path, std::ios::binary | std::ios::ate); in FileExists() 67 std::ifstream input(path, std::ios::binary | std::ios::ate); in ReadSmallFile()
|
/system/core/storaged/ |
D | storaged_uid_monitor.cpp | 226 record.ios.user_id = p.second.user_id; in add_records_locked() 227 record.ios.uid_ios = p.second.uid_ios; in add_records_locked() 230 record.ios.task_ios[p_task.first] = p_task.second; in add_records_locked() 279 const io_usage& uid_usage = rec.ios.uid_ios; in dump() 416 userid_t user_id = entry.ios.user_id; in update_uid_io_proto() 433 const io_usage& uio_ios = entry.ios.uid_ios; in update_uid_io_proto() 436 for (const auto& task_io : entry.ios.task_ios) { in update_uid_io_proto() 457 return rec.ios.user_id == user_id;}), in clear_user_history() 486 if (rec.ios.user_id == user_id) { in load_uid_io_proto() 499 record.ios.user_id = rec_proto.user_id(); in load_uid_io_proto() [all …]
|
D | storaged_service.cpp | 64 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()
|
D | storaged.proto | 20 optional IOUsage ios = 2; field
|
D | storaged_utils.cpp | 129 merged_entries[record.name] += record.ios.uid_ios; in merge_io_usage()
|
/system/core/storaged/tests/ |
D | storaged_test.cpp | 566 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/security/ondevice-signing/ |
D | odsign_main.cpp | 190 std::fstream odsign_info(kOdsignInfo, std::ios::in | std::ios::binary); in getOdsignInfo() 224 std::ios::in | std::ios::out | std::ios::trunc | std::ios::binary); in persistDigests() 230 odsign_info.seekg(0, std::ios::beg); in persistDigests()
|
/system/tools/aidl/ |
D | io_delegate.cpp | 92 std::ifstream in(filename, std::ios::in | std::ios::binary); in GetFileContents() 97 in.seekg(0, std::ios::end); in GetFileContents() 100 in.seekg(0, std::ios::beg); in GetFileContents()
|
/system/libhwbinder/vts/performance/ |
D | PerfTest.cpp | 45 using std::ios; 97 file.open(TRACE_PATH "/tracing_on", ios::out | ios::trunc); in traceStop()
|
D | Latency.cpp | 51 using std::ios; 74 file.open(TRACE_PATH "/tracing_on", ios::in); in traceIsOn()
|
/system/chre/host/common/ |
D | daemon_base.cc | 211 std::ifstream file(filename, std::ios::binary | std::ios::ate); in readFileContents() 216 file.seekg(0, std::ios::beg); in readFileContents()
|
/system/bt/gd/hal/ |
D | snoop_logger.cc | 237 btsnoop_ostream_.open(snoop_log_path_, std::ios::binary | std::ios::out); in OpenNextSnoopLogFile() 339 std::ofstream btsnooz_ostream(snooz_log_path_, std::ios::binary | std::ios::out); in DumpSnoozLogToFile()
|
/system/extras/boottime_tools/io_analysis/ |
D | check_io_trace_all.py | 116 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/chre/host/common/test/ |
D | chre_test_client.cc | 187 std::ifstream file(filename, std::ios::binary | std::ios::ate); in readFileContents() 192 file.seekg(0, std::ios::beg); in readFileContents()
|
/system/core/storaged/include/ |
D | storaged_uid_monitor.h | 71 uid_io_usage ios; member
|