/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/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 | 470 assertEquals(12, Half.valueOf(12.57f).intValue()); in numberInterface() 477 assertEquals(-12, Half.valueOf(-12.57f).intValue()); in numberInterface() 484 assertEquals(0, Half.valueOf(POSITIVE_ZERO).intValue()); in numberInterface() 491 assertEquals(0, Half.valueOf(NEGATIVE_ZERO).intValue()); in numberInterface() 498 assertEquals(Integer.MAX_VALUE, Half.valueOf(POSITIVE_INFINITY).intValue()); in numberInterface() 505 assertEquals(Integer.MIN_VALUE, Half.valueOf(NEGATIVE_INFINITY).intValue()); in numberInterface() 512 assertEquals(0, Half.valueOf(NaN).intValue()); in numberInterface()
|
/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/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/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()
|
/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 | 203 int index = mAvailableInputBufferIndices.peekFirst().intValue(); in feedInputBuffer() 317 int index = mAvailableOutputBufferIndices.peekFirst().intValue(); in drainOutputBuffer()
|
/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()
|
/cts/tools/dasm/src/java_cup/runtime/ |
D | virtual_parse_stack.java | 115 return ((Integer)vstack.peek()).intValue(); in top()
|
/cts/tools/dasm/src/java_cup/ |
D | lexer.java | 231 return result.intValue(); in find_single_char() 358 return new token(keyword_num.intValue()); in do_id()
|
D | production.java | 310 if (label_pos.intValue() == -1) in label_translate() 319 if (label_pos.intValue() > act_pos) in label_translate() 334 offset = (act_pos - label_pos.intValue())-1; in label_translate()
|
D | lalr_item_set.java | 345 return hashcode_cache.intValue(); in hashCode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DynamicSensorDiscoveryTestActivity.java | 151 sensorId.intValue() == mSensorId.intValue(); in test4_OnReconnect()
|
/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/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutoFillServiceTestCase.java | 267 if (localValue != null) return localValue.intValue(); 271 if (globalValue != null) return globalValue.intValue();
|
/cts/tests/security/src/android/keystore/cts/ |
D | Asn1Utils.java | 152 return bigInt.intValue(); in bigIntegerToInt()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 411 Log.d(TAG, "Grant state retrieved " + result.intValue()); in waitForBroadcast() 412 return result.intValue(); in waitForBroadcast()
|