Home
last modified time | relevance | path

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

/frameworks/base/tests/JankBench/app/src/main/jni/
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()
/frameworks/av/media/libaaudio/examples/write_sine/src/
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()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfacePlacer.java102 int loopCount = 6; in performSurfacePlacement() local
107 loopCount--; in performSurfacePlacement()
108 } while (mTraversalScheduled && loopCount > 0); in performSurfacePlacement()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp1079 status_t AudioTrack::setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop() argument
1085 if (loopCount == 0) { in setLoop()
1087 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount && in setLoop()
1099 setLoop_l(loopStart, loopEnd, loopCount); in setLoop()
1103 void AudioTrack::setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop_l() argument
1107 mLoopCount = loopCount; in setLoop_l()
1110 mLoopCountNotified = loopCount; in setLoop_l()
1111 mStaticProxy->setLoop(loopStart, loopEnd, loopCount); in setLoop_l()
1960 int loopCount; in processAudioBuffer() local
1962 mStaticProxy->getBufferPositionAndLoopCount(&bufferPosition, &loopCount); in processAudioBuffer()
[all …]
DAudioTrackShared.cpp582 void StaticAudioTrackClientProxy::setLoop(size_t loopStart, size_t loopEnd, int loopCount) in setLoop() argument
591 mState.mLoopCount = loopCount; in setLoop()
629 size_t loopEnd, int loopCount) in setBufferPositionAndLoop() argument
631 setLoop(loopStart, loopEnd, loopCount); in setBufferPositionAndLoop()
642 size_t *position, int *loopCount) in getBufferPositionAndLoopCount() argument
652 if (loopCount != NULL) { in getBufferPositionAndLoopCount()
653 *loopCount = mPosLoop.mLoopCount; in getBufferPositionAndLoopCount()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.cpp301 int32_t loopCount = 0; in run() local
303 loopCount++; in run()
318 __func__, getTypeText(), loopCount); in run()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp372 int32_t loopCount = 0; in TEST_P() local
374 while (loopCount < ceil(1.0 / interval)) { in TEST_P()
382 loopCount++; in TEST_P()
607 int32_t loopCount = 0; in TEST_P() local
609 while (loopCount < ceil(1.0 / interval)) { in TEST_P()
617 loopCount++; in TEST_P()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java134 final int loopCount = 10000; in testMultithreadCacheStressTest() local
138 for (int i = 0; i < loopCount; ++i) { in testMultithreadCacheStressTest()
/frameworks/av/include/private/media/
DAudioTrackShared.h440 void setLoop(size_t loopStart, size_t loopEnd, int loopCount);
443 int loopCount);
447 void getBufferPositionAndLoopCount(size_t *position, int *loopCount);
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java155 public void setLoopCount(int loopCount) { in setLoopCount() argument
156 setRepeatCount(loopCount); in setLoopCount()
184 public int getLoopCount(int loopCount) { in getLoopCount() argument
/frameworks/base/core/jni/android/graphics/
DAnimatedImageDrawable.cpp172 jint loopCount) { in AnimatedImageDrawable_nSetRepeatCount() argument
174 drawable->setRepetitionCount(loopCount); in AnimatedImageDrawable_nSetRepeatCount()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java140 public void setLoopCount(int loopCount) { in setLoopCount() argument
141 mLoopCount = loopCount; in setLoopCount()
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h505 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
992 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp615 int32_t loopCount = 0; in processData() local
686 (void) loopCount; in processData()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java321 int loopCount = 100; in testClientIdIncrementing() local
327 for (int i = 0; i < loopCount; ++i) { in testClientIdIncrementing()
DWifiAwareStateManagerTest.java3000 int loopCount = 100; in testSessionIdIncrement() local
3028 for (int i = 0; i < loopCount; ++i) { in testSessionIdIncrement()
/frameworks/base/media/java/android/media/
DAudioTrack.java2212 @IntRange (from = 0) int endInFrames, @IntRange (from = -1) int loopCount) { in setLoopPoints()
2217 if (loopCount == 0) { in setLoopPoints()
2223 return native_set_loop(startInFrames, endInFrames, loopCount); in setLoopPoints()
3665 private native final int native_set_loop(int start, int end, int loopCount); in native_set_loop() argument
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1056 jint loopStart, jint loopEnd, jint loopCount) { in android_media_AudioTrack_set_loop() argument
1063 return nativeToJavaStatus( lpTrack->setLoop(loopStart, loopEnd, loopCount) ); in android_media_AudioTrack_set_loop()
/frameworks/av/services/audioflinger/
DThreads.cpp3333 for (int64_t loopCount = 0; !exitPending(); ++loopCount) in threadLoop() local
3802 loopCount == lastLoopCountWritten + 1) { in threadLoop()
3833 lastLoopCountWritten = loopCount; in threadLoop()
6915 for (int64_t loopCount = 0;; ++loopCount) { // loopCount used for statistics tracking in threadLoop() local
7395 && loopCount == lastLoopCountRead + 1) { in threadLoop()
7410 lastLoopCountRead = loopCount; in threadLoop()