/cts/suite/audio_quality/test/ |
D | LogTest.cpp | 44 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()
|
D | SignalProcessingInterfaceTest.cpp | 64 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 …]
|
D | TaskCaseTest.cpp | 73 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/ |
D | TaskCase.h | 65 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/ |
D | BuiltinProcessing.cpp | 52 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()
|
D | SignalProcessingImpl.cpp | 147 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/ |
D | test_aaudio.cpp | 196 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 …]
|
D | test_aaudio_callback.cpp | 31 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()
|
D | test_aaudio.h | 20 #define NANOS_PER_MICROSECOND ((int64_t)1000)
|
D | utils.h | 23 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC); 73 static const std::map<aaudio_performance_mode_t, int64_t> sMaxFramesPerBurstMs;
|
D | utils.cpp | 28 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/ |
D | shared.rsh | 4 static int64_t g_time; 11 int64_t t = rsUptimeMillis() - g_time;
|
/cts/tests/tests/rscpp/librscpptest/ |
D | shared.rsh | 4 static int64_t g_time; 11 int64_t t = rsUptimeMillis() - g_time;
|
D | primitives.rs | 20 int64_t int64_tTest = -17179869184l; // - 1 << 34
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | shared.rsh | 4 static int64_t g_time; 11 int64_t t = rsUptimeMillis() - g_time;
|
D | small_structs.rs | 201 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/ |
D | native_media_utils.cpp | 88 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()
|
D | native-mediadrm-jni.cpp | 326 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()
|
D | native_media_source.h | 51 uint8_t *buffer, int32_t size, int64_t timeStampUs, uint32_t flags) = 0;
|
/cts/tests/tests/renderscript/libcoremathtestcpp/ |
D | CoreMathTestJni.cpp | 437 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/ |
D | NativeCursorWindow.c | 61 int64_t l;
|
/cts/tests/sensor/jni/ |
D | SensorTest.cpp | 110 std::vector<ASensorEvent> TestSharedMemory::parseEvents(int64_t lastCounter, size_t offset) const { in parseEvents() 117 … int64_t atomicCounter = *reinterpret_cast<uint32_t *>(mBuffer + offset + kOffsetAtomicCounter); in parseEvents()
|
D | SensorTest.h | 112 std::vector<ASensorEvent> parseEvents(int64_t lastCounter = -1, size_t offset = 0) const;
|
/cts/tests/tests/drm/lib/ |
D | TestPlugin.h | 59 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 252 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 …]
|