Home
last modified time | relevance | path

Searched refs:phone (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java102 import com.android.phone.FrameworksUtils;
103 import com.android.phone.MMIDialogActivity;
104 import com.android.phone.PhoneUtils;
105 import com.android.phone.R;
106 import com.android.phone.callcomposer.CallComposerPictureManager;
107 import com.android.phone.settings.SuppServicesUiUtil;
421 PhoneAccountHandle makePstnPhoneAccountHandle(Phone phone); in makePstnPhoneAccountHandle() argument
422 PhoneAccountHandle makePstnPhoneAccountHandleWithPrefix(Phone phone, String prefix, in makePstnPhoneAccountHandleWithPrefix() argument
433 public PhoneAccountHandle makePstnPhoneAccountHandle(Phone phone) {
434 return PhoneUtils.makePstnPhoneAccountHandle(phone);
[all …]
DConferenceParticipantConnection.java32 import com.android.phone.PhoneGlobals;
81 Phone phone = parentConnection.getCall().getPhone(); in ConferenceParticipantConnection() local
82 String countryIso = getCountryIso(phone); in ConferenceParticipantConnection()
86 && isNeedParticipantPhoneNumberToNationalFormatForJp(phone, address)) { in ConferenceParticipantConnection()
196 private String getCountryIso(Phone phone) { in getCountryIso() argument
197 if (phone == null) { in getCountryIso()
201 int subId = phone.getSubId(); in getCountryIso()
220 private boolean isNeedParticipantPhoneNumberToNationalFormatForJp(Phone phone, Uri uri) { in isNeedParticipantPhoneNumberToNationalFormatForJp() argument
221 if (phone == null || uri == null) { in isNeedParticipantPhoneNumberToNationalFormatForJp()
225 phone.getSubId()); in isNeedParticipantPhoneNumberToNationalFormatForJp()
DTelephonyConnection.java92 import com.android.phone.ImsUtil;
93 import com.android.phone.PhoneGlobals;
94 import com.android.phone.PhoneUtils;
95 import com.android.phone.R;
96 import com.android.phone.callcomposer.CallComposerPictureManager;
97 import com.android.phone.callcomposer.CallComposerPictureTransfer;
209 Phone phone = getPhone();
211 + (phone != null ? Integer.toString(phone.getPhoneId())
1322 Phone phone = mOriginalConnection.getCall().getPhone(); in performHold() local
1324 Call ringingCall = phone.getRingingCall(); in performHold()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DSuppServicesUiUtil.java17 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/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java17 package com.android.phone;
251 import com.android.phone.callcomposer.CallComposerPictureManager;
252 import com.android.phone.callcomposer.CallComposerPictureTransfer;
253 import com.android.phone.callcomposer.ImageData;
254 import com.android.phone.satellite.accesscontrol.SatelliteAccessController;
255 import com.android.phone.satellite.entitlement.SatelliteEntitlementController;
256 import com.android.phone.settings.PickSmsSubscriptionActivity;
257 import com.android.phone.slice.SlicePurchaseController;
258 import com.android.phone.utils.CarrierAllowListInfo;
259 import com.android.phone.vvm.PhoneAccountHandleConverter;
[all …]
DPhoneUtils.java17 package com.android.phone;
62 import com.android.phone.settings.SuppServicesUiUtil;
151 public static int placeOtaspCall(Context context, Phone phone, String number) { in placeOtaspCall() argument
172 connection = app.mCM.dial(phone, numberToDial, VideoProfile.STATE_AUDIO_ONLY); in placeOtaspCall()
185 int phoneType = phone.getPhoneType(); in placeOtaspCall()
305 static void displayMMIComplete(final Phone phone, Context context, final MmiCode mmiCode, in displayMMIComplete() argument
326 if (SubscriptionManager.isValidSubscriptionId(phone.getSubId())) { in displayMMIComplete()
328 phone.getSubId()); in displayMMIComplete()
334 text = SuppServicesUiUtil.handleCallerIdUssdResponse(app, context, phone, in displayMMIComplete()
387 createUssdDialog(app, context, text, phone, in displayMMIComplete()
[all …]
DCdmaVoicePrivacySwitchPreference.java17 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()
DNumberVerificationManager.java17 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()
DPhoneGlobals.java17 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
[all …]
DSpecialCharSequenceMgr.java17 package com.android.phone;
161 final Phone phone = PhoneGlobals.getPhone(); in handleSecretCode() local
162 phone.sendDialerSpecialCode(input.substring(4, len - 4)); in handleSecretCode()
245 Phone phone; in handlePinEntry() local
254 phone = PhoneGlobals.getPhone(subId); in handlePinEntry()
257 phone = PhoneGlobals.getPhone(); in handlePinEntry()
259 boolean isMMIHandled = phone.handlePinMmi(input); in handlePinEntry()
297 Phone phone = PhoneGlobals.getPhone(); in showDeviceIdPanel() local
298 int labelId = TelephonyCapabilities.getDeviceIdLabel(phone); in showDeviceIdPanel()
299 String deviceId = phone.getDeviceId(); in showDeviceIdPanel()
DCallWaitingSwitchPreference.java1 package com.android.phone;
3 import static com.android.phone.TimeConsumingPreferenceActivity.EXCEPTION_ERROR;
4 import static com.android.phone.TimeConsumingPreferenceActivity.FDN_CHECK_FAILURE;
5 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR;
54 TimeConsumingPreferenceListener listener, boolean skipReading, Phone phone) { in init() argument
55 mPhone = phone; in init()
59 TelephonyManager.class).createForSubscriptionId(phone.getSubId()); in init()
62 PersistableBundle bundle = configManager.getConfigForSubId(phone.getSubId()); in init()
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DDynamicRoutingController.java39 import com.android.phone.R;
99 Phone phone = mPhoneFactoryProxy.getPhone(phoneId); in getLastKnownCountryIso() local
100 if (phone == null) return ""; in getLastKnownCountryIso()
102 ServiceStateTracker sst = phone.getServiceStateTracker(); in getLastKnownCountryIso()
204 public boolean isDynamicRoutingEnabled(Phone phone) { in isDynamicRoutingEnabled() argument
206 if (phone == null) return false; in isDynamicRoutingEnabled()
207 String iso = mNetworkCountries.get(Integer.valueOf(phone.getPhoneId())); in isDynamicRoutingEnabled()
208 Log.i(TAG, "isDynamicRoutingEnabled phoneId=" + phone.getPhoneId() + ", iso=" + iso in isDynamicRoutingEnabled()
226 public int getEmergencyCallRouting(Phone phone, String number, in getEmergencyCallRouting() argument
231 boolean isDynamic = isDynamicNumber(phone, number); in getEmergencyCallRouting()
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/triangle/
Dconnection_switching_test.py29 self.phone.disconnect_bluetooth(self.headset.mac_address)
31 self.assert_headset_a2dp_connection(connected=False, device=self.phone)
32 self.assert_headset_hsp_connection(connected=False, device=self.phone)
50 self.assert_headset_a2dp_connection(connected=True, device=self.phone)
51 self.assert_headset_hsp_connection(connected=True, device=self.phone)
64 self.phone.log.info('Disable Bluetooth and wait 1 minute.')
65 self.phone.mbs.btDisable()
67 self.phone.log.info('Enable Bluetooth.')
68 self.phone.mbs.btEnable()
69 self.assert_headset_a2dp_connection(connected=True, device=self.phone)
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactDeltaTests.java69 final ContentValues phone = new ContentValues(); in getRawContact() local
70 phone.put(Data._ID, phoneId); in getRawContact()
71 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in getRawContact()
72 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); in getRawContact()
73 phone.put(Phone.TYPE, Phone.TYPE_HOME); in getRawContact()
76 before.addDataItemValues(phone); in getRawContact()
102 final ContentValues phone = new ContentValues(); in testParcelChangesInsert() local
103 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testParcelChangesInsert()
104 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testParcelChangesInsert()
105 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testParcelChangesInsert()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DOmtpMessageReceiver.java56 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/modules/Bluetooth/system/blueberry/tests/connectivity/
Dbluetooth_latency_test.py44 self.phone, self.derived_bt_device, message, False)
55 self.phone = self.android_devices[0]
56 self.phone.init_setup()
57 self.phone.sl4a_setup()
65 self.set_btsnooplogmode_full(self.phone)
71 self.metrics.add_primary_device_metrics(self.phone)
83 asserts.assert_true(self.phone.connect_with_rfcomm(self.derived_bt_device),
115 self.phone.sl4a.bluetoothSocketConnStop()
117 self.phone.factory_reset_bluetooth()
126 self.phone.get_device_info()['android_release_id']
Dbluetooth_throughput_test.py43 (self.phone.sl4a
90 self.phone.get_device_info()['android_release_id']
100 self.phone = self.android_devices[0]
106 self.phone.init_setup()
108 self.phone.sl4a_setup()
110 self.set_btsnooplogmode_full(self.phone)
116 self.metrics.add_primary_device_metrics(self.phone)
128 asserts.assert_true(self.phone.connect_with_rfcomm(self.derived_bt_device),
185 self.phone.sl4a.bluetoothSocketConnStop()
189 self.phone.factory_reset_bluetooth()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DSyncOneTask.java44 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()
DSyncTask.java43 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/services/Telephony/src/com/android/phone/vvm/
DPhoneAccountHandleConverter.java17 package com.android.phone.vvm;
25 import com.android.phone.PhoneUtils;
45 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in fromSubId() local
46 if (phone == null) { in fromSubId()
50 return PhoneUtils.makePstnPhoneAccountHandle(phone); in fromSubId()
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspSimStateReceiver.java16 package com.android.phone.otasp;
30 import com.android.phone.PhoneGlobals;
72 final Phone phone = PhoneGlobals.getPhone(); in isCarrierSupported() local
73 final Context context = phone.getContext(); in isCarrierSupported()
111 final Phone phone = PhoneGlobals.getPhone(); in registerOtaspChangedHandler() local
112 phone.registerForOtaspChange(mOtaspHandler, EVENT_OTASP_CHANGED, null); in registerOtaspChangedHandler()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimContact.java51 public SimContact(int recordNumber, String name, String phone) { in SimContact() argument
52 this(recordNumber, name, phone, null); in SimContact()
55 public SimContact(int recordNumber, String name, String phone, String[] emails) { in SimContact() argument
58 mPhone = phone == null ? "" : phone.trim(); in SimContact()
196 final String phone = source.readString();
198 return new SimContact(recordNumber, name, phone, emails);
230 public static int findByPhoneAndName(List<SimContact> contacts, String phone, String name) { in findByPhoneAndName() argument
231 return Collections.binarySearch(contacts, new SimContact(-1, name, phone, null), in findByPhoneAndName()
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql155phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, _PHO…
157phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, _PHO…
158phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, _PHO…
162phone ON (raw_contacts._id = phone.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimety…
/packages/apps/Messaging/tools/messagegen/
Dfillsms193 phone="+1$AREA_CODE$middle$last"
194 echo $phone
201 add_sql "insert into canonical_addresses (_id,address) values ($addr_id,'$phone');"
216 …,date,status,type,body,read,seen) values ($message_id, $thread_id, '$phone', '$phone', $date, -1, …
250 …nsert into addr (_id,msg_id,address,type,charset) values ($id_1, $message_id, '$phone', 137, 106);"
254 …nsert into addr (_id,msg_id,address,type,charset) values ($id_2, $message_id, '$phone', 151, 106);"
/packages/services/Telephony/src/com/android/phone/security/
DSafetySourceReceiver.java17 package com.android.phone.security;
30 import com.android.phone.PhoneGlobals;
66 Phone phone = getDefaultPhone(); in refreshSafetySources() local
69 if (phone != null) { in refreshSafetySources()
70 phone.refreshSafetySources(refreshBroadcastId); in refreshSafetySources()

12345678910>>...15