/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | ProgramCache.cpp | 204 nsecs_t time = -systemTime(); local 207 time += systemTime(); 209 //ALOGD(">>> generated new program: needs=%08X, time=%u ms (%d programs)", 210 // needs.mNeeds, uint32_t(ns2ms(time)), mCache.size());
|
/frameworks/av/libvideoeditor/osal/inc/ |
H A D | M4OSA_Thread.h | 109 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSleep( M4OSA_UInt32 time );
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4PCMR_CoreReader.h | 125 M4OSA_ERR M4PCMR_seek(M4OSA_Context context, M4SYS_StreamID* pStreamID, M4OSA_Time time,
|
/frameworks/av/services/audioflinger/ |
H A D | AudioWatchdog.cpp | 92 mDump->mMostRecent = time(NULL);
|
H A D | StateQueue.cpp | 21 #include <time.h> 94 #define PUSH_BLOCK_ACK_NS 3000000L // 3 ms: time between checks for ack in push()
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 381 public float filter(long time, float in) { argument 398 mT[mIndex] = time; 400 mT[mIndex-COUNT] = time; 410 final float T = (mT[j]/2 + mT[j+1]/2 - time)*ns;
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | jpeg_decoder_bench.cpp | 18 #include <sys/time.h>
|
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 20 #include <sys/time.h>
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
H A D | RRuleTest.java | 45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) { argument 49 time.set(date); 51 out[i] = time.format2445().substring(0, 8); // Just YYMMDD 53 out[i] = time.format2445().substring(0, 15); // YYMMDDThhmmss 85 * @param tz The time zone. UTC is used if null is passed in. 125 boolean truncate = dtstartStr.length() <= 8; // Just date, not date-time 147 // we now want to finish, but in a reasonable time 268 // if the UNTIL date is timed, when the start is not, the time should be
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneInfo.java | 42 public static long time = System.currentTimeMillis() / 1000; field in class:TimeZoneInfo 64 mTransitions = getTransitions(tz, time); 134 // TODO Note: The local time is shown in current time (current GMT 135 // offset) which may be different from the time specified by 197 private static int[] getTransitions(TimeZone tz, long time) argument 208 if (objTransitions[i] < time) { 280 // if (this.mTransitions[i] < time) {
|
/frameworks/rs/ |
H A D | rsScriptIntrinsic.cpp | 19 #include <time.h>
|
/frameworks/av/media/libstagefright/ |
H A D | SampleIterator.cpp | 289 uint32_t sampleIndex, uint32_t *time) { 308 *time = mTTSSampleTime + mTTSDuration * (sampleIndex - mTTSSampleIndex); 310 *time += mTable->getCompositionTimeOffset(sampleIndex);
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 111 // there can only be one user at a time for the native functions (and 350 * Returns -1 if the date time information if not available. 369 * Returns -1 if the date time information if not available. 374 String time = mAttributes.get(TAG_GPS_TIMESTAMP); 375 if (date == null || time == null) return -1; 377 String dateTimeString = date + ' ' + 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/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Thread.c | 27 #include <time.h> 106 * context. It's the OSAL real time responsibility for managing its 497 * @param time:(IN) Time to sleep in milliseconds 501 M4OSA_ERR M4OSA_threadSleep(M4OSA_UInt32 time) argument 506 M4OSA_TRACE1_1("M4OSA_threadSleep\t\tM4OSA_UInt32 %d", time); 508 rqtp.tv_sec = (time_t)time/1000; 509 rqtp.tv_nsec = (time%1000) * 1000000;
|
H A D | M4OSA_Semaphore.c | 37 #include <time.h> 54 * OSAL real time responsibility for managing its context. It must 124 * @return M4WAR_TIME_OUT: time out is elapsed before semaphore has been
|
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 525 ev.time.tv_sec = 0; 526 ev.time.tv_usec = 0; 593 ev.time.tv_sec = 0; 594 ev.time.tv_usec = 0; 615 ev.time.tv_sec = 0; 616 ev.time.tv_usec = 0; 778 ALOGV("%s got: time=%d.%06d, type=%d, code=%d, value=%d", 780 (int) iev.time.tv_sec, (int) iev.time.tv_usec, 783 // Some input devices may have a better concept of the time [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 552 const int64_t time = 12345678L; local 554 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time, 568 EXPECT_EQ(time, b.timestamp); 587 const int64_t time[numInQueue] = { 1L, 2L, 3L, 4L, 5L}; local 592 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time[i], 609 EXPECT_EQ(time[i], b.timestamp); 629 const int64_t time = 1234L; local 634 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time, 651 EXPECT_EQ(time, b[i].timestamp); 674 EXPECT_EQ(time, bTooMuc [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 121 * Maximum time we allow the user to roll the trackball enough to generate 360 mFirst = true; // true for the first time the view is added 1198 // For the very first time, tell the view hierarchy that it 1243 // shown for the first time the next time it gets focus. 1837 // The first time we relayout the window, if the system is 1910 mLayoutRequested = true; // ask wm for a new surface next time. 2019 // Check the valid requests again, this time without checking/clearing the 2116 // time around, to ensure the window has the correct format. 2221 // because it down not account for the intervening idle time 4217 collect(float off, long time, String axis) argument 4678 finishKeys(long time) argument 4683 finishTracking(long time) argument 4691 consumeAccumulatedMovement(long time, int metaState) argument 4711 consumeAccumulatedMovement(long time, int metaState, float accumulator, int negativeKeyCode, int positiveKeyCode) argument 4724 sendKeyDownOrRepeat(long time, int keyCode, int metaState) argument 4748 sendKeyUp(long time) argument 4762 startFling(long time, float vx, float vy) argument 4808 postFling(long time) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | ImmersiveModeConfirmation.java | 135 public void onPowerKeyDown(boolean isScreenOn, long time, boolean inImmersiveMode) { argument 136 if (mPanicPackage != null && !isScreenOn && (time - mPanicTime < mPanicThresholdMs)) { 142 mPanicTime = time;
|
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.c | 25 #include <sys/time.h> 48 time_t now = time(NULL); 274 /* the full dumpsys is starting to take a long time, so we need 450 time_t now = time(NULL);
|
/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/base/core/java/android/app/ |
H A D | ApplicationErrorReport.java | 114 public long time; field in class:ApplicationErrorReport 226 dest.writeLong(time); 250 time = in.readLong(); 588 pw.println(prefix + "time: " + time);
|
/frameworks/base/include/androidfw/ |
H A D | ZipFileRO.h | 41 #include <time.h> 59 * and endian-swap them every time we want them). 178 * Utility function to convert ZIP's time format to a timespec struct.
|