/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 176 final int phoneId = msg.arg1; in handleMessage() local 177 logWithLocalLog("mHandler: " + msg.what + " phoneId: " + phoneId); in handleMessage() 182 Phone phone = PhoneFactory.getPhone(phoneId); in handleMessage() 189 mConfigFromDefaultApp[phoneId] = null; in handleMessage() 190 mConfigFromCarrierApp[phoneId] = null; in handleMessage() 191 mServiceConnection[phoneId] = null; in handleMessage() 192 broadcastConfigChangedIntent(phoneId, false); in handleMessage() 226 restoreConfigFromXml(mPlatformCarrierConfigPackage, phoneId); in handleMessage() 232 + phoneId); in handleMessage() 233 mConfigFromDefaultApp[phoneId] = config; in handleMessage() [all …]
|
D | ImsUtil.java | 61 public static boolean isWfcEnabled(Context context, int phoneId) { in isWfcEnabled() argument 62 ImsManager imsManager = ImsManager.getInstance(context, phoneId); in isWfcEnabled() 66 + " phoneId=" + phoneId); in isWfcEnabled() 68 + " phoneId=" + phoneId); in isWfcEnabled() 84 public static boolean isWfcModeWifiOnly(Context context, int phoneId) { in isWfcModeWifiOnly() argument 85 ImsManager imsManager = ImsManager.getInstance(context, phoneId); in isWfcModeWifiOnly() 89 + " phoneId=" + phoneId); in isWfcModeWifiOnly() 90 return isWfcEnabled(context, phoneId) && isWifiOnlyMode; in isWfcModeWifiOnly() 113 public static boolean shouldPromoteWfc(Context context, int phoneId) { in shouldPromoteWfc() argument 116 if (cfgManager == null || !cfgManager.getConfigForSubId(getSubId(phoneId)) in shouldPromoteWfc() [all …]
|
D | PhoneGlobals.java | 604 int phoneId = intent.getIntExtra(PhoneConstants.PHONE_KEY, in onReceive() local 606 if (SubscriptionManager.isValidPhoneId(phoneId)) { in onReceive() 607 PhoneUtils.unregisterIccStatus(mHandler, phoneId); in onReceive() 608 PhoneUtils.registerIccStatus(mHandler, EVENT_SIM_NETWORK_LOCKED, phoneId); in onReceive() 625 int phoneId = intent.getIntExtra(PhoneConstants.PHONE_KEY, 0); in onReceive() local 626 phoneInEcm = PhoneFactory.getPhone(phoneId); in onReceive() 627 Log.d(LOG_TAG, "Emergency Callback Mode. phoneId:" + phoneId); in onReceive()
|
D | PhoneUtils.java | 1236 public static PhoneAccountHandle makePstnPhoneAccountHandle(int phoneId) { in makePstnPhoneAccountHandle() argument 1237 return makePstnPhoneAccountHandle(PhoneFactory.getPhone(phoneId)); in makePstnPhoneAccountHandle() 1327 static final void registerIccStatus(Handler handler, int event, int phoneId) { in registerIccStatus() argument 1329 IccCard sim = phones[phoneId].getIccCard(); in registerIccStatus() 1332 Log.v(LOG_TAG, "register for ICC status, phone " + phones[phoneId].getPhoneId()); in registerIccStatus() 1334 sim.registerForNetworkLocked(handler, event, phones[phoneId]); in registerIccStatus() 1341 static final void unregisterIccStatus(Handler handler, int phoneId) { in unregisterIccStatus() argument 1343 IccCard sim = phones[phoneId].getIccCard(); in unregisterIccStatus() 1346 Log.v(LOG_TAG, "unregister for ICC status, phone " + phones[phoneId].getPhoneId()); in unregisterIccStatus()
|
D | PhoneInterfaceManager.java | 1128 int phoneId = request.phone.getPhoneId(); in handleMessage() local 1131 mPhoneConfigurationManager.addToPhoneStatusCache(phoneId, msg.arg1 == 1); in handleMessage() 1731 private void shutdownRadioUsingPhoneId(int phoneId) { in shutdownRadioUsingPhoneId() argument 1732 Phone phone = PhoneFactory.getPhone(phoneId); in shutdownRadioUsingPhoneId() 1944 public String getNetworkCountryIsoForPhone(int phoneId) { in getNetworkCountryIsoForPhone() argument 1949 if (phoneId == SubscriptionManager.INVALID_PHONE_INDEX) { in getNetworkCountryIsoForPhone() 1951 phoneId = SubscriptionManager.DEFAULT_PHONE_INDEX; in getNetworkCountryIsoForPhone() 1953 final int subId = mSubscriptionController.getSubIdUsingPhoneId(phoneId); in getNetworkCountryIsoForPhone() 1960 Phone phone = PhoneFactory.getPhone(phoneId); in getNetworkCountryIsoForPhone() 3717 int phoneId = UiccController.getInstance().getPhoneIdFromSlotId(slotIndex); in getPhoneFromSlotIdOrThrowException() local [all …]
|
D | NotificationMgr.java | 657 int phoneId = SubscriptionManager.getPhoneId(subId); in updateNetworkSelection() local 658 Phone phone = SubscriptionManager.isValidPhoneId(phoneId) ? in updateNetworkSelection() 659 PhoneFactory.getPhone(phoneId) : PhoneFactory.getDefaultPhone(); in updateNetworkSelection()
|
D | INetworkQueryService.aidl | 41 …void startNetworkQuery(in INetworkQueryServiceCallback cb, in int phoneId, boolean isIncrementalRe… in startNetworkQuery() argument
|
D | MobileNetworkSettings.java | 175 final int phoneId = SubscriptionManager.getSlotIndex(subId); in isWifiCallingEnabled() local 185 ImsManager imsMgr = ImsManager.getInstance(context, phoneId); in isWifiCallingEnabled() 254 int phoneId = SubscriptionManager.getPhoneId(subInfo.getSubscriptionId()); in hideEnhanced4gLteSettings() local 255 ImsManager imsManager = ImsManager.getInstance(context, phoneId); in hideEnhanced4gLteSettings()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | DisconnectCauseUtil.java | 80 String reason, int phoneId) { in toTelecomDisconnectCause() argument 82 reason, phoneId); in toTelecomDisconnectCause() 97 int phoneId) { in toTelecomDisconnectCause() argument 103 toTelecomDisconnectCauseDescription(context, telephonyDisconnectCause, phoneId), in toTelecomDisconnectCause() 104 toTelecomDisconnectReason(context,telephonyDisconnectCause, reason, phoneId), in toTelecomDisconnectCause() 553 Context context, int telephonyDisconnectCause, int phoneId) { in toTelecomDisconnectCauseDescription() argument 638 if (ImsUtil.shouldPromoteWfc(context, phoneId)) { in toTelecomDisconnectCauseDescription() 640 } else if (ImsUtil.isWfcModeWifiOnly(context, phoneId)) { in toTelecomDisconnectCauseDescription() 642 } else if (ImsUtil.isWfcEnabled(context, phoneId)) { in toTelecomDisconnectCauseDescription() 670 if (ImsUtil.shouldPromoteWfc(context, phoneId)) { in toTelecomDisconnectCauseDescription() [all …]
|
D | TelephonyConnectionService.java | 1192 int phoneId = (c.getPhone() == null) ? -1 : c.getPhone().getPhoneId(); in retryOutgoingOriginalConnection() local 1202 if (phoneId != newPhoneToUse.getPhoneId()) updatePhoneAccount(c, newPhoneToUse); in retryOutgoingOriginalConnection() 1359 int phoneId = mSubscriptionManagerProxy.getPhoneId(subId); in getPhoneForAccount() local 1360 chosenPhone = mPhoneFactoryProxy.getPhone(phoneId); in getPhoneForAccount() 1530 int phoneId = mSubscriptionManagerProxy.getDefaultVoicePhoneId(); in getFirstPhoneForEmergencyCall() local 1531 if (phoneId != SubscriptionManager.INVALID_PHONE_INDEX) { in getFirstPhoneForEmergencyCall() 1532 Phone defaultPhone = mPhoneFactoryProxy.getPhone(phoneId); in getFirstPhoneForEmergencyCall()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/ |
D | SimSettings.java | 242 private PhoneStateListener getPhoneStateListener(int phoneId) { in getPhoneStateListener() argument 247 final int i = phoneId; in getPhoneStateListener() 248 mPhoneStateListener[phoneId] = new PhoneStateListener() { in getPhoneStateListener() 256 return mPhoneStateListener[phoneId]; in getPhoneStateListener()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSettings.java | 242 private PhoneStateListener getPhoneStateListener(int phoneId) { in getPhoneStateListener() argument 247 final int i = phoneId; in getPhoneStateListener() 248 mPhoneStateListener[phoneId] = new PhoneStateListener() { in getPhoneStateListener() 256 return mPhoneStateListener[phoneId]; in getPhoneStateListener()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactDeltaListTests.java | 140 static ContentValues buildPhone(long phoneId) { in buildPhone() argument 141 return buildPhone(phoneId, Long.toString(phoneId)); in buildPhone() 144 static ContentValues buildPhone(long phoneId, String value) { in buildPhone() argument 146 values.put(Data._ID, phoneId); in buildPhone()
|
D | RawContactDeltaTests.java | 62 public static RawContact getRawContact(Context context, long contactId, long phoneId) { in getRawContact() argument 69 phone.put(Data._ID, phoneId); in getRawContact()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | Cp2Contact.java | 28 public abstract long phoneId(); in phoneId() method in Cp2Contact 115 row[Projections.ID] = phoneId(); in toCursorRow()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 593 int phoneId = SubscriptionManager.getPhoneId(subId); in enableModem() local 594 if (mSubscriptionBoundTelephonyManager.isModemEnabledForSlot(phoneId) == enable) { in enableModem() 599 return mSubscriptionBoundTelephonyManager.enableModemForSlot(phoneId, enable); in enableModem()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | MobileNetworkUtils.java | 98 public static boolean isWifiCallingEnabled(Context context, int phoneId) { in isWifiCallingEnabled() argument 109 ImsManager imsMgr = ImsManager.getInstance(context, phoneId); in isWifiCallingEnabled()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtils.java | 117 final int phoneId = SubscriptionManager.getSlotIndex(subId); in isWifiCallingEnabled() local 126 ImsManager imsMgr = ImsManager.getInstance(context, phoneId); in isWifiCallingEnabled()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PhoneNumberListAdapter.java | 357 final long phoneId = cursor.getLong(PhoneQuery.PHONE_ID); in getDataUri() local 358 return ContentUris.withAppendedId(Data.CONTENT_URI, phoneId); in getDataUri()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 813 private Phone makeTestPhone(int phoneId, int serviceState, boolean isEmergencyOnly) { in makeTestPhone() argument 819 when(phone.getPhoneId()).thenReturn(phoneId); in makeTestPhone()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 1325 long phoneId = ContentUris.parseId(uri); in testPhonesQuery() local 1330 values.put(Data._ID, phoneId); in testPhonesQuery() 1344 assertStoredValues(ContentUris.withAppendedId(Phone.CONTENT_URI, phoneId), values); in testPhonesQuery()
|