Home
last modified time | relevance | path

Searched refs:bd (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/text/src/android/text/format/cts/
DFormatterTest.java45 final BigDecimal bd = new BigDecimal((long) 1000, mc); in testFormatFileSize() local
61 assertEquals("1.00 kB", Formatter.formatFileSize(context, bd.pow(1).longValue())); in testFormatFileSize()
62 assertEquals("1.50 kB", Formatter.formatFileSize(context, bd.pow(1).longValue() * 3 / 2)); in testFormatFileSize()
63 assertEquals("12.50 kB", Formatter.formatFileSize(context, bd.pow(1).longValue() * 25 / 2)); in testFormatFileSize()
65 assertEquals("1.00 MB", Formatter.formatFileSize(context, bd.pow(2).longValue())); in testFormatFileSize()
67 assertEquals("1.00 GB", Formatter.formatFileSize(context, bd.pow(3).longValue())); in testFormatFileSize()
69 assertEquals("1.00 TB", Formatter.formatFileSize(context, bd.pow(4).longValue())); in testFormatFileSize()
71 assertEquals("1.00 PB", Formatter.formatFileSize(context, bd.pow(5).longValue())); in testFormatFileSize()
73 assertEquals("1000 PB", Formatter.formatFileSize(context, bd.pow(6).longValue())); in testFormatFileSize()
85 final BigDecimal bd = new BigDecimal((long) 1000, mc); in testFormatShortFileSize() local
[all …]
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsIncidentTest.java142 SystemProto.BatteryDischarge bd = s.getBatteryDischarge(); in testSystemProto() local
143 int lowerBound = bd.getLowerBoundSinceCharge(); in testSystemProto()
144 int upperBound = bd.getUpperBoundSinceCharge(); in testSystemProto()
147 assertTrue(0 <= bd.getScreenOnSinceCharge()); in testSystemProto()
148 int screenOff = bd.getScreenOffSinceCharge(); in testSystemProto()
149 int screenDoze = bd.getScreenDozeSinceCharge(); in testSystemProto()
152 long totalMah = bd.getTotalMah(); in testSystemProto()
153 long totalMahScreenOff = bd.getTotalMahScreenOff(); in testSystemProto()
154 long totalMahScreenDoze = bd.getTotalMahScreenDoze(); in testSystemProto()
155 long totalMahLightDoze = bd.getTotalMahLightDoze(); in testSystemProto()
[all …]
/cts/apps/CameraITS/tests/dng_noise_model/
Ddng_noise_model.py229 bd = means
232 a = np.asarray([ad, bd, cd, dd]).T
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem69 7b:71:e1:4c:ac:bf:08:e3:08:72:e6:fd:8c:db:bd:84:01:ac: