Searched refs:apk_path_ (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/cmds/installd/tests/ |
D | installd_dexopt_test.cpp | 157 std::string apk_path_; member in android::installd::DexoptTest 208 apk_path_ = app_apk_dir_ + "/base.jar"; in create_mock_app() 209 ASSERT_TRUE(WriteBase64ToFile(kDexFile, apk_path_, kSystemUid, kSystemGid, 0644)); in create_mock_app() 398 package_name_, kTestUserId, kTestAppId, *profile_name_ptr, apk_path_, in CompilePrimaryDex() 404 binder::Status result = service_->dexopt(apk_path_, in CompilePrimaryDex() 431 std::string odex = GetPrimaryDexArtifact(oat_dir, apk_path_, "odex"); in CompilePrimaryDex() 432 std::string vdex = GetPrimaryDexArtifact(oat_dir, apk_path_, "vdex"); in CompilePrimaryDex() 433 std::string art = GetPrimaryDexArtifact(oat_dir, apk_path_, "art"); in CompilePrimaryDex() 584 std::string odex = GetSecondaryDexArtifact(apk_path_, "odex"); in SetUp() 585 std::string vdex = GetSecondaryDexArtifact(apk_path_, "vdex"); in SetUp() [all …]
|
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 2550 std::string apk_path_ = apk_path; in calculate_oat_file_path_default() local 2554 if (!is_absolute_path(apk_path_)) return false; in calculate_oat_file_path_default() 2557 std::string::size_type end = apk_path_.rfind('.'); in calculate_oat_file_path_default() 2558 std::string::size_type start = apk_path_.rfind('/', end); in calculate_oat_file_path_default() 2560 LOG(ERROR) << "Invalid apk_path " << apk_path_; in calculate_oat_file_path_default() 2565 + apk_path_.substr(start + 1, end - start - 1) + ".odex"; in calculate_oat_file_path_default() 2578 std::string apk_path_ = apk_path; in calculate_odex_file_path_default() local 2581 if (!is_absolute_path(apk_path_)) return false; in calculate_odex_file_path_default() 2584 std::string::size_type end = apk_path_.rfind('.'); in calculate_odex_file_path_default() 2585 std::string::size_type start = apk_path_.rfind('/', end); in calculate_odex_file_path_default() [all …]
|