Home
last modified time | relevance | path

Searched refs:hasAtLeast (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/
DIntegerArrayStream.java50 public boolean hasAtLeast(int n) { in hasAtLeast() method in IntegerArrayStream
54 public <T> T hasAtLeast(int n, Function<IntegerArrayStream, T> ifTrue) { in hasAtLeast() method in IntegerArrayStream
55 return hasAtLeast(n, ifTrue, null); in hasAtLeast()
58 public <T> T hasAtLeast( in hasAtLeast() method in IntegerArrayStream
62 if (hasAtLeast(n)) { in hasAtLeast()
87 if (!hasAtLeast(values.length)) { in expect()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DIntegerArrayStreamTest.java48 assertTrue(stream.hasAtLeast(1)); in testHasAtLeast()
49 assertTrue(stream.hasAtLeast(DATA_SET.length)); in testHasAtLeast()
50 assertFalse(stream.hasAtLeast(100)); in testHasAtLeast()
51 assertTrue(stream.hasAtLeast(1, theStream -> true)); in testHasAtLeast()
52 assertFalse(stream.hasAtLeast(100, theStream -> true, theStream -> false)); in testHasAtLeast()
DMockObd2UnderlyingTransport.java36 if (mStream.hasAtLeast(1)) return mStream.consume(); in read()
50 if (mStream.hasAtLeast(1)) { in write()
/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/commands/
DFuelSystemStatus.java32 return data.hasAtLeast( in consume()
DFuelGaugePressure.java32 return data.hasAtLeast( in consume()
DEngineCoolantTemperature.java32 return data.hasAtLeast( in consume()
DThrottlePosition.java32 return data.hasAtLeast( in consume()
DCalculatedEngineLoad.java32 return data.hasAtLeast( in consume()
DEngineOilTemperature.java32 return data.hasAtLeast( in consume()
DAmbientAirTemperature.java32 return data.hasAtLeast( in consume()
DSpeed.java32 return data.hasAtLeast( in consume()
DFuelTankLevel.java32 return data.hasAtLeast( in consume()
DEngineRuntime.java32 return data.hasAtLeast( in consume()
DRPM.java32 return data.hasAtLeast( in consume()
DFuelTrimCommand.java27 return data.hasAtLeast( in consume()