Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dclock_ns.h50 int32_t remainder; in NsToTimespec() local
53 remainder = ns % kNanosPerSecond; in NsToTimespec()
54 if (remainder < 0) { in NsToTimespec()
56 remainder += kNanosPerSecond; in NsToTimespec()
58 t.tv_nsec = remainder; in NsToTimespec()
/frameworks/base/tools/powermodel/test/com/android/powermodel/
DPowerReportTest.java83 final AppPower remainder = report.findApp(SpecialApp.REMAINDER); in testModemRemainder() local
84 Assert.assertNotNull(remainder); in testModemRemainder()
87 = (ModemRemainderPower)remainder.getComponentPower(Component.MODEM); in testModemRemainder()
116 final AppPower remainder = report.findApp(SpecialApp.REMAINDER); in testRemainderTotal() local
117 Assert.assertNotNull(remainder); in testRemainderTotal()
119 Assert.assertEquals(REMAINDER_MAH, remainder.getAppPowerMah(), EPSILON); in testRemainderTotal()
DBatteryStatsReaderTest.java69 final AppActivity remainder = report.findApp(SpecialApp.REMAINDER); in testModemRemainder() local
70 Assert.assertNotNull(remainder); in testModemRemainder()
73 = (ModemRemainderActivity)remainder.getComponentActivity(Component.MODEM); in testModemRemainder()
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DModemBatteryStatsReader.java89 final ModemRemainderActivity remainder in createRemainder() local
93 remainder.strengthTimeMs = strength.phoneSignalStrengthTimeMs; in createRemainder()
96 remainder.scanningTimeMs = scanning.phoneSignalScanningTimeMs; in createRemainder()
104 remainder.activeTimeMs = totalActiveTimeMs - appActiveTimeMs; in createRemainder()
106 result.add(remainder); in createRemainder()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Darith.js236 var remainder = new jspb.arith.UInt64(this.lo, this.hi);
250 if (divisor.cmp(remainder) <= 0) {
252 remainder = remainder.sub(divisor);
259 return [quotient, remainder];
273 var quotient = divResult[0], remainder = divResult[1];
274 result = remainder.lo + result;
Darith_test.js276 var remainder = result[1];
279 assertEquals(remainder.lo, testData[i][5]);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dint128.cc127 uint128 remainder = 0; in operator /=() local
128 DivModImpl(*this, divisor, &quotient, &remainder); in operator /=()
134 uint128 remainder = 0; in operator %=() local
135 DivModImpl(*this, divisor, &quotient, &remainder); in operator %=()
136 *this = remainder; in operator %=()
/frameworks/av/media/libstagefright/foundation/tests/
DBase64_test.cpp45 int remainder = in[i].size() % 4; in verifyDecode() local
47 if (remainder > 0) { in verifyDecode()
48 for (int i = 0; i < 4 - remainder; ++i) { in verifyDecode()
/frameworks/native/libs/renderengine/
DMesh.cpp38 size_t remainder = (stride * vertexCount) / vertexCount; in Mesh() local
42 if ((stride < vertexSize) || (remainder != stride)) { in Mesh()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DPowerUtil.java262 final long remainder = time % multiple; in roundTimeToNearestThreshold() local
263 if (remainder < multiple / 2) { in roundTimeToNearestThreshold()
264 return time - remainder; in roundTimeToNearestThreshold()
266 return time - remainder + multiple; in roundTimeToNearestThreshold()
/frameworks/av/drm/mediacas/plugins/clearkey/
DJsonAssetLoader.cpp75 int remainder = encodedText.length() % 4; in decodeBase64String() local
77 if (remainder > 0) { in decodeBase64String()
78 for (int i = 0; i < 4 - remainder; ++i) { in decodeBase64String()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java359 public static Duration remainder(Duration d1, Duration d2) { in remainder() method in TimeUtil
360 return createDurationFromBigInteger(toBigInteger(d1).remainder(toBigInteger(d2))); in remainder()
378 int nanos = value.remainder(new BigInteger(String.valueOf(NANOS_PER_SECOND))).intValue(); in createDurationFromBigInteger()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DJsonWebKey.cpp113 int remainder = encodedText.length() % 4; in decodeBase64String() local
115 if (remainder > 0) { in decodeBase64String()
116 for (int i = 0; i < 4 - remainder; ++i) { in decodeBase64String()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DJsonWebKey.cpp118 int remainder = encodedText.length() % 4; in decodeBase64String() local
120 if (remainder > 0) { in decodeBase64String()
121 for (int i = 0; i < 4 - remainder; ++i) { in decodeBase64String()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DTimeUtilTest.java477 assertEquals("0.000000001s", TimeUtil.toString(TimeUtil.remainder(d1, d2))); in testTimeOperations()
478 assertEquals("315575999999.999999999s", TimeUtil.toString(TimeUtil.remainder(d2, d1))); in testTimeOperations()
487 assertEquals(-1, TimeUtil.remainder(d1, d2).getSeconds()); in testTimeOperations()
493 assertEquals(-1, TimeUtil.remainder(d1, d2).getSeconds()); in testTimeOperations()
499 assertEquals(1, TimeUtil.remainder(d1, d2).getSeconds()); in testTimeOperations()
/frameworks/base/core/java/android/net/
DNetworkUtils.java259 int remainder = prefixLength % 8; in maskRawAddress() local
260 byte mask = (byte)(0xFF << (8 - remainder)); in maskRawAddress()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java709 final int remainder = (value.length() % 3); in appearsLikeAndroidVCardQuotedPrintable() local
710 if (value.length() < 2 || (remainder != 1 && remainder != 0)) { in appearsLikeAndroidVCardQuotedPrintable()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp1097 size_t remainder = entry->mBuffer->size() - entry->mOffset; in onDrainAudioQueue() local
1098 if ((ssize_t)remainder < mAudioSink->frameSize()) { in onDrainAudioQueue()
1099 if (remainder > 0) { in onDrainAudioQueue()
1101 remainder); in onDrainAudioQueue()
1102 entry->mOffset += remainder; in onDrainAudioQueue()
1103 copy -= remainder; in onDrainAudioQueue()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp1084 size_t remainder = entry->mBuffer->size() - entry->mOffset; in onDrainAudioQueue() local
1085 if ((ssize_t)remainder < mAudioSink->frameSize()) { in onDrainAudioQueue()
1086 if (remainder > 0) { in onDrainAudioQueue()
1088 remainder); in onDrainAudioQueue()
1089 entry->mOffset += remainder; in onDrainAudioQueue()
1090 copy -= remainder; in onDrainAudioQueue()
/frameworks/base/startop/scripts/app_startup/
Dquery_compiler_filter.py128 str_lines = parse_result.remainder
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs127 TEST_FUNC_2(remainder);
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java823 long remainder = thousands - (hundreds*10);
824 if (remainder != 0) {
826 pw.print(remainder);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtime_util.cc131 int64 remainder = value % divider; in RoundTowardZero() local
137 if (result < 0 && remainder > 0) { in RoundTowardZero()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthView.java404 int remainder = (offset + mNumCells) % mNumDays; in calculateNumRows() local
405 return (dividend + (remainder > 0 ? 1 : 0)); in calculateNumRows()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dwell_known_types.py370 remainder = value % divider
371 if result < 0 and remainder > 0:

123