Lines Matching refs:phone
17 package com.android.phone;
85 import com.android.phone.settings.SettingsConstants;
86 import com.android.phone.vvm.CarrierVvmPackageInstalledReceiver;
317 private void handleSimLock(int subType, Phone phone) { in handleSimLock() argument
318 PersistableBundle cc = getCarrierConfigForSubId(phone.getSubId()); in handleSimLock()
333 final UiccPort uiccPort = phone.getUiccPort(); in handleSimLock()
336 "handleSimLock: uiccPort for phone " + phone.getPhoneId() + " is null"); in handleSimLock()
342 "handleSimLock: uiccProfile for phone " + phone.getPhoneId() + " is null"); in handleSimLock()
352 IccNetworkDepersonalizationPanel.showDialog(phone, subType); in handleSimLock()
355 private boolean isSimLocked(Phone phone) { in isSimLocked() argument
357 return tm.createForSubscriptionId(phone.getSubId()).getSimState() in isSimLocked()
371 Phone phone = (Phone) ((AsyncResult) msg.obj).userObj;
372 handleSimLock(subType, phone);
460 phone = getPhone(subId);
461 if (phone != null) {
462 if (isSimLocked(phone)) {
465 handleSimLock(-1, phone);
468 PhoneAppCallback callback = mTelephonyCallbacks[phone.getPhoneId()];
476 mTelephonyCallbacks[phone.getPhoneId()] = callback;
694 for (Phone phone : PhoneFactory.getPhones()) { in onCreate()
695 int subId = phone.getSubId(); in onCreate()
699 mTelephonyCallbacks[phone.getPhoneId()] = callback; in onCreate()
859 for (Phone phone : PhoneFactory.getPhones()) { in handleAirplaneModeChange()
860 phone.getServiceStateTracker().onAirplaneModeChanged(isAirplaneNewlyOn); in handleAirplaneModeChange()
1008 Phone phone = getPhone(mDefaultDataSubId); in onReceive() local
1009 if (phone != null) { in onReceive()
1046 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatus() local
1047 if (phone == null) { in updateDataRoamingStatus()
1052 ServiceState serviceState = phone.getServiceState(); in updateDataRoamingStatus()
1058 List<DataDisallowedReason> disallowReasons = phone.getDataNetworkController() in updateDataRoamingStatus()
1234 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatusForFeatureDisabled() local
1235 if (phone == null) { in updateDataRoamingStatusForFeatureDisabled()
1242 List<DataDisallowedReason> reasons = phone.getDataNetworkController() in updateDataRoamingStatusForFeatureDisabled()
1274 ? roamingOperatorNumeric : phone.getServiceState().getOperatorNumeric())) { in updateDataRoamingStatusForFeatureDisabled()
1405 Phone phone = getPhone(subId); in onNetworkSelectionChanged() local
1406 if (phone != null) { in onNetworkSelectionChanged()
1407 notificationMgr.updateNetworkSelection(phone.getServiceState().getState(), subId); in onNetworkSelectionChanged()