/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 491 (tm) -> tm.getSimSerialNumber()); in testTelephonyManager() 496 (tm) -> tm.getSubscriberId()); in testTelephonyManager() 503 (tm) -> tm.getDeviceId()); in testTelephonyManager() 505 (tm) -> tm.getDeviceId(mTelephonyManager.getSlotIndex())); in testTelephonyManager() 508 (tm) -> tm.getDeviceSoftwareVersion(mTelephonyManager.getSlotIndex())); in testTelephonyManager() 510 (tm) -> tm.getImei()); in testTelephonyManager() 512 (tm) -> tm.getImei(mTelephonyManager.getSlotIndex())); in testTelephonyManager() 528 (tm) -> tm.isDataConnectionAllowed()); in testTelephonyManager() 530 (tm) -> tm.isAnyRadioPoweredOn()); in testTelephonyManager() 532 (tm) -> tm.resetIms(tm.getSlotIndex())); in testTelephonyManager() [all …]
|
D | TelephonyRegistryManagerTest.java | 65 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in testNotifyCallStateChangedForAllSubscriptions() local 66 tm.listen(psl, PhoneStateListener.LISTEN_CALL_STATE); in testNotifyCallStateChangedForAllSubscriptions() 93 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in testNotifyCallStateChanged() local 94 tm = tm.createForSubscriptionId(SubscriptionManager.getDefaultSubscriptionId()); in testNotifyCallStateChanged() 95 tm.listen(psl, PhoneStateListener.LISTEN_CALL_STATE); in testNotifyCallStateChanged() 124 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in testNotifyServiceStateChanged() local 125 tm.listen(psl, PhoneStateListener.LISTEN_SERVICE_STATE); in testNotifyServiceStateChanged() 154 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in testNotifySignalStrengthChanged() local 155 tm.listen(psl, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); in testNotifySignalStrengthChanged() 183 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in testNotifyMessageWaitingChanged() local [all …]
|
D | PhoneStateListenerTest.java | 463 (tm) -> tm.listen(mListener, PhoneStateListener.LISTEN_PRECISE_CALL_STATE)); in testOnPreciseCallStateChanged() 498 (tm) -> tm.listen(mListener, in testOnCallDisconnectCauseChanged() 529 (tm) -> tm.listen(mListener, in testOnImsCallDisconnectCauseChanged() 560 (tm) -> tm.listen(mListener, in testOnPhoneStateListenerExecutorWithSrvccChanged() 593 (tm) -> tm.listen(mListener, in testOnRadioPowerStateChanged() 626 (tm) -> tm.listen(mListener, in testOnVoiceActivationStateChanged() 636 (tm) -> tm.getVoiceActivationState()); in testOnVoiceActivationStateChanged() 662 (tm) -> tm.listen(mListener, in testOnPreciseDataConnectionStateChanged() 716 (tm) -> tm.listen(mListener, in testOnDisplayInfoChanged() 976 (tm) -> tm.listen(mListener, in testOnOutgoingSmsEmergencyNumberChanged() [all …]
|
/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/tests/tests/text/src/android/text/format/cts/ |
D | NativeTimeFunctions.java | 34 private static native int mktime_tz(StructTm tm, String tzId); in mktime_tz() argument 72 StructTm tm = new StructTm(); in assertMktimeResult() local 73 tm.tm_sec = localDateTime.getSecond(); in assertMktimeResult() 74 tm.tm_min = localDateTime.getMinute(); in assertMktimeResult() 75 tm.tm_hour = localDateTime.getHour(); in assertMktimeResult() 76 tm.tm_mday = localDateTime.getDayOfMonth(); in assertMktimeResult() 77 tm.tm_mon = localDateTime.getMonthValue() - 1; in assertMktimeResult() 78 tm.tm_year = localDateTime.getYear() - 1900; in assertMktimeResult() 79 tm.tm_isdst = -1; in assertMktimeResult() 80 int actualTimeMillis = mktime_tz(tm, tzId); in assertMktimeResult()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DeviceIdentifiersTest.java | 49 (tm) -> tm.getDeviceId()), telephonyManager.getDeviceId()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 52 (tm) -> tm.getImei()), telephonyManager.getImei()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 55 (tm) -> tm.getMeid()), telephonyManager.getMeid()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 59 (tm) -> tm.getSubscriberId()), telephonyManager.getSubscriberId()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 64 (tm) -> tm.getSimSerialNumber()), in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | DeviceIdentifiersTest.java | 49 (tm) -> tm.getDeviceId()), telephonyManager.getDeviceId()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 52 (tm) -> tm.getImei()), telephonyManager.getImei()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 55 (tm) -> tm.getMeid()), telephonyManager.getMeid()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 59 (tm) -> tm.getSubscriberId()), telephonyManager.getSubscriberId()); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 64 (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/telephony/current/src/android/telephony/ims/cts/ |
D | ImsUtils.java | 97 TelephonyManager tm = in shouldRunSmsImsTests() local 100 tm = tm.createForSubscriptionId(subId); in shouldRunSmsImsTests() 101 List<String> carrierPackages = tm.getCarrierPackageNamesForIntent( in shouldRunSmsImsTests()
|
/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | CaCertManagementTest.java | 150 X509TrustManager tm = getFirstX509TrustManager(tmf); in isCaCertInstalledAndTrusted() local 151 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/renderscript/src/android/renderscript/cts/ |
D | get_element_at_x.rscript | 7 const uint32_t * tm = rsGetElementAt (gIn, x); 8 *out = *tm;
|
D | get_element_at_x_y.rscript | 7 const uint32_t * tm = rsGetElementAt (gIn, x, y); 8 *out = *tm;
|
/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 | 621 final TelecomManager tm = in testOnBringToForeground() local 624 tm.showInCallScreen(false); in testOnBringToForeground() 630 tm.showInCallScreen(true); in testOnBringToForeground() 692 … TelephonyManager tm = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); in testOnCannedTextResponsesLoaded() local 693 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()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | TelecomDefaultDialerTestActivity.java | 91 TelecomManager tm = (TelecomManager) getSystemService(TELECOM_SERVICE); in onCreate() 92 if (tm.getDefaultDialerPackage().equals(getPackageName())) { in onCreate()
|
/cts/tests/tests/text/jni/ |
D | android_text_format_cts_NativeTimeFunctions.cpp | 62 struct tm out_tm; in android_text_format_cts_NativeTimeFunctions_localtime_tz() 92 struct tm in_tm; in android_text_format_cts_NativeTimeFunctions_mktime_tz()
|