Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/
DFileUtil.cpp48 struct tm* tm = localtime(&timeNow); in prepare() local
49 if (tm == NULL) { in prepare()
59 if (reportTime.appendFormat("%04d_%02d_%02d_%02d_%02d_%02d", tm->tm_year + 1900, in prepare()
60 tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec) != 0) { in prepare()
/cts/apps/cts-usb-accessory/
Dcts-usb-accessory.c63 struct timespec tm; in milli_sleep() local
65 tm.tv_sec = 0; in milli_sleep()
66 tm.tv_nsec = millis * 1000000; in milli_sleep()
67 nanosleep(&tm, NULL); in milli_sleep()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java100 TelephonyManager tm = (TelephonyManager) getContext().getSystemService( in onStart() local
103 String network = tm.getNetworkOperatorName(); in onStart()
107 String imei = tm.getDeviceId(); in onStart()
111 String imsi = tm.getSubscriberId(); in onStart()
115 String phoneNumber = tm.getLine1Number(); in onStart()
/cts/tests/tests/telephony/src/android/telephony/cts/
DPhoneNumberUtilsTest.java288 TelephonyManager tm = (TelephonyManager)getContext().getSystemService( in testJudgeMethods() local
291 if ("US".equals(tm.getSimCountryIso())) { in testJudgeMethods()