/system/nativepower/daemon/ |
D | wake_lock_manager_unittest.cc | 45 std::string ReadFile(const base::FilePath& path) const { in ReadFile() function in android::WakeLockManagerTest 73 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(lock_path_)); in TEST_F() 74 EXPECT_EQ("", ReadFile(unlock_path_)); in TEST_F() 80 EXPECT_EQ("", ReadFile(lock_path_)); in TEST_F() 81 EXPECT_EQ("", ReadFile(unlock_path_)); in TEST_F() 86 EXPECT_EQ("", ReadFile(lock_path_)); in TEST_F() 87 EXPECT_EQ("", ReadFile(unlock_path_)); in TEST_F() 92 EXPECT_EQ("", ReadFile(lock_path_)); in TEST_F() 93 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(unlock_path_)); in TEST_F() 99 EXPECT_EQ(WakeLockManager::kLockName, ReadFile(lock_path_)); in TEST_F() [all …]
|
/system/connectivity/shill/ |
D | resolver_unittest.cc | 68 string ReadFile(); 75 string ResolverTest::ReadFile() { in ReadFile() function in shill::ResolverTest 95 EXPECT_EQ(kExpectedOutput, ReadFile()); in TEST_F() 128 EXPECT_EQ(kExpectedIgnoredSearchOutput, ReadFile()); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | extent_writer_unittest.cc | 85 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); in TEST_F() 153 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); in WriteAlignedExtents() 203 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); in TestZeroPad() 253 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &resultant_data)); in TEST_F()
|
D | bzip_extent_writer_unittest.cc | 80 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &buf)); in TEST_F() 127 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &output)); in TEST_F()
|
D | mtd_file_descriptor.cc | 45 using chromeos_update_engine::utils::ReadFile; 60 if (!ReadFile(sysfs_node + kReservedEbs, &s_reserved_ebs)) { in GetUbiVolumeInfo() 65 if (!ReadFile(sysfs_node + kUsableEbSize, &s_eb_size)) { in GetUbiVolumeInfo()
|
D | file_writer_unittest.cc | 51 EXPECT_TRUE(utils::ReadFile(path, &actual_data)); in TEST()
|
D | delta_performer_integration_test.cc | 130 EXPECT_TRUE(utils::ReadFile(a_file, &a_data)) << "file failed: " << a_file; in CompareFilesByBlock() 131 EXPECT_TRUE(utils::ReadFile(b_file, &b_data)) << "file failed: " << b_file; in CompareFilesByBlock() 250 ASSERT_TRUE(utils::ReadFile(hash_file, &hash)); in SignGeneratedShellPayload() 601 EXPECT_TRUE(utils::ReadFile(state->delta_path, &state->delta)); in ApplyDeltaFile() 872 EXPECT_TRUE(utils::ReadFile(state->result_kernel, in VerifyPayloadResult() 879 EXPECT_TRUE(utils::ReadFile(state->old_kernel, &updated_kernel_partition)); in VerifyPayloadResult()
|
D | filesystem_verifier_action_unittest.cc | 233 if (!utils::ReadFile(a_dev, &a_out)) { in DoTest()
|
D | delta_performer_unittest.cc | 174 EXPECT_TRUE(utils::ReadFile(payload_path, &payload_data)); in GeneratePayload() 219 EXPECT_TRUE(utils::ReadFile(new_part, &partition_data)); in ApplyPayloadToData()
|
D | download_action_unittest.cc | 77 ASSERT_TRUE(utils::ReadFile(path_, &found_data)); in ProcessingDone()
|
/system/weaved/buffet/ |
D | buffet_config.cc | 41 bool ReadFile(const base::FilePath& path, std::string* content) override { in ReadFile() function in buffet::__anon80ccf89a0111::DefaultFileIO 172 if (!file_io_->ReadFile(path, &settings_blob)) { in LoadSettings() 222 if (!file_io_->ReadFile(file_path, data)) { in LoadFile()
|
D | buffet_config.h | 57 virtual bool ReadFile(const base::FilePath& path, std::string* content) = 0;
|
D | buffet_config_unittest.cc | 105 bool ReadFile(const base::FilePath& path, std::string* content) override { in ReadFile() function in buffet::BuffetConfigTestWithFakes
|
/system/update_engine/payload_generator/ |
D | payload_file_unittest.cc | 79 EXPECT_TRUE(utils::ReadFile(new_blobs, &new_data)); in TEST_F()
|
D | payload_signer.cc | 106 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in AddSignatureBlobToPayload() 316 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in VerifySignedPayload() 404 TEST_AND_RETURN_FALSE(utils::ReadFile(unsigned_payload_path, &payload)); in SignPayload()
|
D | generate_delta_main.cc | 137 CHECK(utils::ReadFile(signature_file, &signature)); in SignatureFileFlagToBlobs()
|
/system/update_engine/ |
D | hardware_chromeos.cc | 141 if (!utils::ReadFile(marker_path.value(), &contents)) in GetPowerwashCount()
|
D | omaha_response_handler_action_unittest.cc | 159 EXPECT_TRUE(utils::ReadFile(test_deadline_file, &deadline)); in TEST_F() 185 EXPECT_TRUE(utils::ReadFile(test_deadline_file, &deadline) && in TEST_F() 206 EXPECT_TRUE(utils::ReadFile(test_deadline_file, &deadline)); in TEST_F()
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 236 std::string ReadFile(const std::string& filename) { in ReadFile() function 402 std::string input = ReadFile(input_filename); in Encrypt() 415 std::string input = ReadFile(input_filename); in Decrypt()
|
/system/update_engine/common/ |
D | utils.h | 99 bool ReadFile(const std::string& path, brillo::Blob* out_p); 100 bool ReadFile(const std::string& path, std::string* out_p);
|
D | utils_unittest.cc | 65 EXPECT_FALSE(utils::ReadFile("/this/doesn't/exist", &empty)); in TEST() 416 EXPECT_TRUE(utils::ReadFile(path.value(), &contents)); in TEST()
|
D | utils.cc | 399 bool ReadFile(const string& path, brillo::Blob* out_p) { in ReadFile() function 403 bool ReadFile(const string& path, string* out_p) { in ReadFile() function
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 37 if (!parser.ReadFile(perf_file) || !parser.ParseRawEvents()) { in RawPerfDataToAndroidPerfProfile()
|
/system/extras/perfprofd/quipper/ |
D | perf_reader.h | 90 bool ReadFile(const string& filename);
|
/system/core/adb/ |
D | adb.cpp | 570 if (!ReadFile(read_pipe.get(), buf, sizeof(buf), &bytes_read, NULL)) { in _redirect_pipe_thread() 783 if (ReadFile(ack_read.get(), temp, sizeof(temp), &count, NULL)) { in launch_server()
|