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.cpp198 std::string apk_path_; member in android::installd::DexoptTest
254 apk_path_ = app_apk_dir_ + "/base.jar"; in create_mock_app()
256 if (!WriteBase64ToFile(kDexFile, apk_path_, kSystemUid, kSystemGid, 0644, &error_msg)) { in create_mock_app()
257 return ::testing::AssertionFailure() << "Could not write base64 file to " << apk_path_ in create_mock_app()
262 empty_dm_file_ = apk_path_ + ".dm"; in create_mock_app()
489 package_name_, kTestUserId, kTestAppId, profile_name, apk_path_, in CompilePrimaryDex()
493 binder::Status result = service_->dexopt(apk_path_, in CompilePrimaryDex()
520 std::string odex = GetPrimaryDexArtifact(oat_dir, apk_path_, "odex"); in CompilePrimaryDex()
521 std::string vdex = GetPrimaryDexArtifact(oat_dir, apk_path_, "vdex"); in CompilePrimaryDex()
522 std::string art = GetPrimaryDexArtifact(oat_dir, apk_path_, "art"); in CompilePrimaryDex()
[all …]
/frameworks/native/cmds/installd/
Ddexopt.cpp2707 std::string apk_path_ = apk_path; in calculate_oat_file_path_default() local
2711 if (!is_absolute_path(apk_path_)) return false; in calculate_oat_file_path_default()
2714 std::string::size_type end = apk_path_.rfind('.'); in calculate_oat_file_path_default()
2715 std::string::size_type start = apk_path_.rfind('/', end); in calculate_oat_file_path_default()
2717 LOG(ERROR) << "Invalid apk_path " << apk_path_; in calculate_oat_file_path_default()
2722 + apk_path_.substr(start + 1, end - start - 1) + ".odex"; in calculate_oat_file_path_default()
2735 std::string apk_path_ = apk_path; in calculate_odex_file_path_default() local
2738 if (!is_absolute_path(apk_path_)) return false; in calculate_odex_file_path_default()
2741 std::string::size_type end = apk_path_.rfind('.'); in calculate_odex_file_path_default()
2742 std::string::size_type start = apk_path_.rfind('/', end); in calculate_odex_file_path_default()
[all …]