Home
last modified time | relevance | path

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

12345678

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneNotifier.java44 void notifyPhoneState(Phone sender); in notifyPhoneState()
49 void notifyServiceState(Phone sender); in notifyServiceState()
57 void notifyServiceStateForSubId(Phone sender, ServiceState ss, int subId); in notifyServiceStateForSubId()
64 void notifyCellLocation(Phone sender, CellIdentity cellIdentity); in notifyCellLocation()
67 void notifySignalStrength(Phone sender); in notifySignalStrength()
70 void notifyMessageWaitingChanged(Phone sender); in notifyMessageWaitingChanged()
72 void notifyCallForwardingChanged(Phone sender); in notifyCallForwardingChanged()
75 void notifyDataConnection(Phone sender, PreciseDataConnectionState preciseState); in notifyDataConnection()
77 void notifyDataActivity(Phone sender); in notifyDataActivity()
79 void notifyCellInfo(Phone sender, List<CellInfo> cellInfo); in notifyCellInfo()
[all …]
DDefaultPhoneNotifier.java62 public void notifyPhoneState(Phone sender) { in notifyPhoneState()
75 public void notifyServiceState(Phone sender) { in notifyServiceState()
80 public void notifyServiceStateForSubId(Phone sender, ServiceState ss, int subId) { in notifyServiceStateForSubId()
93 public void notifySignalStrength(Phone sender) { in notifySignalStrength()
106 public void notifyMessageWaitingChanged(Phone sender) { in notifyMessageWaitingChanged()
114 public void notifyCallForwardingChanged(Phone sender) { in notifyCallForwardingChanged()
124 public void notifyDataActivity(Phone sender) { in notifyDataActivity()
131 public void notifyDataConnection(Phone sender, PreciseDataConnectionState preciseState) { in notifyDataConnection()
137 public void notifyCellLocation(Phone sender, CellIdentity cellIdentity) { in notifyCellLocation()
143 public void notifyCellInfo(Phone sender, List<CellInfo> cellInfo) { in notifyCellInfo()
[all …]
DTelephonyCapabilities.java48 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.java67 private Phone[] mPhones;
106 for (Phone phone : mPhones) { in PhoneConfigurationManager()
111 private void registerForRadioState(Phone phone) { in registerForRadioState()
113 phone.mCi.registerForAvailable(mHandler, Phone.EVENT_RADIO_AVAILABLE, phone); in registerForRadioState()
115 phone.mCi.registerForOn(mHandler, Phone.EVENT_RADIO_ON, phone); in registerForRadioState()
145 Phone phone = null; in handleMessage()
147 case Phone.EVENT_RADIO_AVAILABLE: in handleMessage()
148 case Phone.EVENT_RADIO_ON: in handleMessage()
151 if (ar.userObj != null && ar.userObj instanceof Phone) { in handleMessage()
152 phone = (Phone) ar.userObj; in handleMessage()
[all …]
DCallManager.java93 private final ArrayList<Phone> mPhones;
112 private final HashMap<Phone, CallManagerHandler> mHandlerMap = new HashMap<>();
115 private Phone mDefaultPhone;
194 mPhones = new ArrayList<Phone>(); in CallManager()
214 private Phone getPhone(int subId) { in getPhone()
215 Phone p = null; in getPhone()
216 for (Phone phone : mPhones) { in getPhone()
236 for (Phone phone : mPhones) { in getState()
256 for (Phone phone : mPhones) { in getState()
281 for (Phone phone : mPhones) { in getServiceState()
[all …]
DTelephonyComponentFactory.java278 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) {
293 public EmergencyNumberTracker makeEmergencyNumberTracker(Phone phone, CommandsInterface ci) {
306 public SimActivationTracker makeSimActivationTracker(Phone phone) {
310 public DcTracker makeDcTracker(Phone phone, @TransportType int transportType) {
314 public CarrierSignalAgent makeCarrierSignalAgent(Phone phone) {
318 public CarrierActionAgent makeCarrierActionAgent(Phone phone) {
322 public CarrierResolver makeCarrierResolver(Phone phone) {
326 public IccPhoneBookInterfaceManager makeIccPhoneBookInterfaceManager(Phone phone) {
330 public IccSmsInterfaceManager makeIccSmsInterfaceManager(Phone phone) {
342 public EriManager makeEriManager(Phone phone, int eriFileSource) {
[all …]
DPhoneFactory.java76 static private Phone[] sPhones = null;
77 static private Phone sPhone = null;
165 sPhones = new Phone[numPhones]; in makeDefaultPhone()
316 private static Phone createPhone(Context context, int phoneId) { in createPhone()
331 public static Phone getDefaultPhone() { in getDefaultPhone()
341 public static Phone getPhone(int phoneId) { in getPhone()
342 Phone phone; in getPhone()
370 public static Phone[] getPhones() { in getPhones()
468 public static Phone makeImsPhone(PhoneNotifier phoneNotifier, Phone defaultPhone) { in makeImsPhone()
555 Phone[] phones = (Phone[])PhoneFactory.getPhones(); in dump()
[all …]
DRadioInterfaceCapabilityController.java151 mCommandsInterface.registerForOn(this, Phone.EVENT_RADIO_ON, null); in register()
153 mCommandsInterface.registerForAvailable(this, Phone.EVENT_RADIO_AVAILABLE, null); in register()
168 case Phone.EVENT_RADIO_AVAILABLE: in handleMessage()
169 case Phone.EVENT_RADIO_ON: in handleMessage()
/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 …]
DProxyControllerTest.java42 Phone mPhone2;
66 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone, mPhone2}); in testMultiSimConfigChange()
72 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone}); in testMultiSimConfigChange()
/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 …]
/frameworks/base/telecomm/java/android/telecom/
DInCallService.java261 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj), callingPackage,
417 private Phone.Listener mPhoneListener = new Phone.Listener() {
420 public void onAudioStateChanged(Phone phone, AudioState audioState) {
424 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
430 public void onBringToForeground(Phone phone, boolean showDialpad) {
436 public void onCallAdded(Phone phone, Call call) {
442 public void onCallRemoved(Phone phone, Call call) {
448 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
454 public void onSilenceRinger(Phone phone) {
460 private Phone mPhone;
[all …]
DPhone.java40 public final class Phone { class
52 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged()
60 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { } in onCallAudioStateChanged()
70 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground()
82 public void onCallAdded(Phone phone, Call call) { } in onCallAdded()
93 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved()
103 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged()
110 public void onSilenceRinger(Phone phone) { } in onSilenceRinger()
142 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;
33 private Phone mPhone;
36 public ImsExternalCall(Phone phone, ImsExternalConnection connection) { in ImsExternalCall()
42 public Phone getPhone() { in getPhone()
DImsPhoneFactory.java21 import com.android.internal.telephony.Phone;
38 PhoneNotifier phoneNotifier, Phone defaultPhone) { in makePhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataStallRecoveryStats.java23 import com.android.internal.telephony.Phone;
39 Phone phone, boolean isRecovered, int durationMillis) { in onDataStallEvent()
58 private static @NetworkType int getRat(Phone phone) { in getRat()
66 private static boolean getIsOpportunistic(Phone phone) { in getIsOpportunistic()
DServiceStateStats.java29 import com.android.internal.telephony.Phone;
44 private final Phone mPhone;
47 public ServiceStateStats(Phone phone) { in ServiceStateStats()
129 private static ServiceState getServiceStateForPhone(Phone phone) { in getServiceStateForPhone()
138 static int getBand(Phone phone, @NetworkType int rat) { in getBand()
203 private static @NetworkType int getVoiceRat(Phone phone, ServiceState state) { in getVoiceRat()
/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 …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterDeactivateAll.java25 import com.android.internal.telephony.Phone;
38 private Phone mPhone;
68 DcTesterDeactivateAll(Phone phone, DcController dcc, Handler handler) { in DcTesterDeactivateAll()
DDcTesterFailBringUpAll.java26 import com.android.internal.telephony.Phone;
45 private Phone mPhone;
78 DcTesterFailBringUpAll(Phone phone, Handler handler) { in DcTesterFailBringUpAll()

12345678