Home
last modified time | relevance | path

Searched refs:isPreReboot (Results 1 – 21 of 21) sorted by relevance

/art/artd/
Dpath_utils_test.cc59 .dexPath = "/a/b.apk", .isa = "arm64", .isInDalvikCache = false, .isPreReboot = false}), in TEST_F()
68 .dexPath = "/a/b.apk", .isa = "arm64", .isInDalvikCache = false, .isPreReboot = true}), in TEST_F()
77 .dexPath = "/a/b.apk", .isa = "arm64", .isInDalvikCache = true, .isPreReboot = false}), in TEST_F()
89 .dexPath = "/a/b.apk", .isa = "arm64", .isInDalvikCache = true, .isPreReboot = true}), in TEST_F()
101 .dexPath = "a/b.apk", .isa = "arm64", .isInDalvikCache = false, .isPreReboot = false}), in TEST_F()
108 .dexPath = "/a/b.apk", .isa = "invalid", .isInDalvikCache = false, .isPreReboot = false}), in TEST_F()
115 .packageName = "com.android.foo", .profileName = "primary", .isPreReboot = false}), in TEST_F()
121 .packageName = "com.android.foo", .profileName = "primary", .isPreReboot = true}), in TEST_F()
127 .packageName = "...", .profileName = "primary", .isPreReboot = false}), in TEST_F()
133 .packageName = "..", .profileName = "primary", .isPreReboot = false}), in TEST_F()
[all …]
Dpath_utils.cc189 if (artifacts_path.isPreReboot) { in BuildArtifactsPath()
206 primary_ref_profile_path.isPreReboot ? kPreRebootSuffix : ""); in BuildPrimaryRefProfilePath()
232 secondary_ref_profile_path.isPreReboot ? kPreRebootSuffix : ""); in BuildSecondaryRefProfilePath()
302 return profile_path.get<ProfilePath::primaryRefProfilePath>().isPreReboot; in PreRebootFlag()
304 return profile_path.get<ProfilePath::secondaryRefProfilePath>().isPreReboot; in PreRebootFlag()
325 bool PreRebootFlag(const ArtifactsPath& artifacts_path) { return artifacts_path.isPreReboot; } in PreRebootFlag()
Dpath_utils.h108 return profile_path.template get<T::forPrimary>().isPreReboot; in PreRebootFlag()
110 return profile_path.template get<T::forSecondary>().isPreReboot; in PreRebootFlag()
Dartd_test.cc398 .isPreReboot = false}, in SetUp()
2684 tmp_profile_path_.finalPath.get<WritableProfilePath::forPrimary>().isPreReboot = true; in SetUp()
2685 output_artifacts_.artifactsPath.isPreReboot = true; in SetUp()
2894 .isPreReboot = true; in TEST_F()
2990 .isPreReboot = true; in TEST_F()
Dartd.cc1409 pre_reboot_artifacts.isPreReboot = true; in commitPreRebootStagedFiles()
/art/libartservice/service/java/com/android/server/art/
DAidlUtils.java38 boolean isInDalvikCache, boolean isPreReboot) { in buildArtifactsPath() argument
43 artifactsPath.isPreReboot = isPreReboot; in buildArtifactsPath()
99 boolean isPreReboot) { in buildOutputArtifacts() argument
102 buildArtifactsPath(dexPath, isa, isInDalvikCache, isPreReboot); in buildOutputArtifacts()
109 @NonNull String packageName, @NonNull String profileName, boolean isPreReboot) { in buildPrimaryRefProfilePath() argument
113 primaryRefProfilePath.isPreReboot = isPreReboot; in buildPrimaryRefProfilePath()
119 @NonNull String dexPath, boolean isPreReboot) { in buildSecondaryRefProfilePath() argument
122 secondaryRefProfilePath.isPreReboot = isPreReboot; in buildSecondaryRefProfilePath()
186 @NonNull String profileName, int uid, int gid, boolean isPublic, boolean isPreReboot) { in buildOutputProfileForPrimary() argument
188 packageName, profileName, isPreReboot)), in buildOutputProfileForPrimary()
[all …]
DArtJni.java58 if (!GlobalInjector.getInstance().isPreReboot()) {
74 if (GlobalInjector.getInstance().isPreReboot()) { in validateDexPath()
92 if (GlobalInjector.getInstance().isPreReboot()) { in validateClassLoaderContext()
109 if (GlobalInjector.getInstance().isPreReboot()) { in getGarbageCollector()
124 if (GlobalInjector.getInstance().isPreReboot()) { in setProperty()
154 if (GlobalInjector.getInstance().isPreReboot()) { in ensureNoProcessInDir()
DGlobalInjector.java67 public abstract boolean isPreReboot(); in isPreReboot() method in GlobalInjector
85 public boolean isPreReboot() { in isPreReboot() method in GlobalInjector.DefaultGlobalInjector
DDexopter.java121 if (mInjector.isPreReboot() && !isDexFileFound(dexInfo)) { in dexopt()
211 if (mInjector.isPreReboot()) { in dexopt()
321 if (profileMerged && !mInjector.isPreReboot()) { in dexopt()
544 target.isInDalvikCache(), permissionSettings, mInjector.isPreReboot()); in dexoptFile()
579 if (!result.cancelled && !mInjector.isPreReboot()) { in dexoptFile()
830 public boolean isPreReboot() { in isPreReboot() method in Dexopter.Injector
831 return GlobalInjector.getInstance().isPreReboot(); in isPreReboot()
DAsLog.java39 return GlobalInjector.getInstance().isPreReboot() ? PRE_REBOOT_TAG : TAG; in getTag()
DSecondaryDexopter.java137 dexInfo.dexPath(), uid, uid, isPublic, mInjector.isPreReboot()); in buildOutputProfile()
DPrimaryDexUtils.java325 boolean isPreReboot) { in buildOutputProfile() argument
328 pkgState.getPackageName(), profileName, uid, gid, isPublic, isPreReboot); in buildOutputProfile()
DDexUseManagerLocal.java169 Utils.check(!mInjector.isPreReboot()); in systemReady()
531 Utils.check(!mInjector.isPreReboot()); in save()
565 Utils.check(!mInjector.isPreReboot()); in maybeSaveAsync()
1213 public boolean isPreReboot() { in isPreReboot() method in DexUseManagerLocal.Injector
1214 return GlobalInjector.getInstance().isPreReboot(); in isPreReboot()
DPrimaryDexopter.java172 mSharedGid, isPublic, mInjector.isPreReboot()); in buildOutputProfile()
/art/artd/binder/com/android/server/art/
DProfilePath.aidl46 boolean isPreReboot;
84 boolean isPreReboot;
DArtifactsPath.aidl35 boolean isPreReboot;
/art/libartservice/service/javatests/com/android/server/art/
DPrimaryDexopterTest.java368 when(mInjector.isPreReboot()).thenReturn(true); in testDexoptMergesProfilesPreReboot()
369 mPublicOutputProfile.profilePath.finalPath.getForPrimary().isPreReboot = true; in testDexoptMergesProfilesPreReboot()
370 mPrivateOutputProfile.profilePath.finalPath.getForPrimary().isPreReboot = true; in testDexoptMergesProfilesPreReboot()
456 when(mInjector.isPreReboot()).thenReturn(true); in testDexoptUsesDmProfilePreReboot()
457 mPublicOutputProfile.profilePath.finalPath.getForPrimary().isPreReboot = true; in testDexoptUsesDmProfilePreReboot()
458 mPrivateOutputProfile.profilePath.finalPath.getForPrimary().isPreReboot = true; in testDexoptUsesDmProfilePreReboot()
545 when(mInjector.isPreReboot()).thenReturn(true); in testDexoptUsesEmbeddedProfilePreReboot()
546 mPublicOutputProfile.profilePath.finalPath.getForPrimary().isPreReboot = true; in testDexoptUsesEmbeddedProfilePreReboot()
547 mPrivateOutputProfile.profilePath.finalPath.getForPrimary().isPreReboot = true; in testDexoptUsesEmbeddedProfilePreReboot()
865 when(mInjector.isPreReboot()).thenReturn(true); in testDexoptPreRebootDexNotFound()
[all …]
DPrimaryDexopterTestBase.java95 lenient().when(mInjector.isPreReboot()).thenReturn(false); in setUp()
DDexUseManagerTest.java171 lenient().when(mInjector.isPreReboot()).thenReturn(false); in setUp()
844 when(mInjector.isPreReboot()).thenReturn(true); in testPreRebootNoUpdate()
DPrimaryDexopterParameterizedTest.java233 lenient().when(mInjector.isPreReboot()).thenReturn(mParams.mIsPreReboot); in setUp()
/art/libartservice/service/java/com/android/server/art/prereboot/
DPreRebootGlobalInjector.java72 public boolean isPreReboot() { in isPreReboot() method in PreRebootGlobalInjector