Home
last modified time | relevance | path

Searched refs:int64_t (Results 1 – 25 of 35) sorted by relevance

12

/cts/suite/audio_quality/test/
DLogTest.cpp44 int64_t a = 0; in TEST_F()
45 int64_t b = 1; in TEST_F()
46 int64_t c = 2; in TEST_F()
47 int64_t d = 3; in TEST_F()
48 int64_t e = 4; in TEST_F()
49 int64_t f = 5; in TEST_F()
DSignalProcessingInterfaceTest.cpp64 TaskCase::Value in3((int64_t)100); in TEST_F()
78 TaskCase::Value out3((int64_t)1000); in TEST_F()
97 TaskCase::Value in0((int64_t)10); in TEST_F()
98 TaskCase::Value in1((int64_t)100); in TEST_F()
101 TaskCase::Value out0((int64_t)0); in TEST_F()
122 TaskCase::Value in0((int64_t)10); in TEST_F()
123 TaskCase::Value in1((int64_t)100); in TEST_F()
126 TaskCase::Value out0((int64_t)0); in TEST_F()
169 TaskCase::Value in4((int64_t)100); in TEST_F()
170 TaskCase::Value in5((int64_t)100); in TEST_F()
[all …]
DTaskCaseTest.cpp73 TaskCase::Value val3((int64_t)1); in TEST_F()
74 TaskCase::Value val4((int64_t)2); in TEST_F()
94 TaskCase::Value val4_2((int64_t)3); in TEST_F()
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h65 inline explicit Value(int64_t val): mType(ETypeI64) { in Value()
83 inline void setInt64(int64_t val) { in setInt64()
84 int64_t* data = reinterpret_cast<int64_t*>(mValue); in setInt64()
89 inline int64_t getInt64() { in getInt64()
90 int64_t* data = reinterpret_cast<int64_t*>(mValue); in getInt64()
/cts/suite/audio_quality/lib/src/
DBuiltinProcessing.cpp52 int64_t passMin = (reinterpret_cast<TaskCase::Value*>(inputs[1]))->getInt64(); in rms_mva()
53 int64_t passMax = (reinterpret_cast<TaskCase::Value*>(inputs[2]))->getInt64(); in rms_mva()
55 int64_t rms = 0; in rms_mva()
62 rms = (int64_t)sqrt(energy/samples); in rms_mva()
DSignalProcessingImpl.cpp147 mBuffer.write<int64_t>(val->getInt64()); in run()
223 if (!read((char*)val->getPtr(), sizeof(int64_t))) { in run()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio.cpp196 int64_t framesTotal = 0; in TEST_P()
197 int64_t timeoutNanos = 0; in TEST_P()
209 int64_t aaudioFramesRead = 0; in TEST_P()
210 int64_t aaudioFramesReadPrev = 0; in TEST_P()
211 int64_t aaudioFramesReadFinal = 0; in TEST_P()
212 int64_t aaudioFramesWritten = 0; in TEST_P()
229 int64_t beginTime = getNanoseconds(CLOCK_MONOTONIC); in TEST_P()
312 int64_t framesTotal = 0; in TEST_P()
313 int64_t timeoutNanos = 0; in TEST_P()
315 int64_t aaudioFramesRead = 0; in TEST_P()
[all …]
Dtest_aaudio_callback.cpp31 int64_t presentationTime = 0; in measureLatency()
32 int64_t presentationPosition = 0; in measureLatency()
33 int64_t now = getNanoseconds(); in measureLatency()
35 int64_t framesWritten = AAudioStream_getFramesWritten(stream); in measureLatency()
44 int64_t deltaFrames = framesWritten - presentationPosition; in measureLatency()
50 int64_t calculatedDeltaNanos = deltaFrames * NANOS_PER_SECOND / sampleRate; in measureLatency()
51 int64_t calculatedTimeNanos = presentationTime + calculatedDeltaNanos; in measureLatency()
52 int64_t latencyNanos = calculatedTimeNanos - now; in measureLatency()
Dtest_aaudio.h20 #define NANOS_PER_MICROSECOND ((int64_t)1000)
Dutils.h23 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC);
73 static const std::map<aaudio_performance_mode_t, int64_t> sMaxFramesPerBurstMs;
Dutils.cpp28 int64_t getNanoseconds(clockid_t clockId) { in getNanoseconds()
58 const std::map<aaudio_performance_mode_t, int64_t> StreamBuilderHelper::sMaxFramesPerBurstMs =
/cts/tests/tests/rsblas/src/android/renderscript/cts/
Dshared.rsh4 static int64_t g_time;
11 int64_t t = rsUptimeMillis() - g_time;
/cts/tests/tests/rscpp/librscpptest/
Dshared.rsh4 static int64_t g_time;
11 int64_t t = rsUptimeMillis() - g_time;
Dprimitives.rs20 int64_t int64_tTest = -17179869184l; // - 1 << 34
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dshared.rsh4 static int64_t g_time;
11 int64_t t = rsUptimeMillis() - g_time;
Dsmall_structs.rs201 int64_t initial_value_int64_t;
212 MAKE_SCALAR_EQUALS(int64_t)
224 TWO_ELEMENT_STRUCT_TEST(LHS_TAG##_i64, LHS_TYPE, int64_t) \
232 MAKE_TWO_ELEMENT_STRUCT_TEST(i64, int64_t)
/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.cpp88 int64_t sum = 0; in getBitrateAverage()
97 int64_t duration = (*std::max_element(from, to, comparePTS)).presentationTimeUs in getBitrateAverage()
103 int64_t avg = (sum * 1e6) / duration; in getBitrateAverage()
109 int64_t sum = 0; in getBitratePeak()
110 int64_t maxSum = 0; in getBitratePeak()
122 int64_t duration = mInfos[frameNumTo].presentationTimeUs - in getBitratePeak()
128 int64_t peak = (maxSum * 1e6) / duration; in getBitratePeak()
Dnative-mediadrm-jni.cpp326 static int64_t getSystemNanoTime() { in getSystemNanoTime()
333 int64_t* presentationTimeUs, bool* eosReached) { in fillDecoder()
368 static bool drainDecoder(AMediaCodec* codec, int64_t presentationTimeUs, in drainDecoder()
369 int64_t* startTimeNano) { in drainDecoder()
381 int64_t delay = (*startTimeNano + presentationTimeUs * 1000) - in drainDecoder()
429 int64_t videoPresentationTimeUs = 0; in playContent()
430 int64_t videoStartTimeNano = -1; in playContent()
Dnative_media_source.h51 uint8_t *buffer, int32_t size, int64_t timeStampUs, uint32_t flags) = 0;
/cts/tests/tests/renderscript/libcoremathtestcpp/
DCoreMathTestJni.cpp437 return (jlong)(int64_t)(int8_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertCharToLong()
478 return (jlong)(int64_t)(uint8_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertUcharToLong()
519 return (jlong)(int64_t)(int16_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertShortToLong()
560 return (jlong)(int64_t)(uint16_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertUshortToLong()
601 return (jlong)(int64_t)(int32_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertIntToLong()
642 return (jlong)(int64_t)(uint32_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertUintToLong()
659 return (jbyte)(int8_t)(int64_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertLongToChar()
663 return (jbyte)(uint8_t)(int64_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertLongToUchar()
667 return (jshort)(int16_t)(int64_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertLongToShort()
671 return (jshort)(uint16_t)(int64_t)x; in Java_android_renderscript_cts_CoreMathVerifier_convertLongToUshort()
[all …]
/cts/tests/tests/content/jni/
DNativeCursorWindow.c61 int64_t l;
/cts/tests/sensor/jni/
DSensorTest.cpp110 std::vector<ASensorEvent> TestSharedMemory::parseEvents(int64_t lastCounter, size_t offset) const { in parseEvents()
117int64_t atomicCounter = *reinterpret_cast<uint32_t *>(mBuffer + offset + kOffsetAtomicCounter); in parseEvents()
DSensorTest.h112 std::vector<ASensorEvent> parseEvents(int64_t lastCounter = -1, size_t offset = 0) const;
/cts/tests/tests/drm/lib/
DTestPlugin.h59 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp252 const ACaptureRequest* /*request*/, int64_t /*timestamp*/) { in onCaptureStart() argument
297 int sequenceId, int64_t frameNumber) { in onCaptureSequenceCompleted()
315 ACaptureRequest* /*request*/, ANativeWindow* /*window*/, int64_t frameNumber) { in onCaptureBufferLost()
326 int64_t getCaptureSequenceLastFrameNumber(int64_t sequenceId, uint32_t timeoutSec) { in getCaptureSequenceLastFrameNumber()
327 int64_t ret = -1; in getCaptureSequenceLastFrameNumber()
345 bool waitForFrameNumber(int64_t frameNumber, uint32_t timeoutSec) { in waitForFrameNumber()
397 int64_t mLastSequenceFrameNumber = -1;
398 int64_t mLastCompletedFrameNumber = -1;
399 int64_t mLastLostFrameNumber = -1;
400 int64_t mLastFailedFrameNumber = -1;
[all …]

12