Home
last modified time | relevance | path

Searched refs:loopCount (Results 1 – 25 of 26) sorted by relevance

12

/aosp12/frameworks/base/tests/JankBench/app/src/main/jni/
H A Dtest.cpp125 size_t loopCount = 0; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest() local
129 loopCount++; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
131 if (loopCount == 0) { in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
132 loopCount = 1; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
135 size_t count = loopCount; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
137 while (loopCount > 0) { in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
139 loopCount--; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
/aosp12/frameworks/av/media/libaaudio/examples/write_sine/src/
H A Dwrite_sine_callback.cpp45 int32_t loopCount, in testOpenPlayClose() argument
90 for (int loopIndex = 0; loopIndex < loopCount; loopIndex++) { in testOpenPlayClose()
115 argParser.getDurationSeconds(), (loopIndex + 1), loopCount); in testOpenPlayClose()
232 int32_t loopCount = 1; in main() local
251 loopCount = atoi(&arg[2]); in main()
275 while((result = testOpenPlayClose(argParser, loopCount, in main()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
H A DConditionManagerTest.java85 final int loopCount = 10; in startMonitoringStateChange_multipleTimes_shouldRegisterOnce() local
86 for (int i = 0; i < loopCount; i++) { in startMonitoringStateChange_multipleTimes_shouldRegisterOnce()
91 verify(mManager, times(loopCount)).onConditionChanged(); in startMonitoringStateChange_multipleTimes_shouldRegisterOnce()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowSurfacePlacer.java123 int loopCount = 6; in performSurfacePlacement() local
128 loopCount--; in performSurfacePlacement()
129 } while (mTraversalScheduled && loopCount > 0); in performSurfacePlacement()
/aosp12/frameworks/av/media/libeffects/preprocessing/tests/
H A DEffectTestHelper.h55 EffectTestHelper(const effect_uuid_t* uuid, size_t chMask, size_t sampleRate, size_t loopCount) in EffectTestHelper() argument
61 mLoopCount(loopCount) {} in EffectTestHelper()
/aosp12/frameworks/av/media/libeffects/lvm/tests/
H A DEffectTestHelper.h73 size_t sampleRate, size_t frameCount, size_t loopCount) in EffectTestHelper() argument
81 mLoopCount(loopCount) {} in EffectTestHelper()
/aosp12/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp1417 if (loopCount == 0) { in setLoop()
1431 setLoop_l(loopStart, loopEnd, loopCount); in setLoop()
1435 void AudioTrack::setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop_l() argument
1439 mLoopCount = loopCount; in setLoop_l()
1442 mLoopCountNotified = loopCount; in setLoop_l()
1443 mStaticProxy->setLoop(loopStart, loopEnd, loopCount); in setLoop_l()
2392 int loopCount; in processAudioBuffer() local
2397 mLoopCountNotified = loopCount; // discard any excess notifications in processAudioBuffer()
2759 int loopCount = 0; in restoreTrack_l() local
2796 if (loopCount != 0) { in restoreTrack_l()
[all …]
H A DAudioTrackShared.cpp619 void StaticAudioTrackClientProxy::setLoop(size_t loopStart, size_t loopEnd, int loopCount) in setLoop() argument
628 mState.mLoopCount = loopCount; in setLoop()
666 size_t loopEnd, int loopCount) in setBufferPositionAndLoop() argument
668 setLoop(loopStart, loopEnd, loopCount); in setBufferPositionAndLoop()
679 size_t *position, int *loopCount) in getBufferPositionAndLoopCount() argument
689 if (loopCount != NULL) { in getBufferPositionAndLoopCount()
690 *loopCount = mPosLoop.mLoopCount; in getBufferPositionAndLoopCount()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
H A Dpatricia_trie_policy.cpp98 for (int loopCount = maxCodePointCount; loopCount > 0; --loopCount) { in getCodePointsAndProbabilityAndReturnCodePointCount() local
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedImageDrawable.java154 public void setLoopCount(int loopCount) { in setLoopCount() argument
155 setRepeatCount(loopCount); in setLoopCount()
183 public int getLoopCount(int loopCount) { in getLoopCount() argument
/aosp12/frameworks/base/libs/hwui/jni/
H A DAnimatedImageDrawable.cpp172 jint loopCount) { in AnimatedImageDrawable_nSetRepeatCount() argument
174 drawable->setRepetitionCount(loopCount); in AnimatedImageDrawable_nSetRepeatCount()
/aosp12/frameworks/av/include/private/media/
H A DAudioTrackShared.h527 void setLoop(size_t loopStart, size_t loopEnd, int loopCount);
530 int loopCount);
534 void getBufferPositionAndLoopCount(size_t *position, int *loopCount);
/aosp12/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamBase.cpp420 int32_t loopCount = 0; in run() local
423 loopCount++; in run()
443 __func__, getTypeText(), loopCount); in run()
/aosp12/frameworks/av/media/libstagefright/tests/writer/
H A DWriterTest.cpp529 int32_t loopCount = 0; in TEST_P() local
531 while (loopCount < ceil(1.0 / interval)) { in TEST_P()
539 loopCount++; in TEST_P()
978 int32_t loopCount = 0; in TEST_P() local
980 while (loopCount < ceil(1.0 / interval)) { in TEST_P()
988 loopCount++; in TEST_P()
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/
H A DTypefaceTest.java156 final int loopCount = 10000; in testMultithreadCacheStressTest() local
160 for (int i = 0; i < loopCount; ++i) { in testMultithreadCacheStressTest()
/aosp12/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java140 public void setLoopCount(int loopCount) { in setLoopCount() argument
141 mLoopCount = loopCount; in setLoopCount()
/aosp12/frameworks/native/services/surfaceflinger/
H A DRefreshRateOverlay.cpp121 const auto loopCount = showSpinner ? 6 : 1; in drawNumber() local
122 for (int i = 0; i < loopCount; i++) { in drawNumber()
/aosp12/frameworks/av/media/libaudioclient/include/media/
H A DAudioTrack.h599 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
1103 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
/aosp12/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternal.cpp706 int32_t loopCount = 0; in processData() local
777 (void) loopCount; in processData()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareServiceImplTest.java357 int loopCount = 100; in testClientIdIncrementing() local
363 for (int i = 0; i < loopCount; ++i) { in testClientIdIncrementing()
H A DWifiAwareStateManagerTest.java3207 int loopCount = 100; in testSessionIdIncrement() local
3234 for (int i = 0; i < loopCount; ++i) { in testSessionIdIncrement()
/aosp12/frameworks/base/media/java/android/media/
H A DAudioTrack.java2741 @IntRange (from = 0) int endInFrames, @IntRange (from = -1) int loopCount) { in setLoopPoints()
2746 if (loopCount == 0) { in setLoopPoints()
2752 return native_set_loop(startInFrames, endInFrames, loopCount); in setLoopPoints()
4330 private native final int native_set_loop(int start, int end, int loopCount); in native_set_loop() argument
/aosp12/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp1117 jint loopStart, jint loopEnd, jint loopCount) { in android_media_AudioTrack_set_loop() argument
1124 return nativeToJavaStatus( lpTrack->setLoop(loopStart, loopEnd, loopCount) ); in android_media_AudioTrack_set_loop()
/aosp12/frameworks/av/services/audioflinger/
H A DThreads.cpp3706 for (int64_t loopCount = 0; !exitPending(); ++loopCount) in threadLoop() local
4103 loopCount == lastLoopCountWritten + 1) { in threadLoop()
4134 lastLoopCountWritten = loopCount; in threadLoop()
7509 for (int64_t loopCount = 0;; ++loopCount) { // loopCount used for statistics tracking in threadLoop() local
8031 && loopCount == lastLoopCountRead + 1) { in threadLoop()
8046 lastLoopCountRead = loopCount; in threadLoop()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL3/
H A DQCamera3HWI.cpp3696 size_t loopCount = 1; in handleBatchMetadata() local
3768 loopCount = MAX(urgentFrameNumDiff, frameNumDiff); in handleBatchMetadata()
3777 for (size_t i = 0; i < loopCount; i++) { in handleBatchMetadata()
3816 (((loopCount - 1) * NSEC_PER_SEC) / (double) mHFRVideoFps); in handleBatchMetadata()

12