Home
last modified time | relevance | path

Searched refs:Phone (Results 1 – 25 of 152) sorted by relevance

1234567

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneNotifier.java36 void notifyPhoneState(Phone sender); in notifyPhoneState()
38 void notifyServiceState(Phone sender); in notifyServiceState()
41 void notifyCellLocation(Phone sender, CellLocation cl); in notifyCellLocation()
44 void notifySignalStrength(Phone sender); in notifySignalStrength()
47 void notifyMessageWaitingChanged(Phone sender); in notifyMessageWaitingChanged()
49 void notifyCallForwardingChanged(Phone sender); in notifyCallForwardingChanged()
51 void notifyDataConnection(Phone sender, String apnType, PhoneConstants.DataState state); in notifyDataConnection()
53 void notifyDataConnectionFailed(Phone sender, String apnType); in notifyDataConnectionFailed()
55 void notifyDataActivity(Phone sender); in notifyDataActivity()
57 void notifyOtaspChanged(Phone sender, int otaspMode); in notifyOtaspChanged()
[all …]
DDefaultPhoneNotifier.java58 public void notifyPhoneState(Phone sender) { in notifyPhoneState()
78 public void notifyServiceState(Phone sender) { in notifyServiceState()
99 public void notifySignalStrength(Phone sender) { in notifySignalStrength()
118 public void notifyMessageWaitingChanged(Phone sender) { in notifyMessageWaitingChanged()
133 public void notifyCallForwardingChanged(Phone sender) { in notifyCallForwardingChanged()
149 public void notifyDataActivity(Phone sender) { in notifyDataActivity()
162 public void notifyDataConnection(Phone sender, String apnType, in notifyDataConnection()
167 private void doNotifyDataConnection(Phone sender, String apnType, in doNotifyDataConnection()
207 public void notifyDataConnectionFailed(Phone sender, String apnType) { in notifyDataConnectionFailed()
219 public void notifyCellLocation(Phone sender, CellLocation cl) { in notifyCellLocation()
[all …]
DTelephonyCapabilities.java22 import com.android.internal.telephony.Phone;
48 public static boolean supportsEcm(Phone phone) { in supportsEcm()
72 public static boolean supportsOtasp(Phone phone) { in supportsOtasp()
81 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount()
93 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection()
105 public static int getDeviceIdLabel(Phone phone) { in getDeviceIdLabel()
127 public static boolean supportsConferenceCallManagement(Phone phone) { in supportsConferenceCallManagement()
141 public static boolean supportsHoldAndUnhold(Phone phone) { in supportsHoldAndUnhold()
161 public static boolean supportsAnswerAndHold(Phone phone) { in supportsAnswerAndHold()
DPhoneConfigurationManager.java57 private final Phone[] mPhones;
93 for (Phone phone : mPhones) { in PhoneConfigurationManager()
94 phone.mCi.registerForAvailable(mHandler, Phone.EVENT_RADIO_AVAILABLE, phone); in PhoneConfigurationManager()
97 for (Phone phone : mPhones) { in PhoneConfigurationManager()
98 phone.mCi.registerForOn(mHandler, Phone.EVENT_RADIO_ON, phone); in PhoneConfigurationManager()
129 Phone phone = null; in handleMessage()
131 case Phone.EVENT_RADIO_AVAILABLE: in handleMessage()
132 case Phone.EVENT_RADIO_ON: in handleMessage()
135 if (ar.userObj != null && ar.userObj instanceof Phone) { in handleMessage()
136 phone = (Phone) ar.userObj; in handleMessage()
[all …]
DCallManager.java94 private final ArrayList<Phone> mPhones;
113 private final HashMap<Phone, CallManagerHandler> mHandlerMap = new HashMap<>();
116 private Phone mDefaultPhone;
195 mPhones = new ArrayList<Phone>(); in CallManager()
215 private Phone getPhone(int subId) { in getPhone()
216 Phone p = null; in getPhone()
217 for (Phone phone : mPhones) { in getPhone()
237 for (Phone phone : mPhones) { in getState()
257 for (Phone phone : mPhones) { in getState()
282 for (Phone phone : mPhones) { in getServiceState()
[all …]
DTelephonyComponentFactory.java276 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) {
291 public EmergencyNumberTracker makeEmergencyNumberTracker(Phone phone, CommandsInterface ci) {
310 public SimActivationTracker makeSimActivationTracker(Phone phone) {
314 public DcTracker makeDcTracker(Phone phone, @TransportType int transportType) {
318 public CarrierSignalAgent makeCarrierSignalAgent(Phone phone) {
322 public CarrierActionAgent makeCarrierActionAgent(Phone phone) {
326 public CarrierResolver makeCarrierResolver(Phone phone) {
330 public IccPhoneBookInterfaceManager makeIccPhoneBookInterfaceManager(Phone phone) {
334 public IccSmsInterfaceManager makeIccSmsInterfaceManager(Phone phone) {
346 public EriManager makeEriManager(Phone phone, int eriFileSource) {
[all …]
DPhoneFactory.java69 static private Phone[] sPhones = null;
70 static private Phone sPhone = null;
156 sPhones = new Phone[numPhones]; in makeDefaultPhone()
185 Phone phone = null; in makeDefaultPhone()
292 public static Phone getDefaultPhone() { in getDefaultPhone()
302 public static Phone getPhone(int phoneId) { in getPhone()
303 Phone phone; in getPhone()
331 public static Phone[] getPhones() { in getPhones()
447 public static Phone makeImsPhone(PhoneNotifier phoneNotifier, Phone defaultPhone) { in makeImsPhone()
520 Phone[] phones = (Phone[])PhoneFactory.getPhones(); in dump()
[all …]
DGsmCdmaCallTracker.java386 if (Phone.DEBUG_PHONE) log("disableDataCallInEmergencyCall"); in disableDataCallInEmergencyCall()
769 Phone imsPhone = mPhone.getImsPhone(); in updatePhoneState()
783 if (Phone.DEBUG_PHONE) { in updatePhoneState()
871 if (Phone.DEBUG_PHONE) log( in handlePollCalls()
883 if (Phone.DEBUG_PHONE) { in handlePollCalls()
945 … if (Phone.DEBUG_PHONE) log("adding fgCall cn " + n + " to droppedDuringPoll"); in handlePollCalls()
953 … if (Phone.DEBUG_PHONE) log("adding rgCall cn " + n + " to droppedDuringPoll"); in handlePollCalls()
1072 if (Phone.DEBUG_PHONE) { in handlePollCalls()
1155 Phone imsPhone = mPhone.getImsPhone(); in handlePollCalls()
1218 if (Phone.DEBUG_PHONE) log("hangup: set hangupPendingMO to true"); in hangup()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardImporterTests.java25 import android.provider.ContactsContract.CommonDataKinds.Phone;
518 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary()
519 .put(Phone.NUMBER, "1") in testV21PrefToIsPrimary()
520 .put(Phone.TYPE, Phone.TYPE_HOME); in testV21PrefToIsPrimary()
521 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary()
522 .put(Phone.NUMBER, "2") in testV21PrefToIsPrimary()
523 .put(Phone.TYPE, Phone.TYPE_WORK) in testV21PrefToIsPrimary()
524 .put(Phone.IS_PRIMARY, 1); in testV21PrefToIsPrimary()
525 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary()
526 .put(Phone.NUMBER, "3") in testV21PrefToIsPrimary()
[all …]
DVCardExporterTests.java32 import android.provider.ContactsContract.CommonDataKinds.Phone;
408 mVerifier.addInputEntry().addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneBasicCommon()
409 .put(Phone.NUMBER, "1") in testPhoneBasicCommon()
410 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneBasicCommon()
434 mVerifier.addInputEntry().addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneRefrainFormatting()
435 .put(Phone.NUMBER, "1234567890(abcdefghijklmnopqrstuvwxyz)") in testPhoneRefrainFormatting()
436 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneRefrainFormatting()
448 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneVariousTypeSupport()
449 .put(Phone.NUMBER, "10") in testPhoneVariousTypeSupport()
450 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneVariousTypeSupport()
[all …]
DVCardJapanizationTests.java21 import android.provider.ContactsContract.CommonDataKinds.Phone;
365 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberCommon()
366 .put(Phone.NUMBER, "0312341234") in testJapanesePhoneNumberCommon()
367 .put(Phone.TYPE, Phone.TYPE_HOME); in testJapanesePhoneNumberCommon()
368 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberCommon()
369 .put(Phone.NUMBER, "09012341234") in testJapanesePhoneNumberCommon()
370 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberCommon()
387 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberDoCoMo()
388 .put(Phone.NUMBER, "0312341234") in testJapanesePhoneNumberDoCoMo()
389 .put(Phone.TYPE, Phone.TYPE_HOME); in testJapanesePhoneNumberDoCoMo()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestPhoneNotifier.java.broken19 import com.android.internal.telephony.Phone;
33 public void notifyPhoneState(Phone sender) {
36 public void notifyServiceState(Phone sender) {
39 public void notifyCellLocation(Phone sender) {
42 public void notifySignalStrength(Phone sender) {
45 public void notifyMessageWaitingChanged(Phone sender) {
48 public void notifyCallForwardingChanged(Phone sender) {
51 public void notifyDataConnection(Phone sender, String reason, String apnType) {
54 public void notifyDataConnection(Phone sender, String reason, String apnType,
58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) {
[all …]
DPhoneFactoryTest.java31 Phone phone = PhoneFactory.getDefaultPhone(); in testBeforeMakePhone()
37 Phone phone = PhoneFactory.getPhone(0); in testBeforeMakePhone()
43 Phone[] phone = PhoneFactory.getPhones(); in testBeforeMakePhone()
/frameworks/opt/chips/src/com/android/ex/chips/
DQueries.java23 import android.provider.ContactsContract.CommonDataKinds.Phone;
33 Phone.NUMBER, // 1
34 Phone.TYPE, // 2
35 Phone.LABEL, // 3
36 Phone.CONTACT_ID, // 4
37 Phone._ID, // 5
42 }, Phone.CONTENT_FILTER_URI, Phone.CONTENT_URI) {
46 return Phone.getTypeLabel(res, type, label);
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java19 import android.provider.ContactsContract.CommonDataKinds.Phone;
132 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_CAR, VCardConstants.PARAM_TYPE_CAR); in sKnownPhoneTypesMap_ItoS.put()
133 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CAR, Phone.TYPE_CAR); in sKnownPhoneTypeMap_StoI.put()
134 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_PAGER, VCardConstants.PARAM_TYPE_PAGER); in sKnownPhoneTypesMap_ItoS.put()
135 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_PAGER, Phone.TYPE_PAGER); in sKnownPhoneTypeMap_StoI.put()
136 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_ISDN, VCardConstants.PARAM_TYPE_ISDN); in sKnownPhoneTypesMap_ItoS.put()
137 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_ISDN, Phone.TYPE_ISDN); in sKnownPhoneTypeMap_StoI.put()
139 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_HOME, Phone.TYPE_HOME); in sKnownPhoneTypeMap_StoI.put()
140 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_WORK, Phone.TYPE_WORK); in sKnownPhoneTypeMap_StoI.put()
141 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE); in sKnownPhoneTypeMap_StoI.put()
[all …]
DVCardBuilder.java25 import android.provider.ContactsContract.CommonDataKinds.Phone;
80 public static final int DEFAULT_PHONE_TYPE = Phone.TYPE_HOME;
792 final Integer typeAsObject = contentValues.getAsInteger(Phone.TYPE); in appendPhones()
793 final String label = contentValues.getAsString(Phone.LABEL); in appendPhones()
794 final Integer isPrimaryAsInteger = contentValues.getAsInteger(Phone.IS_PRIMARY); in appendPhones()
797 String phoneNumber = contentValues.getAsString(Phone.NUMBER); in appendPhones()
816 } else if (type == Phone.TYPE_PAGER || in appendPhones()
879 appendTelLine(Phone.TYPE_HOME, "", "", false); in appendPhones()
1579 type = Phone.TYPE_OTHER; in appendTelLine()
1586 case Phone.TYPE_HOME: { in appendTelLine()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DInCallService.java216 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj), callingPackage,
372 private Phone.Listener mPhoneListener = new Phone.Listener() {
375 public void onAudioStateChanged(Phone phone, AudioState audioState) {
379 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
385 public void onBringToForeground(Phone phone, boolean showDialpad) {
391 public void onCallAdded(Phone phone, Call call) {
397 public void onCallRemoved(Phone phone, Call call) {
403 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
409 public void onSilenceRinger(Phone phone) {
415 private Phone mPhone;
[all …]
DPhone.java41 public final class Phone { class
53 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged()
61 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { } in onCallAudioStateChanged()
71 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground()
83 public void onCallAdded(Phone phone, Call call) { } in onCallAdded()
94 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved()
104 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged()
111 public void onSilenceRinger(Phone phone) { } in onSilenceRinger()
139 Phone(InCallAdapter adapter, String callingPackage, int targetSdkVersion) { in Phone() method in Phone
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCall.java25 import com.android.internal.telephony.Phone;
35 private Phone mPhone;
38 public ImsExternalCall(Phone phone, ImsExternalConnection connection) { in ImsExternalCall()
49 public Phone getPhone() { in getPhone()
DImsPhoneFactory.java19 import com.android.internal.telephony.Phone;
38 PhoneNotifier phoneNotifier, Phone defaultPhone) { in makePhone()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
Ddevice_for_product_strategy_sonification_respectful.pfw56 # Follows Phone Strategy if call
157 # SonificationRespectful Follows Phone strategy if in call
184 # SonificationRespectful Follows Phone strategy if in call
211 # SonificationRespectful Follows Phone strategy if in call
240 # SonificationRespectful Follows Phone strategy if in call
276 # SonificationRespectful Follows Phone strategy if in call
318 # SonificationRespectful Follows Phone strategy if in call
355 # SonificationRespectful Follows Phone strategy if in call
391 # SonificationRespectful Follows Phone strategy if in call (widely speaking)
421 # SonificationRespectful Follows Phone strategy if in call (widely speaking)
[all …]
Ddevice_for_product_strategy_accessibility.pfw168 # accessibility falls through Phone strategy if in call
197 # accessibility falls through Phone strategy if in call
226 # accessibility falls through Phone strategy if in call
256 # accessibility falls through Phone strategy if in call
293 # accessibility falls through Phone strategy if in call
329 # accessibility falls through Phone strategy if in call
366 # accessibility falls through Phone strategy if in call (widely speaking)
405 # accessibility falls through Phone strategy if in call (widely speaking)
436 # accessibility falls through Phone strategy if in call (widely speaking)
466 # accessibility falls through Phone strategy if in call (widely speaking)
[all …]
Ddevice_for_product_strategy_dtmf.pfw160 # DTMF falls through Phone strategy if in call
189 # DTMF falls through Phone strategy if in call
219 # DTMF falls through Phone strategy if in call
256 # DTMF falls through Phone strategy if in call
295 # DTMF falls through Phone strategy if in call
332 # DTMF falls through Phone strategy if in call (widely speaking)
371 # DTMF falls through Phone strategy if in call (widely speaking)
402 # DTMF falls through Phone strategy if in call (widely speaking)
432 # DTMF falls through Phone strategy if in call (widely speaking)
462 # DTMF falls through Phone strategy if in call (widely speaking)
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterDeactivateAll.java27 import com.android.internal.telephony.Phone;
38 private Phone mPhone;
68 DcTesterDeactivateAll(Phone phone, DcController dcc, Handler handler) { in DcTesterDeactivateAll()
DDcTesterFailBringUpAll.java28 import com.android.internal.telephony.Phone;
45 private Phone mPhone;
78 DcTesterFailBringUpAll(Phone phone, Handler handler) { in DcTesterFailBringUpAll()

1234567