Home
last modified time | relevance | path

Searched refs:loopCount (Results 1 – 17 of 17) 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.cpp40 int32_t loopCount, in testOpenPlayClose() argument
83 for (int loopIndex = 0; loopIndex < loopCount; loopIndex++) { in testOpenPlayClose()
108 argParser.getDurationSeconds(), (loopIndex + 1), loopCount); in testOpenPlayClose()
214 int32_t loopCount = 1; in main() local
232 loopCount = atoi(&arg[2]); in main()
254 while((result = testOpenPlayClose(argParser, loopCount, prefixToneMsec, forceUnderruns)) in main()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp1072 status_t AudioTrack::setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop() argument
1078 if (loopCount == 0) { in setLoop()
1080 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount && in setLoop()
1092 setLoop_l(loopStart, loopEnd, loopCount); in setLoop()
1096 void AudioTrack::setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop_l() argument
1100 mLoopCount = loopCount; in setLoop_l()
1103 mLoopCountNotified = loopCount; in setLoop_l()
1104 mStaticProxy->setLoop(loopStart, loopEnd, loopCount); in setLoop_l()
1926 int loopCount; in processAudioBuffer() local
1928 mStaticProxy->getBufferPositionAndLoopCount(&bufferPosition, &loopCount); in processAudioBuffer()
[all …]
DAudioTrackShared.cpp579 void StaticAudioTrackClientProxy::setLoop(size_t loopStart, size_t loopEnd, int loopCount) in setLoop() argument
588 mState.mLoopCount = loopCount; in setLoop()
626 size_t loopEnd, int loopCount) in setBufferPositionAndLoop() argument
628 setLoop(loopStart, loopEnd, loopCount); in setBufferPositionAndLoop()
639 size_t *position, int *loopCount) in getBufferPositionAndLoopCount() argument
649 if (loopCount != NULL) { in getBufferPositionAndLoopCount()
650 *loopCount = mPosLoop.mLoopCount; in getBufferPositionAndLoopCount()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java135 final int loopCount = 10000; in testMultithreadCacheStressTest() local
139 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.java154 public void setLoopCount(int loopCount) { in setLoopCount() argument
155 setRepeatCount(loopCount); in setLoopCount()
183 public int getLoopCount(int loopCount) { in getLoopCount() argument
/frameworks/base/core/jni/android/graphics/
DAnimatedImageDrawable.cpp173 jint loopCount) { in AnimatedImageDrawable_nSetRepeatCount() argument
175 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.h489 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
966 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
/frameworks/av/include/media/
DAudioTrack.h489 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
966 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfacePlacer.java152 int loopCount = 6; in performSurfacePlacement() local
157 loopCount--; in performSurfacePlacement()
158 } while (mTraversalScheduled && loopCount > 0); in performSurfacePlacement()
/frameworks/base/media/java/android/media/
DAudioTrack.java1997 public int setLoopPoints(int startInFrames, int endInFrames, int loopCount) { in setLoopPoints() argument
2002 if (loopCount == 0) { in setLoopPoints()
2008 return native_set_loop(startInFrames, endInFrames, loopCount); in setLoopPoints()
3254 private native final int native_set_loop(int start, int end, int loopCount); in native_set_loop() argument
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp595 int32_t loopCount = 0; in processData() local
666 (void) loopCount; in processData()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java319 int loopCount = 100; in testClientIdIncrementing() local
325 for (int i = 0; i < loopCount; ++i) { in testClientIdIncrementing()
DWifiAwareStateManagerTest.java3002 int loopCount = 100; in testSessionIdIncrement() local
3030 for (int i = 0; i < loopCount; ++i) { in testSessionIdIncrement()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1051 jint loopStart, jint loopEnd, jint loopCount) { in android_media_AudioTrack_set_loop() argument
1058 return nativeToJavaStatus( lpTrack->setLoop(loopStart, loopEnd, loopCount) ); in android_media_AudioTrack_set_loop()