Searched refs:phone (Results 1 - 25 of 110) sorted by relevance

12345

/packages/apps/Phone/src/com/android/phone/
H A DTelephonyCapabilities.java17 package com.android.phone;
27 * functions that depend upon the type of phone or the carrier. Ultimately
43 /* package */ static boolean useShortDtmfTones(Phone phone, Context context) { argument
44 int phoneType = phone.getPhoneType();
61 throw new IllegalStateException("Unexpected phone type: " + phoneType);
66 * Return true if the current phone supports ECM ("Emergency Callback
83 /* package */ static boolean supportsEcm(Phone phone) { argument
84 return (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA);
88 * Return true if the current phone supports Over The Air Service
105 * "if (CDMA)" checks sprinkled throughout the rest of the phone ap
110 supportsOtasp(Phone phone) argument
122 supportsVoiceMessageCount(Phone phone) argument
134 supportsNetworkSelection(Phone phone) argument
148 getDeviceIdLabel(Phone phone) argument
172 supportsConferenceCallManagement(Phone phone) argument
188 supportsHoldAndUnhold(Phone phone) argument
210 supportsAnswerAndHold(Phone phone) argument
[all...]
H A DINetworkQueryService.aidl17 package com.android.phone;
19 import com.android.phone.INetworkQueryServiceCallback;
H A DIccProvider.java17 package com.android.phone;
H A DINetworkQueryServiceCallback.aidl17 package com.android.phone;
H A DSipBroadcastReceiver.java17 package com.android.phone;
23 import com.android.phone.sip.SipProfileDb;
24 import com.android.phone.sip.SipSharedPreferences;
60 SipPhone phone = PhoneFactory.makeSipPhone(localSipUri);
61 if (phone != null) {
62 CallManager.getInstance().registerPhone(phone);
64 Log.d(TAG, "new phone: " + localSipUri + " #phones="
69 Log.d(TAG, "removed phone: " + localSipUri + " #phones="
81 for (Phone phone : CallManager.getInstance().getAllPhones()) {
82 if (phone
[all...]
H A DBluetoothCmeError.java17 package com.android.phone;
H A DCdmaVoicePrivacyCheckBoxPreference.java1 package com.android.phone;
17 Phone phone; field in class:CdmaVoicePrivacyCheckBoxPreference
23 phone = PhoneFactory.getDefaultPhone();
24 phone.getEnhancedVoicePrivacy(mHandler.obtainMessage(MyHandler.MESSAGE_GET_VP));
40 phone.enableEnhancedVoicePrivacy(isChecked(),
86 phone.getEnhancedVoicePrivacy(obtainMessage(MESSAGE_GET_VP));
H A DCarrierLogo.java17 package com.android.phone;
H A DSipUtil.java17 package com.android.phone;
H A DFakePhoneActivity.java17 package com.android.phone;
31 * A simple activity that presents you with a UI for faking incoming phone operations.
57 mRadioControl = PhoneApp.getInstance().phone.getSimulatedRadioControl();
60 Log.i(TAG, "- PhoneApp.getInstance().phone: " + PhoneApp.getInstance().phone);
H A DCLIRListPreference.java1 package com.android.phone;
3 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR;
23 Phone phone; field in class:CLIRListPreference
31 phone = PhoneFactory.getDefaultPhone();
42 phone.setOutgoingCallerIdDisplay(findIndexOfValue(getValue()),
52 phone.getOutgoingCallerIdDisplay(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CLIR,
159 phone.getOutgoingCallerIdDisplay(obtainMessage(MESSAGE_GET_CLIR,
H A DCallWaitingCheckBoxPreference.java1 package com.android.phone;
7 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR;
25 Phone phone; field in class:CallWaitingCheckBoxPreference
31 phone = PhoneFactory.getDefaultPhone();
46 phone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING,
58 phone.setCallWaiting(isChecked(),
117 phone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING,
H A DGsmUmtsCallOptions.java17 package com.android.phone;
H A DPhoneUtils.java17 package com.android.phone;
89 static final int AUDIO_IDLE = 0; /** audio behaviour at phone idle */
134 // (a racing condition based on which phone changes firstly)
207 * Register the ConnectionHandler with the phone, to receive connection events
246 Phone phone = ringing.getPhone();
247 boolean phoneIsCdma = (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA);
297 // Check is phone in any dock, and turn on speaker accordingly
298 activateSpeakerIfDocked(phone);
380 throw new IllegalStateException("Unexpected phone type: " + phoneType);
396 * @param phone th
399 hangupRingingAndActive(Phone phone) argument
534 placeCall(Phone phone, String number, Uri contactRef) argument
626 placeCallVia(Context context, Phone phone, String number, Uri contactRef, Uri gatewayUri) argument
698 sendEmptyFlash(Phone phone) argument
920 displayMMIComplete(final Phone phone, Context context, final MmiCode mmiCode, Message dismissCallbackMessage, AlertDialog previousAlert) argument
1133 cancelMmiCode(Phone phone) argument
1816 setMuteInternal(Phone phone, boolean muted) argument
1896 handleHeadsetHook(Phone phone, KeyEvent event) argument
1983 hasDisconnectedConnections(Phone phone) argument
2313 activateSpeakerIfDocked(Phone phone) argument
2332 isPhoneInEcm(Phone phone) argument
2443 dumpCallState(Phone phone) argument
[all...]
H A DDataUsage.java17 package com.android.phone;
19 import com.android.phone.R;
H A DEmergencyCallHandler.java17 package com.android.phone;
72 public Phone phone; field in class:EmergencyCallHandler.EmergencyCallInfo
93 eci.phone.unregisterForServiceStateChanged(this);
128 // "com.android.phone.InCallScreen.UNDEFINED" (as in bug 3094858), that
135 // setup the phone and get the retry count embedded in the intent.
136 Phone phone = PhoneFactory.getDefaultPhone();
141 eci.phone = phone;
174 phone.registerForServiceStateChanged(sHandler,
195 phone
[all...]
H A DCallForwardEditPreference.java1 package com.android.phone;
20 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR;
32 Phone phone; field in class:CallForwardEditPreference
39 phone = PhoneFactory.getDefaultPhone();
60 phone.getCallForwardingOption(reason,
109 phone.setCallForwardingOption(action,
245 phone.getCallForwardingOption(reason,
H A DPhoneApp.java17 package com.android.phone;
64 import com.android.phone.OtaUtils.CdmaOtaScreenState;
80 * Most individual classes in the phone app have a local DBG constant,
146 Phone phone; field in class:PhoneApp
183 // True if we are beginning a call, but the phone state has not changed yet
186 // Last phone state seen by updatePhoneState()
252 // TODO: Having the phone process host the SIP service is only
300 PhoneUtils.cancelMmiCode(phone);
310 // Do not change speaker state if phone is not off hook
356 // If the phone i
[all...]
/packages/apps/Phone/
H A DAndroid.mk3 # Static library with some common classes for the phone apps.
5 # LOCAL_STATIC_JAVA_LIBRARIES := com.android.phone.common
11 src/com/android/phone/ButtonGridLayout.java \
12 src/com/android/phone/CallLogAsync.java \
13 src/com/android/phone/HapticFeedback.java
15 LOCAL_MODULE := com.android.phone.common
26 src/com/android/phone/EventLogTags.logtags \
27 src/com/android/phone/INetworkQueryService.aidl \
28 src/com/android/phone/INetworkQueryServiceCallback.aidl
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DEntityDeltaTests.java73 final ContentValues phone = new ContentValues();
74 phone.put(Data._ID, phoneId);
75 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
76 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_1);
77 phone.put(Phone.TYPE, Phone.TYPE_HOME);
80 before.addSubValue(Data.CONTENT_URI, phone);
106 final ContentValues phone = new ContentValues();
107 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
108 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2);
109 phone
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastReceiver.java74 Log.d(TAG, "CDMA phone detected; doing nothing");
83 * @return true if the phone is a CDMA phone type
88 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone"));
89 if (phone != null) {
90 isCdma = (phone.getActivePhoneType() == TelephonyManager.PHONE_TYPE_CDMA);
93 Log.w(TAG, "phone.getActivePhoneType() failed", e);
/packages/apps/Contacts/
H A DAndroid.mk8 LOCAL_STATIC_JAVA_LIBRARIES := com.android.phone.common
/packages/apps/Mms/src/com/android/mms/ui/
H A DRecipientsAdapter.java155 String phone = "";
162 phone = PhoneNumberUtils.convertKeypadLettersToDigits(cons);
163 if (phone.equals(cons)) {
164 phone = "";
166 phone = phone.trim();
173 * if we decide to filter based on phone types use a selection
190 if (phone.length() > 0) {
195 result.add(phone); // NUMBER
218 * in a phone numbe
[all...]
/packages/apps/Phone/tests/src/com/android/phone/unit/
H A DCnapTest.java18 package com.android.phone;
24 import com.android.phone.PhoneUtils;
36 // TODO: This string should be loaded from the phone package and
/packages/apps/Settings/src/com/android/settings/
H A DRadioInfo.java79 private final String TAG = "phone";
136 private Phone phone = null; field in class:RadioInfo
207 phone.getPreferredNetworkType(
248 phone = PhoneFactory.getDefaultPhone();
311 phone.getPreferredNetworkType(
313 phone.getNeighboringCids(
338 Log.i(TAG, "[RadioInfo] onResume: register phone & data intents");
353 Log.i(TAG, "[RadioInfo] onPause: unregister phone & data intents");
401 return phone.getServiceState().getState() != ServiceState.STATE_POWER_OFF;
412 dnsCheckState.setText(phone
[all...]

Completed in 507 milliseconds

12345