Home
last modified time | relevance | path

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

1234

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticManagerTest.java270 .intValue()); in testLiveFrameRead()
275 .intValue()); in testLiveFrameRead()
280 .intValue()); in testLiveFrameRead()
312 .intValue()); in testLiveFrameEvent()
366 .intValue()); in testFuelSystemStatus()
369 liveFrame.getFuelSystemStatus().intValue()); in testFuelSystemStatus()
395 .intValue()); in testSecondaryAirStatus()
398 liveFrame.getSecondaryAirStatus().intValue()); in testSecondaryAirStatus()
519 liveFrame.getSystemIntegerSensor(IntegerSensorIndex.FUEL_TYPE).intValue()); in testFuelType()
520 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/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.java271 final StatsDimensionsValue intValue = mock(StatsDimensionsValue.class); in extractUidFromStatsDimensionsValue_extractCorrectUid() local
272 when(intValue.isValueType(INT_VALUE_TYPE)).thenReturn(true); in extractUidFromStatsDimensionsValue_extractCorrectUid()
273 when(intValue.getField()).thenReturn(AnomalyDetectionJobService.STATSD_UID_FILED); in extractUidFromStatsDimensionsValue_extractCorrectUid()
274 when(intValue.getIntValue()).thenReturn(UID); in extractUidFromStatsDimensionsValue_extractCorrectUid()
280 statsDimensionsValues.add(intValue); in extractUidFromStatsDimensionsValue_extractCorrectUid()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DRcsFeatureControllerTest.java171 assertEquals(RegistrationManager.REGISTRATION_STATE_NOT_REGISTERED, result.intValue()); in testFeatureManagerConnectedHelper()
178 assertEquals(RegistrationManager.REGISTRATION_STATE_REGISTERING, result.intValue()); in testFeatureManagerConnectedHelper()
186 assertEquals(RegistrationManager.REGISTRATION_STATE_REGISTERED, result.intValue()); in testFeatureManagerConnectedHelper()
237 assertEquals(ImsRegistrationImplBase.REGISTRATION_TECH_NONE, integer.intValue()); in testFeatureManagerDisconnectedException()
/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java239 notifyItemChanged(mActiveItemPos.intValue()); in updateActiveItem()
243 mQueue.scrollToPosition(mActiveItemPos.intValue()); in updateActiveItem()
244 notifyItemChanged(mActiveItemPos.intValue()); in updateActiveItem()
253 notifyItemChanged(mActiveItemPos.intValue()); in setCurrentTime()
262 notifyItemChanged(mActiveItemPos.intValue()); in setMaxTime()
271 notifyItemChanged(mActiveItemPos.intValue()); in setTimeVisible()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastConfigServiceTest.java176 assertEquals(10, captorStart.getValue().intValue()); in testEnableCellBroadcastRange()
177 assertEquals(20, captorEnd.getValue().intValue()); in testEnableCellBroadcastRange()
178 assertEquals(1, captorType.getValue().intValue()); in testEnableCellBroadcastRange()
198 assertEquals(10, captorStart.getValue().intValue()); in testDisableCellBroadcastRange()
199 assertEquals(20, captorEnd.getValue().intValue()); in testDisableCellBroadcastRange()
200 assertEquals(1, captorType.getValue().intValue()); in testDisableCellBroadcastRange()
DCellBroadcastBootupConfigTest.java192 assertEquals("i=" + i, configs[i].startId, mStartIds.getAllValues().get(i).intValue()); in testConfiguration()
193 assertEquals("i=" + i, configs[i].endId, mEndIds.getAllValues().get(i).intValue()); in testConfiguration()
194 assertEquals("i=" + i, configs[i].type, mTypes.getAllValues().get(i).intValue()); in testConfiguration()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java205 sessionEventCaptor.getValue().intValue()); in testCameraChangePermissionFail()
234 sessionEventCaptor.getValue().intValue()); in testCameraChangeAppOpsFail()
265 sessionEventCaptor.getValue().intValue()); in testCameraChangeAppOpsBelowNMR1Fail()
293 sessionEventCaptor.getValue().intValue()); in testCameraChangeUserFail()
322 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.java61 assertEquals(StatusCode.OK, status.intValue()); in testFreezeFrame()
72 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/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.java87 args.putInt(ARG_BLOCK_ID, blockId.intValue()); in newInstance()
90 args.putInt(ARG_PARENT_VIEW_ID, parentViewId.intValue()); in newInstance()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java915 currentZoneId.intValue()); in setZoneIdForUid()
917 currentZoneId.intValue()); in setZoneIdForUid()
924 currentZoneId.intValue()); in setZoneIdForUid()
927 currentZoneId.intValue()); in setZoneIdForUid()
/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()
/packages/services/Telephony/src/com/android/phone/
DCarrierLogo.java50 return res.intValue(); in getLogo()
/packages/apps/Contacts/src-bind/com/android/contactsbind/experiments/
DFlags.java47 return mMap.containsKey(flagName) ? ((Integer) mMap.get(flagName)).intValue() : 0; in getInteger()

1234