Searched refs:time (Results 76 - 100 of 255) sorted by relevance

1234567891011

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp204 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 DM4OSA_Thread.h109 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSleep( M4OSA_UInt32 time );
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4PCMR_CoreReader.h125 M4OSA_ERR M4PCMR_seek(M4OSA_Context context, M4SYS_StreamID* pStreamID, M4OSA_Time time,
/frameworks/av/services/audioflinger/
H A DAudioWatchdog.cpp92 mDump->mMostRecent = time(NULL);
H A DStateQueue.cpp21 #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 DLegacySensorManager.java381 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 Djpeg_decoder_bench.cpp18 #include <sys/time.h>
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp20 #include <sys/time.h>
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRRuleTest.java45 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 DTimeZoneInfo.java42 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 DrsScriptIntrinsic.cpp19 #include <time.h>
/frameworks/av/media/libstagefright/
H A DSampleIterator.cpp289 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 DExifInterface.java111 // 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 DLocationStatsAggregator.java56 // 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 DM4OSA_Thread.c27 #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 DM4OSA_Semaphore.c37 #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 DEventHub.cpp525 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 DCpuConsumer_test.cpp552 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 DViewRootImpl.java121 * 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 DImmersiveModeConfirmation.java135 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 Ddumpstate.c25 #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 DSipWakeupTimer.java44 // 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 Dvop.cpp49 // 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 DApplicationErrorReport.java114 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 DZipFileRO.h41 #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.

Completed in 1110 milliseconds

1234567891011