Searched refs:contents (Results 26 - 37 of 37) sorted by relevance
12
/system/connectivity/apmanager/ |
H A D | device_info_unittest.cc | 90 const string& contents) { 94 EXPECT_TRUE(base::WriteFile(info_path, contents.c_str(), contents.size())); 88 CreateDeviceInfoFile(const string& interface_name, const string& file_name, const string& contents) argument
|
/system/core/crash_reporter/ |
H A D | user_collector_test.cc | 79 std::string contents; local 80 EXPECT_TRUE(base::ReadFileToString(file_path, &contents)); 81 EXPECT_EQ(golden, contents);
|
/system/extras/ext4_utils/ |
H A D | Android.mk | 10 contents.c \
|
/system/connectivity/shill/vpn/ |
H A D | l2tp_ipsec_driver_unittest.cc | 357 string contents; local 358 EXPECT_TRUE(base::ReadFileToString(driver_->psk_file_, &contents)); 359 EXPECT_EQ(kPSK, contents); 434 string contents; local 436 base::ReadFileToString(driver_->xauth_credentials_file_, &contents)); 438 EXPECT_EQ(expected_contents, contents);
|
H A D | openvpn_driver_unittest.cc | 746 string contents; local 747 EXPECT_TRUE(base::ReadFileToString(driver_->tls_auth_file_, &contents)); 748 EXPECT_EQ(kTLSAuthContents, contents);
|
/system/update_engine/common/ |
H A D | utils.cc | 83 // Number of bytes to read from a file to attempt to detect its contents. Used 352 // Opens a file |path| for reading and appends its the contents to a container 1116 brillo::Blob contents; local 1125 if (!brillo::data_encoding::Base64Decode(base64_encoded, &contents) || 1126 contents.size() == 0) { 1137 if (fwrite(contents.data(), 1, contents.size(), file) != contents.size()) {
|
H A D | utils_unittest.cc | 281 const vector<uint8_t>& contents) { 284 reinterpret_cast<const char*>(contents.data()), 285 contents.size())); 413 string contents; local 414 EXPECT_TRUE(utils::ReadFile(path.value(), &contents)); 415 EXPECT_EQ(contents, expected_contents); 280 GetFileFormatTester(const string& expected, const vector<uint8_t>& contents) argument
|
/system/core/libmemunreachable/ |
H A D | MemUnreachable.cpp | 187 memcpy(leak->contents, reinterpret_cast<void*>(it.range.begin), 291 // collect register contents and stacks 320 // the CoW snapshot of the process memory contents. 438 oss << " contents:" << std::endl; 440 oss << " first " << bytes << " bytes of contents:" << std::endl; 448 oss << std::setw(2) << static_cast<int>(contents[j]) << " "; 455 char c = contents[j];
|
/system/media/camera/docs/ |
H A D | metadata_parser_xml.py | 61 soup: an instance of BeautifulSoup corresponding to the XML contents 114 return [i for i in element.contents if isinstance(i, NavigableString)]
|
/system/core/libziparchive/ |
H A D | zip_archive_test.cc | 432 // Read the file back to a buffer and make sure the contents are 530 const std::vector<uint8_t>& contents, bool raw) { 538 ASSERT_EQ(contents.size(), read_data.size()); 539 ASSERT_TRUE(memcmp(read_data.data(), contents.data(), read_data.size()) == 0); 528 ZipArchiveStreamTestUsingContents( const std::string& zip_file, const std::string& entry_name, const std::vector<uint8_t>& contents, bool raw) argument
|
/system/connectivity/shill/ |
H A D | device_info_unittest.cc | 1428 void CreateInfoFile(const string& name, const string& contents); 1429 void CreateInfoSymLink(const string& name, const string& contents); 1447 const string& contents) { 1450 string contents_newline(contents + "\n"); 1456 const string& contents) { 1459 EXPECT_TRUE(base::CreateSymbolicLink(FilePath(contents), info_path)); 1446 CreateInfoFile(const string& name, const string& contents) argument 1455 CreateInfoSymLink(const string& name, const string& contents) argument
|
H A D | device_info.cc | 270 string contents; local 271 if (!GetDeviceInfoContents(iface_name, kInterfaceUevent, &contents)) { 280 if (contents.find(kInterfaceUeventWifiSignature) != string::npos) {
|
Completed in 473 milliseconds
12