/packages/modules/StatsD/framework/test/unittests/src/android/os/ |
D | StatsDimensionsValueTest.java | 36 float floatValue = 1.1f; in testConversionFromStructuredParcel() local 59 sdvp.tupleValue[3].floatValue = floatValue; in testConversionFromStructuredParcel() 88 assertThat(sdvChildren.get(3).getFloatValue()).isEqualTo(floatValue); in testConversionFromStructuredParcel()
|
/packages/services/Car/tools/emulator/ |
D | diagnostic_injector.py | 94 for floatValue in event['floatValues']: 95 builder.addFloatSensor(floatValue['id'], floatValue['value'])
|
D | obd2_to_diagjson.py | 153 for floatValue in json.floatValues: 154 event.setFloatValue(floatValue.id, floatValue.value)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyDetectionJobServiceTest.java | 288 final StatsDimensionsValue floatValue = mock(StatsDimensionsValue.class); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull() local 289 when(floatValue.isValueType(FLOAT_VALUE_TYPE)).thenReturn(true); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull() 290 when(floatValue.getField()).thenReturn(AnomalyDetectionJobService.STATSD_UID_FILED); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull() 291 when(floatValue.getFloatValue()).thenReturn(0f); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull() 294 floatValue)).isEqualTo(AnomalyDetectionJobService.UID_NULL); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | DebugSettingsFragment.java | 167 private int getPercentageFromValue(final float floatValue) { in setupKeyPreviewAnimationScale() 168 return (int)(floatValue * PERCENTAGE_FLOAT); in setupKeyPreviewAnimationScale() 255 private int getPercentageFromValue(final float floatValue) { in setupKeyboardHeight() 256 return (int)(floatValue * PERCENTAGE_FLOAT); in setupKeyboardHeight()
|
D | AdvancedSettingsFragment.java | 186 private int getPercentageFromValue(final float floatValue) { in setupKeypressSoundVolumeSettings() 187 return (int)(floatValue * PERCENTAGE_FLOAT); in setupKeypressSoundVolumeSettings()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarPropertyValueTest.java | 35 CarPropertyValue<Float> floatValue = in testSimpleFloatValue() local 38 writeToParcel(floatValue); in testSimpleFloatValue()
|
/packages/modules/StatsD/lib/libstatssocket/tests/ |
D | stats_event_test.cpp | 139 float floatValue = 2.0; in TEST() local 147 AStatsEvent_writeFloat(event, floatValue); in TEST() 168 checkScalar(&buffer, floatValue); in TEST() 389 float floatValue = -5.0; in TEST() local 401 AStatsEvent_writeFloat(event, floatValue); in TEST() 421 checkScalar(&buffer, floatValue); in TEST()
|
/packages/modules/StatsD/framework/java/android/os/ |
D | StatsDimensionsValue.java | 169 return mInner.floatValue; in getFloatValue() 252 sb.append(String.valueOf(mInner.floatValue)); in toString()
|
/packages/modules/StatsD/aidl/android/os/ |
D | StatsDimensionsValueParcel.aidl | 19 float floatValue;
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | ResolutionUtil.java | 138 sortedDesiredAspectRatios.add(buckets.get(0).aspectRatio.floatValue()); in getDisplayableSizesFromSupported() 154 if (Math.abs(aspectRatio.floatValue() - targetRatio) <= ASPECT_RATIO_TOLERANCE) { in getDisplayableSizesFromSupported()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPropertyManagerTest.java | 1061 private static VehiclePropValue newTirePressureVehiclePropValue(int areaId, float floatValue, in newTirePressureVehiclePropValue() argument 1067 vehiclePropValue.value.floatValues = new float[]{floatValue}; in newTirePressureVehiclePropValue() 1073 int areaId, float floatValue, long timestampNanos) { in assertTirePressureCarPropertyValue() argument 1078 assertThat(carPropertyValue.getValue()).isEqualTo(floatValue); in assertTirePressureCarPropertyValue()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | MockSharedPreferences.java | 57 return ((Float)mValues.get(key)).floatValue(); in getFloat()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockSharedPreferences.java | 57 return ((Float)mValues.get(key)).floatValue(); in getFloat()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | FakeSharedPreferences.java | 60 return ((Float) mValues.get(key)).floatValue(); in getFloat()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FakeSharedPreferences.java | 58 return ((Float)mValues.get(key)).floatValue(); in getFloat()
|
/packages/modules/StatsD/statsd/src/ |
D | HashableDimensionKey.cpp | 69 child.floatValue = dim.mValue.float_value; in populateStatsDimensionsValueParcelChildren()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 524 minSpeed = Double.valueOf(reader.nextDouble()).floatValue(); in readRestrictions() 526 maxSpeed = Double.valueOf(reader.nextDouble()).floatValue(); in readRestrictions()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | DownloadService.java | 473 : NumberFormat.getPercentInstance().format(progress.floatValue() / 100)) in makeProgressNotification()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | BillingCycleSettings.java | 348 bytes = (long) (number.floatValue() in onClick()
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 55 const float floatValue) { in makeFloatLogEvent() argument 59 AStatsEvent_writeFloat(statsEvent, floatValue); in makeFloatLogEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | LandscapePagedViewHandler.java | 334 return new Pair<>(translationX, Integer.valueOf(snapshotParams.topMargin).floatValue()); in getDwbLayoutTranslations()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiBackupRestore.java | 183 XmlUtil.writeNextValue(out, XML_TAG_VERSION, version.floatValue()); in retrieveBackupDataFromConfigurations()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/ |
D | MediaControlGattServiceTest.java | 439 playback_speed, mMcpService.getPlaybackSpeedChar().floatValue(), 0.001f); in testUpdatePlayerState() 498 Assert.assertEquals(seeking_speed, mMcpService.getSeekingSpeedChar().floatValue(), 0.001f); in testUpdatePlayerState()
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | MediaTranscodingManager.java | 973 .floatValue(); in resolveVideoFormat()
|