/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/location/location_gnss/src/android/location/cts/gnss/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/util/src/android/util/cts/ |
D | SparseArrayMapTest.java | 49 assertEquals(i, sam.get(0, KEYS_1[i]).intValue()); in testStoreSingleInt() 68 assertEquals(i, sam.get(0, KEYS_1[i]).intValue()); in testStoreMultipleInt() 73 assertEquals(i, sam.get(1, KEYS_2[i]).intValue()); in testStoreMultipleInt() 85 assertEquals(i, sam.add(0, KEYS_1[i], i * 2).intValue()); in testStoreOverride() 91 assertEquals(i, sam.add(1, KEYS_2[i], i * 2).intValue()); in testStoreOverride() 98 assertEquals(2 * i, sam.get(0, KEYS_1[i]).intValue()); in testStoreOverride() 103 assertEquals(2 * i, sam.get(1, KEYS_2[i]).intValue()); in testStoreOverride() 150 assertEquals(i, sam.delete(0, KEYS_1[i]).intValue()); in testDelete() 160 assertEquals(i, sam.delete(1, KEYS_1[i]).intValue()); in testDelete() 184 assertEquals(i % 2 == 0 ? i : def, sam.getOrDefault(0, KEYS_1[i], def).intValue()); in testGetOrDefault()
|
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()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderMinMaxTest.java | 128 int frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 132 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 138 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 146 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 154 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 161 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 168 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 176 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 186 .intValue(); in applyMinMaxRanges() 192 .intValue(); in applyMinMaxRanges()
|
/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/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/graphics/src/android/graphics/fonts/ |
D | FontTest.java | 155 int weight = style.first.intValue(); in testBuilder_buffer() 176 int weight = style.first.intValue(); in testBuilder_buffer_ttc() 198 int weight = style.first.intValue(); in testBuilder_buffer_vf() 222 int weight = style.first.intValue(); in testBuilder_buffer_override() 239 int weight = style.first.intValue(); in testBuilder_buffer_override() 271 int weight = style.first.intValue(); in testBuilder_file() 297 int weight = style.first.intValue(); in testBuilder_file_ttc() 324 int weight = style.first.intValue(); in testBuilder_file_vf() 353 int weight = style.first.intValue(); in testBuilder_file_override() 374 int weight = style.first.intValue(); in testBuilder_file_override() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewAttributeTest.java | 131 (attributeMapRootView.get(android.R.attr.orientation)).intValue()); in testGetAttributeSourceResourceMap() 137 (attributeMapView1.get(android.R.attr.padding)).intValue()); in testGetAttributeSourceResourceMap() 139 (attributeMapView1.get(android.R.attr.paddingLeft)).intValue()); in testGetAttributeSourceResourceMap() 141 (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/security/src/android/keystore/cts/ |
D | CborUtils.java | 45 return ((Number) item).getValue().intValue(); in getInt() 50 return ((Number) item).getValue().intValue(); in getInt() 62 result.add(((Number) item).getValue().intValue()); in getIntSet()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilter_AuthorityEntryTest.java | 48 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testConstructor() 52 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testAuthorityEntryProperties()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechConnectionTest.java | 94 assertEquals(TextToSpeech.SUCCESS, initStatus.intValue()); in testConnectionSuccess() 105 assertEquals(TextToSpeech.ERROR, initStatus.intValue()); in testEngineNotAvailableConnectionFailure() 165 assertEquals(TextToSpeech.ERROR, initStatus.intValue()); in testServiceBindingErrorConnectionFailure()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1Integer.java | 65 normalizedValue.intValue(), range.intValue()); in encodeNormalizedIntegerWithRangeAligned() 164 reader, range.intValue()); in decodeNormalizedIntegerWithRangeAligned()
|
D | Asn1Enumerated.java | 84 value = lookupValue(ai.getInteger().intValue()); in decodeBerValue()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestSipDelegate.java | 122 assertEquals(-1, transactionAndIdPair.second.intValue()); in receiveMessageAndVerifyReceivedCalled() 132 assertEquals(reason, transactionAndIdPair.second.intValue()); in receiveMessageAndVerifyReceiveErrorCalled()
|
/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 | 162 sensorId.intValue() == mSensorId.intValue(); in test4_OnReconnect()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 188 assertEquals(width.intValue(), w); in playLoadedVideo() 191 assertEquals(height.intValue(), h); in playLoadedVideo()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CountDownTimerTest.java | 68 int count = Long.valueOf(DELAY_MSEC / mActivity.INTERVAL).intValue() + 1; in testCountDownTimerCancel()
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 99 switch (facing.intValue()) { in matchParametersToCharacteristics() 121 if (orientation.intValue() != info.orientation) { in matchParametersToCharacteristics()
|
/cts/tests/vibrator/src/android/os/cts/ |
D | VibrationAttributesTest.java | 132 assertEquals(entry.getValue().intValue(), new VibrationAttributes.Builder( in testAudioToVibrationUsageMapping() 140 assertEquals(entry.getValue().intValue(), in testVibrationToAudioUsageMapping()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/ |
D | HdrCapabilitiesTests.java | 117 assertEquals(hdrFormat.intValue(), in testForceHdrFormat() 191 assertTrue(hdrCapabilities.contains(hdrOutputCapability.intValue())); in testDeviceHdrOutputCapabilities()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderTestAacFormat.java | 128 final int tooManyChannels = ((Integer) sample[1]).intValue() + 99; in testHeAacM4aMultichannelDownmix() 136 ((Integer) sample[2]).intValue(), in testHeAacM4aMultichannelDownmix()
|