/system/connectivity/wifilogd/tests/ |
D | message_buffer_unittest.cpp | 48 EXPECT_TRUE(buffer_.Append(message.data(), message.size())); in FillBufferWithMultipleMessages() 67 EXPECT_TRUE(buffer_.Append(kSmallestMessage.data(), kSmallestMessage.size())); in TEST_F() 71 EXPECT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F() 75 ASSERT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F() 79 EXPECT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F() 88 ASSERT_TRUE(buffer_.Append(message.data(), message.size())); in TEST_F() 95 buffer_.Append(oversized_message.data(), oversized_message.size())); in TEST_F() 104 buffer_.Append(oversized_message.data(), oversized_message.size())); in TEST_F() 117 ASSERT_TRUE(buffer_.Append(kSmallestMessage.data(), kSmallestMessage.size())); in TEST_F() 127 ASSERT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F() [all …]
|
/system/update_engine/ |
D | image_properties_chromeos_unittest.cc | 39 EXPECT_TRUE(base::CreateDirectory(tempdir_.path().Append("etc"))); in SetUp() 57 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 73 tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 81 WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 94 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 114 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 135 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 146 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F() 157 ASSERT_TRUE(WriteFileString(tempdir_.path().Append("etc/lsb-release").value(), in TEST_F()
|
D | p2p_manager_unittest.cc | 148 base::FilePath path = test_conf_->GetP2PDir().Append(base::StringPrintf( in TEST_F() 154 path = test_conf_->GetP2PDir().Append(base::StringPrintf( in TEST_F() 211 base::FilePath path = test_conf_->GetP2PDir().Append(base::StringPrintf( in TEST_F() 227 path = test_conf_->GetP2PDir().Append(base::StringPrintf( in TEST_F() 352 test_conf_->GetP2PDir().Append("foo.cros_au.p2p.tmp")); in TEST_F() 375 test_conf_->GetP2PDir().Append("foo.cros_au.p2p.tmp")); in TEST_F() 383 test_conf_->GetP2PDir().Append("foo.cros_au.p2p")); in TEST_F() 409 test_conf_->GetP2PDir().Append("foo.cros_au.p2p")); in TEST_F() 425 test_conf_->GetP2PDir().Append("bar.cros_au.p2p.tmp")); in TEST_F()
|
D | real_system_state.cc | 88 if (!prefs->Init(non_volatile_path.Append(kPrefsSubDirectory))) { in Initialize() 97 powerwash_safe_path = non_volatile_path.Append("powerwash-safe"); in Initialize() 102 powerwash_safe_path.Append(kPowerwashSafePrefsSubDirectory))) { in Initialize()
|
D | daemon_state_android.cc | 56 if (!prefs->Init(non_volatile_path.Append(kPrefsSubDirectory))) { in Initialize()
|
D | boot_control_chromeos.cc | 262 return base::FilePath("/sys/block").Append(device_path.BaseName()).value(); in SysfsBlockDevice() 270 !base::ReadFileToString(base::FilePath(sysfs_block).Append("removable"), in IsRemovableDevice()
|
D | boot_control_recovery.cc | 132 base::FilePath path = misc_device.DirName().Append(partition_name + suffix); in GetPartitionDevice()
|
D | boot_control_android.cc | 122 base::FilePath path = misc_device.DirName().Append(partition_name + suffix); in GetPartitionDevice()
|
D | hardware_chromeos.cc | 184 base::FilePath marker_path = base::FilePath(kPowerwashSafeDirectory).Append( in GetPowerwashCount()
|
D | omaha_request_params_unittest.cc | 108 ASSERT_TRUE(WriteFileString(tempdir_.path().Append(".nodelta").value(), "")); in TEST_F()
|
/system/update_engine/common/ |
D | prefs_unittest.cc | 52 return base::WriteFile(prefs_dir_.Append(key), value.data(), in SetValue() 66 EXPECT_EQ(prefs_dir_.Append(kAllvalidCharsKey).value(), path.value()); in TEST_F() 101 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F() 108 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithDots))); in TEST_F() 113 base::FilePath subdir = prefs_dir_.Append("subdir1").Append("subdir2"); in TEST_F() 117 EXPECT_TRUE(base::ReadFileToString(subdir.Append(kKey), &value)); in TEST_F() 127 base::CreateDirectory(prefs_dir_.Append(kKey)); in TEST_F() 129 EXPECT_TRUE(base::DirectoryExists(prefs_dir_.Append(kKey))); in TEST_F() 176 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F() 183 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithSpaces))); in TEST_F() [all …]
|
D | hwid_override_unittest.cc | 35 ASSERT_TRUE(base::CreateDirectory(tempdir_.path().Append("etc"))); in SetUp() 49 ASSERT_EQ(base::WriteFile(tempdir_.path().Append("etc/lsb-release"), in TEST_F() 57 ASSERT_EQ(base::WriteFile(tempdir_.path().Append("etc/lsb-release"), in TEST_F()
|
D | test_utils.cc | 114 char *path = strdup(dir_path.Append("xattr_test_XXXXXX").value().c_str()); in IsXAttrSupported() 267 return GetBuildArtifactsPath().Append(relative_path).value(); in GetBuildArtifactsPath()
|
D | utils_unittest.cc | 103 string temp_file = temp_dir.path().Append("temp-file").value(); in TEST() 105 string temp_symlink = temp_dir.path().Append("temp-symlink").value(); in TEST() 471 test_utils::GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in TEST() 489 string target_file = mnt_dir.path().Append("empty-file").value(); in TEST()
|
D | prefs.cc | 163 *filename = prefs_dir_.Append(key); in GetFileNameForKey()
|
/system/nvram/messages/tests/ |
D | nvram_messages_test.cpp | 59 ASSERT_TRUE(response_payload.space_list.Append(0x1234)); in TEST() 60 ASSERT_TRUE(response_payload.space_list.Append(0xffffffff)); in TEST() 61 ASSERT_TRUE(response_payload.space_list.Append(0x32)); in TEST() 62 ASSERT_TRUE(response_payload.space_list.Append(0x0)); in TEST() 63 ASSERT_TRUE(response_payload.space_list.Append(0x1)); in TEST() 92 ASSERT_TRUE(request_payload.controls.Append(NV_CONTROL_BOOT_WRITE_LOCK)); in TEST() 93 ASSERT_TRUE(request_payload.controls.Append(NV_CONTROL_WRITE_EXTEND)); in TEST() 153 ASSERT_TRUE(response_payload.controls.Append(NV_CONTROL_BOOT_WRITE_LOCK)); in TEST() 154 ASSERT_TRUE(response_payload.controls.Append(NV_CONTROL_BOOT_READ_LOCK)); in TEST() 155 ASSERT_TRUE(response_payload.controls.Append(NV_CONTROL_WRITE_EXTEND)); in TEST()
|
/system/sepolicy/public/ |
D | crash_dump.te | 24 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate) 46 # Append to ANR files. 49 # Append to tombstone files.
|
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 323 base::CopyFile(GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in GenerateDeltaFile() 402 base::CopyFile(GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in GenerateDeltaFile() 410 EXPECT_TRUE(base::CopyFile(mnt_path.Append("regular-small"), in GenerateDeltaFile() 411 mnt_path.Append("regular-small2"))); in GenerateDeltaFile() 412 EXPECT_TRUE(base::DeleteFile(mnt_path.Append("regular-small"), false)); in GenerateDeltaFile() 413 EXPECT_TRUE(base::Move(mnt_path.Append("regular-small2"), in GenerateDeltaFile() 414 mnt_path.Append("regular-small"))); in GenerateDeltaFile() 416 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 417 EXPECT_EQ(0, base::WriteFile(mnt_path.Append("emptyfile"), "", 0)); in GenerateDeltaFile() 420 WriteSparseFile(mnt_path.Append("fullsparse").value(), 1024 * 1024)); in GenerateDeltaFile() [all …]
|
/system/core/liblog/include/log/ |
D | log_event_list.h | 263 bool Append(const std::string& value) { in Append() function 278 bool Append(Tvalue value) { in Append() function 283 bool Append(const char* value, size_t len) { in Append() function
|
/system/nvram/messages/include/nvram/messages/ |
D | vector.h | 144 bool Append(const ElementType& element) NVRAM_WARN_UNUSED_RESULT { in Append() function 153 bool Append(ElementType&& element) NVRAM_WARN_UNUSED_RESULT { in Append() function
|
/system/update_engine/payload_generator/ |
D | ext2_filesystem_unittest.cc | 104 base::FilePath build_path = GetBuildArtifactsPath().Append("gen"); in TEST_F() 108 build_path.Append(fs_name).value()); in TEST_F()
|
/system/connectivity/wifilogd/ |
D | message_buffer.h | 52 bool Append(NONNULL const uint8_t* data, uint16_t data_len);
|
D | message_buffer.cpp | 34 bool MessageBuffer::Append(const uint8_t* message, uint16_t message_len) { in Append() function in android::wifilogd::MessageBuffer
|
D | command_processor.cpp | 198 bool did_write = current_log_buffer_.Append( in CopyCommandToLog()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 770 virtual bool Append(uint8_t* buf, size_t buf_size) = 0; 787 virtual bool Append(uint8_t* buf, size_t buf_size) override { in Append() function in MemoryWriter 866 virtual bool Append(uint8_t* buf, size_t buf_size) override { in Append() function in FileWriter 977 if (!writer->Append(&write_buf[0], write_size)) { in InflateEntryToWriter() 1020 if (!writer->Append(&buf[0], block_size)) { in CopyEntryToWriter() 1112 virtual bool Append(uint8_t* buf, size_t buf_size) override { in Append() function in ProcessWriter
|