Searched refs:AidlUtils (Results 1 – 12 of 12) sorted by relevance
314 verify(mArtd).deleteArtifacts(deepEq(AidlUtils.buildArtifactsPathAsInput( in testDeleteDexoptArtifacts()316 verify(mArtd).deleteArtifacts(deepEq(AidlUtils.buildArtifactsPathAsInput( in testDeleteDexoptArtifacts()318 verify(mArtd).deleteArtifacts(deepEq(AidlUtils.buildArtifactsPathAsInput( in testDeleteDexoptArtifacts()320 verify(mArtd).deleteArtifacts(deepEq(AidlUtils.buildArtifactsPathAsInput( in testDeleteDexoptArtifacts()322 verify(mArtd).deleteArtifacts(deepEq(AidlUtils.buildArtifactsPathAsInput( in testDeleteDexoptArtifacts()324 verify(mArtd).deleteArtifacts(deepEq(AidlUtils.buildArtifactsPathAsInput( in testDeleteDexoptArtifacts()327 verify(mArtd).deleteRuntimeArtifacts(deepEq(AidlUtils.buildRuntimeArtifactsPath( in testDeleteDexoptArtifacts()329 verify(mArtd).deleteRuntimeArtifacts(deepEq(AidlUtils.buildRuntimeArtifactsPath( in testDeleteDexoptArtifacts()331 verify(mArtd).deleteRuntimeArtifacts(deepEq(AidlUtils.buildRuntimeArtifactsPath( in testDeleteDexoptArtifacts()333 verify(mArtd).deleteRuntimeArtifacts(deepEq(AidlUtils.buildRuntimeArtifactsPath( in testDeleteDexoptArtifacts()[all …]
85 AidlUtils.buildProfilePathForSecondaryRefAsInput(DEX_1);86 private final ProfilePath mDex1CurProfile = AidlUtils.buildProfilePathForSecondaryCur(DEX_1);88 AidlUtils.buildProfilePathForSecondaryRefAsInput(DEX_2);90 AidlUtils.buildProfilePathForSecondaryRefAsInput(DEX_3);92 AidlUtils.buildOutputProfileForSecondary(329 OutputArtifacts outputArtifacts = AidlUtils.buildOutputArtifacts(dexPath, isa, in checkDexoptWithPrivateProfile()339 OutputArtifacts outputArtifacts = AidlUtils.buildOutputArtifacts(dexPath, isa, in checkDexoptWithNoProfile()347 FsPermission dirFsPermission = AidlUtils.buildFsPermission(UID /* uid */, UID /* gid */, in buildPermissionSettings()350 AidlUtils.buildFsPermission(UID /* uid */, UID /* gid */, isPublic); in buildPermissionSettings()351 return AidlUtils.buildPermissionSettings( in buildPermissionSettings()[all …]
74 AidlUtils.buildProfilePathForPrimaryRefAsInput(PKG_NAME, "primary");75 private final ProfilePath mPrebuiltProfile = AidlUtils.buildProfilePathForPrebuilt(mDexPath);76 private final ProfilePath mDmProfile = AidlUtils.buildProfilePathForDm(mDexPath);77 private final DexMetadataPath mDmFile = AidlUtils.buildDexMetadataPath(mDexPath);79 AidlUtils.buildOutputProfileForPrimary(PKG_NAME, "primary", Process.SYSTEM_UID,82 AidlUtils.buildOutputProfileForPrimary(PKG_NAME, "primary", Process.SYSTEM_UID,87 AidlUtils.buildProfilePathForPrimaryRefAsInput(PKG_NAME, "split_0.split");178 deepEq(VdexPath.artifactsPath(AidlUtils.buildArtifactsPathAsInput( in testDexoptInputVdex()189 deepEq(VdexPath.artifactsPath(AidlUtils.buildArtifactsPathAsInput( in testDexoptInputVdex()333 deepEq(List.of(AidlUtils.buildProfilePathForPrimaryCur( in checkDexoptMergesProfiles()[all …]
19 import static com.android.server.art.AidlUtils.buildFsPermission;20 import static com.android.server.art.AidlUtils.buildOutputArtifacts;21 import static com.android.server.art.AidlUtils.buildPermissionSettings;383 deepEq(AidlUtils.buildRuntimeArtifactsPath( in testDexopt()386 deepEq(AidlUtils.buildRuntimeArtifactsPath( in testDexopt()
111 FsPermission dirFsPermission = AidlUtils.buildFsPermission(uid /* uid */, uid /* gid */, in getPermissionSettings()114 AidlUtils.buildFsPermission(uid /* uid */, uid /* gid */, canBePublic); in getPermissionSettings()115 SeContext seContext = AidlUtils.buildSeContext(mPkgState.getSeInfo(), uid); in getPermissionSettings()116 return AidlUtils.buildPermissionSettings(dirFsPermission, fileFsPermission, seContext); in getPermissionSettings()128 return AidlUtils.buildProfilePathForSecondaryRefAsInput(dexInfo.dexPath()); in buildRefProfilePathAsInput()136 return AidlUtils.buildOutputProfileForSecondary( in buildOutputProfile()144 return List.of(AidlUtils.buildProfilePathForSecondaryCur(dexInfo.dexPath())); in getCurProfiles()
111 artifacts.add(AidlUtils.buildArtifactsPathAsInput( in getWritableArtifacts()114 runtimeArtifacts.add(AidlUtils.buildRuntimeArtifactsPath( in getWritableArtifacts()123 artifacts.add(AidlUtils.buildArtifactsPathAsInput( in getWritableArtifacts()154 AidlUtils.buildArtifactsPathAsInput(dexInfo.dexPath(), abi.isa(), in getUsableArtifacts()165 runtimeArtifacts.add(AidlUtils.buildRuntimeArtifactsPath( in getUsableArtifacts()207 AidlUtils.buildProfilePathForSecondaryRefAsInput(dexInfo.dexPath())); in getProfiles()208 curProfiles.add(AidlUtils.buildProfilePathForSecondaryCur(dexInfo.dexPath())); in getProfiles()
145 FsPermission dirFsPermission = AidlUtils.buildFsPermission(Process.SYSTEM_UID /* uid */, in getPermissionSettings()148 FsPermission fileFsPermission = AidlUtils.buildFsPermission( in getPermissionSettings()152 return AidlUtils.buildPermissionSettings(dirFsPermission, fileFsPermission, seContext); in getPermissionSettings()184 return AidlUtils.buildDexMetadataPath(dexInfo.dexPath()); in buildDmPath()
318 return AidlUtils.buildProfilePathForPrimaryRefAsInput( in buildRefProfilePathAsInput()327 return AidlUtils.buildOutputProfileForPrimary( in buildOutputProfile()346 profiles.add(AidlUtils.buildProfilePathForPrimaryCur( in getCurProfiles()360 return List.of(AidlUtils.buildProfilePathForPrebuilt(dexInfo.dexPath()), in getExternalProfiles()361 AidlUtils.buildProfilePathForDm(dexInfo.dexPath())); in getExternalProfiles()
213 AidlUtils.buildArtifactsPathAsInputPreReboot( in dexopt()521 ArtifactsPath existingArtifactsPath = AidlUtils.buildArtifactsPathAsInput( in getDexoptTrigger()543 AidlUtils.buildOutputArtifacts(target.dexInfo().dexPath(), target.isa(), in dexoptFile()580 mInjector.getArtd().deleteRuntimeArtifacts(AidlUtils.buildRuntimeArtifactsPath( in dexoptFile()595 return VdexPath.artifactsPath(AidlUtils.buildArtifactsPathAsInput( in getInputVdex()598 return VdexPath.artifactsPath(AidlUtils.buildArtifactsPathAsInput( in getInputVdex()615 AsLog.e("Failed to commit profile changes " + AidlUtils.toString(profile.finalPath), e); in commitProfileChanges()634 AsLog.e("Failed to merge profiles " + AidlUtils.toString(output.profilePath.finalPath), in mergeProfiles()
33 public final class AidlUtils { class34 private AidlUtils() {} in AidlUtils() method in AidlUtils
760 DexMetadataPath dmPath = AidlUtils.buildDexMetadataPath(dexInfo.dexPath()); in snapshotOrDumpAppProfile()830 profiles.add(AidlUtils.buildProfilePathForPrimaryRefAsInput( in snapshotBootImageProfile()834 profiles.add(AidlUtils.buildProfilePathForPrimaryCur(handle.getIdentifier(), in snapshotBootImageProfile()851 OutputProfile output = AidlUtils.buildOutputProfileForPrimary(Utils.PLATFORM_PACKAGE_NAME, in snapshotBootImageProfile()1147 .map(AidlUtils::toWritableProfilePath) in commitPreRebootStagedFiles()
400 + AidlUtils.toString(refProfile), in getOrInitReferenceProfile()428 profileInitializers.add(Pair.create(AidlUtils.toString(profile), in initReferenceProfile()