/external/vogar/src/vogar/android/ |
DeviceRuntime.java | 31 import vogar.ModeId; 42 private final ModeId modeId; 45 public DeviceRuntime(Run run, ModeId modeId, Variant variant, 48 if (!modeId.isDevice() || !modeId.supportsVariant(variant)) { 49 throw new IllegalArgumentException("Unsupported mode:" + modeId + 53 this.modeId = modeId; [all...] |
HostRuntime.java | 31 import vogar.ModeId; 44 private final ModeId modeId; 47 public HostRuntime(Run run, ModeId modeId, Variant variant) { 48 if (!modeId.isHost() || !modeId.supportsVariant(variant)) { 49 throw new IllegalArgumentException("Unsupported mode:" + modeId + 53 this.modeId = modeId; [all...] |
AndroidSdk.java | 31 import vogar.ModeId; 64 Log log, Mkdir mkdir, ModeId modeId, boolean useJack) { 147 if (modeId.isHost()) { 152 String[] jarNames = modeId.getJarNames();
|
/external/vogar/src/vogar/ |
ExpectationStore.java | 111 ModeId mode, 123 public void parse(File expectationsFile, ModeId mode, Variant variant) throws IOException { 146 private void readExpectation(JsonReader reader, ModeId mode, Variant variant) 153 Map<ModeId, Set<Variant>> modeVariants = null; 154 Set<ModeId> modes = null; 225 private Set<ModeId> readModes(JsonReader reader) throws IOException { 226 Set<ModeId> result = EnumSet.noneOf(ModeId.class); 229 result.add(ModeId.valueOf(reader.nextString().toUpperCase())); 238 private Map<ModeId, Set<Variant>> readModesAndVariants(JsonReader reader) throws IOException [all...] |
ModeId.java | 23 public enum ModeId { 70 return isHost() || this == ModeId.JVM; 80 return this == ModeId.DEVICE || this == ModeId.APP_PROCESS;
|
Run.java | 147 this.maxConcurrentActions = (vogar.stream || vogar.modeId == ModeId.ACTIVITY) 175 console, vogar.expectationFiles, vogar.modeId, vogar.variant); 180 this.mode = createMode(vogar.modeId, vogar.variant); 203 private Mode createMode(ModeId modeId, Variant variant) { 204 switch (modeId) { 208 return new HostRuntime(this, modeId, variant); 211 return new DeviceRuntime(this, modeId, variant, new Supplier<String>() { 220 throw new IllegalArgumentException("Unsupported mode: " + modeId); [all...] |
Vogar.java | 66 ModeId modeId = ModeId.DEVICE; 240 System.out.println(" Default is: " + modeId); 447 if (!modeId.acceptsVmArgs() && !vmArgs.isEmpty()) { 448 System.out.println("VM args " + vmArgs + " should not be specified for mode " + modeId); 453 if (!modeId.supportsVariant(variant)) { 454 System.out.println("Variant " + variant + " not supported for mode " + modeId); 473 vmCommand = modeId.defaultVmCommand(variant); 482 firstMonitorPort = modeId.isLocal() ? 8788 : 8787 [all...] |
/cts/libs/vogar-expect/src/vogar/ |
ModeId.java | 19 public enum ModeId {
|
ExpectationStore.java | 121 public static ExpectationStore parse(Set<File> expectationFiles, ModeId mode) throws IOException { 141 Class<?> owningClass, Set<String> expectationResources, ModeId mode) 156 private void parse(URL url, ModeId mode) throws IOException { 165 public void parse(File expectationsFile, ModeId mode) throws IOException { 174 private void parse(Reader reader, String source, ModeId mode) throws IOException { 189 private void readExpectation(JsonReader reader, ModeId mode) throws IOException { 195 Set<ModeId> modes = null; 261 private Set<ModeId> readModes(JsonReader reader) throws IOException { 262 Set<ModeId> result = new LinkedHashSet<ModeId>(); [all...] |
/external/vogar/test/vogar/android/ |
DeviceRuntimeAdbTargetTest.java | 29 import vogar.ModeId; 57 Mode deviceRuntime = new DeviceRuntime(run, ModeId.DEVICE, Variant.X32, 89 Mode deviceRuntime = new DeviceRuntime(run, ModeId.DEVICE, Variant.X32,
|
HostRuntimeLocalTargetTest.java | 27 import vogar.ModeId; 51 Mode hostRuntime = new HostRuntime(run, ModeId.HOST, Variant.X32); 88 Mode hostRuntime = new HostRuntime(run, ModeId.HOST, Variant.X32);
|
DeviceRuntimeSshTargetTest.java | 26 import vogar.ModeId; 51 Mode deviceRuntime = new DeviceRuntime(run, ModeId.DEVICE, Variant.X32,
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
HomeXLarge.java | 118 public boolean onCreateContextMode(int modeId, Menu menu) { 123 public boolean onPrepareContextMode(int modeId, Menu menu) { 128 public boolean onContextItemClicked(int modeId, MenuItem item) {
|
HomeGroupsXLarge.java | 193 public boolean onCreateContextMode(int modeId, Menu menu) { 198 public boolean onPrepareContextMode(int modeId, Menu menu) { 203 public boolean onContextItemClicked(int modeId, MenuItem item) {
|
/frameworks/base/services/core/java/com/android/server/display/ |
LocalDisplayAdapter.java | 360 mInfo.modeId = mActiveModeId; 524 int colorMode, int modeId) { 525 if (requestModeInTransactionLocked(modeId) || 531 public boolean requestModeInTransactionLocked(int modeId) { 532 if (modeId == 0) { 533 modeId = mDefaultModeId; 534 } else if (mSupportedModes.indexOfKey(modeId) < 0) { 535 Slog.w(TAG, "Requested mode " + modeId + " is not supported by this display," 537 modeId = mDefaultModeId; 540 int physIndex = findDisplayInfoIndexLocked(modeId); [all...] |
DisplayDeviceInfo.java | 151 public int modeId; 295 || modeId != other.modeId 327 modeId = other.modeId; 355 sb.append(", modeId ").append(modeId);
|
LogicalDisplay.java | 235 mBaseDisplayInfo.modeId = deviceInfo.modeId; 381 public void setRequestedModeIdLocked(int modeId) { 382 mRequestedModeId = modeId;
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
CtsXmlGenerator.java | 23 import vogar.ModeId; 128 ExpectationStore failuresStore = ExpectationStore.parse(expectationFiles, ModeId.DEVICE); 129 ExpectationStore abiStore = ExpectationStore.parse(abiFiles, ModeId.DEVICE);
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_qdcm.cpp | 103 int modeid = 0; local 106 (const void *)¶ms, (void *)&modeid); 108 out->writeInt32(modeid);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeSelectorItem.java | 248 * @param modeId id of the mode represented by current item. 250 public void setModeId(int modeId) { 251 mModeId = modeId;
|
/frameworks/base/core/java/android/view/ |
DisplayInfo.java | 160 public int modeId; 289 && modeId == other.modeId 329 modeId = other.modeId; 365 modeId = source.readInt(); 410 dest.writeInt(modeId); 439 return findMode(modeId); 589 sb.append(modeId);
|
/cts/tools/utils/ |
VogarUtils.java | 19 import vogar.ModeId; 70 ExpectationStore result = ExpectationStore.parse(getExpectationFiles(dir), ModeId.DEVICE);
|
/external/speex/libspeex/ |
speex_header.c | 106 header->mode = m->modeID; 108 if (m->modeID<0)
|
sb_celp.c | 459 spx_int32_t modeid; local 460 modeid = mode->nb_modes-1; 464 while (modeid) 470 thresh = mode->vbr_thresh[modeid][v1]; 472 thresh = (st->vbr_quality-v1) * mode->vbr_thresh[modeid][v1+1] + 473 (1+v1-st->vbr_quality) * mode->vbr_thresh[modeid][v1]; 474 if (st->relative_quality >= thresh && st->sampling_rate*st->submodes[modeid]->bits_per_frame/st->full_frame_size <= st->vbr_max_high) 476 modeid--; 478 speex_encoder_ctl(state, SPEEX_SET_HIGH_MODE, &modeid); 490 int modeid; local [all...] |
/external/speex/include/speex/ |
speex.h | 206 /** modeID for the defined narrowband mode */ 209 /** modeID for the defined wideband mode */ 212 /** modeID for the defined ultra-wideband mode */ 260 int modeID;
|