/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | rstime.rscript | 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/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | rstime.rscript | 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/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | rstime.rscript | 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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | rstime.rscript | 23 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/ |
D | rstime.rscript | 25 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/ |
D | MtpUtils.cpp | 78 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/services/core/jni/ |
D | com_android_server_SystemClockTime.cpp | 52 struct tm tm; in setTime() local 53 if (!gmtime_r(&tv->tv_sec, &tm)) { in setTime() 59 rtc.tm_sec = tm.tm_sec; in setTime() 60 rtc.tm_min = tm.tm_min; in setTime() 61 rtc.tm_hour = tm.tm_hour; in setTime() 62 rtc.tm_mday = tm.tm_mday; in setTime() 63 rtc.tm_mon = tm.tm_mon; in setTime() 64 rtc.tm_year = tm.tm_year; in setTime() 65 rtc.tm_wday = tm.tm_wday; in setTime() 66 rtc.tm_yday = tm.tm_yday; in setTime() [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | X509TrustManagerExtensions.java | 53 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/libs/net/common/testutils/app/connectivitychecker/src/com/android/testutils/connectivitychecker/ |
D | ConnectivityCheckTest.kt | 55 val tm = context.getSystemService(TelephonyManager::class.java) in checkTelephonySetup() constant 62 if (tm.simState == TelephonyManager.SIM_STATE_ABSENT) { in checkTelephonySetup() 64 } else if (tm.simState != TelephonyManager.SIM_STATE_READY) { in checkTelephonySetup() 68 assertTrue(tm.isDataConnectivityPossible, in checkTelephonySetup()
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 258 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/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/av/services/audioflinger/ |
D | BufLog.cpp | 133 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/ |
D | ZipUtils.h | 72 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) { in zipTimeToTimespec() 75 memset(timespec, 0, sizeof(struct tm)); in zipTimeToTimespec()
|
/frameworks/av/media/libmediametrics/ |
D | MediaMetricsItem.cpp | 258 struct tm tm; in nsToString() local 261 if (localtime_r(&sec, &tm) == NULL) { in nsToString() 270 tm.tm_mon + 1, // localtime_r uses months in 0 - 11 range in nsToString() 271 tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec, in nsToString() 278 tm.tm_hour, tm.tm_min, tm.tm_sec, in nsToString()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 693 TelecomManager tm = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in isNonTtyOrTtyOnVolteEnabled() local 694 if (tm == null) { in isNonTtyOrTtyOnVolteEnabled() 698 return tm.getCurrentTtyMode() == TelecomManager.TTY_MODE_OFF; in isNonTtyOrTtyOnVolteEnabled() 715 TelecomManager tm = mContext.getSystemService(TelecomManager.class); in isNonTtyOrTtyOnVoWifiEnabled() local 716 if (tm == null) { in isNonTtyOrTtyOnVoWifiEnabled() 720 return tm.getCurrentTtyMode() == TelecomManager.TTY_MODE_OFF; in isNonTtyOrTtyOnVoWifiEnabled() 1015 TelephonyManager tm = mContext.getSystemService(TelephonyManager.class); in isCallComposerEnabledByUser() local 1016 if (tm == null) { in isCallComposerEnabledByUser() 1020 return tm.getCallComposerStatus() == TelephonyManager.CALL_COMPOSER_STATUS_ON; in isCallComposerEnabledByUser() 1424 TelephonyManager tm = (TelephonyManager) in setWfcMode() local [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataConnectionStateTracker.java | 168 public void register(TelephonyManager tm) { in register() argument 169 if (tm == null) { in register() 172 mTelephonyManager = tm; in register()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SmartStorageMaintIdler.java | 88 JobScheduler tm = context.getSystemService(JobScheduler.class); in scheduleSmartIdlePass() local 96 tm.schedule(builder.build()); in scheduleSmartIdlePass()
|
D | MountServiceIdler.java | 100 JobScheduler tm = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in scheduleIdlePass() local 118 tm.schedule(builder.build()); in scheduleIdlePass()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ExifUtils.h | 88 virtual bool setDateTime(const struct tm& t) = 0; 144 virtual bool setGpsTimestamp(const struct tm& t) = 0;
|
/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/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceBindHelper.java | 240 TelephonyManager tm = mContext.getSystemService(TelephonyManager.class); in AppBinding() local 241 if (tm != null) { in AppBinding() 242 tm.registerCarrierPrivilegesCallback(phoneId, new HandlerExecutor(mHandler), in AppBinding() 248 TelephonyManager tm = mContext.getSystemService(TelephonyManager.class); in tearDown() local 249 if (tm != null && mCarrierServiceChangeCallback != null) { in tearDown() 250 tm.unregisterCarrierPrivilegesCallback(mCarrierServiceChangeCallback); in tearDown()
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | LocaleStore.java | 196 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()
|