Lines Matching refs:OriginInfo
8119 final OriginInfo origin = OriginInfo.fromUntrustedFile(originFile);
8133 final OriginInfo origin;
8135 origin = OriginInfo.fromStagedFile(stagedDir);
8137 origin = OriginInfo.fromStagedContainer(stagedCid);
8836 static class OriginInfo {
8861 static OriginInfo fromNothing() {
8862 return new OriginInfo(null, null, false, false);
8865 static OriginInfo fromUntrustedFile(File file) {
8866 return new OriginInfo(file, null, false, false);
8869 static OriginInfo fromExistingFile(File file) {
8870 return new OriginInfo(file, null, false, true);
8873 static OriginInfo fromStagedFile(File file) {
8874 return new OriginInfo(file, null, true, false);
8877 static OriginInfo fromStagedContainer(String cid) {
8878 return new OriginInfo(null, cid, true, false);
8881 private OriginInfo(File file, String cid, boolean staged, boolean existing) {
8901 final OriginInfo origin;
8910 InstallParams(OriginInfo origin, IPackageInstallObserver2 observer, int installFlags,
9331 final OriginInfo origin;
9346 InstallArgs(OriginInfo origin, IPackageInstallObserver2 observer, int installFlags,
9442 super(OriginInfo.fromNothing(), null, 0, null, null, null, instructionSets, null);
9701 super(OriginInfo.fromNothing(), null, (isExternal ? INSTALL_EXTERNAL : 0)
9718 super(OriginInfo.fromNothing(), null, (isAsecExternal(cid) ? INSTALL_EXTERNAL : 0)
13340 final OriginInfo origin = OriginInfo.fromExistingFile(codeFile);