Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Drstime.rscript7 rs_tm tm;
10 rsLocaltime(&tm, &curTime);
12 rsDebug("tm.tm_sec", tm.tm_sec);
13 rsDebug("tm.tm_min", tm.tm_min);
14 rsDebug("tm.tm_hour", tm.tm_hour);
15 rsDebug("tm.tm_mday", tm.tm_mday);
16 rsDebug("tm.tm_mon", tm.tm_mon);
17 rsDebug("tm.tm_year", tm.tm_year);
18 rsDebug("tm.tm_wday", tm.tm_wday);
19 rsDebug("tm.tm_yday", tm.tm_yday);
[all …]
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Drstime.rscript7 rs_tm tm;
10 rsLocaltime(&tm, &curTime);
12 rsDebug("tm.tm_sec", tm.tm_sec);
13 rsDebug("tm.tm_min", tm.tm_min);
14 rsDebug("tm.tm_hour", tm.tm_hour);
15 rsDebug("tm.tm_mday", tm.tm_mday);
16 rsDebug("tm.tm_mon", tm.tm_mon);
17 rsDebug("tm.tm_year", tm.tm_year);
18 rsDebug("tm.tm_wday", tm.tm_wday);
19 rsDebug("tm.tm_yday", tm.tm_yday);
[all …]
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Drstime.rscript7 rs_tm tm;
10 rsLocaltime(&tm, &curTime);
12 rsDebug("tm.tm_sec", tm.tm_sec);
13 rsDebug("tm.tm_min", tm.tm_min);
14 rsDebug("tm.tm_hour", tm.tm_hour);
15 rsDebug("tm.tm_mday", tm.tm_mday);
16 rsDebug("tm.tm_mon", tm.tm_mon);
17 rsDebug("tm.tm_year", tm.tm_year);
18 rsDebug("tm.tm_wday", tm.tm_wday);
19 rsDebug("tm.tm_yday", tm.tm_yday);
[all …]
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Drstime.rscript7 rs_tm tm;
10 rsLocaltime(&tm, &curTime);
12 rsDebug("tm.tm_sec", tm.tm_sec);
13 rsDebug("tm.tm_min", tm.tm_min);
14 rsDebug("tm.tm_hour", tm.tm_hour);
15 rsDebug("tm.tm_mday", tm.tm_mday);
16 rsDebug("tm.tm_mon", tm.tm_mon);
17 rsDebug("tm.tm_year", tm.tm_year);
18 rsDebug("tm.tm_wday", tm.tm_wday);
19 rsDebug("tm.tm_yday", tm.tm_yday);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Drstime.rscript23 rs_tm tm;
26 rsLocaltime(&tm, &curTime);
28 rsDebug("tm.tm_sec", tm.tm_sec);
29 rsDebug("tm.tm_min", tm.tm_min);
30 rsDebug("tm.tm_hour", tm.tm_hour);
31 rsDebug("tm.tm_mday", tm.tm_mday);
32 rsDebug("tm.tm_mon", tm.tm_mon);
33 rsDebug("tm.tm_year", tm.tm_year);
34 rsDebug("tm.tm_wday", tm.tm_wday);
35 rsDebug("tm.tm_yday", tm.tm_yday);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Drstime.rscript25 rs_tm tm;
28 rsLocaltime(&tm, &curTime);
30 rsDebug("tm.tm_sec", tm.tm_sec);
31 rsDebug("tm.tm_min", tm.tm_min);
32 rsDebug("tm.tm_hour", tm.tm_hour);
33 rsDebug("tm.tm_mday", tm.tm_mday);
34 rsDebug("tm.tm_mon", tm.tm_mon);
35 rsDebug("tm.tm_year", tm.tm_year);
36 rsDebug("tm.tm_wday", tm.tm_wday);
37 rsDebug("tm.tm_yday", tm.tm_yday);
[all …]
/frameworks/av/media/mtp/
DMtpUtils.cpp78 struct tm tm = {}; in parseDateTime() local
79 tm.tm_sec = second; in parseDateTime()
80 tm.tm_min = minute; in parseDateTime()
81 tm.tm_hour = hour; in parseDateTime()
82 tm.tm_mday = day; in parseDateTime()
83 tm.tm_mon = month - 1; // mktime uses months in 0 - 11 range in parseDateTime()
84 tm.tm_year = year - 1900; in parseDateTime()
85 tm.tm_isdst = -1; in parseDateTime()
86 outSeconds = useUTC ? timegm(&tm) : mktime(&tm); in parseDateTime()
92 struct tm tm; in formatDateTime() local
[all …]
/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java53 public X509TrustManagerExtensions(X509TrustManager tm) throws IllegalArgumentException { in X509TrustManagerExtensions() argument
54 if (tm instanceof TrustManagerImpl) { in X509TrustManagerExtensions()
55 mDelegate = (TrustManagerImpl) tm; in X509TrustManagerExtensions()
63 mTrustManager = tm; in X509TrustManagerExtensions()
66 mCheckServerTrusted = tm.getClass().getMethod("checkServerTrusted", in X509TrustManagerExtensions()
77 isSameTrustConfiguration = tm.getClass().getMethod("isSameTrustConfiguration", in X509TrustManagerExtensions()
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp135 struct tm tm, *gmtime_res; in setTime() local
158 gmtime_res = gmtime_r(&tv->tv_sec, &tm); in setTime()
166 rtc.tm_sec = tm.tm_sec; in setTime()
167 rtc.tm_min = tm.tm_min; in setTime()
168 rtc.tm_hour = tm.tm_hour; in setTime()
169 rtc.tm_mday = tm.tm_mday; in setTime()
170 rtc.tm_mon = tm.tm_mon; in setTime()
171 rtc.tm_year = tm.tm_year; in setTime()
172 rtc.tm_wday = tm.tm_wday; in setTime()
173 rtc.tm_yday = tm.tm_yday; in setTime()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureConnection.java122 TelephonyManager tm = in create() local
124 if (tm == null) { in create()
129 IImsRcsFeature binder = tm.getImsRcsFeatureAndListen(slotId, serviceProxy.getListener()); in create()
169 TelephonyManager tm = getTelephonyManager(); in removeImsFeatureCallback() local
170 if (tm != null) { in removeImsFeatureCallback()
171 tm.unregisterImsFeatureCallback(mSlotId, ImsFeature.FEATURE_RCS, getListener()); in removeImsFeatureCallback()
316 TelephonyManager tm = getTelephonyManager(); in getRegistrationBinder() local
317 return tm != null ? tm.getImsRegistration(mSlotId, ImsFeature.FEATURE_RCS) : null; in getRegistrationBinder()
DMmTelFeatureConnection.java212 TelephonyManager tm = serviceProxy.getTelephonyManager(); in create() local
213 if (tm == null) { in create()
220 IImsMmTelFeature binder = tm.getImsMmTelFeatureAndListen(slotId, in create()
253 TelephonyManager tm = getTelephonyManager(); in removeImsFeatureCallback() local
254 if (tm != null) { in removeImsFeatureCallback()
255 tm.unregisterImsFeatureCallback(mSlotId, ImsFeature.FEATURE_MMTEL, getListener()); in removeImsFeatureCallback()
266 TelephonyManager tm = getTelephonyManager(); in getConfig() local
267 IImsConfig configBinder = tm != null in getConfig()
268 ? tm.getImsConfig(mSlotId, ImsFeature.FEATURE_MMTEL) : null; in getConfig()
566 TelephonyManager tm = getTelephonyManager(); in getRegistrationBinder() local
[all …]
/frameworks/av/cmds/screenrecord/
DOverlay.cpp258 struct tm tm; in getTimeString_l() local
270 localtime_r(&secs, &tm); in getTimeString_l()
271 strftime(buf, bufLen, format, &tm); in getTimeString_l()
369 struct tm tm; in doDrawInfoPage() local
370 localtime_r(&now, &tm); in doDrawInfoPage()
372 strftime(timeBuf, sizeof(timeBuf), "%a, %d %b %Y %T %z", &tm); in doDrawInfoPage()
/frameworks/layoutlib/bridge/src/android/graphics/
DShader_Delegate.java66 for (TileMode tm : TileMode.values()) { in getTileMode()
67 if (tm.nativeInt == tileMode) { in getTileMode()
68 return tm; in getTileMode()
/frameworks/base/core/tests/coretests/src/android/net/http/
DX509TrustManagerExtensionsTest.java64 for (TrustManager tm : tms) { in testNormalUseCase()
65 if (tm instanceof X509TrustManager) { in testNormalUseCase()
66 new X509TrustManagerExtensions((X509TrustManager)tm); in testNormalUseCase()
/frameworks/base/libs/usb/tests/accessorytest/
Dhid.c42 struct timespec tm; in milli_sleep() local
44 tm.tv_sec = 0; in milli_sleep()
45 tm.tv_nsec = millis * 1000000; in milli_sleep()
46 nanosleep(&tm, NULL); in milli_sleep()
Dusb.c38 struct timespec tm; in milli_sleep() local
40 tm.tv_sec = 0; in milli_sleep()
41 tm.tv_nsec = millis * 1000000; in milli_sleep()
42 nanosleep(&tm, NULL); in milli_sleep()
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c70 struct timespec tm; in milli_sleep() local
72 tm.tv_sec = 0; in milli_sleep()
73 tm.tv_nsec = millis * 1000000; in milli_sleep()
74 nanosleep(&tm, NULL); in milli_sleep()
/frameworks/av/media/libmediametrics/
DMediaMetricsItem.cpp228 struct tm tm; in nsToString() local
231 if (localtime_r(&sec, &tm) == NULL) { in nsToString()
240 tm.tm_mon + 1, // localtime_r uses months in 0 - 11 range in nsToString()
241 tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec, in nsToString()
248 tm.tm_hour, tm.tm_min, tm.tm_sec, in nsToString()
/frameworks/av/services/audioflinger/
DBufLog.cpp133 struct tm tm; in BufLogStream() local
134 localtime_r(&tv.tv_sec, &tm); in BufLogStream()
135 strftime(timeStr, sizeof(timeStr), "%Y%m%d%H%M%S", &tm); in BufLogStream()
/frameworks/base/libs/androidfw/include/androidfw/
DZipUtils.h70 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) { in zipTimeToTimespec()
73 memset(timespec, 0, sizeof(struct tm)); in zipTimeToTimespec()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java109 final TelephonyManager tm = (TelephonyManager) in checkAccessLevel() local
111 boolean hasCarrierPrivileges = tm != null && in checkAccessLevel()
112 tm.checkCarrierPrivilegesForPackageAnyPhone(callingPackage) == in checkAccessLevel()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java196 final TelecomManager tm = getTelecomManager(context); in isDefaultOrSystemDialer() local
197 return packageName.equals(tm.getDefaultDialerPackage()) in isDefaultOrSystemDialer()
198 || packageName.equals(tm.getSystemDialerPackage()); in isDefaultOrSystemDialer()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h88 virtual bool setDateTime(const struct tm& t) = 0;
144 virtual bool setGpsTimestamp(const struct tm& t) = 0;
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java196 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in getSimCountries() local
198 if (tm != null) { in getSimCountries()
199 String iso = tm.getSimCountryIso().toUpperCase(Locale.US); in getSimCountries()
204 iso = tm.getNetworkCountryIso().toUpperCase(Locale.US); in getSimCountries()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java197 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in getSimCountries() local
199 if (tm != null) { in getSimCountries()
200 String iso = tm.getSimCountryIso().toUpperCase(Locale.US); in getSimCountries()
205 iso = tm.getNetworkCountryIso().toUpperCase(Locale.US); in getSimCountries()

1234