Searched refs:getDeviceIdForPhone (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 78 assertEquals("353626073736741", mPhoneSubInfoControllerUT.getDeviceIdForPhone(0, TAG)); in testGetDeviceId() 79 assertEquals("353626073736742", mPhoneSubInfoControllerUT.getDeviceIdForPhone(1, TAG)); in testGetDeviceId() 91 mPhoneSubInfoControllerUT.getDeviceIdForPhone(0, TAG); in testGetDeviceIdWithOutPermission() 99 mPhoneSubInfoControllerUT.getDeviceIdForPhone(1, TAG); in testGetDeviceIdWithOutPermission() 111 assertNull(mPhoneSubInfoControllerUT.getDeviceIdForPhone(0, TAG)); in testGetDeviceIdWithOutPermission() 112 assertNull(mPhoneSubInfoControllerUT.getDeviceIdForPhone(1, TAG)); in testGetDeviceIdWithOutPermission() 118 assertEquals("353626073736741", mPhoneSubInfoControllerUT.getDeviceIdForPhone(0, TAG)); in testGetDeviceIdWithOutPermission() 119 assertEquals("353626073736742", mPhoneSubInfoControllerUT.getDeviceIdForPhone(1, TAG)); in testGetDeviceIdWithOutPermission()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IPhoneSubInfo.aidl | 39 String getDeviceIdForPhone(int phoneId, String callingPackage); in getDeviceIdForPhone() method
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSubInfoController.java | 61 return getDeviceIdForPhone(SubscriptionManager.getPhoneId(getDefaultSubscription()), in getDeviceId() 65 public String getDeviceIdForPhone(int phoneId, String callingPackage) { in getDeviceIdForPhone() method in PhoneSubInfoController
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 1005 return info.getDeviceIdForPhone(slotIndex, mContext.getOpPackageName()); in getDeviceId()
|