Home
last modified time | relevance | path

Searched refs:Append (Results 1 – 25 of 65) sorted by relevance

123

/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test.cpp71 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 …]
Dbasic_test.cpp51 GenerateVBMetaImage("vbmeta.img", "SHA256_RSA2048", 0, data_dir_.Append("testkey_rsa2048.pem"), in TEST_F()
85 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F()
124 data_dir_.Append("testkey_rsa8192.pem"), "d00df00d", in TEST_F()
165 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F()
174 data_dir_.Append("testkey_rsa8192.pem"), "d00df00d", in TEST_F()
178 GenerateVBMetaImage("vbmeta.img", "SHA256_RSA2048", 0, data_dir_.Append("testkey_rsa2048.pem"), in TEST_F()
229 data_dir_.Append("testkey_rsa2048.pem"), "d00df00d", in TEST_F()
238 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F()
243 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa2048.pem")); in TEST_F()
245 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa4096.pem")); in TEST_F()
[all …]
Davb_util_test.cpp200 data_dir_.Append("testkey_rsa8192.pem"), "d00df00d", in TEST_F()
276 GenerateVBMetaImage("vbmeta.img", "SHA256_RSA4096", 0, data_dir_.Append("testkey_rsa4096.pem"), in TEST_F()
300 data_dir_.Append("testkey_rsa2048.pem"), "d00df00d", in TEST_F()
309 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F()
315 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa4096.pem")); in TEST_F()
318 GenerateVBMetaImage("vbmeta.img", "SHA256_RSA4096", 0, data_dir_.Append("testkey_rsa4096.pem"), in TEST_F()
342 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F()
454 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa2048.pem")); in TEST_F()
456 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa4096.pem")); in TEST_F()
458 ExtractPublicKeyAvb(data_dir_.Append("testkey_rsa8192.pem")); in TEST_F()
[all …]
Dutil_test.cpp159 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 …]
Dfs_avb_test_util.cpp57 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()
153 base::FilePath image_path = test_dir_.Append(file_name); in GenerateImage()
232 base::FilePath tmp_path = test_dir_.Append("info_output.txt"); in InfoImage()
250 base::FilePath tmp_path = test_dir_.Append(file_name + "public_key.bin"); in ExtractPublicKeyAvb()
259 base::FilePath tmp_path = test_dir_.Append("public_key.bin"); in ExtractPublicKeyAvbBlob()
Dfs_avb_util_test.cpp39 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F()
112 data_dir_.Append("testkey_rsa4096.pem"), "d00df00d", in TEST_F()
/system/update_engine/cros/
Dimage_properties_chromeos_unittest.cc39 EXPECT_TRUE(base::CreateDirectory(tempdir_.GetPath().Append("etc"))); in SetUp()
57 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
73 tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
81 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
95 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
115 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
136 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
148 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
160 WriteFileString(tempdir_.GetPath().Append("etc/lsb-release").value(), in TEST_F()
Dboot_control_chromeos.cc194 .Append(dlc_id) in GetPartitionDevice()
195 .Append(dlc_package) in GetPartitionDevice()
196 .Append(slot == 0 ? kPartitionNameDlcA : kPartitionNameDlcB) in GetPartitionDevice()
197 .Append(kPartitionNameDlcImage) in GetPartitionDevice()
327 return base::FilePath("/sys/block").Append(device_path.BaseName()).value(); in SysfsBlockDevice()
335 !base::ReadFileToString(base::FilePath(sysfs_block).Append("removable"), in IsRemovableDevice()
Dp2p_manager_unittest.cc161 base::FilePath path = test_conf_->GetP2PDir().Append( in TEST_F()
167 path = test_conf_->GetP2PDir().Append( in TEST_F()
225 base::FilePath path = test_conf_->GetP2PDir().Append( in TEST_F()
241 path = test_conf_->GetP2PDir().Append( in TEST_F()
365 test_conf_->GetP2PDir().Append("foo.cros_au.p2p.tmp")); in TEST_F()
385 test_conf_->GetP2PDir().Append("foo.cros_au.p2p.tmp")); in TEST_F()
395 test_conf_->GetP2PDir().Append("foo.cros_au.p2p")); in TEST_F()
417 test_conf_->GetP2PDir().Append("foo.cros_au.p2p")); in TEST_F()
433 test_conf_->GetP2PDir().Append("bar.cros_au.p2p.tmp")); in TEST_F()
Dreal_system_state.cc92 if (!prefs->Init(non_volatile_path.Append(kPrefsSubDirectory))) { in Initialize()
101 powerwash_safe_path = non_volatile_path.Append("powerwash-safe"); in Initialize()
106 powerwash_safe_path.Append(kPowerwashSafePrefsSubDirectory))) { in Initialize()
/system/update_engine/common/
Dprefs_unittest.cc153 return base::WriteFile(prefs_dir_.Append(key), in SetValue()
172 auto ns1_path = temp_dir.GetPath().Append(ns1); in TEST()
173 auto ns2A_path = ns1_path.Append(ns2A); in TEST()
174 auto ns2B_path = ns1_path.Append(ns2B); in TEST()
175 auto sub_pref_path = ns2A_path.Append(sub_pref); in TEST()
193 EXPECT_EQ(prefs_dir_.Append(kAllvalidCharsKey).value(), path.value()); in TEST_F()
240 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F()
247 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithDots))); in TEST_F()
252 base::FilePath subdir = prefs_dir_.Append("subdir1").Append("subdir2"); in TEST_F()
256 EXPECT_TRUE(base::ReadFileToString(subdir.Append(kKey), &value)); in TEST_F()
[all …]
Dhwid_override_unittest.cc35 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/libbase/include/android-base/
Dcollections.h36 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()
Dcmsg.h73 Append(fds, std::forward<Args>(sent_fds)...); in SendFileDescriptors()
84 Append(fds, std::forward<Args>(received_fds)...); in ReceiveFileDescriptors()
/system/nvram/messages/tests/
Dnvram_messages_test.cpp59 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/
Dcrash_dump.te24 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate)
46 # Append to ANR files.
49 # Append to tombstone files.
/system/sepolicy/prebuilts/api/27.0/public/
Dcrash_dump.te27 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate)
49 # Append to ANR files.
52 # Append to tombstone files.
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc409 base::CopyFile(GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in GenerateDeltaFile()
460 base::CopyFile(GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in GenerateDeltaFile()
468 EXPECT_TRUE(base::CopyFile(mnt_path.Append("regular-small"), in GenerateDeltaFile()
469 mnt_path.Append("regular-small2"))); in GenerateDeltaFile()
471 EXPECT_TRUE(base::DeleteFile(mnt_path.Append("regular-small"), false)); in GenerateDeltaFile()
473 EXPECT_TRUE(base::DeleteFile(mnt_path.Append("regular-small"))); in GenerateDeltaFile()
475 EXPECT_TRUE(base::Move(mnt_path.Append("regular-small2"), in GenerateDeltaFile()
476 mnt_path.Append("regular-small"))); in GenerateDeltaFile()
478 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile()
479 EXPECT_EQ(0, base::WriteFile(mnt_path.Append("emptyfile"), "", 0)); in GenerateDeltaFile()
[all …]
/system/sepolicy/prebuilts/api/28.0/public/
Dcrash_dump.te21 # 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/29.0/public/
Dcrash_dump.te21 # 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/
Dcrash_dump.te21 # 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/31.0/public/
Dcrash_dump.te21 # 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/public/
Dcrash_dump.te21 # Append to pipes given to us by processes requesting dumps (e.g. dumpstate)
49 # Append to ANR files.
52 # Append to tombstone files.
/system/update_engine/aosp/
Dcow_converter.cc46 auto target_img = img_dir.Append(partition.partition_name() + ".img"); in ProcessPartition()
47 auto output_cow = img_dir.Append(partition.partition_name() + ".cow"); in ProcessPartition()
/system/core/libstats/push_compat/include/
Dstats_event_list.h211 bool Append(const std::string& value) { in Append() function
228 bool Append(Tvalue value) { in Append() function
233 bool Append(const char* value, size_t len) { in Append() function

123