Home
last modified time | relevance | path

Searched refs:modeId (Results 1 – 7 of 7) sorted by relevance

/external/vogar/src/vogar/
DVogar.java65 ModeId modeId = ModeId.DEVICE; field in Vogar
232 System.out.println(" Default is: " + modeId); in printUsage()
241 + modeId.defaultToolchain() + " for --mode=" + modeId + ")"); in printUsage()
444 if (!modeId.acceptsVmArgs() && !vmArgs.isEmpty()) { in parseArgs()
445 System.out.println("VM args " + vmArgs + " should not be specified for mode " + modeId); in parseArgs()
450 if (!modeId.supportsVariant(variant)) { in parseArgs()
451 System.out.println("Variant " + variant + " not supported for mode " + modeId); in parseArgs()
456 toolchain = modeId.defaultToolchain(); in parseArgs()
458 } else if (!modeId.supportsToolchain(toolchain)) { in parseArgs()
459 System.out.println("Toolchain " + toolchain + " not supported for mode " + modeId); in parseArgs()
[all …]
DRun.java139 this.maxConcurrentActions = (vogar.stream || vogar.modeId == ModeId.ACTIVITY) in Run()
161 console, vogar.expectationFiles, vogar.modeId, vogar.variant); in Run()
166 this.mode = createMode(vogar.modeId, vogar.variant); in Run()
189 private Mode createMode(ModeId modeId, Variant variant) { in createMode() argument
190 switch (modeId) { in createMode()
194 return new HostRuntime(this, modeId, variant); in createMode()
198 return new DeviceRuntime(this, modeId, variant, new Supplier<String>() { in createMode()
207 throw new IllegalArgumentException("Unsupported mode: " + modeId); in createMode()
/external/vogar/src/vogar/android/
DDeviceRuntime.java43 private final ModeId modeId; field in DeviceRuntime
46 public DeviceRuntime(Run run, ModeId modeId, Variant variant, in DeviceRuntime() argument
49 if (!modeId.isDevice() || !modeId.supportsVariant(variant)) { in DeviceRuntime()
50 throw new IllegalArgumentException("Unsupported mode:" + modeId + in DeviceRuntime()
54 this.modeId = modeId; in DeviceRuntime()
98 if (modeId == ModeId.APP_PROCESS) { in newVmCommandBuilder()
DHostRuntime.java45 private final ModeId modeId; field in HostRuntime
48 public HostRuntime(Run run, ModeId modeId, Variant variant) { in HostRuntime() argument
49 if (!modeId.isHost() || !modeId.supportsVariant(variant)) { in HostRuntime()
50 throw new IllegalArgumentException("Unsupported mode:" + modeId + in HostRuntime()
54 this.modeId = modeId; in HostRuntime()
105 for (String jar : modeId.getJarNames()) { in newVmCommandBuilder()
DAndroidSdk.java73 Log log, Mkdir mkdir, ModeId modeId, Language language) { in createAndroidSdk() argument
179 if (modeId.isHost()) { in createAndroidSdk()
184 String[] jarNames = modeId.getJarNames(); in createAndroidSdk()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DDisplayConfig.java168 public int modeId; field in DisplayConfig
292 modeId = other.modeId; in DisplayConfig()
347 && modeId == other.modeId in equals()
388 modeId = other.modeId; in copyFrom()
433 other.modeId = modeId; in copyTo()
498 sb.append(modeId); in toString()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplayManager.java67 displayInfo.modeId = 0; in createDisplayInfo()