/aosp_15_r20/frameworks/base/libs/androidfw/tests/ |
H A D | AssetManager2_bench.cpp | 39 std::string path = GetTestDataPath() + "/basic/basic.apk"; in BM_AssetManagerLoadAssets() 49 String8 path((GetTestDataPath() + "/basic/basic.apk").data()); in BM_AssetManagerLoadAssetsOld() 85 GetResourceBenchmark({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, resid, state); in BM_AssetManagerGetResource() 91 GetResourceBenchmarkOld({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, resid, in BM_AssetManagerGetResourceOld() 99 {GetTestDataPath() + "/lib_two/lib_two.apk", GetTestDataPath() + "/lib_one/lib_one.apk", in BM_AssetManagerGetLibraryResource() 100 GetTestDataPath() + "/libclient/libclient.apk"}, in BM_AssetManagerGetLibraryResource() 107 {GetTestDataPath() + "/lib_two/lib_two.apk", GetTestDataPath() + "/lib_one/lib_one.apk", in BM_AssetManagerGetLibraryResourceOld() 108 GetTestDataPath() + "/libclient/libclient.apk"}, in BM_AssetManagerGetLibraryResourceOld() 132 auto apk = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); in BM_AssetManagerGetBag() 160 if (!assets.addAssetPath(String8((GetTestDataPath() + "/styles/styles.apk").data()), in BM_AssetManagerGetBagOld()
|
H A D | ApkAssets_test.cpp | 39 auto loaded_apk = ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); in TEST() 49 const std::string path = GetTestDataPath() + "/basic/basic.apk"; in TEST() 63 auto loaded_apk = ApkAssets::Load(GetTestDataPath() + "/appaslib/appaslib.apk"); in TEST() 71 loaded_apk = ApkAssets::Load(GetTestDataPath() + "/appaslib/appaslib.apk", PROPERTY_DYNAMIC); in TEST() 81 auto loaded_apk = ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); in TEST() 92 auto loaded_apk = ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); in TEST() 116 auto loaded_apk = ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); in TEST() 127 = ZipAssetsProvider::Create(GetTestDataPath() + "/bad/bad.apk", 0); in TEST()
|
H A D | ResTable_test.cpp | 38 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 47 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 58 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 75 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 99 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 123 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/lib_one/lib_one.apk", in TEST() 147 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 168 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 201 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 324 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() [all …]
|
H A D | LoadedArsc_test.cpp | 50 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/styles/styles.apk", "resources.arsc", in TEST() 76 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/lib_one/lib_one.apk", "resources.arsc", in TEST() 97 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/libclient/libclient.apk", in TEST() 123 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib.apk", in TEST() 140 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/feature/feature.apk", "resources.arsc", in TEST() 183 ReadFileFromZipToString(GetTestDataPath() + "/out_of_order_types/out_of_order_types.apk", in TEST() 205 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/overlayable/overlayable.apk", in TEST() 251 ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", "resources.arsc", &contents)); in TEST() 299 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/overlayable/overlayable.apk", in TEST() 318 auto asset = AssetsProvider::CreateAssetFromFile(GetTestDataPath() + "/loader/resources.arsc"); in TEST()
|
H A D | Split_test.cpp | 38 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in SetUp() 41 ReadFileFromZipToString(GetTestDataPath() + "/basic/basic_de_fr.apk", in SetUp() 44 ReadFileFromZipToString(GetTestDataPath() + "/basic/basic_hdpi-v4.apk", in SetUp() 47 ReadFileFromZipToString(GetTestDataPath() + "/basic/basic_xhdpi-v4.apk", in SetUp() 50 GetTestDataPath() + "/basic/basic_xxhdpi-v4.apk", "resources.arsc", in SetUp() 53 ReadFileFromZipToString(GetTestDataPath() + "/feature/feature.apk", in SetUp()
|
H A D | SparseEntry_bench.cpp | 39 BM_SparseEntryGetResourceHelper({GetTestDataPath() + "/sparse/sparse.apk"}, resid, in BM_SparseEntryGetResourceOldSparse() 46 BM_SparseEntryGetResourceHelper({GetTestDataPath() + "/sparse/not_sparse.apk"}, resid, in BM_SparseEntryGetResourceOldNotSparse() 53 BM_SparseEntryGetResourceHelper({GetTestDataPath() + "/sparse/sparse.apk"}, resid, in BM_SparseEntryGetResourceSparse() 60 BM_SparseEntryGetResourceHelper({GetTestDataPath() + "/sparse/not_sparse.apk"}, resid, in BM_SparseEntryGetResourceNotSparse()
|
H A D | AppAsLib_test.cpp | 31 ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib.apk", in TEST() 48 ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib.apk", in TEST() 67 ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib_lib.apk", in TEST()
|
H A D | Theme_test.cpp | 39 system_assets_ = ApkAssets::Load(GetTestDataPath() + "/system/system.apk", PROPERTY_SYSTEM); in SetUp() 42 style_assets_ = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); in SetUp() 45 libclient_assets_ = ApkAssets::Load(GetTestDataPath() + "/libclient/libclient.apk"); in SetUp() 48 lib_one_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_one/lib_one.apk"); in SetUp() 51 lib_two_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_two/lib_two.apk"); in SetUp()
|
/aosp_15_r20/external/perfetto/src/traced/probes/filesystem/ |
H A D | inode_file_data_source_unittest.cc | 57 lstat(base::GetTestDataPath("src/traced/probes/filesystem/testdata") in TestInodeFileDataSource() 62 base::GetTestDataPath("src/traced/probes/filesystem/testdata")); in TestInodeFileDataSource() 100 lstat(base::GetTestDataPath("src/traced/probes/filesystem/testdata/file2") in TEST_F() 107 {base::GetTestDataPath("src/traced/probes/filesystem/testdata/file2")}); in TEST_F() 123 base::GetTestDataPath("src/traced/probes/filesystem/testdata"), in TEST_F() 128 lstat(base::GetTestDataPath("src/traced/probes/filesystem/testdata/file2") in TEST_F() 134 {base::GetTestDataPath("src/traced/probes/filesystem/testdata/file2")}); in TEST_F() 146 base::GetTestDataPath("src/traced/probes/filesystem/testdata"), in TEST_F() 151 lstat(base::GetTestDataPath("src/traced/probes/filesystem/testdata/file2") in TEST_F() 157 {base::GetTestDataPath("src/traced/probes/filesystem/testdata/file2")}); in TEST_F()
|
H A D | file_scanner_unittest.cc | 106 {base::GetTestDataPath("src/traced/probes/filesystem/testdata")}, in TEST() 126 {base::GetTestDataPath("src/traced/probes/filesystem/testdata")}, in TEST() 146 {base::GetTestDataPath("src/traced/probes/filesystem/testdata")}, in TEST() 154 base::GetTestDataPath( in TEST() 157 Eq(StatFileEntry(base::GetTestDataPath( in TEST() 161 base::GetTestDataPath( in TEST() 178 {base::GetTestDataPath("src/traced/probes/filesystem/testdata")}, in TEST() 188 base::GetTestDataPath( in TEST() 191 Eq(StatFileEntry(base::GetTestDataPath( in TEST() 195 base::GetTestDataPath( in TEST()
|
/aosp_15_r20/external/python/apitools/apitools/gen/ |
D | gen_client_test.py | 25 def GetTestDataPath(*path): function 49 '--infile', GetTestDataPath('dns', 'dns_v1.json'), 64 '--infile', GetTestDataPath('dns', 'dns_v1.json'), 85 '--infile', GetTestDataPath('dns', 'dns_v1.json'), 100 '--infile', GetTestDataPath('dns', 'dns_v1.json'), 115 '--infile', GetTestDataPath('dns', 'dns_v1.json'), 129 '--infile', GetTestDataPath('dns', 'dns_v1.json'),
|
/aosp_15_r20/hardware/google/gfxstream/host/tests/ |
D | CompositorVk_unittest.cpp | 25 std::string GetTestDataPath(const std::string& basename) { in GetTestDataPath() function 406 auto source = createSourceImageFromPng(GetTestDataPath("256x256_android.png")); in TEST_F() 453 GetTestDataPath("256x256_golden_simple_composition.png"), in TEST_F() 462 createSourceImageFromPng(GetTestDataPath("256x256_android_with_transparency.png")); in TEST_F() 509 GetTestDataPath("256x256_golden_blend_premultiplied.png"), in TEST_F() 517 auto source = createSourceImageFromPng(GetTestDataPath("256x256_android.png")); in TEST_F() 563 compareImageWithGoldenPng(target.get(), GetTestDataPath("256x256_golden_crop.png"), in TEST_F() 605 compareImageWithGoldenPng(target.get(), GetTestDataPath("256x256_golden_solid_color.png"), in TEST_F() 614 createSourceImageFromPng(GetTestDataPath("256x256_android_with_transparency.png")); in TEST_F() 682 compareImageWithGoldenPng(target.get(), GetTestDataPath("256x256_golden_solid_color_below.png"), in TEST_F() [all …]
|
/aosp_15_r20/frameworks/base/cmds/idmap2/tests/ |
H A D | IdmapTests.cpp | 189 std::string target_apk_path = GetTestDataPath() + "/target/target.apk"; in TEST() 190 std::string overlay_apk_path = GetTestDataPath() + "/overlay/overlay.apk"; in TEST() 218 auto target = TargetResourceContainer::FromPath(GetTestDataPath() + "/target/target-bad.apk"); in TEST() 232 std::string target_apk_path = GetTestDataPath() + "/target/target.apk"; in TEST() 233 std::string overlay_apk_path = GetTestDataPath() + "/overlay/overlay.apk"; in TEST() 273 std::string target_apk_path = GetTestDataPath() + "/target/target.apk"; in TEST() 277 auto path = GetTestDataPath() + "/overlay/res/drawable/android.png"; in TEST() 334 std::string target_apk_path = GetTestDataPath() + "/target/target.apk"; in TEST() 335 std::string overlay_apk_path = GetTestDataPath() + "/overlay/overlay.apk"; in TEST() 356 std::string target_apk_path = GetTestDataPath() + "/target/target.apk"; in TEST() [all …]
|
H A D | TestHelpers.h | 208 std::string GetTestDataPath(); 231 target_apk_path_ = GetTestDataPath() + "/target/target.apk"; in SetUp() 232 overlay_apk_path_ = GetTestDataPath() + "/overlay/overlay.apk"; in SetUp()
|
H A D | ResourceUtilsTests.cpp | 66 OverlayResourceContainer::FromPath(GetTestDataPath() + "/overlay/overlay-invalid.apk"); in TEST_F() 75 OverlayResourceContainer::FromPath(GetTestDataPath() + "/overlay/overlay-invalid.apk"); in TEST_F() 84 OverlayResourceContainer::FromPath(GetTestDataPath() + "/overlay/overlay-invalid.apk"); in TEST_F()
|
H A D | PrettyPrintVisitorTests.cpp | 37 const std::string target_apk_path(GetTestDataPath() + "/target/target.apk"); in TEST() 41 const std::string overlay_apk_path(GetTestDataPath() + "/overlay/overlay.apk"); in TEST()
|
/aosp_15_r20/external/cronet/base/ |
H A D | file_version_info_win_unittest.cc | 24 FilePath GetTestDataPath() { in GetTestDataPath() function 99 FilePath dll_path = GetTestDataPath(); in TYPED_TEST() 130 FilePath dll_path = GetTestDataPath(); in TYPED_TEST() 164 FilePath dll_path = GetTestDataPath(); in TYPED_TEST()
|
/aosp_15_r20/external/libtextclassifier/native/utils/ |
H A D | bert_tokenizer_test.cc | 49 std::make_unique<BertTokenizer>(GetTestDataPath(kTestVocabPath)); in TEST() 67 std::make_unique<BertTokenizer>(GetTestDataPath(kTestVocabPath)); in TEST() 77 std::make_unique<BertTokenizer>(GetTestDataPath(kTestVocabPath)); in TEST() 90 std::make_unique<BertTokenizer>(GetTestDataPath(kTestVocabPath)); in TEST()
|
H A D | test-data-test-utils.h | 28 inline std::string GetTestDataPath(const std::string& relative_path) { in GetTestDataPath() function 33 const std::string full_path = GetTestDataPath(relative_path); in GetTestFileContent()
|
/aosp_15_r20/external/google-breakpad/src/processor/ |
H A D | minidump_processor_unittest.cc | 209 static string GetTestDataPath() { in GetTestDataPath() function 261 *symbol_file = GetTestDataPath() + "symbols/test_app.pdb/" + in GetSymbolFile() 470 string minidump_file = GetTestDataPath() + "minidump2.dmp"; in TEST_F() 510 string minidump_file = GetTestDataPath() + "minidump2.dmp"; in TEST_F() 752 string minidump_file = GetTestDataPath() + "minidump_32bit_crash_addr.dmp"; in TEST_F() 772 string minidump_file = GetTestDataPath() in TEST_F() 795 string minidump_file = GetTestDataPath() in TEST_F() 814 string minidump_file = GetTestDataPath() in TEST_F()
|
/aosp_15_r20/external/federated-compute/fcp/testing/ |
H A D | testing.cc | 49 std::string GetTestDataPath(absl::string_view relative_path) { in GetTestDataPath() function 159 std::string baseline_file_str = GetTestDataPath(baseline_file); in ComputeDiff() 213 new_baseline_file = GetTestDataPath(baseline_file); in VerifyAgainstBaseline()
|
/aosp_15_r20/external/perfetto/src/kallsyms/ |
H A D | kernel_symbol_map_benchmark.cc | 104 kallsyms.Parse(perfetto::base::GetTestDataPath("test/data/kallsyms.txt")); in BM_KallSymsFind() 130 perfetto::base::GetTestDataPath("test/data/kallsyms.txt"); in BM_KallSymsLoad()
|
/aosp_15_r20/external/perfetto/src/protozero/test/ |
H A D | proto_ring_buffer_benchmark.cc | 27 perfetto::base::ReadFile(perfetto::base::GetTestDataPath(kTestTrace), in BM_ProtoRingBufferReadLargeChunks() 51 perfetto::base::ReadFile(perfetto::base::GetTestDataPath(kTestTrace), in BM_ProtoRingBufferRead()
|
/aosp_15_r20/external/perfetto/src/profiling/memory/ |
H A D | parse_smaps_unittest.cc | 40 base::GetTestDataPath("src/profiling/memory/test/data/cat_smaps").c_str(), in TEST() 66 base::GetTestDataPath("src/profiling/memory/test/data/cat_smaps_noeol") in TEST()
|
/aosp_15_r20/external/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface_unittest.cc | 2683 RedirectStdinFromFile(TestUtil::GetTestDataPath( in TEST_P() 2692 ExpectStdoutMatchesBinaryFile(TestUtil::GetTestDataPath( in TEST_P() 2698 RedirectStdinFromFile(TestUtil::GetTestDataPath( in TEST_P() 2703 ExpectStdoutMatchesTextFile(TestUtil::GetTestDataPath( in TEST_P() 2752 RedirectStdinFromFile(TestUtil::GetTestDataPath( in TEST_P() 2762 ExpectStdoutMatchesBinaryFile(TestUtil::GetTestDataPath( in TEST_P() 2768 RedirectStdinFromFile(TestUtil::GetTestDataPath( in TEST_P()
|