Searched refs:LL (Results 1 - 25 of 57) sorted by relevance

123

/frameworks/base/core/jni/
H A Dandroid_os_SystemClock.cpp67 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 Dcom_android_internal_os_Zygote.cpp611 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 DFastCapture.cpp139 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 DFastMixer.cpp201 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 Dtest-resample.cpp355 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 DrsdRuntimeStubs.cpp1306 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 DThreadCpuUsage.cpp63 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 DAudioSource.cpp263 ((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 DFLACExtractor.cpp107 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 DHTTPBase.cpp64 mBandWidthCollectFreqMs * 1000LL) {
H A DWAVExtractor.cpp317 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 DMidiExtractor.cpp125 if (seekTimeUs <= 0LL) {
126 seekTimeUs = 0LL;
H A DXINGSeeker.cpp145 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate;
H A DMPEG4Writer.cpp65 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 DStatusTracker.h123 static const nsecs_t kWaitDuration = 250000000LL; // 250 ms
H A DCamera3Stream.h457 static const nsecs_t kWaitForBufferDuration = 3000000000LL; // 3000 ms
/frameworks/wilhelm/src/desktop/
H A DSndFile.c58 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 DAudioTimestamp.h132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp82 time.tv_sec * 1000000000LL + time.tv_nsec;
/frameworks/rs/
H A DrsCppUtils.h174 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 Dandroid_GenericPlayer.cpp632 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 Dcom_android_server_AlarmManagerService.cpp250 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 DAudioRecord.cpp1041 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 DPointerController.cpp42 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 DWebmFrameThread.cpp238 static const int64_t kInitialDelayTimeUs = 700000LL;
275 int64_t startTimeOffsetUs = startTimeOffsetMs * 1000LL;

Completed in 742 milliseconds

123