/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_bench.cpp | 40 std::string path = GetTestDataPath() + "/basic/basic.apk"; in BM_AssetManagerLoadAssets() 50 String8 path((GetTestDataPath() + "/basic/basic.apk").data()); in BM_AssetManagerLoadAssetsOld() 117 GetResourceBenchmark({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, in BM_AssetManagerGetResource() 123 GetResourceBenchmarkOld({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, in BM_AssetManagerGetResourceOld() 130 {GetTestDataPath() + "/lib_two/lib_two.apk", GetTestDataPath() + "/lib_one/lib_one.apk", in BM_AssetManagerGetLibraryResource() 131 GetTestDataPath() + "/libclient/libclient.apk"}, in BM_AssetManagerGetLibraryResource() 138 {GetTestDataPath() + "/lib_two/lib_two.apk", GetTestDataPath() + "/lib_one/lib_one.apk", in BM_AssetManagerGetLibraryResourceOld() 139 GetTestDataPath() + "/libclient/libclient.apk"}, in BM_AssetManagerGetLibraryResourceOld() 163 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); in BM_AssetManagerGetBag() 187 if (!assets.addAssetPath(String8((GetTestDataPath() + "/styles/styles.apk").data()), in BM_AssetManagerGetBagOld()
|
D | SparseEntry_bench.cpp | 32 GetResourceBenchmarkOld({GetTestDataPath() + "/sparse/sparse.apk"}, &config, in BM_SparseEntryGetResourceSparseSmall() 41 GetResourceBenchmarkOld({GetTestDataPath() + "/sparse/not_sparse.apk"}, &config, in BM_SparseEntryGetResourceNotSparseSmall() 50 GetResourceBenchmarkOld({GetTestDataPath() + "/sparse/sparse.apk"}, &config, in BM_SparseEntryGetResourceSparseLarge() 59 GetResourceBenchmarkOld({GetTestDataPath() + "/sparse/not_sparse.apk"}, &config, in BM_SparseEntryGetResourceNotSparseLarge()
|
D | ApkAssets_test.cpp | 31 ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); in TEST() 41 ApkAssets::Load(GetTestDataPath() + "/appaslib/appaslib.apk"); in TEST() 48 loaded_apk = ApkAssets::LoadAsSharedLibrary(GetTestDataPath() + "/appaslib/appaslib.apk"); in TEST() 59 ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); in TEST() 75 ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); in TEST()
|
D | LoadedArsc_test.cpp | 32 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/styles/styles.apk", "resources.arsc", in TEST() 60 ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", "resources.arsc", &contents)); in TEST() 82 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/lib_one/lib_one.apk", "resources.arsc", in TEST() 104 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/libclient/libclient.apk", in TEST() 132 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib.apk", in TEST() 148 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/feature/feature.apk", "resources.arsc", in TEST()
|
D | ResTable_test.cpp | 37 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 46 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/sparse/sparse.apk", "resources.arsc", in TEST() 74 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 85 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 102 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 126 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 150 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/lib_one/lib_one.apk", in TEST() 174 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 195 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() 228 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", in TEST() [all …]
|
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()
|
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()
|
D | AssetManager2_test.cpp | 44 basic_assets_ = ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); in SetUp() 47 basic_de_fr_assets_ = ApkAssets::Load(GetTestDataPath() + "/basic/basic_de_fr.apk"); in SetUp() 50 style_assets_ = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); in SetUp() 53 lib_one_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_one/lib_one.apk"); in SetUp() 56 lib_two_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_two/lib_two.apk"); in SetUp() 59 libclient_assets_ = ApkAssets::Load(GetTestDataPath() + "/libclient/libclient.apk"); in SetUp() 62 appaslib_assets_ = ApkAssets::Load(GetTestDataPath() + "/appaslib/appaslib.apk"); in SetUp() 65 system_assets_ = ApkAssets::Load(GetTestDataPath() + "/system/system.apk", true /*system*/); in SetUp()
|
D | TestMain.cpp | 25 std::cerr << "using --testdata=" << ::android::GetTestDataPath() << "\n"; in main()
|
D | BenchMain.cpp | 27 std::cerr << "using --testdata=" << ::android::GetTestDataPath() << "\n"; in main()
|
D | Idmap_test.cpp | 33 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", "resources.arsc", in SetUp() 37 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/overlay/overlay.apk", in SetUp()
|
D | Theme_test.cpp | 36 style_assets_ = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); in SetUp() 39 libclient_assets_ = ApkAssets::Load(GetTestDataPath() + "/libclient/libclient.apk"); in SetUp() 42 lib_one_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_one/lib_one.apk"); in SetUp() 45 lib_two_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_two/lib_two.apk"); in SetUp()
|
D | TestHelpers.h | 45 const std::string& GetTestDataPath();
|
D | AttributeResolution_test.cpp | 37 GetTestDataPath() + "/styles/styles.apk", "resources.arsc", &contents)); in SetUp() 53 ReadFileFromZipToString(GetTestDataPath() + "/styles/styles.apk", in SetUp()
|
D | TestHelpers.cpp | 66 const std::string& GetTestDataPath() { in GetTestDataPath() function
|