/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/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | TestBase.java | 79 public void animateBars(float time) { argument
|
/frameworks/rs/ |
H A D | rsScriptIntrinsic.cpp | 19 #include <time.h>
|
/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/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/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/base/services/core/java/com/android/server/notification/ |
H A D | NextAlarmConditionProvider.java | 197 final long time = tryParseNextAlarmCondition(conditionId); 198 if (time == BAD_CONDITION) { 205 } else if (time != nextAlarmTime) {
|
/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 | 516 ev.time.tv_sec = 0; 517 ev.time.tv_usec = 0; 635 ev.time.tv_sec = 0; 636 ev.time.tv_usec = 0; 657 ev.time.tv_sec = 0; 658 ev.time.tv_usec = 0; 831 ALOGV("%s got: time=%d.%06d, type=%d, code=%d, value=%d", 833 (int) iev.time.tv_sec, (int) iev.time.tv_usec, 836 // Some input devices may have a better concept of the time 894 nsecs_t time = systemTime(SYSTEM_TIME_MONOTONIC); local [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 | 127 * Maximum time we allow the user to roll the trackball enough to generate 375 mFirst = true; // true for the first time the view is added 1324 // shown for the first time the next time it gets focus. 1936 // The first time we relayout the window, if the system is 2009 mLayoutRequested = true; // ask wm for a new surface next time. 2118 // Check the valid requests again, this time without checking/clearing the 2215 // time around, to ensure the window has the correct format. 2320 // because it down not account for the intervening idle time 2330 Log.v(TAG, "0x" + thisHash + "\tFrame time 4389 collect(float off, long time, String axis) argument 4857 finishKeys(long time) argument 4862 finishTracking(long time) argument 4870 consumeAccumulatedMovement(long time, int metaState) argument 4890 consumeAccumulatedMovement(long time, int metaState, float accumulator, int negativeKeyCode, int positiveKeyCode) argument 4903 sendKeyDownOrRepeat(long time, int keyCode, int metaState) argument 4927 sendKeyUp(long time) argument 4941 startFling(long time, float vx, float vy) argument 4987 postFling(long time) argument [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 209 int64_t time; local 210 if (mData->mImpl->getSampleTime(&time) != OK) { 213 return time;
|
H A D | NdkMediaCodec.cpp | 294 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) { 297 status_t ret = mData->mCodec->queueInputBuffer(idx, offset, size, time, flags, &errorMsg); 376 uint64_t time, 393 time, 293 AMediaCodec_queueInputBuffer(AMediaCodec *mData, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) argument 371 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | ImmersiveModeConfirmation.java | 133 public boolean onPowerKeyDown(boolean isScreenOn, long time, boolean inImmersiveMode) { argument 134 if (!isScreenOn && (time - mPanicTime < mPanicThresholdMs)) { 141 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/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); 260 time = in.readLong(); 609 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/cmds/dumpstate/ |
H A D | dumpstate.c | 28 #include <sys/time.h> 64 time_t thirty_minutes_ago = time(NULL) - 60*30; 103 time_t now = time(NULL); 347 /* the full dumpsys is starting to take a long time, so we need 539 time_t now = time(NULL);
|
/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/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);
|