Searched defs:tm (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_os_SystemClock.cpp52 struct timespec tm; local
54 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tm);
56 return tm.tv_sec * 1000LL + tm.tv_nsec / 1000000;
64 struct timespec tm; local
66 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tm);
68 return tm.tv_sec * 1000000LL + tm.tv_nsec / 1000;
H A Dandroid_database_SQLiteConnection.cpp101 static void sqliteProfileCallback(void *data, const char *sql, sqlite3_uint64 tm) { argument
104 connection->label.string(), sql, tm * 0.000001f);
/frameworks/base/core/java/android/net/http/
H A DX509TrustManagerExtensions.java51 * @param tm A {@link X509TrustManager} as returned by TrustManagerFactory.getInstance();
52 * @throws IllegalArgumentException If tm is an unsupported TrustManager type.
54 public X509TrustManagerExtensions(X509TrustManager tm) throws IllegalArgumentException { argument
55 if (tm instanceof TrustManagerImpl) {
56 mDelegate = (TrustManagerImpl) tm;
64 mTrustManager = tm;
67 mCheckServerTrusted = tm.getClass().getMethod("checkServerTrusted",
78 isSameTrustConfiguration = tm.getClass().getMethod("isSameTrustConfiguration",
/frameworks/av/media/libnblog/
H A DReportPerformance.cpp66 struct tm tm; local
67 localtime_r(&tv.tv_sec, &tm);
68 strftime(currTime, sizeof(currTime), "%Y%m%d%H%M%S", &tm);
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp258 struct tm tm; local
270 localtime_r(&secs, &tm);
271 strftime(buf, bufLen, format, &tm);
369 struct tm tm; local
370 localtime_r(&now, &tm);
372 strftime(timeBuf, sizeof(timeBuf), "%a, %d %b %Y %T %z", &tm);
/frameworks/av/services/audioflinger/
H A DBufLog.cpp133 struct tm tm; local
134 localtime_r(&tv.tv_sec, &tm);
135 strftime(timeStr, sizeof(timeStr), "%Y%m%d%H%M%S", &tm);
H A DAudioFlinger.cpp3434 struct tm tm; local
3435 localtime_r(&tv.tv_sec, &tm);
3436 strftime(teeTime, sizeof(teeTime), "%Y%m%d%H%M%S", &tm);
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c70 struct timespec tm; local
72 tm.tv_sec = 0;
73 tm.tv_nsec = millis * 1000000;
74 nanosleep(&tm, NULL);
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c42 struct timespec tm; local
44 tm.tv_sec = 0;
45 tm.tv_nsec = millis * 1000000;
46 nanosleep(&tm, NULL);
H A Dusb.c38 struct timespec tm; local
40 tm.tv_sec = 0;
41 tm.tv_nsec = millis * 1000000;
42 nanosleep(&tm, NULL);
/frameworks/av/media/mtp/
H A DMtpUtils.cpp78 struct tm tm = {}; local
79 tm.tm_sec = second;
80 tm.tm_min = minute;
81 tm.tm_hour = hour;
82 tm.tm_mday = day;
83 tm.tm_mon = month - 1; // mktime uses months in 0 - 11 range
84 tm.tm_year = year - 1900;
85 tm.tm_isdst = -1;
86 outSeconds = useUTC ? timegm(&tm)
92 struct tm tm; local
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_AlarmManagerService.cpp124 struct tm tm, *gmtime_res; local
147 gmtime_res = gmtime_r(&tv->tv_sec, &tm);
155 rtc.tm_sec = tm.tm_sec;
156 rtc.tm_min = tm.tm_min;
157 rtc.tm_hour = tm.tm_hour;
158 rtc.tm_mday = tm.tm_mday;
159 rtc.tm_mon = tm.tm_mon;
160 rtc.tm_year = tm.tm_year;
161 rtc.tm_wday = tm
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DTelephonyUtil.java64 * @param tm TelephonyManager instance
69 public static Pair<String, String> getSimIdentity(TelephonyManager tm, argument
72 if (tm == null) {
76 String imsi = tm.getSubscriberId();
79 if (tm.getSimState() == TelephonyManager.SIM_STATE_READY) {
80 mccMnc = tm.getSimOperator();
85 imsiEncryptionInfo = tm.getCarrierInfoForImsiEncryption(TelephonyManager.KEY_TYPE_WLAN);
348 public static String getGsmSimAuthResponse(String[] requestData, TelephonyManager tm) { argument
349 if (tm == null) {
371 String tmResponse = tm
444 get3GAuthResponse(SimAuthRequestData requestData, TelephonyManager tm) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java479 * Translates matrix m by x, y, and z, putting the result in tm.
481 * m and tm must not overlap.
483 * @param tm returns the result
491 public static void translateM(float[] tm, int tmOffset, argument
495 tm[tmOffset + i] = m[mOffset + i];
500 tm[12 + tmi] = m[mi] * x + m[4 + mi] * y + m[8 + mi] * z +
/frameworks/base/cmds/statsd/src/guardrail/
H A DStatsdStats.cpp407 struct tm* tm = localtime(&t); local
409 strftime(timeBuffer, sizeof(timeBuffer), "%Y-%m-%d %I:%M%p", tm);
416 struct tm* tm = localtime(&t); local
418 strftime(timeBuffer, sizeof(timeBuffer), "%Y-%m-%d %I:%M%p\n", tm);
520 struct tm* error_tm = localtime(&error_time);
/frameworks/rs/
H A DrsContext.cpp153 void Context::timerSet(Timers tm) { argument
157 mTimerActive = tm;
/frameworks/av/media/extractors/mp4/
H A DMPEG4Extractor.cpp728 struct tm* tm = gmtime(&time_1970); local
729 if (tm != NULL &&
730 strftime(tmp, sizeof(tmp), "%Y%m%dT%H%M%S.000Z", tm) > 0) {
/frameworks/base/core/java/android/view/
H A DWindow.java1886 * @param tm The TransitionManager to use for scene changes.
1889 public void setTransitionManager(TransitionManager tm) { argument
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java395 public void setTransitionManager(TransitionManager tm) { argument
396 mTransitionManager = tm;
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp3532 struct tm tm; local
3533 localtime_r(&t, &tm);
3535 strftime(timestr, sizeof(timestr), "%F %T", &tm);
/frameworks/base/core/java/android/app/
H A DActivity.java2840 * @param tm The TransitionManager to use for scene changes.
2842 public void setContentTransitionManager(TransitionManager tm) { argument
2843 getWindow().setTransitionManager(tm);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 371 milliseconds