/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 69 import com.android.phone.MMIDialogActivity; 70 import com.android.phone.PhoneUtils; 71 import com.android.phone.R; 72 import com.android.phone.settings.SuppServicesUiUtil; 305 PhoneAccountHandle makePstnPhoneAccountHandle(Phone phone); in makePstnPhoneAccountHandle() argument 306 PhoneAccountHandle makePstnPhoneAccountHandleWithPrefix(Phone phone, String prefix, in makePstnPhoneAccountHandleWithPrefix() argument 317 public PhoneAccountHandle makePstnPhoneAccountHandle(Phone phone) { 318 return PhoneUtils.makePstnPhoneAccountHandle(phone); 322 public PhoneAccountHandle makePstnPhoneAccountHandleWithPrefix(Phone phone, String prefix, 324 return PhoneUtils.makePstnPhoneAccountHandleWithPrefix(phone, prefix, isEmergency); [all …]
|
D | TelephonyConnection.java | 69 import com.android.phone.ImsUtil; 70 import com.android.phone.PhoneGlobals; 71 import com.android.phone.PhoneUtils; 72 import com.android.phone.R; 197 Phone phone = getPhone(); 199 + (phone != null ? Integer.toString(phone.getPhoneId()) 1095 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold() local 1097 Call ringingCall = phone.getRingingCall(); in performHold() 1111 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in performHold() 1112 ImsPhone imsPhone = (ImsPhone) phone; in performHold() [all …]
|
D | RadioOnHelper.java | 87 Phone phone = PhoneFactory.getPhone(i); in triggerRadioOnAndListen() local 88 if (phone == null) { in triggerRadioOnAndListen() 93 mListeners.get(i).waitForRadioOn(phone, this, forEmergencyCall, in triggerRadioOnAndListen() 94 forEmergencyCall && phone == phoneForEmergencyCall); in triggerRadioOnAndListen() 115 for (Phone phone : PhoneFactory.getPhones()) { in powerOnRadio() 117 phone.setRadioPower(true, forEmergencyCall, phone == phoneForEmergencyCall, false); in powerOnRadio() 144 public boolean isOkToCall(Phone phone, int serviceState) { in isOkToCall() argument 145 return (mCallback == null) ? false : mCallback.isOkToCall(phone, serviceState); in isOkToCall()
|
D | RadioOnStateListener.java | 45 boolean isOkToCall(Phone phone, int serviceState); in isOkToCall() argument 70 Phone phone = (Phone) args.arg1; 75 startSequenceInternal(phone, callback, forEmergencyCall, 123 public void waitForRadioOn(Phone phone, Callback callback, in waitForRadioOn() argument 125 Log.d(this, "waitForRadioOn: Phone " + phone.getPhoneId()); in waitForRadioOn() 133 args.arg1 = phone; in waitForRadioOn() 145 private void startSequenceInternal(Phone phone, Callback callback, in startSequenceInternal() argument 147 Log.d(this, "startSequenceInternal: Phone " + phone.getPhoneId()); in startSequenceInternal() 154 mPhone = phone; in startSequenceInternal()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 17 package com.android.phone; 176 import com.android.phone.settings.PickSmsSubscriptionActivity; 177 import com.android.phone.vvm.PhoneAccountHandleConverter; 178 import com.android.phone.vvm.RemoteVvmTaskManager; 179 import com.android.phone.vvm.VisualVoicemailSettingsUtil; 180 import com.android.phone.vvm.VisualVoicemailSmsFilterConfig; 378 public Phone phone; field in PhoneInterfaceManager.MainThreadRequest 386 MainThreadRequest(Object argument, Phone phone, WorkSource workSource) { in MainThreadRequest() argument 388 if (phone != null) { in MainThreadRequest() 389 this.phone = phone; in MainThreadRequest() [all …]
|
D | PhoneUtils.java | 17 package com.android.phone; 61 import com.android.phone.settings.SuppServicesUiUtil; 150 public static int placeOtaspCall(Context context, Phone phone, String number) { in placeOtaspCall() argument 171 connection = app.mCM.dial(phone, numberToDial, VideoProfile.STATE_AUDIO_ONLY); in placeOtaspCall() 184 int phoneType = phone.getPhoneType(); in placeOtaspCall() 304 static void displayMMIComplete(final Phone phone, Context context, final MmiCode mmiCode, in displayMMIComplete() argument 325 if (SubscriptionManager.isValidSubscriptionId(phone.getSubId())) { in displayMMIComplete() 327 phone.getSubId()); in displayMMIComplete() 333 text = SuppServicesUiUtil.handleCallerIdUssdResponse(app, context, phone, in displayMMIComplete() 386 createUssdDialog(app, context, text, phone, in displayMMIComplete() [all …]
|
D | CdmaVoicePrivacySwitchPreference.java | 17 package com.android.phone; 33 Phone phone; field in CdmaVoicePrivacySwitchPreference 39 phone = PhoneGlobals.getPhone(); in CdmaVoicePrivacySwitchPreference() 40 phone.getEnhancedVoicePrivacy(mHandler.obtainMessage(MyHandler.MESSAGE_GET_VP)); in CdmaVoicePrivacySwitchPreference() 56 phone.enableEnhancedVoicePrivacy(isChecked(), in onClick() 102 phone.getEnhancedVoicePrivacy(obtainMessage(MESSAGE_GET_VP)); in handleSetVPResponse() 106 public void setPhone(Phone phone) { in setPhone() argument 107 this.phone = phone; in setPhone()
|
D | NumberVerificationManager.java | 17 package com.android.phone; 126 for (Phone phone : mPhoneListSupplier.getPhones()) { in checkNumberVerificationFeasibility() 128 if (phone.isInEmergencyCall()) { in checkNumberVerificationFeasibility() 132 if (phone.isInEcm()) { in checkNumberVerificationFeasibility() 138 if (phone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in checkNumberVerificationFeasibility() 142 if (phone.getRingingCall().getState() == Call.State.IDLE in checkNumberVerificationFeasibility() 143 && (phone.getForegroundCall().getState() == Call.State.IDLE in checkNumberVerificationFeasibility() 144 || phone.getBackgroundCall().getState() == Call.State.IDLE)) { in checkNumberVerificationFeasibility()
|
D | SpecialCharSequenceMgr.java | 17 package com.android.phone; 160 final Phone phone = PhoneGlobals.getPhone(); in handleSecretCode() local 161 phone.sendDialerSpecialCode(input.substring(4, len - 4)); in handleSecretCode() 241 Phone phone; in handlePinEntry() local 250 phone = PhoneGlobals.getPhone(subId); in handlePinEntry() 253 phone = PhoneGlobals.getPhone(); in handlePinEntry() 255 boolean isMMIHandled = phone.handlePinMmi(input); in handlePinEntry() 293 Phone phone = PhoneGlobals.getPhone(); in showDeviceIdPanel() local 294 int labelId = TelephonyCapabilities.getDeviceIdLabel(phone); in showDeviceIdPanel() 295 String deviceId = phone.getDeviceId(); in showDeviceIdPanel()
|
D | NotificationMgr.java | 17 package com.android.phone; 64 import com.android.phone.settings.VoicemailSettingsActivity; 270 Phone phone = PhoneGlobals.getPhone(subId); in updateMwi() local 275 if (phone == null) { in updateMwi() 288 resId = (phone.getPhoneId() == 0) ? R.drawable.stat_notify_voicemail_sub1 in updateMwi() 303 String vmNumber = phone.getVoiceMailNumber(); in updateMwi() 312 if ((vmNumber == null) && !phone.getIccRecordsLoaded()) { in updateMwi() 319 if (TelephonyCapabilities.supportsVoiceMessageCount(phone)) { in updateMwi() 320 vmCount = phone.getVoiceMessageCount(); in updateMwi() 326 PhoneAccountHandle phoneAccountHandle = PhoneUtils.makePstnPhoneAccountHandle(phone); in updateMwi() [all …]
|
D | PhoneGlobals.java | 17 package com.android.phone; 72 import com.android.phone.settings.SettingsConstants; 73 import com.android.phone.vvm.CarrierVvmPackageInstalledReceiver; 237 Phone phone = (Phone) ((AsyncResult) msg.obj).userObj; 239 IccNetworkDepersonalizationPanel.showDialog(phone, subType); 361 for (Phone phone : PhoneFactory.getPhones()) { in onCreate() 362 mCM.registerPhone(phone); in onCreate() 588 for (Phone phone : PhoneFactory.getPhones()) { in handleAirplaneModeChange() 589 phone.getServiceStateTracker().onAirplaneModeChanged(isAirplaneNewlyOn); in handleAirplaneModeChange() 717 Phone phone = getPhone(mDefaultDataSubId); in onReceive() local [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | SuppServicesUiUtil.java | 17 package com.android.phone.settings; 32 import com.android.phone.CarrierXmlParser; 33 import com.android.phone.GsmUmtsAdditionalCallOptions; 34 import com.android.phone.GsmUmtsCallOptions; 35 import com.android.phone.PhoneGlobals; 36 import com.android.phone.PhoneUtils; 37 import com.android.phone.R; 57 public static Dialog showBlockingSuppServicesDialog(Context context, Phone phone, in showBlockingSuppServicesDialog() argument 59 if (context == null || phone == null) { in showBlockingSuppServicesDialog() 63 String message = makeMessage(context, preferenceKey, phone); in showBlockingSuppServicesDialog() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactDeltaTests.java | 68 final ContentValues phone = new ContentValues(); in getRawContact() local 69 phone.put(Data._ID, phoneId); in getRawContact() 70 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in getRawContact() 71 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); in getRawContact() 72 phone.put(Phone.TYPE, Phone.TYPE_HOME); in getRawContact() 75 before.addDataItemValues(phone); in getRawContact() 101 final ContentValues phone = new ContentValues(); in testParcelChangesInsert() local 102 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testParcelChangesInsert() 103 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testParcelChangesInsert() 104 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testParcelChangesInsert() [all …]
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnectionService.java | 168 SipPhone phone = findPhoneForProfile(sipAudioCall.getLocalProfile()); in onCreateIncomingConnection() local 169 if (phone == null) { in onCreateIncomingConnection() 170 phone = createPhoneForProfile(sipAudioCall.getLocalProfile()); in onCreateIncomingConnection() 172 if (phone != null) { in onCreateIncomingConnection() 173 com.android.internal.telephony.Connection originalConnection = phone.takeIncomingCall( in onCreateIncomingConnection() 193 SipPhone phone = findPhoneForProfile(profile); in createConnectionForProfile() local 194 if (phone == null) { in createConnectionForProfile() 195 phone = createPhoneForProfile(profile); in createConnectionForProfile() 197 if (phone != null) { in createConnectionForProfile() 198 return startCallWithPhone(phone, request); in createConnectionForProfile() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | OmtpMessageReceiver.java | 56 PhoneAccountHandle phone = sms.getPhoneAccountHandle(); in onReceive() local 58 if (phone == null) { in onReceive() 73 if (!VvmAccountManager.isAccountActivated(context, phone)) { in onReceive() 79 OmtpVvmCarrierConfigHelper helper = new OmtpVvmCarrierConfigHelper(this.context, phone); in onReceive() 84 if (!VisualVoicemailSettingsUtil.isEnabled(this.context, phone)) { in onReceive() 105 TAG, "Received SYNC sms for " + phone + " with event " + message.getSyncTriggerEvent()); in onReceive() 106 processSync(phone, message); in onReceive() 108 VvmLog.v(TAG, "Received Status sms for " + phone); in onReceive() 113 ActivationTask.start(context, phone, data); in onReceive() 123 ActivationTask.start(context, phone, data); in onReceive() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RadioInfo.java | 228 private Phone phone = null; field in RadioInfo 409 phone = PhoneFactory.getDefaultPhone(); in onCreate() 460 if (!ImsManager.isImsSupportedOnDevice(phone.getContext())) { in onCreate() 520 phone.getPreferredNetworkType( in onCreate() 580 phone.registerForPhysicalChannelConfig(mHandler, in onResume() 598 phone.unregisterForPhysicalChannelConfig(mHandler); in onPause() 642 if (ImsManager.isImsSupportedOnDevice(phone.getContext())) { in onCreateOptionsMenu() 676 dnsCheckState.setText(phone.isDnsCheckDisabled() ? in updateDnsCheckState() 981 if(phone != null) { in updateNetworkType() 982 ServiceState ss = phone.getServiceState(); in updateNetworkType() [all …]
|
/packages/apps/Car/libs/car-messenger-common/proto/ |
D | notification_msg.proto | 23 // Message to be sent from the phone SDK to the IHU SDK. 25 // The unique key of the message notification, same in phone and car. 27 // notification posted on the phone. 30 // The different types of messages to be sent from the phone SDK. 33 // connection between phone and IHU SDKs). 46 // Details about the connected phone. 56 // Message to be sent from the IHU SDK to the phone SDK. 58 // The unique key of the message notification, same in phone and car. 60 // notification posted on the phone. 93 // A message notification originating from the user's phone. [all …]
|
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
D | contacts2_1108.sql | 155 …phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, _PHO… 157 …phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, _PHO… 158 …phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, _PHO… 162 …phone ON (raw_contacts._id = phone.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimety…
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | SyncOneTask.java | 44 private PhoneAccountHandle phone; field in SyncOneTask 47 public static void start(Context context, PhoneAccountHandle phone, Voicemail voicemail) { in start() argument 48 Intent intent = BaseTask.createIntent(context, SyncOneTask.class, phone); in start() 49 intent.putExtra(EXTRA_PHONE_ACCOUNT_HANDLE, phone); in start() 62 phone = extras.getParcelable(EXTRA_PHONE_ACCOUNT_HANDLE); in onCreate() 69 service.sync(this, phone, voicemail, VoicemailStatus.edit(getContext(), phone)); in onExecuteInBackgroundThread() 76 intent.putExtra(EXTRA_PHONE_ACCOUNT_HANDLE, phone); in createRestartIntent()
|
D | SyncTask.java | 43 private PhoneAccountHandle phone; field in SyncTask 45 public static void start(Context context, PhoneAccountHandle phone) { in start() argument 46 Intent intent = BaseTask.createIntent(context, SyncTask.class, phone); in start() 47 intent.putExtra(EXTRA_PHONE_ACCOUNT_HANDLE, phone); in start() 61 phone = extras.getParcelable(EXTRA_PHONE_ACCOUNT_HANDLE); in onCreate() 67 service.sync(this, phone, null, retryPolicy.getVoicemailStatusEditor()); in onExecuteInBackgroundThread() 74 intent.putExtra(EXTRA_PHONE_ACCOUNT_HANDLE, phone); in createRestartIntent()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimContact.java | 51 public SimContact(long id, String name, String phone) { in SimContact() argument 52 this(id, name, phone, null); in SimContact() 55 public SimContact(long id, String name, String phone, String[] emails) { in SimContact() argument 58 mPhone = phone == null ? "" : phone.trim(); in SimContact() 200 final String phone = source.readString(); 202 return new SimContact(id, name, phone, emails); 234 public static int findByPhoneAndName(List<SimContact> contacts, String phone, String name) { in findByPhoneAndName() argument 235 return Collections.binarySearch(contacts, new SimContact(-1, name, phone, null), in findByPhoneAndName()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 1040 String phone = c.getString(fi.mSmsColAddress); in setRecipientName() local 1041 if (phone != null && !phone.isEmpty()) { in setRecipientName() 1042 name = getContactNameFromPhone(phone, mResolver); in setRecipientName() 1049 String phone; in setRecipientName() local 1051 phone = getAddressMms(mResolver, id, MMS_TO); in setRecipientName() 1053 phone = e.getRecipientAddressing(); in setRecipientName() 1055 if (phone != null && !phone.isEmpty()) { in setRecipientName() 1056 name = getContactNameFromPhone(phone, mResolver); in setRecipientName() 1173 String phone = c.getString(fi.mSmsColAddress); in setSenderName() local 1174 if (phone != null && !phone.isEmpty()) { in setSenderName() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ImportDialogFragment.java | 162 CharSequence phone = sim.getFormattedPhone(); in onCreateDialog() 163 if (phone == null) { in onCreateDialog() 164 phone = sim.getPhone(); in onCreateDialog() 166 if (phone != null) { in onCreateDialog() 167 phone = sBidiFormatter.unicodeWrap( in onCreateDialog() 168 PhoneNumberUtilsCompat.createTtsSpannable(phone), in onCreateDialog() 172 if (count != -1 && phone != null) { in onCreateDialog() 176 return TextUtils.expandTemplate(template, String.valueOf(count), phone); in onCreateDialog() 177 } else if (phone != null) { in onCreateDialog() 178 return phone; in onCreateDialog()
|
/packages/apps/Messaging/tools/messagegen/ |
D | fillsms | 185 phone="+1$AREA_CODE$middle$last" 186 echo $phone 193 add_sql "insert into canonical_addresses (_id,address) values ($addr_id,'$phone');" 207 …,date,status,type,body,read,seen) values ($message_id, $thread_id, '$phone', '$phone', $date, -1, … 241 …nsert into addr (_id,msg_id,address,type,charset) values ($id_1, $message_id, '$phone', 137, 106);" 245 …nsert into addr (_id,msg_id,address,type,charset) values ($id_2, $message_id, '$phone', 151, 106);"
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 888 Phone phone = c.getPhone(); in testSuppServiceNotification() local 890 doReturn(mContext).when(phone).getContext(); in testSuppServiceNotification() 896 verify(phone).registerForSuppServiceNotification(handlerCaptor.capture(), in testSuppServiceNotification() 975 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in testCreateOutgoingEmerge_exitingApm_disconnected() 976 verify(phone).setRadioPower(true, false, false, true); in testCreateOutgoingEmerge_exitingApm_disconnected() 1251 private void setupHandleToPhoneMap(PhoneAccountHandle handle, Phone phone) { in setupHandleToPhoneMap() argument 1255 when(mPhoneFactoryProxy.getPhone(0)).thenReturn(phone); in setupHandleToPhoneMap() 1266 Phone phone = mock(Phone.class); in makeTestPhone() local 1270 when(phone.getContext()).thenReturn(mContext); in makeTestPhone() 1271 when(phone.getServiceState()).thenReturn(testServiceState); in makeTestPhone() [all …]
|