/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_CompatLibLegacy/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_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_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/core/jni/ |
D | android_os_SystemClock.cpp | 52 struct timespec tm; in android_os_SystemClock_currentThreadTimeMillis() local 54 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tm); in android_os_SystemClock_currentThreadTimeMillis() 56 return tm.tv_sec * 1000LL + tm.tv_nsec / 1000000; in android_os_SystemClock_currentThreadTimeMillis() 64 struct timespec tm; in android_os_SystemClock_currentThreadTimeMicro() local 66 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tm); in android_os_SystemClock_currentThreadTimeMicro() 68 return tm.tv_sec * 1000000LL + tm.tv_nsec / 1000; in android_os_SystemClock_currentThreadTimeMicro()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 91 public static Pair<String, String> getSimIdentity(TelephonyManager tm, in getSimIdentity() argument 94 if (tm == null) { in getSimIdentity() 98 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getSimIdentity() 148 public static String getAnonymousIdentityWith3GppRealm(@Nonnull TelephonyManager tm) { in getAnonymousIdentityWith3GppRealm() argument 149 if (tm == null) { in getAnonymousIdentityWith3GppRealm() 152 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getAnonymousIdentityWith3GppRealm() 455 public static String getGsmSimAuthResponse(String[] requestData, TelephonyManager tm) { in getGsmSimAuthResponse() argument 456 return getGsmAuthResponseWithLength(requestData, tm, TelephonyManager.APPTYPE_USIM); in getGsmSimAuthResponse() 472 public static String getGsmSimpleSimAuthResponse(String[] requestData, TelephonyManager tm) { in getGsmSimpleSimAuthResponse() argument 473 return getGsmAuthResponseWithLength(requestData, tm, TelephonyManager.APPTYPE_SIM); in getGsmSimpleSimAuthResponse() [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_AlarmManagerService.cpp | 147 struct tm tm; in setTime() local 148 if (!gmtime_r(&tv->tv_sec, &tm)) { in setTime() 154 rtc.tm_sec = tm.tm_sec; in setTime() 155 rtc.tm_min = tm.tm_min; in setTime() 156 rtc.tm_hour = tm.tm_hour; in setTime() 157 rtc.tm_mday = tm.tm_mday; in setTime() 158 rtc.tm_mon = tm.tm_mon; in setTime() 159 rtc.tm_year = tm.tm_year; in setTime() 160 rtc.tm_wday = tm.tm_wday; in setTime() 161 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/opt/net/ims/src/java/com/android/ims/ |
D | RcsFeatureConnection.java | 125 TelephonyManager tm = in create() local 127 if (tm == null) { in create() 132 IImsRcsFeature binder = tm.getImsRcsFeatureAndListen(slotId, serviceProxy.getListener()); in create() 172 TelephonyManager tm = getTelephonyManager(); in removeImsFeatureCallback() local 173 if (tm != null) { in removeImsFeatureCallback() 174 tm.unregisterImsFeatureCallback(mSlotId, ImsFeature.FEATURE_RCS, getListener()); in removeImsFeatureCallback() 334 TelephonyManager tm = getTelephonyManager(); in getRegistrationBinder() local 335 return tm != null ? tm.getImsRegistration(mSlotId, ImsFeature.FEATURE_RCS) : null; in getRegistrationBinder()
|
D | MmTelFeatureConnection.java | 212 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/ |
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/layoutlib/bridge/src/android/graphics/ |
D | Shader_Delegate.java | 66 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/ |
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/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractImsStatusPreferenceController.java | 91 TelephonyManager tm = mContext.getSystemService(TelephonyManager.class); in updateConnectivity() local 92 mImsStatus.setSummary((tm != null && tm.isImsRegistered(subId)) ? in updateConnectivity()
|
/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 | 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.checkCarrierPrivilegesForPackageAnyPhone(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/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;
|