/frameworks/base/core/jni/ |
H A D | android_os_SystemClock.cpp | 67 return tm.tv_sec * 1000LL + tm.tv_nsec / 1000000; 80 return tm.tv_sec * 1000000LL + tm.tv_nsec / 1000; 92 return tv.tv_sec * 1000000LL + tv.tv_usec;
|
H A D | com_android_internal_os_Zygote.cpp | 611 capabilities |= (1LL << CAP_WAKE_ALARM); 612 capabilities |= (1LL << CAP_NET_RAW); 613 capabilities |= (1LL << CAP_NET_BIND_SERVICE); 634 capabilities |= (1LL << CAP_BLOCK_SUSPEND);
|
/frameworks/av/services/audioflinger/ |
H A D | FastCapture.cpp | 139 mPeriodNs = (frameCount * 1000000000LL) / mSampleRate; // 1.00 140 mUnderrunNs = (frameCount * 1750000000LL) / mSampleRate; // 1.75 141 mOverrunNs = (frameCount * 500000000LL) / mSampleRate; // 0.50 142 mForceNs = (frameCount * 950000000LL) / mSampleRate; // 0.95 143 mWarmupNsMin = (frameCount * 750000000LL) / mSampleRate; // 0.75 144 mWarmupNsMax = (frameCount * 1250000000LL) / mSampleRate; // 1.25
|
H A D | FastMixer.cpp | 201 mPeriodNs = (frameCount * 1000000000LL) / mSampleRate; // 1.00 202 mUnderrunNs = (frameCount * 1750000000LL) / mSampleRate; // 1.75 203 mOverrunNs = (frameCount * 500000000LL) / mSampleRate; // 0.50 204 mForceNs = (frameCount * 950000000LL) / mSampleRate; // 0.95 205 mWarmupNsMin = (frameCount * 750000000LL) / mSampleRate; // 0.75 206 mWarmupNsMax = (frameCount * 1250000000LL) / mSampleRate; // 1.25
|
H A D | test-resample.cpp | 355 int64_t start_ns = start.tv_sec * 1000000000LL + start.tv_nsec; 356 int64_t end_ns = end.tv_sec * 1000000000LL + end.tv_nsec; 371 start_ns = start.tv_sec * 1000000000LL + start.tv_nsec; 372 end_ns = end.tv_sec * 1000000000LL + end.tv_nsec; 417 int64_t start_ns = start.tv_sec * 1000000000LL + start.tv_nsec; 418 int64_t end_ns = end.tv_sec * 1000000000LL + end.tv_nsec;
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 1306 static inline long long LL(const T &x) { function 1316 ALOGD("%s %lld 0x%llx", s, LL(l), LL(l)); 1320 ALOGD("%s %lld 0x%llx", s, LL(ll), LL(ll)); 1325 ALOGD("%s {%lld, %lld} 0x%llx 0x%llx", s, LL(ll.x), LL(ll.y), LL(ll.x), LL(ll.y)); 1330 ALOGD("%s {%lld, %lld, %lld} 0x%llx 0x%llx 0x%llx", s, LL(l [all...] |
/frameworks/av/media/libcpustats/ |
H A D | ThreadCpuUsage.cpp | 63 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + 108 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + 139 elapsed = (ts.tv_sec - mMonotonicTs.tv_sec) * 1000000000LL +
|
/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 263 ((int64_t)kAutoRampDurationUs * mSampleRate + 500000LL) / 1000000LL; //Need type casting 266 ((int64_t)kAutoRampStartUs * mSampleRate + 500000LL) / 1000000LL; //Need type casting 307 timeUs -= mRecord->latency() * 1000LL; 384 ((1000000LL * (bufferSize / frameSize)) +
|
H A D | FLACExtractor.cpp | 107 return readBuffer(false, 0LL); 497 mCurrentPos(0LL), 621 (getTotalSamples() * 1000000LL) / getSampleRate()); 699 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); 764 if (seekTimeUs <= 0LL) { 765 sample = 0LL; 768 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
|
H A D | HTTPBase.cpp | 64 mBandWidthCollectFreqMs * 1000LL) {
|
H A D | WAVExtractor.cpp | 317 1000000LL * (mDataSize / 65 * 320) / 8000; 330 1000000LL * num_samples / mSampleRate; 521 timeStampUs = 1000000LL * (mCurrentPos - mOffset) * 320 / 65 / mSampleRate; 524 timeStampUs = 1000000LL * (mCurrentPos - mOffset)
|
H A D | MidiExtractor.cpp | 125 if (seekTimeUs <= 0LL) { 126 seekTimeUs = 0LL;
|
H A D | XINGSeeker.cpp | 145 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate;
|
H A D | MPEG4Writer.cpp | 65 static const int64_t kInitialDelayTimeUs = 700000LL; 115 kMaxCttsOffsetTimeUs = 1000000LL, // 1 second 611 static const int64_t MAX_MOOV_BOX_SIZE = (180 * 3000000 * 6LL / 8000); 1850 int64_t startTimeOffsetUs = mOwner->getStartTimeOffsetMs() * 1000LL; 2474 (cttsOffsetTimeUs * mTimeScale + 500000LL) / 1000000LL; 2534 ((timestampUs * mTimeScale + 500000LL) / 1000000LL - 2535 (lastTimestampUs * mTimeScale + 500000LL) / 1000000LL); [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.h | 123 static const nsecs_t kWaitDuration = 250000000LL; // 250 ms
|
H A D | Camera3Stream.h | 457 static const nsecs_t kWaitForBufferDuration = 3000000000LL; // 3000 ms
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 58 1000000LL) / sampleRateMilliHz) + thisAP->mPlay.mLastSeekPosition; 220 audioPlayer->mSndFile.mSfInfo.samplerate) / 1000LL), SEEK_SET); 262 1000LL) / thiz->mSndFile.mSfInfo.samplerate); 267 (long long) thiz->mSampleRateMilliHz) / 1000000LL;
|
/frameworks/av/include/media/ |
H A D | AudioTimestamp.h | 132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
|
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamOutSink.cpp | 82 time.tv_sec * 1000000000LL + time.tv_nsec;
|
/frameworks/rs/ |
H A D | rsCppUtils.h | 174 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec; 180 return nsecs_t(t.tv_sec)*1000000000LL + nsecs_t(t.tv_usec)*1000LL;
|
/frameworks/wilhelm/src/android/ |
H A D | android_GenericPlayer.cpp | 632 delayUs = (mMarkerPositionMs - positionMs) * 1000LL; 675 trialDelayUs = (nextVirtualMarkerMs - positionMs) * 1000LL; 700 if (delayUs < 20000LL) { 701 delayUs = 20000LL; 704 if (delayUs > 60000000LL) { 705 delayUs = 60000000LL;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 250 if (millis <= 0 || millis / 1000LL >= INT_MAX) { 254 tv.tv_sec = (time_t) (millis / 1000LL); 255 tv.tv_usec = (suseconds_t) ((millis % 1000LL) * 1000LL);
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 1041 static const nsecs_t kFudgeNs = 10000000LL; // 10 ms 1042 ns = ((minFrames * 1000000000LL) / mSampleRate) + kFudgeNs; 1053 timeout.tv_sec = ns / 1000000000LL; 1054 timeout.tv_nsec = ns % 1000000000LL; 1084 1100000000LL) / mSampleRate; 1108 return WAIT_PERIOD_MS * 1000000LL; 1140 return (mRemainingFrames * 1100000000LL) / mSampleRate; 1242 : Thread(bCanCallJava), mReceiver(receiver), mPaused(true), mPausedInt(false), mPausedNs(0LL),
|
/frameworks/base/libs/input/ |
H A D | PointerController.cpp | 42 static const nsecs_t INACTIVITY_TIMEOUT_DELAY_TIME_NORMAL = 15 * 1000 * 1000000LL; // 15 seconds 43 static const nsecs_t INACTIVITY_TIMEOUT_DELAY_TIME_SHORT = 3 * 1000 * 1000000LL; // 3 seconds 46 static const nsecs_t SPOT_FADE_DURATION = 200 * 1000000LL; // 200 ms 49 static const nsecs_t POINTER_FADE_DURATION = 500 * 1000000LL; // 500 ms
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 238 static const int64_t kInitialDelayTimeUs = 700000LL; 275 int64_t startTimeOffsetUs = startTimeOffsetMs * 1000LL;
|