/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | clock_ns.h | 50 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/ |
D | PowerReportTest.java | 83 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()
|
D | BatteryStatsReaderTest.java | 69 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/ |
D | ModemBatteryStatsReader.java | 89 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/base/media/java/android/media/ |
D | ExifInterfaceUtils.java | 55 int remainder = numBytes; in copy() local 57 while (remainder > 0) { in copy() 58 int bytesToRead = Math.min(remainder, 8192); in copy() 64 remainder -= bytesRead; in copy()
|
/frameworks/av/media/module/foundation/tests/ |
D | Base64_test.cpp | 45 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/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | PowerUtil.java | 219 final long remainder = time % multiple; in roundTimeToNearestThreshold() local 220 if (remainder < multiple / 2) { in roundTimeToNearestThreshold() 221 return time - remainder; in roundTimeToNearestThreshold() 223 return time - remainder + multiple; in roundTimeToNearestThreshold()
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | JsonAssetLoader.cpp | 75 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/av/media/utils/include/mediautils/ |
D | TimerThread.h | 105 auto remainder = deadline.time_since_epoch().count() & HANDLE_TYPE_MASK; in getUniqueHandleForHandleType_l() local 106 size_t offset = HANDLE_TYPE_AS_VALUE > remainder ? HANDLE_TYPE_AS_VALUE - remainder : in getUniqueHandleForHandleType_l() 107 MAX_TYPED_HANDLES + HANDLE_TYPE_AS_VALUE - remainder; in getUniqueHandleForHandleType_l()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | JsonWebKey.cpp | 113 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/media/libstagefright/renderfright/ |
D | Mesh.cpp | 42 size_t remainder = (stride * vertexCount) / vertexCount; in Mesh() local 46 if ((stride < vertexSize) || (remainder != stride)) { in Mesh()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/common/ |
D | JsonWebKey.cpp | 108 int remainder = encodedText.length() % 4; in decodeBase64String() local 110 if (remainder > 0) { in decodeBase64String() 111 for (int i = 0; i < 4 - remainder; ++i) { in decodeBase64String()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalInteractor.kt | 562 val remainder = size % CommunalContentSize.entries.size in <lambda>() constant 566 if (index > remainder - 1) CommunalContentSize.entries.size else remainder in <lambda>()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardUtils.java | 709 final int remainder = (value.length() % 3); in appearsLikeAndroidVCardQuotedPrintable() local 710 if (value.length() < 2 || (remainder != 1 && remainder != 0)) { in appearsLikeAndroidVCardQuotedPrintable()
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 127 TEST_FUNC_2(remainder);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 1176 size_t remainder = entry->mBuffer->size() - entry->mOffset; in onDrainAudioQueue() local 1177 if ((ssize_t)remainder < mAudioSink->frameSize()) { in onDrainAudioQueue() 1178 if (remainder > 0) { in onDrainAudioQueue() 1180 remainder); in onDrainAudioQueue() 1181 entry->mOffset += remainder; in onDrainAudioQueue() 1182 copy -= remainder; in onDrainAudioQueue()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.cpp | 298 auto [quotient, remainder] = std::div(layerPeriod, displayPeriod); in getDisplayFrames() 299 if (remainder <= MARGIN_FOR_PERIOD_CALCULATION || in getDisplayFrames() 300 std::abs(remainder - displayPeriod) <= MARGIN_FOR_PERIOD_CALCULATION) { in getDisplayFrames() 302 remainder = 0; in getDisplayFrames() 305 return {quotient, remainder}; in getDisplayFrames()
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 1037 Returns the remainder of (numerator / denominator), where the quotient is rounded towards zero. 1039 The function @remainder() is similar but rounds toward the closest interger. 1041 while <code>@remainder(-3.8f, 2.f)</code> returns 0.2f (-3.8f - -2.f * 2.f). 2877 function: remainder 2887 Returns the remainder of (numerator / denominator), where the quotient is rounded towards 2892 while <code>remainder(-3.8f, 2.f)</code> returns 0.2f (-3.8f - -2.f * 2.f). 2895 function: remainder 2915 Returns the quotient and the remainder of (numerator / denominator). 2920 quotient gives the quadrant and the remainder the distance within the quadrant.
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 926 long remainder = thousands - (hundreds*10); 927 if (remainder != 0) { 929 pw.print(remainder);
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 626 final String remainder; in adjustLanguageTag() local 630 remainder = ""; in adjustLanguageTag() 633 remainder = languageTag.substring(separator); in adjustLanguageTag() 653 return adjustedLanguage + remainder; in adjustLanguageTag()
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 714 ssize_t remainder = 512 - partial; in write_tarfile() local 715 memset(buf + nRead, 0, remainder); in write_tarfile() 716 nRead += remainder; in write_tarfile()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 833 f = remainder(f, f); 834 f2 = remainder(f2, f2); 835 f3 = remainder(f3, f3); 836 f4 = remainder(f4, f4);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 835 f = remainder(f, f); 836 f2 = remainder(f2, f2); 837 f3 = remainder(f3, f3); 838 f4 = remainder(f4, f4);
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 167 TEST_FN_FUNC_FN_FN(remainder);
|
/frameworks/rs/script_api/include/ |
D | rs_math.rsh | 1871 * Returns the remainder of (numerator / denominator), where the quotient is rounded towards zero. 1873 * The function remainder() is similar but rounds toward the closest interger. 1875 * while remainder(-3.8f, 2.f) returns 0.2f (-3.8f - -2.f * 2.f). 5668 * remainder: Remainder of a division 5670 * Returns the remainder of (numerator / denominator), where the quotient is rounded towards 5675 * while remainder(-3.8f, 2.f) returns 0.2f (-3.8f - -2.f * 2.f). 5678 remainder(float numerator, float denominator); 5681 remainder(float2 numerator, float2 denominator); 5684 remainder(float3 numerator, float3 denominator); 5687 remainder(float4 numerator, float4 denominator); [all …]
|