/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/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio.cpp | 197 int64_t framesTotal = 0; in TEST_P() 198 int64_t timeoutNanos = 0; in TEST_P() 210 int64_t aaudioFramesRead = 0; in TEST_P() 211 int64_t aaudioFramesReadPrev = 0; in TEST_P() 212 int64_t aaudioFramesReadFinal = 0; in TEST_P() 213 int64_t aaudioFramesWritten = 0; in TEST_P() 230 int64_t beginTime = getNanoseconds(CLOCK_MONOTONIC); in TEST_P() 313 int64_t framesTotal = 0; in TEST_P() 314 int64_t timeoutNanos = 0; in TEST_P() 316 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 | utils.h | 23 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC); 78 static const std::map<aaudio_performance_mode_t, int64_t> sMaxFramesPerBurstMs;
|
D | test_aaudio.h | 20 #define NANOS_PER_MICROSECOND ((int64_t)1000)
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.h | 87 std::vector<int64_t> inpPtsArray; 88 std::vector<int64_t> outPtsArray; 95 void saveInPTS(int64_t pts) { in saveInPTS() 101 void saveOutPTS(int64_t pts) { outPtsArray.push_back(pts); } in saveOutPTS() 102 bool isPtsStrictlyIncreasing(int64_t lastPts); 133 int64_t mPrevOutputPts;
|
/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()
|
/cts/tests/tests/view/jni/ |
D | android_view_cts_ASurfaceControlTest.cpp | 63 int64_t systemTime() { in systemTime() 320 int64_t latchTime = ASurfaceTransactionStats_getLatchTime(stats); in onComplete() 332 int64_t acquireTime = ASurfaceTransactionStats_getAcquireTime(stats, surfaceControl); in onComplete() 352 int64_t* systemTimeLongPtr = reinterpret_cast<int64_t*>(contextIntPtr + 2); in onComplete() 377 int64_t* callbackTimePtr = reinterpret_cast<int64_t*>(contextPtr + 2); in SurfaceTransaction_checkOnComplete() 378 int64_t callbackTime = *callbackTimePtr; in SurfaceTransaction_checkOnComplete() 433 int64_t currentTime = ((int64_t) t.tv_sec)*1000000000LL + t.tv_nsec; in SurfaceTransaction_setDesiredPresentTime() 435 int64_t desiredPresentTime = currentTime + desiredPresentTimeOffset; in SurfaceTransaction_setDesiredPresentTime()
|
D | android_view_cts_ChoreographerNativeTest.cpp | 53 static void frameCallback64(int64_t frameTimeNanos, void* data) { in frameCallback64() 61 frameCallback64((int64_t) frameTimeNanos, data); in frameCallback() 159 const auto delayToTest = sizeof(long) == sizeof(int64_t) ? delay : ZERO; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 170 if (sizeof(long) == sizeof(int64_t)) { in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 187 if (sizeof(long) != sizeof(int64_t)) { in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback() 204 sizeof(long) == sizeof(int64_t) ? DELAY_PERIOD + NOMINAL_VSYNC_PERIOD * 3 : ZERO; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback() 224 if (sizeof(long) == sizeof(int64_t)) { in android_view_cts_ChoreographerNativeTest_testPostCallbackMixedWithoutDelayEventuallyRunsCallback() 256 sizeof(long) == sizeof(int64_t) ? DELAY_PERIOD + NOMINAL_VSYNC_PERIOD * 3 : ZERO; in android_view_cts_ChoreographerNativeTest_testPostCallbackMixedWithDelayEventuallyRunsCallback()
|
/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 | 379 static int64_t getSystemNanoTime() { in getSystemNanoTime() 386 int64_t* presentationTimeUs, bool* eosReached) { in fillDecoder() 421 static bool drainDecoder(AMediaCodec* codec, int64_t presentationTimeUs, in drainDecoder() 422 int64_t* startTimeNano) { in drainDecoder() 434 int64_t delay = (*startTimeNano + presentationTimeUs * 1000) - in drainDecoder() 482 int64_t videoPresentationTimeUs = 0; in playContent() 483 int64_t videoStartTimeNano = -1; in playContent() 557 int64_t expiryTimeInMS) { in onExpirationUpdateListener()
|
/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/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 278 const ACaptureRequest* /*request*/, int64_t /*timestamp*/) { in onCaptureStart() argument 431 int sequenceId, int64_t frameNumber) { in onCaptureSequenceCompleted() 449 ACaptureRequest* /*request*/, ANativeWindow* /*window*/, int64_t frameNumber) { in onCaptureBufferLost() 460 int64_t getCaptureSequenceLastFrameNumber(int64_t sequenceId, uint32_t timeoutSec) { in getCaptureSequenceLastFrameNumber() 461 int64_t ret = -1; in getCaptureSequenceLastFrameNumber() 479 bool waitForFrameNumber(int64_t frameNumber, uint32_t timeoutSec) { in waitForFrameNumber() 522 bool checkForFailure(int64_t frameNumber) { in checkForFailure() 542 int64_t mLastSequenceFrameNumber = -1; 543 int64_t mLastCompletedFrameNumber = -1; 544 int64_t mLastLostFrameNumber = -1; [all …]
|
/cts/tests/tests/rscpp/librscpptest/ |
D | shared.rsh | 4 static int64_t g_time; 11 int64_t t = rsUptimeMillis() - g_time;
|
/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/renderscript/src/android/renderscript/cts/ |
D | shared.rsh | 4 static int64_t g_time; 11 int64_t t = rsUptimeMillis() - g_time;
|
D | small_structs.rscript | 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/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/ |
D | poc.cpp | 41 status_t setDataSource(int fd, int64_t offset, int64_t length) { return OK; } in setDataSource() 86 status_t notifyAt(int64_t mediaTimeUs) { return OK; } in notifyAt()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | itest_impl.h | 104 ::ndk::ScopedAStatus RepeatLong(int64_t in_value, in RepeatLong() 105 int64_t* _aidl_return) override { in RepeatLong() 250 const std::vector<int64_t>& in_value, std::vector<int64_t>* out_repeated, in RepeatLongArray() 251 std::vector<int64_t>* _aidl_return) override { in RepeatLongArray() 362 const std::optional<std::vector<int64_t>>& in_value, in RepeatNullableLongArray() 363 std::optional<std::vector<int64_t>>* _aidl_return) override { in RepeatNullableLongArray()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/ |
D | IPCThreadState.h | 51 int64_t clearCallingIdentity(); 52 void restoreCallingIdentity(int64_t token);
|
/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()
|
/cts/tests/tests/nativemidi/jni/ |
D | native-lib.cpp | 46 int64_t timestamp; 47 int64_t timeReceived; 56 int64_t timestamp; 314 int64_t timestamp; in readThreadRoutine()
|