/frameworks/av/media/libstagefright/ |
H A D | SampleIterator.cpp | 290 uint32_t sampleIndex, uint32_t *time, uint32_t *duration) { 309 *time = mTTSSampleTime + mTTSDuration * (sampleIndex - mTTSSampleIndex); 311 *time += mTable->getCompositionTimeOffset(sampleIndex);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DozeParameters.java | 187 final long time = notificationTime + mSchedule[i] * 1000; 188 if (time > now) return time;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationStatsAggregator.java | 56 // record time when the location provider is set 165 long time = location.getTime(); 167 if (currTime - time < FRESH_THRESHOLD && accuracy < bestAccuracy) { 170 bestTime = time;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
H A D | DozeService.java | 60 * Earliest time we pulse due to a notification light after the service started. 63 * delayed to the earliest time defined by this constant.</p> 387 final long time = schedule.getNextTime(now, mNotificationPulseTime); 388 if (time <= 0) { 389 if (DEBUG) Log.d(mTag, " don't reschedule: time is " + time); 392 final long delta = time - now; 397 final long instance = time - mNotificationPulseTime; 399 + new Date(time)); 400 mAlarmManager.setExact(AlarmManager.RTC_WAKEUP, time, notificationPulseInten [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 523 ev.time.tv_sec = 0; 524 ev.time.tv_usec = 0; 642 ev.time.tv_sec = 0; 643 ev.time.tv_usec = 0; 664 ev.time.tv_sec = 0; 665 ev.time.tv_usec = 0; 838 ALOGV("%s got: time=%d.%06d, type=%d, code=%d, value=%d", 840 (int) iev.time.tv_sec, (int) iev.time.tv_usec, 843 // Some input devices may have a better concept of the time 900 nsecs_t time = systemTime(SYSTEM_TIME_MONOTONIC); local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 160 * Include only the run since the last time the device was unplugged in the stats. 287 * Returns the total time in microseconds associated with this Timer for the 292 * @return a time in microseconds 297 * Returns the total time in microseconds associated with this Timer since the 301 * @return a time in microseconds 371 * Returns the time in milliseconds that this app kept the WiFi controller in the 451 * Get the total cpu time (in microseconds) this UID had processes executing in userspace. 456 * Get the total cpu time (in microseconds) this UID had processes executing kernel syscalls. 466 * Returns the approximate cpu time (in milliseconds) spent at a certain CPU speed. 513 * Returns the total time (i 1054 public long time; field in class:BatteryStats.HistoryItem 1249 HistoryItem(long time, Parcel src) argument 1354 setTo(long time, byte cmd, HistoryItem o) argument 2311 formatTimeMs(StringBuilder sb, long time) argument 2318 formatTimeMsNoSpace(StringBuilder sb, long time) argument 2990 TimerEntry(String name, int id, BatteryStats.Timer timer, long time) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 150 public long time; field in class:AppOpsService.Op 374 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, 385 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, 448 if (op.time == 0 && op.rejectTime == 0) { 742 if (curOp.time == 0 && curOp.rejectTime == 0) { 961 + " code " + code + " time=" + op.time + " duration=" + op.duration); 985 op.time = System.currentTimeMillis(); 1031 op.time = System.currentTimeMillis(); 1071 op.duration = (int)(System.currentTimeMillis() - op.time); [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 555 const int64_t time = 12345678L; local 557 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time, 571 EXPECT_EQ(time, b.timestamp); 590 const int64_t time[numInQueue] = { 1L, 2L, 3L, 4L, 5L}; local 595 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time[i], 612 EXPECT_EQ(time[i], b.timestamp); 632 const int64_t time = 1234L; local 637 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time, 654 EXPECT_EQ(time, b[i].timestamp); 677 EXPECT_EQ(time, bTooMuc [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 472 final long time = ZenModeConfig.tryParseCountdownConditionId(mSessionExitCondition.id); 473 if (time > now && nextAlarm < time) { 492 final long time = ZenModeConfig.tryParseCountdownConditionId(condition.id); 493 if (time == 0) return null; 495 final long span = time - now; 498 time, Math.round(span / (float) MINUTES_MS), now, ActivityManager.getCurrentUser(), 713 final long time = ZenModeConfig.tryParseCountdownConditionId(conditionId); 714 if (time > 0) { 721 final long span = time [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 129 * Maximum time we allow the user to roll the trackball enough to generate 380 mFirst = true; // true for the first time the view is added 1389 // shown for the first time the next time it gets focus. 2094 mLayoutRequested = true; // ask wm for a new surface next time. 2203 // Check the valid requests again, this time without checking/clearing the 2300 // time around, to ensure the window has the correct format. 2402 // because it down not account for the intervening idle time 2412 Log.v(TAG, "0x" + thisHash + "\tFrame time:\t" + frameTime); 2687 mLayoutRequested = true; // ask wm for a new surface next time 4496 collect(float off, long time, String axis) argument 4964 finishKeys(long time) argument 4969 finishTracking(long time) argument 4977 consumeAccumulatedMovement(long time, int metaState) argument 4997 consumeAccumulatedMovement(long time, int metaState, float accumulator, int negativeKeyCode, int positiveKeyCode) argument 5010 sendKeyDownOrRepeat(long time, int keyCode, int metaState) argument 5034 sendKeyUp(long time) argument 5048 startFling(long time, float vx, float vy) argument 5094 postFling(long time) argument [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 210 int64_t time; local 211 if (mData->mImpl->getSampleTime(&time) != OK) { 214 return time;
|
H A D | NdkMediaCodec.cpp | 302 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) { 305 status_t ret = mData->mCodec->queueInputBuffer(idx, offset, size, time, flags, &errorMsg); 385 uint64_t time, 402 time, 301 AMediaCodec_queueInputBuffer(AMediaCodec *mData, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) argument 380 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 126 // there can only be one user at a time for the native functions (and 364 * Returns number of milliseconds since Jan. 1, 1970, midnight local time. 365 * Returns -1 if the date time information if not available. 374 // The exif field is in local time. Parsing it as if it is UTC will yield time 375 // since 1/1/1970 local time 399 * Returns -1 if the date time information if not available. 404 String time = mAttributes.get(TAG_GPS_TIMESTAMP); 405 if (date == null || time == null) return -1; 407 String dateTimeString = date + ' ' + time; [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | ImmersiveModeConfirmation.java | 130 public boolean onPowerKeyDown(boolean isScreenOn, long time, boolean inImmersiveMode) { argument 131 if (!isScreenOn && (time - mPanicTime < mPanicThresholdMs)) { 137 mPanicTime = time;
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipWakeupTimer.java | 44 // runnable --> time to execute in SystemClock 113 // Determines the period and the trigger time of the new event and insert it 254 if (DBG) log("time's up, triggerTime = " 279 private String showTime(long time) { argument 280 int ms = (int) (time % 1000); 281 int s = (int) (time / 1000);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vop.cpp | 49 // UInt time=0; 129 Int time = 0; /* follows EncodeVop value */ local 147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */ 198 Int time = 0; /* follows EncodeVop value */ local 222 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.h | 22 #include <sys/time.h> 29 /** Number of entries in the time-stamp array */ 47 /** Get time */
|
/frameworks/av/services/audioflinger/ |
H A D | StateQueue.cpp | 21 #include <time.h> 96 #define PUSH_BLOCK_ACK_NS 3000000L // 3 ms: time between checks for ack in push()
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationErrorReport.java | 114 public long time; field in class:ApplicationErrorReport 236 dest.writeLong(time); 263 time = in.readLong(); 613 pw.println(prefix + "time: " + time);
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
H A D | Renderer.java | 122 public boolean onSeekTo(int time) { argument
|
/frameworks/native/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 19 #include <time.h>
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | CircleView.java | 17 package com.android.datetimepicker.time;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | TestBase.java | 78 public void animateBars(float time) { argument
|
/frameworks/rs/tests/latency/ |
H A D | latency.cpp | 2 #include <sys/time.h> 88 printf("elapsed time : %lld microseconds\n", elapsed); 89 printf("time per iter: %f microseconds\n", (double)elapsed / iters); 103 printf("elapsed time with copy : %lld microseconds\n", elapsed); 104 printf("time per iter with copy: %f microseconds\n", (double)elapsed / iters);
|
/frameworks/webview/chromium/plat_support/ |
H A D | draw_gl_functor.cpp | 29 #include <sys/time.h>
|