/cts/hostsidetests/backup/RestoreAnyVersion/src/ |
D | RestoreAnyVersionTest.java | 78 int intValue = getAppSharedPreference(); in checkSharedPrefIsEmpty() local 79 assertEquals(DEFAULT_INT_VALUE, intValue); in checkSharedPrefIsEmpty() 84 int intValue = getAppSharedPreference(); in checkSharedPrefIsNew() local 85 assertEquals(NEW_VERSION, intValue); in checkSharedPrefIsNew() 97 int intValue = getAppSharedPreference(); in checkSharedPrefIsOld() local 98 assertEquals(OLD_VERSION, intValue); in checkSharedPrefIsOld() 112 int intValue = prefs.getInt(INT_PREF, DEFAULT_INT_VALUE); in getAppSharedPreference() local 114 Log.i(TAG, "Read the shared preference value: " + intValue); in getAppSharedPreference() 116 return intValue; in getAppSharedPreference()
|
/cts/tests/tests/location/src/android/location/cts/suplClient/ |
D | SuplRrlpController.java | 156 .getReferenceTime().getGpsTime().getGpsWeek().getInteger().intValue(); in buildNavMessageProto() 183 int satID = navModelElement.getSatelliteID().getInteger().intValue(); in buildNavMessageProto() 225 gpsEphemerisProto.l2Code = ephemeris.getEphemCodeOnL2().getInteger().intValue(); in toSingleEphemeris() 226 gpsEphemerisProto.l2Flag = ephemeris.getEphemL2Pflag().getInteger().intValue(); in toSingleEphemeris() 227 gpsEphemerisProto.svHealth = ephemeris.getEphemSVhealth().getInteger().intValue(); in toSingleEphemeris() 229 gpsEphemerisProto.iode = ephemeris.getEphemIODC().getInteger().intValue(); in toSingleEphemeris() 230 gpsEphemerisProto.iodc = ephemeris.getEphemIODC().getInteger().intValue(); in toSingleEphemeris() 231 …gpsEphemerisProto.toc = ephemeris.getEphemToc().getInteger().intValue() * NAVIGATION_TOC_SCALE_FAC… in toSingleEphemeris() 232 …gpsEphemerisProto.toe = ephemeris.getEphemToe().getInteger().intValue() * NAVIGATION_TOE_SCALE_FAC… in toSingleEphemeris() 233 …gpsEphemerisProto.af0 = ephemeris.getEphemAF0().getInteger().intValue() * NAVIGATION_AF0_SCALE_FAC… in toSingleEphemeris() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontTest.java | 129 int weight = style.first.intValue(); in testBuilder_buffer() 150 int weight = style.first.intValue(); in testBuilder_buffer_ttc() 172 int weight = style.first.intValue(); in testBuilder_buffer_vf() 196 int weight = style.first.intValue(); in testBuilder_buffer_override() 213 int weight = style.first.intValue(); in testBuilder_buffer_override() 245 int weight = style.first.intValue(); in testBuilder_file() 271 int weight = style.first.intValue(); in testBuilder_file_ttc() 298 int weight = style.first.intValue(); in testBuilder_file_vf() 327 int weight = style.first.intValue(); in testBuilder_file_override() 348 int weight = style.first.intValue(); in testBuilder_file_override() [all …]
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamSwitchedWriteTest.java | 68 po.writeInt32(fieldId, val.intValue()); 82 po.writeUInt32(fieldId, val.intValue()); 96 po.writeSInt32(fieldId, val.intValue()); 110 po.writeFixed32(fieldId, val.intValue()); 124 po.writeSFixed32(fieldId, val.intValue()); 145 po.writeEnum(fieldId, val.intValue()); 164 po.write(fieldId, val.intValue()); in SWITCHED.add()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewAttributeTest.java | 113 (attributeMapRootView.get(android.R.attr.orientation)).intValue()); in testGetAttributeSourceResourceMap() 119 (attributeMapView1.get(android.R.attr.padding)).intValue()); in testGetAttributeSourceResourceMap() 121 (attributeMapView1.get(android.R.attr.paddingLeft)).intValue()); in testGetAttributeSourceResourceMap() 123 (attributeMapView1.get(android.R.attr.paddingTop)).intValue()); in testGetAttributeSourceResourceMap()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceCustomFallbackBuilderTest.java | 53 final int weight = style.first.intValue(); in createFullFamilyTypeface() 71 final int weight = style.first.intValue(); in testSingleFont_path() 86 final int weight = style.first.intValue(); in testSingleFont_ttc() 102 final int weight = style.first.intValue(); in testSingleFont_vf() 125 final int weight = style.first.intValue(); in testFamily_selectStyle() 138 final int weight = familyStyle.first.intValue(); in testFamily_selectStyleByBuilder() 150 .setStyle(new FontStyle(testStyle.first.intValue(), in testFamily_selectStyleByBuilder()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | PropertyTest.java | 71 assertEquals(getIntProp(), INT_PROP.get(this).intValue()); in testIntProperty() 74 assertEquals(5, INT_PROP.get(this).intValue()); in testIntProperty() 77 assertEquals(10, INT_PROP.get(this).intValue()); in testIntProperty()
|
D | HalfTest.java | 509 assertEquals(12, Half.valueOf(12.57f).intValue()); in numberInterface() 516 assertEquals(-12, Half.valueOf(-12.57f).intValue()); in numberInterface() 523 assertEquals(0, Half.valueOf(POSITIVE_ZERO).intValue()); in numberInterface() 530 assertEquals(0, Half.valueOf(NEGATIVE_ZERO).intValue()); in numberInterface() 537 assertEquals(Integer.MAX_VALUE, Half.valueOf(POSITIVE_INFINITY).intValue()); in numberInterface() 544 assertEquals(Integer.MIN_VALUE, Half.valueOf(NEGATIVE_INFINITY).intValue()); in numberInterface() 551 assertEquals(0, Half.valueOf(NaN).intValue()); in numberInterface()
|
D | ArraySetTest.java | 371 assertEquals(indexToDelete * 10, set.valueAt(indexToDelete).intValue()); 372 assertEquals(indexToDelete * 10, set.removeAt(indexToDelete).intValue()); 379 assertEquals(expectedValue, set.valueAt(i).intValue());
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | ByteBufferLineSpliteratorTest.java | 46 while (split1.tryAdvance(intValue -> { in testSplitMostlyMiddle() 50 while (split2.tryAdvance(intValue -> { in testSplitMostlyMiddle()
|
D | LineSpliteratorTestBase.java | 50 return intValue -> { assertEquals(i, (int)intValue); }; in createVerifier()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 229 boolean audioOnly = (width != null && width.intValue() == -1) || in playLoadedVideo() 230 (height != null && height.intValue() == -1); in playLoadedVideo() 244 assertEquals(width.intValue(), w); in playLoadedVideo() 247 assertEquals(height.intValue(), h); in playLoadedVideo()
|
D | AudioPlaybackConfigurationTest.java | 157 assertEquals("uid isn't protected", -1 /*expected*/, uid.intValue()); in testGetterMediaPlayer() 159 assertEquals("pid isn't protected", -1 /*expected*/, pid.intValue()); in testGetterMediaPlayer() 161 assertEquals("player type isn't protected", -1 /*expected*/, type.intValue()); in testGetterMediaPlayer()
|
D | CodecState.java | 218 int index = mAvailableInputBufferIndices.peekFirst().intValue(); in feedInputBuffer() 319 int index = mAvailableOutputBufferIndices.peekFirst().intValue(); in drainOutputBuffer()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilter_AuthorityEntryTest.java | 46 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testConstructor() 50 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testAuthorityEntryProperties()
|
D | AsyncQueryHandlerTest.java | 195 assertEquals(1, ((Integer) mAsyncHandler.getResult()).intValue()); in testStartUpdate() 235 assertEquals(1, ((Integer) mAsyncHandler.getResult()).intValue()); in testStartDelete()
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1Integer.java | 64 normalizedValue.intValue(), range.intValue()); in encodeNormalizedIntegerWithRangeAligned() 163 reader, range.intValue()); in decodeNormalizedIntegerWithRangeAligned()
|
D | Asn1Enumerated.java | 84 value = lookupValue(ai.getInteger().intValue()); in decodeBerValue()
|
D | Asn1Tag.java | 175 return bi.intValue(); in readLength()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | ParsedAttestationRecord.java | 152 return ((ASN1Integer) asn1Value).getValue().intValue(); in getIntegerFromAsn1() 154 return ((ASN1Enumerated) asn1Value).getValue().intValue(); in getIntegerFromAsn1()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DynamicSensorDiscoveryTestActivity.java | 151 sensorId.intValue() == mSensorId.intValue(); in test4_OnReconnect()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutoFillServiceTestCase.java | 272 if (localValue != null) return localValue.intValue(); 276 if (globalValue != null) return globalValue.intValue();
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CountDownTimerTest.java | 61 int count = Long.valueOf(DELAY_MSEC / mActivity.INTERVAL).intValue() + 1; in testCountDownTimerCancel()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 432 Log.d(TAG, "Grant state retrieved " + result.intValue()); in waitForBroadcast() 433 return result.intValue(); in waitForBroadcast()
|
/cts/tests/security/src/android/keystore/cts/ |
D | Asn1Utils.java | 160 return bigInt.intValue(); in bigIntegerToInt()
|