/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/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_test.cpp | 71 data_dir_.Append("testkey_rsa2048.pem"), "d00df00d", in TEST_F() 80 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F() 85 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa2048.pem")); in TEST_F() 87 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa4096.pem")); in TEST_F() 91 data_dir_.Append("testkey_rsa8192.pem"), in TEST_F() 103 return test_dir_.Append(partition_name + ".img").value(); in TEST_F() 142 data_dir_.Append("testkey_rsa2048.pem"), "d00df00d", in TEST_F() 151 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F() 156 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa2048.pem")); in TEST_F() 158 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa4096.pem")); in TEST_F() [all …]
|
D | basic_test.cpp | 51 GenerateVBMetaImage("vbmeta.img", "SHA256_RSA2048", 0, data_dir_.Append("testkey_rsa2048.pem"), in TEST_F() 83 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F() 120 data_dir_.Append("testkey_rsa8192.pem"), "d00df00d", in TEST_F() 159 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F() 168 data_dir_.Append("testkey_rsa8192.pem"), "d00df00d", in TEST_F() 172 GenerateVBMetaImage("vbmeta.img", "SHA256_RSA2048", 0, data_dir_.Append("testkey_rsa2048.pem"), in TEST_F() 221 data_dir_.Append("testkey_rsa2048.pem"), "d00df00d", in TEST_F() 230 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F() 235 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa2048.pem")); in TEST_F() 237 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa4096.pem")); in TEST_F() [all …]
|
D | avb_util_test.cpp | 200 data_dir_.Append("testkey_rsa8192.pem"), "d00df00d", in TEST_F() 274 GenerateVBMetaImage("vbmeta.img", "SHA256_RSA4096", 0, data_dir_.Append("testkey_rsa4096.pem"), in TEST_F() 298 data_dir_.Append("testkey_rsa2048.pem"), "d00df00d", in TEST_F() 307 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F() 313 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa4096.pem")); in TEST_F() 316 GenerateVBMetaImage("vbmeta.img", "SHA256_RSA4096", 0, data_dir_.Append("testkey_rsa4096.pem"), in TEST_F() 340 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F() 450 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa2048.pem")); in TEST_F() 452 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa4096.pem")); in TEST_F() 454 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa8192.pem")); in TEST_F() [all …]
|
D | util_test.cpp | 159 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST() 180 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST() 201 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST() 226 base::FilePath file_path_1 = test_dir.Append("1.txt"); in TEST() 228 base::FilePath file_path_2 = test_dir.Append("2.txt"); in TEST() 230 base::FilePath file_path_3 = test_dir.Append("3.txt"); in TEST() 257 base::FilePath file_path_1 = test_dir.Append("1.txt"); in TEST() 259 base::FilePath file_path_2 = test_dir.Append("2.txt"); in TEST() 262 base::FilePath file_path_3 = test_dir.Append("3.txt"); in TEST() 263 base::FilePath non_existent_target = test_dir.Append("non_existent_target.txt"); in TEST() [all …]
|
D | fs_avb_test_util.cpp | 57 base::FilePath vbmeta_digest_path = test_dir_.Append("vbmeta_digest"); in CalcVBMetaDigest() 100 vbmeta_image.path = test_dir_.Append(file_name); in GenerateVBMetaImage() 124 vbmeta_image.path = test_dir_.Append(output_file_name); in ExtractVBMetaImage() 152 base::FilePath image_path = test_dir_.Append(file_name); in GenerateImage() 231 base::FilePath tmp_path = test_dir_.Append("info_output.txt"); in InfoImage() 249 base::FilePath tmp_path = test_dir_.Append(file_name + "public_key.bin"); in ExtractPublicKeyAvb() 258 base::FilePath tmp_path = test_dir_.Append("public_key.bin"); in ExtractPublicKeyAvbBlob()
|
D | fs_avb_util_test.cpp | 39 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F() 110 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F()
|
/system/update_engine/ |
D | image_properties_chromeos_unittest.cc | 39 EXPECT_TRUE(base::CreateDirectory(tempdir_.GetPath().Append("etc"))); in SetUp() 58 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 74 tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 82 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 96 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 117 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 139 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 151 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F() 163 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
|
D | p2p_manager_unittest.cc | 153 base::FilePath path = test_conf_->GetP2PDir().Append( in TEST_F() 159 path = test_conf_->GetP2PDir().Append( in TEST_F() 217 base::FilePath path = test_conf_->GetP2PDir().Append( in TEST_F() 233 path = test_conf_->GetP2PDir().Append( in TEST_F() 357 test_conf_->GetP2PDir().Append("foo.cros_au.p2p.tmp")); in TEST_F() 377 test_conf_->GetP2PDir().Append("foo.cros_au.p2p.tmp")); in TEST_F() 387 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 | boot_control_chromeos.cc | 168 .Append(dlc_module_id) in GetPartitionDevice() 169 .Append(slot == 0 ? kPartitionNameDlcA : kPartitionNameDlcB) in GetPartitionDevice() 170 .Append(kPartitionNameDlcImage) in GetPartitionDevice() 291 return base::FilePath("/sys/block").Append(device_path.BaseName()).value(); in SysfsBlockDevice() 299 !base::ReadFileToString(base::FilePath(sysfs_block).Append("removable"), in IsRemovableDevice()
|
D | image_properties_android_unittest.cc | 40 osrelease_dir_ = tempdir_.GetPath().Append("etc/os-release.d"); in SetUp() 46 ASSERT_TRUE(WriteFileString(osrelease_dir_.Append(key).value(), value)); in WriteOsRelease() 54 WriteFileString(tempdir_.GetPath().Append("misc").value(), misc)); in WriteChannel()
|
D | real_system_state.cc | 108 if (!prefs->Init(non_volatile_path.Append(kPrefsSubDirectory))) { in Initialize() 117 powerwash_safe_path = non_volatile_path.Append("powerwash-safe"); in Initialize() 122 powerwash_safe_path.Append(kPowerwashSafePrefsSubDirectory))) { in Initialize()
|
/system/update_engine/common/ |
D | prefs_unittest.cc | 52 return base::WriteFile(prefs_dir_.Append(key), in SetValue() 67 EXPECT_EQ(prefs_dir_.Append(kAllvalidCharsKey).value(), path.value()); in TEST_F() 102 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F() 109 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithDots))); in TEST_F() 114 base::FilePath subdir = prefs_dir_.Append("subdir1").Append("subdir2"); in TEST_F() 118 EXPECT_TRUE(base::ReadFileToString(subdir.Append(kKey), &value)); in TEST_F() 128 base::CreateDirectory(prefs_dir_.Append(kKey)); in TEST_F() 130 EXPECT_TRUE(base::DirectoryExists(prefs_dir_.Append(kKey))); in TEST_F() 179 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F() 186 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithSpaces))); in TEST_F() [all …]
|
D | hwid_override_unittest.cc | 35 ASSERT_TRUE(base::CreateDirectory(tempdir_.GetPath().Append("etc"))); in SetUp() 49 ASSERT_EQ(base::WriteFile(tempdir_.GetPath().Append("etc/lsb-release"), in TEST_F() 58 ASSERT_EQ(base::WriteFile(tempdir_.GetPath().Append("etc/lsb-release"), in TEST_F()
|
/system/core/base/include/android-base/ |
D | collections.h | 36 void Append(CollectionType& collection, T&& arg) { in Append() function 41 void Append(CollectionType& collection, T&& arg, Args&&... args) { in Append() function 43 return Append(collection, std::forward<Args>(args)...); in Append()
|
D | cmsg.h | 73 Append(fds, std::forward<Args>(sent_fds)...); in SendFileDescriptors() 84 Append(fds, std::forward<Args>(received_fds)...); in ReceiveFileDescriptors()
|
/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/prebuilts/api/26.0/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 | 347 base::CopyFile(GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in GenerateDeltaFile() 425 base::CopyFile(GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in GenerateDeltaFile() 433 EXPECT_TRUE(base::CopyFile(mnt_path.Append("regular-small"), in GenerateDeltaFile() 434 mnt_path.Append("regular-small2"))); in GenerateDeltaFile() 435 EXPECT_TRUE(base::DeleteFile(mnt_path.Append("regular-small"), false)); in GenerateDeltaFile() 436 EXPECT_TRUE(base::Move(mnt_path.Append("regular-small2"), in GenerateDeltaFile() 437 mnt_path.Append("regular-small"))); in GenerateDeltaFile() 439 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 440 EXPECT_EQ(0, base::WriteFile(mnt_path.Append("emptyfile"), "", 0)); in GenerateDeltaFile() 443 WriteSparseFile(mnt_path.Append("fullsparse").value(), 1024 * 1024)); in GenerateDeltaFile() [all …]
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | crash_dump.te | 27 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate) 49 # Append to ANR files. 52 # Append to tombstone files.
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | crash_dump.te | 21 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate) 43 # Append to ANR files. 46 # Append to tombstone files.
|
/system/tools/aidl/ |
D | aidl_to_cpp_common.h | 60 std::vector<T> Append(std::vector<T> as, const std::vector<T>& bs) { in Append() function 66 std::vector<T> Append(std::vector<T>&& as, std::vector<T>&& bs) { in Append() function
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | crash_dump.te | 21 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate) 43 # Append to ANR files. 46 # Append to tombstone files.
|
/system/sepolicy/public/ |
D | crash_dump.te | 21 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate) 43 # Append to ANR files. 46 # Append to tombstone files.
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | crash_dump.te | 21 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate) 43 # Append to ANR files. 46 # Append to tombstone files.
|