Home
last modified time | relevance | path

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

1234

/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarDiagnosticManagerTest.java245 .intValue()); in testLiveFrameRead()
250 .intValue()); in testLiveFrameRead()
255 .intValue()); in testLiveFrameRead()
287 .intValue()); in testLiveFrameEvent()
341 .intValue()); in testFuelSystemStatus()
344 liveFrame.getFuelSystemStatus().intValue()); in testFuelSystemStatus()
370 .intValue()); in testSecondaryAirStatus()
373 liveFrame.getSecondaryAirStatus().intValue()); in testSecondaryAirStatus()
492 liveFrame.getSystemIntegerSensor(IntegerSensorIndex.FUEL_TYPE).intValue()); in testFuelType()
493 assertEquals(FuelType.BIFUEL_RUNNING_LPG, liveFrame.getFuelType().intValue()); in testFuelType()
[all …]
DAudioRoutingPolicyTest.java98 assertEquals(0, v.get(VehicleAudioRoutingPolicyIndex.STREAM).intValue()); in checkPolicy0()
120 assertEquals(0, v.get(VehicleAudioRoutingPolicyIndex.STREAM).intValue()); in checkPolicyForTest()
126 v.get(VehicleAudioRoutingPolicyIndex.CONTEXTS).intValue()); in checkPolicyForTest()
128 assertEquals(1, v.get(VehicleAudioRoutingPolicyIndex.STREAM).intValue()); in checkPolicyForTest()
136 v.get(VehicleAudioRoutingPolicyIndex.CONTEXTS).intValue()); in checkPolicyForTest()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java292 int numerator = Math.max(width.intValue(), height.intValue()) / gcd.intValue(); in reduce()
293 int denominator = Math.min(width.intValue(), height.intValue()) / gcd.intValue(); in reduce()
336 int denominator = Math.min(width.intValue(), height.intValue()) / gcd.intValue(); in aspectRatioDenominator()
DAppUpgrader.java366 String intValue = SettingsManager.convert((Integer) value); in copyPreferences() local
367 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()
374 String intValue = SettingsManager.convert((int) longValue); in copyPreferences() local
375 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DJJTAddressListParserState.java52 mk = marks.pop().intValue(); in popNode()
73 mk = marks.pop().intValue(); in clearNodeScope()
89 mk = marks.pop().intValue(); in closeNodeScope()
109 mk = marks.pop().intValue(); in closeNodeScope()
119 mk = marks.pop().intValue(); in closeNodeScope()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java947 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventCommon()
979 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventFromGoogleToExchange2()
1019 assertEquals(Email.TYPE_CUSTOM, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1024 assertEquals(Email.TYPE_HOME, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1028 assertEquals(Email.TYPE_WORK, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1083 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1084 assertEquals(Im.PROTOCOL_JABBER, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
1088 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1089 assertEquals(Im.PROTOCOL_YAHOO, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
1093 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionUtils.java46 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), in createActivityFadeInAnimator()
47 Float.valueOf(endAlpha.getFloat() * 255).intValue()); in createActivityFadeInAnimator()
66 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), in createActivityFadeOutAnimator()
67 Float.valueOf(endAlpha.getFloat() * 255).intValue()); in createActivityFadeOutAnimator()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DUnifiedReal.java740 UnifiedReal result = sinPiTwelfths(piTwelfths.intValue());
759 UnifiedReal result = cosPiTwelfths(piTwelfths.intValue());
770 int i = piTwelfths.intValue();
829 return asinHalves(halves.intValue());
847 final int asInt = asBI.intValue();
877 if (exp.and(BigInteger.ONE).intValue() == 1) {
915 if (exp.and(BigInteger.ONE).intValue() == 1) {
1043 int intSquare = square.intValue();
DBoundedRational.java123 public int intValue() { in intValue() method in BoundedRational
128 return reduced.mNum.intValue(); in intValue()
343 if (exp.and(BigInteger.ONE).intValue() == 1) { in rawPow()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceHandlerResolver.java227 int intValue = -1; in read() local
236 intValue = Integer.parseInt(value, radix); in read()
242 vendorId = intValue; in read()
244 productId = intValue; in read()
246 deviceClass = intValue; in read()
248 deviceSubclass = intValue; in read()
250 deviceProtocol = intValue; in read()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
DUsbDeviceHandlerResolver.java217 int intValue = -1; in read() local
226 intValue = Integer.parseInt(value, radix); in read()
232 vendorId = intValue; in read()
234 productId = intValue; in read()
236 deviceClass = intValue; in read()
238 deviceSubclass = intValue; in read()
240 deviceProtocol = intValue; in read()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigServiceTest.java114 assertEquals(10, captorStart.getValue().intValue()); in testEnableCellBroadcastRange()
115 assertEquals(20, captorEnd.getValue().intValue()); in testEnableCellBroadcastRange()
116 assertEquals(0, captorType.getValue().intValue()); in testEnableCellBroadcastRange()
133 assertEquals(10, captorStart.getValue().intValue()); in testDisableCellBroadcastRange()
134 assertEquals(20, captorEnd.getValue().intValue()); in testDisableCellBroadcastRange()
135 assertEquals(0, captorType.getValue().intValue()); in testDisableCellBroadcastRange()
DCellBroadcastBootupConfigTest.java161 assertEquals("i=" + i, configs[i].startId, mStartIds.getAllValues().get(i).intValue()); in testConfiguration()
162 assertEquals("i=" + i, configs[i].endId, mEndIds.getAllValues().get(i).intValue()); in testConfiguration()
163 assertEquals("i=" + i, configs[i].type, mTypes.getAllValues().get(i).intValue()); in testConfiguration()
/packages/services/Car/tools/emulator/
Ddiagnostic_injector.py92 for intValue in event['intValues']:
93 builder.addIntSensor(intValue['id'], intValue['value'])
Dobd2_to_diagjson.py151 for intValue in json.intValues:
152 event.setIntValue(intValue.id, intValue.value)
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java188 sessionEventCaptor.getValue().intValue()); in testCameraChangePermissionFail()
216 sessionEventCaptor.getValue().intValue()); in testCameraChangeAppOpsFail()
246 sessionEventCaptor.getValue().intValue()); in testCameraChangeAppOpsBelowNMR1Fail()
273 sessionEventCaptor.getValue().intValue()); in testCameraChangeUserFail()
301 sessionEventCaptor.getValue().intValue()); in testCameraChangeNullNoPermission()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DMemoryTracker.java118 final int p = mPids.get(i).intValue(); in updatePidsArrayL()
134 final long pid = mPids.get(i).intValue(); in update()
148 final long pid = mPids.get(i).intValue(); in update()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoCarousel.java208 int orientation = ((Integer) photo.getTag(R.id.photo_orientation)).intValue(); in setScaleType()
209 int width = ((Integer) photo.getTag(R.id.photo_width)).intValue(); in setScaleType()
210 int height = ((Integer) photo.getTag(R.id.photo_height)).intValue(); in setScaleType()
DPhotoTable.java348 float width = (float) ((Integer) photo.getTag(R.id.photo_width)).intValue(); in getCenter()
349 float height = (float) ((Integer) photo.getTag(R.id.photo_height)).intValue(); in getCenter()
526 float width = (float) ((Integer) photo.getTag(R.id.photo_width)).intValue(); in onPostExecute()
527 float height = (float) ((Integer) photo.getTag(R.id.photo_height)).intValue(); in onPostExecute()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DObd2FreezeFrameTest.java55 assertEquals(StatusCode.OK, status.intValue()); in testFreezeFrame()
66 if (StatusCode.OK == frameStatus.intValue()) { in testFreezeFrame()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharEscapers.java1067 int intValue = c; in escape() local
1069 result[index] = HEX_DIGITS[intValue % 10]; in escape()
1070 intValue /= 10; in escape()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyConfigTest.java117 int intValue = (Integer) rawTypeConfig.getMinValue(WINDOW_PASSENGER); in testWriteReadUnexpectedType() local
118 fail(String.valueOf(intValue)); in testWriteReadUnexpectedType()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java337 setPresence(presence.intValue()); in setPresence()
499 labelDisplayValue = resources.getString(statusLabel.intValue()); in setStatus()
502 + statusLabel.intValue()); in setStatus()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp205 const int intValue = readIntAttributeValue(headerAttributes, key, intDefaultValue); in readBoolAttributeValue() local
206 return intValue != 0; in readBoolAttributeValue()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java86 args.putInt(ARG_BLOCK_ID, blockId.intValue()); in newInstance()
89 args.putInt(ARG_PARENT_VIEW_ID, parentViewId.intValue()); in newInstance()

1234