Home
last modified time | relevance | path

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

1234

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticManagerTest.java262 .intValue()); in testLiveFrameRead()
267 .intValue()); in testLiveFrameRead()
272 .intValue()); in testLiveFrameRead()
304 .intValue()); in testLiveFrameEvent()
358 .intValue()); in testFuelSystemStatus()
361 liveFrame.getFuelSystemStatus().intValue()); in testFuelSystemStatus()
387 .intValue()); in testSecondaryAirStatus()
390 liveFrame.getSecondaryAirStatus().intValue()); in testSecondaryAirStatus()
509 liveFrame.getSystemIntegerSensor(IntegerSensorIndex.FUEL_TYPE).intValue()); in testFuelType()
510 assertEquals(FuelType.BIFUEL_RUNNING_LPG, liveFrame.getFuelType().intValue()); in testFuelType()
[all …]
/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.java367 String intValue = SettingsManager.convert((Integer) value); in copyPreferences() local
368 newPrefs.edit().putString(key, intValue).apply(); in copyPreferences()
375 String intValue = SettingsManager.convert((int) longValue); in copyPreferences() local
376 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/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceFilter.java131 int intValue = -1; in read() local
140 intValue = Integer.parseInt(value, radix); in read()
146 vendorId = intValue; in read()
148 productId = intValue; in read()
150 deviceClass = intValue; in read()
152 deviceSubclass = intValue; in read()
154 deviceProtocol = intValue; in read()
/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/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/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/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java264 final StatsDimensionsValue intValue = mock(StatsDimensionsValue.class); in extractUidFromStatsDimensionsValue_extractCorrectUid() local
265 when(intValue.isValueType(INT_VALUE_TYPE)).thenReturn(true); in extractUidFromStatsDimensionsValue_extractCorrectUid()
266 when(intValue.getField()).thenReturn(AnomalyDetectionJobService.STATSD_UID_FILED); in extractUidFromStatsDimensionsValue_extractCorrectUid()
267 when(intValue.getIntValue()).thenReturn(UID); in extractUidFromStatsDimensionsValue_extractCorrectUid()
273 statsDimensionsValues.add(intValue); in extractUidFromStatsDimensionsValue_extractCorrectUid()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigServiceTest.java160 assertEquals(10, captorStart.getValue().intValue()); in testEnableCellBroadcastRange()
161 assertEquals(20, captorEnd.getValue().intValue()); in testEnableCellBroadcastRange()
162 assertEquals(0, captorType.getValue().intValue()); in testEnableCellBroadcastRange()
181 assertEquals(10, captorStart.getValue().intValue()); in testDisableCellBroadcastRange()
182 assertEquals(20, captorEnd.getValue().intValue()); in testDisableCellBroadcastRange()
183 assertEquals(0, captorType.getValue().intValue()); in testDisableCellBroadcastRange()
DCellBroadcastBootupConfigTest.java184 assertEquals("i=" + i, configs[i].startId, mStartIds.getAllValues().get(i).intValue()); in testConfiguration()
185 assertEquals("i=" + i, configs[i].endId, mEndIds.getAllValues().get(i).intValue()); in testConfiguration()
186 assertEquals("i=" + i, configs[i].type, mTypes.getAllValues().get(i).intValue()); in testConfiguration()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java196 sessionEventCaptor.getValue().intValue()); in testCameraChangePermissionFail()
225 sessionEventCaptor.getValue().intValue()); in testCameraChangeAppOpsFail()
256 sessionEventCaptor.getValue().intValue()); in testCameraChangeAppOpsBelowNMR1Fail()
284 sessionEventCaptor.getValue().intValue()); in testCameraChangeUserFail()
313 sessionEventCaptor.getValue().intValue()); in testCameraChangeNullNoPermission()
/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.java56 assertEquals(StatusCode.OK, status.intValue()); in testFreezeFrame()
67 if (StatusCode.OK == frameStatus.intValue()) { in testFreezeFrame()
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DTemperatureController.java75 final int temp = ((Float) value.getValue()).intValue();
87 final int temp = ((Float) value.getValue()).intValue();
/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.java160 int intValue = (Integer) rawTypeConfig.getMinValue(WINDOW_PASSENGER); in testWriteReadUnexpectedType() local
161 fail(String.valueOf(intValue)); in testWriteReadUnexpectedType()
/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/services/Car/service/src/com/android/car/audio/
DCarAudioService.java821 currentZoneId.intValue()); in setZoneIdForUid()
823 currentZoneId.intValue()); in setZoneIdForUid()
830 currentZoneId.intValue()); in setZoneIdForUid()
833 currentZoneId.intValue()); in setZoneIdForUid()
/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java179 notifyItemChanged(mActiveItemPos.intValue()); in setCurrentTime()
186 notifyItemChanged(mActiveItemPos.intValue()); in setMaxTime()
193 notifyItemChanged(mActiveItemPos.intValue()); in setTimeVisible()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java87 args.putInt(ARG_BLOCK_ID, blockId.intValue()); in newInstance()
90 args.putInt(ARG_PARENT_VIEW_ID, parentViewId.intValue()); in newInstance()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java170 if (convertView == null || ((Integer) convertView.getTag()).intValue() in getView()
206 if (convertView == null || ((Integer) convertView.getTag()).intValue() in getView()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java381 int intValue = Integer.parseInt(value.toString()); in getAsBoolean() local
382 return intValue != 0; in getAsBoolean()

1234