Searched refs:GetTestDataPath (Results 1 - 16 of 16) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
H A D | TestMain.cpp | 25 std::cerr << "using --testdata=" << ::android::GetTestDataPath() << "\n";
|
H A D | BenchMain.cpp | 27 std::cerr << "using --testdata=" << ::android::GetTestDataPath() << "\n";
|
H A D | ApkAssets_test.cpp | 39 ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); 49 const std::string path = GetTestDataPath() + "/basic/basic.apk"; 65 ApkAssets::Load(GetTestDataPath() + "/appaslib/appaslib.apk"); 73 loaded_apk = ApkAssets::LoadAsSharedLibrary(GetTestDataPath() + "/appaslib/appaslib.apk"); 85 const std::string target_path = GetTestDataPath() + "/basic/basic.apk"; 91 const std::string overlay_path = GetTestDataPath() + "/overlay/overlay.apk"; 117 ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); 127 ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk");
|
H A D | SparseEntry_bench.cpp | 31 GetResourceBenchmarkOld({GetTestDataPath() + "/sparse/sparse.apk"}, &config, resid, state); 40 GetResourceBenchmarkOld({GetTestDataPath() + "/sparse/not_sparse.apk"}, &config, resid, state); 49 GetResourceBenchmark({GetTestDataPath() + "/sparse/sparse.apk"}, &config, resid, state); 58 GetResourceBenchmark({GetTestDataPath() + "/sparse/not_sparse.apk"}, &config, resid, state);
|
H A D | AssetManager2_bench.cpp | 39 std::string path = GetTestDataPath() + "/basic/basic.apk"; 49 String8 path((GetTestDataPath() + "/basic/basic.apk").data()); 85 GetResourceBenchmark({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, resid, state); 91 GetResourceBenchmarkOld({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, resid, 99 {GetTestDataPath() + "/lib_two/lib_two.apk", GetTestDataPath() + "/lib_one/lib_one.apk", 100 GetTestDataPath() + "/libclient/libclient.apk"}, 107 {GetTestDataPath() + "/lib_two/lib_two.apk", GetTestDataPath() + "/lib_one/lib_one.apk", 108 GetTestDataPath() [all...] |
H A D | AppAsLib_test.cpp | 31 ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib.apk", 48 ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib.apk", 67 ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib_lib.apk",
|
H A D | CommonHelpers.cpp | 55 const std::string& GetTestDataPath() { function in namespace:android
|
H A D | CommonHelpers.h | 35 const std::string& GetTestDataPath();
|
H A D | LoadedArsc_test.cpp | 45 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/styles/styles.apk", "resources.arsc", 71 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/sparse/sparse.apk", "resources.arsc", 95 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/lib_one/lib_one.apk", "resources.arsc", 115 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/libclient/libclient.apk", 140 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/appaslib/appaslib.apk", 156 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/feature/feature.apk", "resources.arsc", 201 ReadFileFromZipToString(GetTestDataPath() + "/out_of_order_types/out_of_order_types.apk", 248 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/overlay/overlay.apk", "resources.arsc",
|
H A D | ResTable_test.cpp | 37 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", 46 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/sparse/sparse.apk", "resources.arsc", 74 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", 85 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", 102 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", 126 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", 150 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/lib_one/lib_one.apk", 174 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", 195 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", 228 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() [all...] |
H A D | Split_test.cpp | 38 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", 41 ReadFileFromZipToString(GetTestDataPath() + "/basic/basic_de_fr.apk", 44 ReadFileFromZipToString(GetTestDataPath() + "/basic/basic_hdpi-v4.apk", 47 ReadFileFromZipToString(GetTestDataPath() + "/basic/basic_xhdpi-v4.apk", 50 GetTestDataPath() + "/basic/basic_xxhdpi-v4.apk", "resources.arsc", 53 ReadFileFromZipToString(GetTestDataPath() + "/feature/feature.apk",
|
H A D | Idmap_test.cpp | 33 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/basic/basic.apk", "resources.arsc", 37 ASSERT_TRUE(ReadFileFromZipToString(GetTestDataPath() + "/overlay/overlay.apk",
|
H A D | Theme_test.cpp | 37 system_assets_ = ApkAssets::Load(GetTestDataPath() + "/system/system.apk", true /*system*/); 40 style_assets_ = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); 43 libclient_assets_ = ApkAssets::Load(GetTestDataPath() + "/libclient/libclient.apk"); 46 lib_one_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_one/lib_one.apk"); 49 lib_two_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_two/lib_two.apk");
|
H A D | AssetManager2_test.cpp | 48 basic_assets_ = ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk"); 51 basic_de_fr_assets_ = ApkAssets::Load(GetTestDataPath() + "/basic/basic_de_fr.apk"); 54 style_assets_ = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); 57 lib_one_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_one/lib_one.apk"); 60 lib_two_assets_ = ApkAssets::Load(GetTestDataPath() + "/lib_two/lib_two.apk"); 63 libclient_assets_ = ApkAssets::Load(GetTestDataPath() + "/libclient/libclient.apk"); 66 appaslib_assets_ = ApkAssets::LoadAsSharedLibrary(GetTestDataPath() + "/appaslib/appaslib.apk"); 69 system_assets_ = ApkAssets::Load(GetTestDataPath() + "/system/system.apk", true /*system*/); 72 app_assets_ = ApkAssets::Load(GetTestDataPath() + "/app/app.apk");
|
H A D | AttributeResolution_bench.cpp | 40 ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); 90 ApkAssets::Load(GetTestDataPath() + "/basic/basic.apk");
|
H A D | AttributeResolution_test.cpp | 37 styles_assets_ = ApkAssets::Load(GetTestDataPath() + "/styles/styles.apk"); 70 auto apk_assets = ApkAssets::LoadAsSharedLibrary(GetTestDataPath() + "/styles/styles.apk");
|
Completed in 66 milliseconds