Home
last modified time | relevance | path

Searched refs:intValue (Results 1 – 25 of 127) sorted by relevance

123456

/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java225 assertEquals((int) INITIAL_EVENT_TIME_MILLIS, intervals.get(0).intValue()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
226 assertEquals((int) interval, intervals.get(1).intValue()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
232 assertEquals(1, tapCounts.get(0).intValue()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
233 assertEquals(2, tapCounts.get(1).intValue()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
269 assertEquals((int) INITIAL_EVENT_TIME_MILLIS, intervals.get(0).intValue()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
270 assertEquals((int) interval, intervals.get(1).intValue()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
276 assertEquals(1, tapCounts.get(0).intValue()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
279 assertEquals(2, tapCounts.get(1).intValue()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
315 assertEquals((int) INITIAL_EVENT_TIME_MILLIS, intervals.get(0).intValue()); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive()
316 assertEquals((int) interval, intervals.get(1).intValue()); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive()
[all …]
/frameworks/base/core/java/android/animation/
DIntKeyframeSet.java72 intValue(); in getIntValue()
87 … ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)).intValue(); in getIntValue()
105 intValue(); in getIntValue()
110 return ((Number)mKeyframes.get(mNumKeyframes - 1).getValue()).intValue(); in getIntValue()
/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java81 return mObjectHandles.stream().mapToInt(Integer::intValue).toArray(); in getObjectHandles()
85 return mPropertyCodes.stream().mapToInt(Integer::intValue).toArray(); in getPropertyCodes()
89 return mDataTypes.stream().mapToInt(Integer::intValue).toArray(); in getDataTypes()
/frameworks/base/tests/net/common/java/android/net/metrics/
DDhcpErrorEventTest.kt53 val intValue = it.getInt(null) in testToString() constant
54 val stringValue = DhcpErrorEvent(intValue).toString() in testToString()
55 assertTrue("Invalid string for error 0x%08X (field %s): %s".format(intValue, it.name, in testToString()
DValidationProbeEventTest.kt66 val intValue = it.getInt(null) in testGetProbeName() constant
67 val stringValue = ValidationProbeEvent.getProbeName(intValue) in testGetProbeName()
/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java106 int intValue; in read() local
115 intValue = Integer.parseInt(value, radix); in read()
121 vendorId = intValue; in read()
123 productId = intValue; in read()
125 deviceClass = intValue; in read()
127 deviceSubclass = intValue; in read()
129 deviceProtocol = intValue; in read()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java235 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet()
242 assertEquals(TYPE_MOBILE, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet()
244 assertEquals(TYPE_MOBILE_HIPRI, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet()
258 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
260 assertEquals(TYPE_WIFI, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
262 assertEquals(TYPE_MOBILE_HIPRI, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
276 assertEquals(TYPE_WIFI, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
278 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
280 assertEquals(TYPE_MOBILE_HIPRI, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
/frameworks/base/core/java/android/net/
DLocalSocketImpl.java473 int intValue = 0; in setOption() local
475 intValue = (Integer)value; in setOption()
485 StructLinger linger = new StructLinger(boolValue, intValue); in setOption()
491 StructTimeval timeval = StructTimeval.fromMillis(intValue); in setOption()
501 Os.setsockoptInt(fd, OsConstants.SOL_SOCKET, osOpt, intValue); in setOption()
505 intValue); in setOption()
DLocalSocket.java242 return ((Integer) impl.getOption(SocketOptions.SO_RCVBUF)).intValue(); in getReceiveBufferSize()
250 return ((Integer) impl.getOption(SocketOptions.SO_TIMEOUT)).intValue(); in getSoTimeout()
258 return ((Integer) impl.getOption(SocketOptions.SO_SNDBUF)).intValue(); in getSendBufferSize()
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java247 values[0].intValue(), in getConfig()
249 values[2].intValue() > 0 /*use preEQ*/, in getConfig()
250 values[3].intValue() /*pre eq bands*/, in getConfig()
251 values[4].intValue() > 0 /*use mbc*/, in getConfig()
252 values[5].intValue() /*mbc bands*/, in getConfig()
253 values[6].intValue() > 0 /*use postEQ*/, in getConfig()
254 values[7].intValue()/*postEq bands*/, in getConfig()
255 values[8].intValue() > 0 /*use Limiter*/). in getConfig()
1930 int bandCount = values[2].intValue(); in queryEngineEqByChannelIndex()
1931 Eq eq = new Eq(values[0].intValue() > 0 /* in use */, in queryEngineEqByChannelIndex()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java165 assertEquals(top1.getValue().intValue(), top2.getValue().intValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
166 assertEquals(bottom1.getValue().intValue(), bottom2.getValue().intValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
DReportCanvas.java152 int intValue = value & 0xFFFF; in getHexString() local
153 return "0x" + Integer.toHexString(intValue).toUpperCase(); in getHexString()
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java259 int intValue= dflt; in getPreference() local
261 return intValue; in getPreference()
263 intValue= Integer.parseInt(value); in getPreference()
266 return intValue; in getPreference()
/frameworks/base/core/java/android/provider/
DSettingsValidators.java215 final int intValue = Integer.parseInt(value); in validate() local
216 return intValue >= mMin && intValue <= mMax; in validate()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java104 int weight = style.first.intValue(); in testRegularFonts()
121 int weight = style.first.intValue(); in testTtcFont()
137 int weight = style.first.intValue(); in testVariationFont()
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootSurfaceCallbackTest.java73 mTidOfSurfaceCreated.get(TIMEOUT_MS, TimeUnit.MILLISECONDS).intValue()); in testCallingTidOfSurfaceCallback()
80 mTidOfSurfaceDestroyed.get(TIMEOUT_MS, TimeUnit.MILLISECONDS).intValue()); in testCallingTidOfSurfaceCallback()
/frameworks/base/core/java/android/view/
DViewDebug.java1459 final int intValue = (Integer) methodValue;
1462 exportUnrolledFlags(out, flagsMapping, intValue, valuePrefix);
1467 final int intValue = (Integer) methodValue;
1472 if (mapper.from() == intValue) {
1480 methodValue = intValue;
1544 final int intValue = field.getInt(view);
1547 exportUnrolledFlags(out, flagsMapping, intValue, valuePrefix);
1552 final int intValue = field.getInt(view);
1556 if (mapped.from() == intValue) {
1563 fieldValue = intValue;
[all …]
/frameworks/base/cmds/media/src/com/android/commands/media/
DVolumeCtrl.java91 stream = Integer.decode(cmd.nextArgRequired()).intValue(); in run()
95 volIndex = Integer.decode(cmd.nextArgRequired()).intValue(); in run()
/frameworks/base/core/java/android/util/
DIntProperty.java41 setValue(object, value.intValue()); in set()
DRational.java385 public int intValue() { in intValue() method in Rational
444 return (short) intValue(); in shortValue()
/frameworks/hardware/interfaces/stats/1.0/vts/functional/
DVtsHalStatsV1_0TargetTest.cpp135 tmp.intValue(7); in TEST_P()
141 tmp.intValue(3); in TEST_P()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DReflectIntermediateClass.java36 value += ((Integer) get.invoke(bigClass.newInstance())).intValue(); in get()
/frameworks/hardware/interfaces/stats/1.0/test_client/
DStatsClient.cpp169 tmp.intValue(7); in main()
175 tmp.intValue(3); in main()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFloatArrayToSizeFilterTest.java47 assertEquals(3, ((Integer) getOutputFrame("size").asFrameValue().getValue()).intValue()); in testToSize()
/frameworks/base/core/java/com/google/android/util/
DSmileyResources.java53 return i.intValue(); in getSmileyRes()

123456