Home
last modified time | relevance | path

Searched refs:getImei (Results 1 – 19 of 19) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/telephony/
DTelephony.kt40 fun getImei(): String? { in getImei() method
42 return telephonyManager.getImei() in getImei()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDeviceIdentifiersTest.java56 TelephonyManager::getImei), telephonyManager.getImei()); in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
DKeyManagementTest.java294 assertThat(teeAttestation.getImei()).isEqualTo(expectedImei); in validateDeviceIdAttestationData()
467 imei = telephonyService.getImei(0); in assertAllVariantsOfDeviceIdAttestation()
/cts/hostsidetests/appsecurity/test-apps/DeviceIdentifiers/src/android/appsecurity/cts/deviceids/
DDeviceIdentifierAppOpTest.java60 (tm) -> tm.getImei()), telephonyManager.getImei()); in testAccessToDeviceIdentifiersWithAppOp()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDeviceIdentifiersTest.java72 String deviceId = TestApis.telephony().getImei(); in getImei_withReadPrivilegedPhoneStatePermission_withReadPhoneStatePermission_returnsSameValue()
77 assertThat(testApp.telephonyManager().getImei()).isEqualTo(deviceId); in getImei_withReadPrivilegedPhoneStatePermission_withReadPhoneStatePermission_returnsSameValue()
DEnrollmentSpecificIdTest.java145 final byte[] imei = getPaddedHardwareIdentifier(telephonyService.getImei(0)).getBytes(); in calculateEsid()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDeviceIdentifiersTest.java41 assertAccessDenied(telephonyManager::getImei, mayReturnNull); in testProfileOwnerOnPersonalDeviceCannotGetDeviceIdentifiers()
/cts/tests/tests/telephony3/src/android/telephony3/cts/
DTelephonyManagerTest.java70 mTelephonyManager.getImei()); in testDeviceIdentifiersAreNotAccessible()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DDirectDelegatedCertInstallerTest.java188 assertThrows(SecurityException.class, () -> mTelephonyManager.getImei()); in validateNoAccessToIdentifier()
202 mTelephonyManager.getImei(); in validateCanAccessDeviceIdentifiers()
/cts/tests/tests/keystore/src/android/keystore/cts/
DDeviceOwnerKeyManagementTest.java201 assertThat(teeAttestation.getImei()).isEqualTo(expectedImei); in validateDeviceIdAttestationData()
458 imei = telephonyService.getImei(0); in assertAllVariantsOfDeviceIdAttestation()
459 secondImei = telephonyService.getImei(1); in assertAllVariantsOfDeviceIdAttestation()
DKeyAttestationTest.java1312 assertNull(attestation.getTeeEnforced().getImei()); in checkAttestationNoUniqueIds()
1315 assertNull(attestation.getSoftwareEnforced().getImei()); in checkAttestationNoUniqueIds()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java941 (tm) -> tm.getImei()); in testTelephonyManager()
947 (tm) -> tm.getImei(mTelephonyManager.getSlotIndex())); in testTelephonyManager()
1010 mTelephonyManager.getImei(); in testTelephonyManager()
1135 (tm) -> tm.getImei()); in testTelephonyManagerWithFeatureMapping()
1141 (tm) -> tm.getImei(mTelephonyManager.getSlotIndex())); in testTelephonyManagerWithFeatureMapping()
1208 mTelephonyManager.getImei(); in testTelephonyManagerWithFeatureMapping()
2253 (tm) -> tm.getImei()); in testGetTac()
2306 (tm) -> tm.getImei()); in testGetImei()
2350 (tm) -> tm.getImei(currI)); in testGetImeiForSlot()
2358 (tm) -> tm.getImei(-1)); in testGetImeiForSlot()
[all …]
DTelephonyManagerTestOnMockModem.java1109 (tm) -> tm.getImei(0)); in onImeiMappingChanged()
1121 (tm) -> tm.getImei(1)); in onImeiMappingChanged()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DIRadioModemImpl.java231 public void getImei(int serial) { in getImei() method in IRadioModemImpl
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java525 mTelephonyManager.getImei(); in testTelephonyApisAreAccessible()
562 mTelephonyManager.getImei(); in testTelephonyApisAreAccessibleWithFeatureMapping()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java739 public String getImei() { in getImei() method in AuthorizationList
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DSipDelegateManagerTest.java1202 assertEquals("testImei", c.getImei()); in testParcelUnparcelConfiguration()
1264 assertEquals("testImei", configInc.getImei()); in testCopyConfiguration()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt17125 method @Nullable public String getImei();
Dcurrent.txt46042 …thod @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public String getImei();
46043 …d @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public String getImei(int);