Use absolute paths in tests.

Test: /data/nativetest64/installd_cache_test/installd_cache_test
Test: /data/nativetest64/installd_dexopt_test/installd_dexopt_test
Test: /data/nativetest64/installd_otapreopt_test/installd_otapreopt_test
Test: /data/nativetest64/installd_service_test/installd_service_test
Test: /data/nativetest64/installd_utils_test/installd_utils_test
Bug: 73950947

(cherry picked from commit 8e9bf35a8089e152af3d75e1819d9112cea0c07c)

Change-Id: I4dd99b270ce02ba78794841b30542a9e37ae7b81
diff --git a/cmds/installd/tests/installd_dexopt_test.cpp b/cmds/installd/tests/installd_dexopt_test.cpp
index db55be7..d640558 100644
--- a/cmds/installd/tests/installd_dexopt_test.cpp
+++ b/cmds/installd/tests/installd_dexopt_test.cpp
@@ -375,7 +375,7 @@
 
         bool prof_result;
         binder::Status prof_binder_result = service_->prepareAppProfile(
-                package_name_, kTestUserId, kTestAppId, *profile_name_ptr, /*code path*/ "base.apk",
+                package_name_, kTestUserId, kTestAppId, *profile_name_ptr, apk_path_,
                 /*dex_metadata*/ nullptr, &prof_result);
 
         ASSERT_TRUE(prof_binder_result.isOk()) << prof_binder_result.toString8().c_str();
@@ -731,7 +731,7 @@
             bool expected_result) {
         bool result;
         binder::Status binder_result = service_->prepareAppProfile(
-                package_name, kTestUserId, kTestAppId, profile_name, /*code path*/ "base.apk",
+                package_name, kTestUserId, kTestAppId, profile_name, apk_path_,
                 /*dex_metadata*/ nullptr, &result);
         ASSERT_TRUE(binder_result.isOk()) << binder_result.toString8().c_str();
         ASSERT_EQ(expected_result, result);