/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | rstime.rs | 7 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/java/tests/RsTest_16/src/com/android/rs/test/ |
D | rstime.rs | 7 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/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | rstime.rs | 7 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/java/tests/RsTest_11/src/com/android/rs/test/ |
D | rstime.rs | 7 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/java/tests/RsTest_14/src/com/android/rs/test/ |
D | rstime.rs | 7 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/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | rstime.rs | 7 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/av/media/mtp/ |
D | MtpUtils.cpp | 58 struct tm tm = {}; in parseDateTime() local 59 tm.tm_sec = second; in parseDateTime() 60 tm.tm_min = minute; in parseDateTime() 61 tm.tm_hour = hour; in parseDateTime() 62 tm.tm_mday = day; in parseDateTime() 63 tm.tm_mon = month - 1; // mktime uses months in 0 - 11 range in parseDateTime() 64 tm.tm_year = year - 1900; in parseDateTime() 65 tm.tm_isdst = -1; in parseDateTime() 66 outSeconds = useUTC ? timegm(&tm) : mktime(&tm); in parseDateTime() 72 struct tm tm; in formatDateTime() local [all …]
|
/frameworks/base/core/jni/ |
D | android_os_SystemClock.cpp | 63 struct timespec tm; in android_os_SystemClock_currentThreadTimeMillis() local 65 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tm); in android_os_SystemClock_currentThreadTimeMillis() 67 return tm.tv_sec * 1000LL + tm.tv_nsec / 1000000; in android_os_SystemClock_currentThreadTimeMillis() 76 struct timespec tm; in android_os_SystemClock_currentThreadTimeMicro() local 78 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tm); in android_os_SystemClock_currentThreadTimeMicro() 80 return tm.tv_sec * 1000000LL + tm.tv_nsec / 1000; in android_os_SystemClock_currentThreadTimeMicro()
|
/frameworks/base/core/java/android/net/http/ |
D | X509TrustManagerExtensions.java | 55 public X509TrustManagerExtensions(X509TrustManager tm) throws IllegalArgumentException { in X509TrustManagerExtensions() argument 56 if (tm instanceof TrustManagerImpl) { in X509TrustManagerExtensions() 57 mDelegate = (TrustManagerImpl) tm; in X509TrustManagerExtensions() 65 mTrustManager = tm; in X509TrustManagerExtensions() 68 mCheckServerTrusted = tm.getClass().getMethod("checkServerTrusted", in X509TrustManagerExtensions() 79 isSameTrustConfiguration = tm.getClass().getMethod("isSameTrustConfiguration", in X509TrustManagerExtensions()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_AlarmManagerService.cpp | 168 struct tm tm, *gmtime_res; in setTime() local 191 gmtime_res = gmtime_r(&tv->tv_sec, &tm); in setTime() 199 rtc.tm_sec = tm.tm_sec; in setTime() 200 rtc.tm_min = tm.tm_min; in setTime() 201 rtc.tm_hour = tm.tm_hour; in setTime() 202 rtc.tm_mday = tm.tm_mday; in setTime() 203 rtc.tm_mon = tm.tm_mon; in setTime() 204 rtc.tm_year = tm.tm_year; in setTime() 205 rtc.tm_wday = tm.tm_wday; in setTime() 206 rtc.tm_yday = tm.tm_yday; in setTime() [all …]
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 260 struct tm tm; in getTimeString_l() local 267 localtime_r(&secs, &tm); in getTimeString_l() 268 strftime(buf, bufLen, format, &tm); in getTimeString_l() 366 struct tm tm; in doDrawInfoPage() local 367 localtime_r(&now, &tm); in doDrawInfoPage() 369 strftime(timeBuf, sizeof(timeBuf), "%a, %d %b %Y %T %z", &tm); in doDrawInfoPage()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Shader_Delegate.java | 62 for (TileMode tm : TileMode.values()) { in getTileMode() 63 if (tm.nativeInt == tileMode) { in getTileMode() 64 return tm; in getTileMode()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OMADMAdapter.java | 127 TelephonyManager tm = (TelephonyManager) context in OMADMAdapter() local 129 String simOperator = tm.getSimOperator(); in OMADMAdapter() 130 mImsi = tm.getSubscriberId(); in OMADMAdapter() 131 mImei = tm.getImei(); in OMADMAdapter() 138 strDevId = tm.getDeviceId().toUpperCase(Locale.US); in OMADMAdapter() 149 strDevId = tm.getDeviceId(); in OMADMAdapter() 334 TelephonyManager tm = (TelephonyManager) context in isSprint() local 336 String simOperator = tm.getSimOperator(); in isSprint() 337 String imsi = tm.getSubscriberId(); in isSprint()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | OMADMAdapter.java | 125 TelephonyManager tm = (TelephonyManager) context in OMADMAdapter() local 127 String simOperator = tm.getSimOperator(); in OMADMAdapter() 128 mImsi = tm.getSubscriberId(); in OMADMAdapter() 129 mImei = tm.getImei(); in OMADMAdapter() 136 strDevId = tm.getDeviceId().toUpperCase(Locale.US); in OMADMAdapter() 146 strDevId = tm.getDeviceId(); in OMADMAdapter() 342 TelephonyManager tm = (TelephonyManager) context in isSprint() local 344 String simOperator = tm.getSimOperator(); in isSprint() 345 String imsi = tm.getSubscriberId(); in isSprint()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | X509TrustManagerExtensionsTest.java | 64 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/ |
D | hid.c | 42 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()
|
D | usb.c | 38 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/ |
D | accessorychat.c | 70 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/base/include/androidfw/ |
D | ZipUtils.h | 70 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/ |
D | NetworkStatsAccess.java | 109 final TelephonyManager tm = (TelephonyManager) in checkAccessLevel() local 111 boolean hasCarrierPrivileges = tm != null && in checkAccessLevel() 112 tm.checkCarrierPrivilegesForPackage(callingPackage) == in checkAccessLevel()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | DefaultDialerManager.java | 196 final TelecomManager tm = getTelecomManager(context); in isDefaultOrSystemDialer() local 197 return packageName.equals(tm.getDefaultDialerPackage()) in isDefaultOrSystemDialer() 198 || packageName.equals(tm.getSystemDialerPackage()); in isDefaultOrSystemDialer()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleStore.java | 183 TelephonyManager tm = TelephonyManager.from(context); in getSimCountries() local 185 if (tm != null) { in getSimCountries() 186 String iso = tm.getSimCountryIso().toUpperCase(Locale.US); in getSimCountries() 191 iso = tm.getNetworkCountryIso().toUpperCase(Locale.US); in getSimCountries()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountServiceIdler.java | 95 JobScheduler tm = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in scheduleIdlePass() local 104 tm.schedule(builder.build()); in scheduleIdlePass()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiStateMachineTest.java | 1044 TelephonyManager tm = mock(TelephonyManager.class); in getGsmSimAuthResponseTest() local 1046 assertEquals("", mWsm.getGsmSimAuthResponse(invalidRequests, tm)); in getGsmSimAuthResponseTest() 1049 when(tm.getIccAuthentication(anyInt(), anyInt(), in getGsmSimAuthResponseTest() 1051 assertEquals(null, mWsm.getGsmSimAuthResponse(failedRequests, tm)); in getGsmSimAuthResponseTest() 1053 when(tm.getIccAuthentication(2, tm.AUTHTYPE_EAP_SIM, in getGsmSimAuthResponseTest() 1056 when(tm.getIccAuthentication(1, tm.AUTHTYPE_EAP_SIM, in getGsmSimAuthResponseTest() 1060 when(tm.getIccAuthentication(1, tm.AUTHTYPE_EAP_SIM, in getGsmSimAuthResponseTest() 1065 new String[] { "1A2B", "0123" }, tm)); in getGsmSimAuthResponseTest()
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/ |
D | TestJobService.java | 122 JobScheduler tm = in scheduleJob() local 124 tm.schedule(job); in scheduleJob()
|