/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 302 (tm) -> tm.getSimSerialNumber()); in testTelephonyManager() 307 (tm) -> tm.getSubscriberId()); in testTelephonyManager() 314 (tm) -> tm.getDeviceId()); in testTelephonyManager() 316 (tm) -> tm.getDeviceId(mTelephonyManager.getSlotIndex())); in testTelephonyManager() 319 (tm) -> tm.getImei()); in testTelephonyManager() 321 (tm) -> tm.getImei(mTelephonyManager.getSlotIndex())); in testTelephonyManager() 509 mTelephonyManager, (tm) -> tm.getSubscriberId()); in testCreateForPhoneAccountHandle() 511 telephonyManager, (tm) -> tm.getSubscriberId()); in testCreateForPhoneAccountHandle() 549 (tm) -> tm.getDeviceId()); in testGetDeviceId() 560 (tm) -> tm.getDeviceId(mTelephonyManager.getSlotIndex())); in testGetDeviceIdForSlot() [all …]
|
D | PhoneStateListenerTest.java | 392 (tm) -> tm.listen(mListener, PhoneStateListener.LISTEN_PRECISE_CALL_STATE)); in testOnPreciseCallStateChanged() 439 (tm) -> tm.listen(mListener, in testOnCallDisconnectCauseChanged() 482 (tm) -> tm.listen(mListener, in testOnImsCallDisconnectCauseChanged() 520 (tm) -> tm.listen(mListener, in testOnPhoneStateListenerExecutorWithSrvccChanged() 564 (tm) -> tm.listen(mListener, in testOnRadioPowerStateChanged() 607 (tm) -> tm.listen(mListener, in testOnVoiceActivationStateChanged() 623 (tm) -> tm.getVoiceActivationState()); in testOnVoiceActivationStateChanged() 654 (tm) -> tm.listen(mListener, in testOnPreciseDataConnectionStateChanged()
|
D | SubscriptionManagerTest.java | 686 TelephonyManager tm = InstrumentationRegistry.getContext() in isDSDS() local 688 return tm != null && tm.getPhoneCount() > 1; in isDSDS()
|
D | PhoneNumberUtilsTest.java | 303 TelephonyManager tm = (TelephonyManager)getContext().getSystemService( in testJudgeMethods() local 306 if ("US".equals(tm.getSimCountryIso())) { in testJudgeMethods()
|
/cts/hostsidetests/appsecurity/test-apps/DeviceIdentifiers/src/android/appsecurity/cts/deviceids/ |
D | DeviceIdentifierAppOpTest.java | 52 (tm) -> tm.getDeviceId()), telephonyManager.getDeviceId()); in testAccessToDeviceIdentifiersWithAppOp() 55 (tm) -> tm.getImei()), telephonyManager.getImei()); in testAccessToDeviceIdentifiersWithAppOp() 58 (tm) -> tm.getMeid()), telephonyManager.getMeid()); in testAccessToDeviceIdentifiersWithAppOp() 61 (tm) -> tm.getSubscriberId()), telephonyManager.getSubscriberId()); in testAccessToDeviceIdentifiersWithAppOp() 65 (tm) -> tm.getSimSerialNumber()), in testAccessToDeviceIdentifiersWithAppOp()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DeviceIdentifiersTest.java | 46 (tm) -> tm.getDeviceId()), telephonyManager.getDeviceId()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 49 (tm) -> tm.getImei()), telephonyManager.getImei()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 52 (tm) -> tm.getMeid()), telephonyManager.getMeid()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 55 (tm) -> tm.getSubscriberId()), telephonyManager.getSubscriberId()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 59 (tm) -> tm.getSimSerialNumber()), in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | DeviceIdentifiersTest.java | 46 (tm) -> tm.getDeviceId()), telephonyManager.getDeviceId()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 49 (tm) -> tm.getImei()), telephonyManager.getImei()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 52 (tm) -> tm.getMeid()), telephonyManager.getMeid()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 55 (tm) -> tm.getSubscriberId()), telephonyManager.getSubscriberId()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 59 (tm) -> tm.getSimSerialNumber()), in testDeviceOwnerCanGetDeviceIdentifiersWithPermission()
|
/cts/suite/audio_quality/lib/src/ |
D | FileUtil.cpp | 48 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/ |
D | ConscryptIntermediateVerificationTest.java | 70 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()
|
D | CertBlacklistTest.java | 112 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()
|
D | X509CertChainBuildingTest.java | 179 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/net/src/android/net/http/cts/ |
D | X509TrustManagerExtensionsTest.java | 48 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/ |
D | PhoneNumberTest.java | 65 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in testGetLine1Number() local 70 tm.getLine1Number(); in testGetLine1Number() 76 tm.getLine1Number(); in testGetLine1Number()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | get_element_at_x.rs | 7 const uint32_t * tm = rsGetElementAt (gIn, x); 8 *out = *tm;
|
D | get_element_at_x_y.rs | 7 const uint32_t * tm = rsGetElementAt (gIn, x, y); 8 *out = *tm;
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | CaCertManagementTest.java | 154 X509TrustManager tm = getFirstX509TrustManager(tmf); in isCaCertInstalledAndTrusted() local 155 boolean trusted = Arrays.asList(tm.getAcceptedIssuers()).contains(caCert); in isCaCertInstalledAndTrusted() 164 trusted = Arrays.asList(tm.getAcceptedIssuers()).contains(caCert); in isCaCertInstalledAndTrusted() 172 X509TrustManagerExtensions xtm = new X509TrustManagerExtensions(tm); in isCaCertInstalledAndTrusted()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/ |
D | ResourceSourceTest.java | 90 for (TrustManager tm : tmf.getTrustManagers()) { in getTrustedCertificates() 91 if (tm instanceof X509TrustManager) { in getTrustedCertificates() 92 X509Certificate[] trustedCerts = ((X509TrustManager) tm).getAcceptedIssuers(); in getTrustedCertificates()
|
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | TestUtils.java | 73 for (TrustManager tm : tmf.getTrustManagers()) { in getDefaultTrustManager() 74 if (tm instanceof X509TrustManager) { in getDefaultTrustManager() 75 return (X509TrustManager) tm; in getDefaultTrustManager()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 121 TelephonyManager tm = (TelephonyManager) getContext().getSystemService( in onStart() local 124 String network = tm.getNetworkOperatorName(); in onStart() 127 String imei = ShellIdentityUtils.invokeMethodWithShellPermissions(tm, in onStart() 132 String imsi = ShellIdentityUtils.invokeMethodWithShellPermissions(tm, in onStart() 137 String phoneNumber = tm.getLine1Number(); in onStart()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ExtendedInCallServiceTest.java | 566 final TelecomManager tm = in testOnBringToForeground() local 569 tm.showInCallScreen(false); in testOnBringToForeground() 575 tm.showInCallScreen(true); in testOnBringToForeground() 637 … TelephonyManager tm = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); in testOnCannedTextResponsesLoaded() local 638 if (tm != null && !tm.isSmsCapable()) { in testOnCannedTextResponsesLoaded()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | GTestApiReport.java | 96 for (TestModule tm : apiReport.mTestModules) { in main() 97 tm.getDynSymArr(); in main()
|
D | ApkNdkApiReport.java | 98 for (TestModule tm : apiReport.mTestModules) { in main() 99 tm.getDynSymArr(); in main()
|
D | CtsApiCoverage.java | 302 for (TestModule tm : testModules) { in addNdkSymArrToApiCoverage() 303 final String moduleName = tm.getModuleName(); in addNdkSymArrToApiCoverage() 304 final ReadElf.Symbol[] symArr = tm.getDynSymArr(); in addNdkSymArrToApiCoverage()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 275 mSubscriptionManager, (tm) -> tm.getActiveSubscriptionInfoCount()); in testUpdateAvailableNetworksWithCarrierPrivilege() 419 TelephonyManager tm = in testSubscriptionInfoListing() local 422 tm.hasCarrierPrivileges()); in testSubscriptionInfoListing()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 340 TelephonyManager tm = (TelephonyManager) getInstrumentation().getContext() in getSubscriberId() local 342 return ShellIdentityUtils.invokeMethodWithShellPermissions(tm, in getSubscriberId()
|