/art/artd/ |
D | path_utils_test.cc | 59 .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 …]
|
D | path_utils.cc | 189 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()
|
D | path_utils.h | 108 return profile_path.template get<T::forPrimary>().isPreReboot; in PreRebootFlag() 110 return profile_path.template get<T::forSecondary>().isPreReboot; in PreRebootFlag()
|
D | artd_test.cc | 398 .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()
|
D | artd.cc | 1409 pre_reboot_artifacts.isPreReboot = true; in commitPreRebootStagedFiles()
|
/art/libartservice/service/java/com/android/server/art/ |
D | AidlUtils.java | 38 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 …]
|
D | ArtJni.java | 58 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()
|
D | GlobalInjector.java | 67 public abstract boolean isPreReboot(); in isPreReboot() method in GlobalInjector 85 public boolean isPreReboot() { in isPreReboot() method in GlobalInjector.DefaultGlobalInjector
|
D | Dexopter.java | 121 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()
|
D | AsLog.java | 39 return GlobalInjector.getInstance().isPreReboot() ? PRE_REBOOT_TAG : TAG; in getTag()
|
D | SecondaryDexopter.java | 137 dexInfo.dexPath(), uid, uid, isPublic, mInjector.isPreReboot()); in buildOutputProfile()
|
D | PrimaryDexUtils.java | 325 boolean isPreReboot) { in buildOutputProfile() argument 328 pkgState.getPackageName(), profileName, uid, gid, isPublic, isPreReboot); in buildOutputProfile()
|
D | DexUseManagerLocal.java | 169 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()
|
D | PrimaryDexopter.java | 172 mSharedGid, isPublic, mInjector.isPreReboot()); in buildOutputProfile()
|
/art/artd/binder/com/android/server/art/ |
D | ProfilePath.aidl | 46 boolean isPreReboot; 84 boolean isPreReboot;
|
D | ArtifactsPath.aidl | 35 boolean isPreReboot;
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | PrimaryDexopterTest.java | 368 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 …]
|
D | PrimaryDexopterTestBase.java | 95 lenient().when(mInjector.isPreReboot()).thenReturn(false); in setUp()
|
D | DexUseManagerTest.java | 171 lenient().when(mInjector.isPreReboot()).thenReturn(false); in setUp() 844 when(mInjector.isPreReboot()).thenReturn(true); in testPreRebootNoUpdate()
|
D | PrimaryDexopterParameterizedTest.java | 233 lenient().when(mInjector.isPreReboot()).thenReturn(mParams.mIsPreReboot); in setUp()
|
/art/libartservice/service/java/com/android/server/art/prereboot/ |
D | PreRebootGlobalInjector.java | 72 public boolean isPreReboot() { in isPreReboot() method in PreRebootGlobalInjector
|