Home
last modified time | relevance | path

Searched refs:telephonyService (Results 1 – 3 of 3) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DEnrollmentSpecificIdTest.java138 TelephonyManager telephonyService = sContext.getSystemService(TelephonyManager.class); in calculateEsid() local
139 assertThat(telephonyService).isNotNull(); in calculateEsid()
145 final byte[] imei = getPaddedHardwareIdentifier(telephonyService.getImei(0)).getBytes(); in calculateEsid()
146 final byte[] meid = getPaddedHardwareIdentifier(telephonyService.getMeid(0)).getBytes(); in calculateEsid()
/cts/tests/tests/keystore/src/android/keystore/cts/
DDeviceOwnerKeyManagementTest.java454 TelephonyManager telephonyService = sContext.getSystemService(TelephonyManager.class); in assertAllVariantsOfDeviceIdAttestation() local
456 .that(telephonyService) in assertAllVariantsOfDeviceIdAttestation()
458 imei = telephonyService.getImei(0); in assertAllVariantsOfDeviceIdAttestation()
459 secondImei = telephonyService.getImei(1); in assertAllVariantsOfDeviceIdAttestation()
462 meid = telephonyService.getMeid(0); in assertAllVariantsOfDeviceIdAttestation()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java461 TelephonyManager telephonyService = in assertAllVariantsOfDeviceIdAttestation() local
464 .that(telephonyService) in assertAllVariantsOfDeviceIdAttestation()
467 imei = telephonyService.getImei(0); in assertAllVariantsOfDeviceIdAttestation()
474 meid = telephonyService.getMeid(0); in assertAllVariantsOfDeviceIdAttestation()