Home
last modified time | relevance | path

Searched refs:apk_path_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp191 std::string apk_path_; member in android::installd::DexoptTest
257 apk_path_ = app_apk_dir_ + "/base.jar"; in create_mock_app()
259 if (!WriteBase64ToFile(kDexFile, apk_path_, kSystemUid, kSystemGid, 0644, &error_msg)) { in create_mock_app()
260 return ::testing::AssertionFailure() << "Could not write base64 file to " << apk_path_ in create_mock_app()
307 dm_file_ = apk_path_ + ".dm"; in create_mock_app()
538 package_name_, kTestUserId, kTestAppId, profile_name, apk_path_, in CompilePrimaryDex()
543 binder::Status result = service_->dexopt(apk_path_, in CompilePrimaryDex()
572 std::string odex = GetPrimaryDexArtifact(oat_dir, apk_path_, in CompilePrimaryDex()
574 std::string vdex = GetPrimaryDexArtifact(oat_dir, apk_path_, "vdex"); in CompilePrimaryDex()
575 std::string art = GetPrimaryDexArtifact(oat_dir, apk_path_, "art"); in CompilePrimaryDex()
[all …]
/frameworks/native/cmds/installd/
Ddexopt.cpp2499 std::string apk_path_ = apk_path; in calculate_oat_file_path_default() local
2503 if (!is_absolute_path(apk_path_)) return false; in calculate_oat_file_path_default()
2506 std::string::size_type end = apk_path_.rfind('.'); in calculate_oat_file_path_default()
2507 std::string::size_type start = apk_path_.rfind('/', end); in calculate_oat_file_path_default()
2509 LOG(ERROR) << "Invalid apk_path " << apk_path_; in calculate_oat_file_path_default()
2514 + apk_path_.substr(start + 1, end - start - 1) + ".odex"; in calculate_oat_file_path_default()
2527 std::string apk_path_ = apk_path; in calculate_odex_file_path_default() local
2530 if (!is_absolute_path(apk_path_)) return false; in calculate_odex_file_path_default()
2533 std::string::size_type end = apk_path_.rfind('.'); in calculate_odex_file_path_default()
2534 std::string::size_type start = apk_path_.rfind('/', end); in calculate_odex_file_path_default()
[all …]