Searched refs:shadowTelephonyManager (Results 1 – 1 of 1) sorted by relevance
50 private ShadowTelephonyManager shadowTelephonyManager; field in ShadowTelephonyManagerTest55 shadowTelephonyManager = shadowOf(telephonyManager); in setUp()73 shadowTelephonyManager.setDeviceId(testId); in shouldGiveDeviceId()80 shadowTelephonyManager.setDeviceId(1, "device in slot 1"); in shouldGiveDeviceIdForSlot()81 shadowTelephonyManager.setDeviceId(2, "device in slot 2"); in shouldGiveDeviceIdForSlot()91 shadowTelephonyManager.setImei(testImei); in getImei()99 shadowTelephonyManager.setMeid(testMeid); in getMeid()105 shadowTelephonyManager.setNetworkOperatorName("SomeOperatorName"); in shouldGiveNetworkOperatorName()111 shadowTelephonyManager.setSimOperatorName("SomeSimOperatorName"); in shouldGiveSimOperatorName()118 shadowTelephonyManager.setReadPhoneStatePermission(false); in getSimSerialNumber_shouldThrowSecurityExceptionWhenReadPhoneStatePermissionNotGranted()[all …]