Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 21 of 21) 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/tests/tests/security/src/android/security/cts/
DConscryptIntermediateVerificationTest.java70 for (TrustManager tm : tmf.getTrustManagers()) { in getTrustManager()
71 if (tm instanceof X509TrustManager) { in getTrustManager()
72 return (X509TrustManager) tm; in getTrustManager()
80 X509TrustManager tm = getTrustManager(); in testIntermediateVerification() local
95 tm.checkServerTrusted(invalidChain, "RSA"); in testIntermediateVerification()
99 tm.checkServerTrusted(validChain, "RSA"); in testIntermediateVerification()
104 tm.checkServerTrusted(invalidChain, "RSA"); in testIntermediateVerification()
DCertBlacklistTest.java112 for (TrustManager tm : tmf.getTrustManagers()) { in getTrustManager()
113 if (tm instanceof X509TrustManager) { in getTrustManager()
114 return (X509TrustManager) tm; in getTrustManager()
121 private static void assertTrusted(X509Certificate[] certs, X509TrustManager tm) in assertTrusted() argument
123 tm.checkServerTrusted(certs, "RSA"); in assertTrusted()
126 private static void assertUntrusted(X509Certificate[] certs, X509TrustManager tm) { in assertUntrusted() argument
128 tm.checkServerTrusted(certs, "RSA"); in assertUntrusted()
DX509CertChainBuildingTest.java179 for (TrustManager tm : tmf.getTrustManagers()) { in getTrustManager()
180 if (tm instanceof X509TrustManager) { in getTrustManager()
181 return (X509TrustManager) tm; in getTrustManager()
205 X509TrustManager tm = getTrustManager(ks, p); in assertExactPath() local
206 X509TrustManagerExtensions xtm = new X509TrustManagerExtensions(tm); in assertExactPath()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dget_element_at_x.rs7 const uint32_t * tm = rsGetElementAt (gIn, x);
8 *out = *tm;
Dget_element_at_x_y.rs7 const uint32_t * tm = rsGetElementAt (gIn, x, y);
8 *out = *tm;
/cts/tests/tests/net/src/android/net/http/cts/
DX509TrustManagerExtensionsTest.java48 X509TrustManager tm = getFirstX509TrustManager(tmf); in testIsUserAddedCertificateDefaults() local
49 X509TrustManagerExtensions xtm = new X509TrustManagerExtensions(tm); in testIsUserAddedCertificateDefaults()
51 for (Certificate cert : tm.getAcceptedIssuers()) { in testIsUserAddedCertificateDefaults()
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DPhoneNumberTest.java59 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in testGetLine1Number() local
64 tm.getLine1Number(); in testGetLine1Number()
70 tm.getLine1Number(); in testGetLine1Number()
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/
DResourceSourceTest.java91 for (TrustManager tm : tmf.getTrustManagers()) { in getTrustedCertificates()
92 if (tm instanceof X509TrustManager) { in getTrustedCertificates()
93 X509Certificate[] trustedCerts = ((X509TrustManager) tm).getAcceptedIssuers(); in getTrustedCertificates()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCaCertManagementTest.java150 X509TrustManager tm = getFirstX509TrustManager(tmf); in isCaCertInstalledAndTrusted() local
151 boolean trusted = Arrays.asList(tm.getAcceptedIssuers()).contains(caCert); in isCaCertInstalledAndTrusted()
152 X509TrustManagerExtensions xtm = new X509TrustManagerExtensions(tm); in isCaCertInstalledAndTrusted()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java73 for (TrustManager tm : tmf.getTrustManagers()) { in getDefaultTrustManager()
74 if (tm instanceof X509TrustManager) { in getDefaultTrustManager()
75 return (X509TrustManager) tm; in getDefaultTrustManager()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DGTestApiReport.java96 for (TestModule tm : apiReport.mTestModules) { in main()
97 tm.getDynSymArr(); in main()
DApkNdkApiReport.java98 for (TestModule tm : apiReport.mTestModules) { in main()
99 tm.getDynSymArr(); in main()
DCtsApiCoverage.java304 for (TestModule tm : testModules) { in addNdkSymArrToApiCoverage()
305 final String moduleName = tm.getModuleName(); in addNdkSymArrToApiCoverage()
306 final ReadElf.Symbol[] symArr = tm.getDynSymArr(); in addNdkSymArrToApiCoverage()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java119 TelephonyManager tm = (TelephonyManager) getContext().getSystemService( in onStart() local
122 String network = tm.getNetworkOperatorName(); in onStart()
126 String imei = tm.getDeviceId(); in onStart()
130 String imsi = tm.getSubscriberId(); in onStart()
134 String phoneNumber = tm.getLine1Number(); in onStart()
/cts/tests/tests/telecom/src/android/telecom/cts/
DExtendedInCallServiceTest.java565 final TelecomManager tm = in testOnBringToForeground() local
568 tm.showInCallScreen(false); in testOnBringToForeground()
574 tm.showInCallScreen(true); in testOnBringToForeground()
633 … TelephonyManager tm = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); in testOnCannedTextResponsesLoaded() local
634 if (tm != null && !tm.isSmsCapable()) { in testOnCannedTextResponsesLoaded()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java212 TelephonyManager tm = in testSubscriptionInfoListing() local
215 tm.hasCarrierPrivileges(info.getSubscriptionId())); in testSubscriptionInfoListing()
/cts/tests/tests/telephony/src/android/telephony/cts/
DPhoneNumberUtilsTest.java291 TelephonyManager tm = (TelephonyManager)getContext().getSystemService( in testJudgeMethods() local
294 if ("US".equals(tm.getSimCountryIso())) { in testJudgeMethods()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java338 TelephonyManager tm = (TelephonyManager) getInstrumentation().getContext() in getSubscriberId() local
340 return tm.getSubscriberId(); in getSubscriberId()
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java359 final TelephonyManager tm = in testAddLinksPhoneNumbers() local
361 final String region = tm.getSimCountryIso().toUpperCase(Locale.US); in testAddLinksPhoneNumbers()
/cts/tests/tests/media/assets/
Dsegment000001.ts579 …����5���nv��>��3,�Q�L|`ʽɠM�>H3~^��G�\֚�����a�#�H-���|�*cC����]>��h(�/�tm��F�h%�UA΁�