Searched refs:phone (Results 1 - 25 of 116) 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();
60 throw new IllegalStateException("Unexpected phone type: " + phoneType);
65 * Return true if the current phone supports ECM ("Emergency Callback
82 /* package */ static boolean supportsEcm(Phone phone) { argument
83 return (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA);
87 * Return true if the current phone supports Over The Air Service
104 * "if (CDMA)" checks sprinkled throughout the rest of the phone ap
109 supportsOtasp(Phone phone) argument
121 supportsVoiceMessageCount(Phone phone) argument
133 supportsNetworkSelection(Phone phone) argument
147 getDeviceIdLabel(Phone phone) argument
171 supportsConferenceCallManagement(Phone phone) argument
187 supportsHoldAndUnhold(Phone phone) argument
209 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 DConstants.java17 package com.android.phone;
20 * App-wide constants and enums for the phone app.
23 * the com.android.phone package should be defined here. (Constants that
33 * or "exceptional conditions" that can occur when making a phone
72 * The supplied CALL Intent didn't contain a valid phone number.
77 * Our initial phone number was actually an MMI sequence.
117 * where the phone disallows data connections over the cell
119 * call. If the phone is in ECM and you dial a non-emergency
H A DCdmaVoicePrivacyCheckBoxPreference.java17 package com.android.phone;
33 Phone phone; field in class:CdmaVoicePrivacyCheckBoxPreference
39 phone = PhoneApp.getPhone();
40 phone.getEnhancedVoicePrivacy(mHandler.obtainMessage(MyHandler.MESSAGE_GET_VP));
56 phone.enableEnhancedVoicePrivacy(isChecked(),
102 phone.getEnhancedVoicePrivacy(obtainMessage(MESSAGE_GET_VP));
H A DCarrierLogo.java17 package com.android.phone;
H A DSipUtil.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);
369 // rather than us having to check the phone type here and do
408 * @param phone th
411 hangupRingingAndActive(Phone phone) argument
559 placeCall(Context context, Phone phone, String number, Uri contactRef, boolean isEmergencyCall, Uri gatewayUri) argument
696 sendEmptyFlash(Phone phone) argument
919 displayMMIComplete(final Phone phone, Context context, final MmiCode mmiCode, Message dismissCallbackMessage, AlertDialog previousAlert) argument
1132 cancelMmiCode(Phone phone) argument
1846 setMuteInternal(Phone phone, boolean muted) argument
1927 handleHeadsetHook(Phone phone, KeyEvent event) argument
2017 hasDisconnectedConnections(Phone phone) argument
2347 activateSpeakerIfDocked(Phone phone) argument
2365 isPhoneInEcm(Phone phone) argument
2440 dumpCallState(Phone phone) argument
[all...]
H A DCLIRListPreference.java1 package com.android.phone;
3 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR;
22 Phone phone; field in class:CLIRListPreference
30 phone = PhoneApp.getPhone();
41 phone.setOutgoingCallerIdDisplay(findIndexOfValue(getValue()),
51 phone.getOutgoingCallerIdDisplay(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CLIR,
158 phone.getOutgoingCallerIdDisplay(obtainMessage(MESSAGE_GET_CLIR,
H A DCallWaitingCheckBoxPreference.java1 package com.android.phone;
6 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR;
23 Phone phone; field in class:CallWaitingCheckBoxPreference
29 phone = PhoneApp.getPhone();
44 phone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING,
56 phone.setCallWaiting(isChecked(),
124 phone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING,
H A DCallController.java17 package com.android.phone;
21 import com.android.phone.Constants.CallStatusCode;
22 import com.android.phone.InCallUiState.InCallScreenMode;
23 import com.android.phone.OtaUtils.CdmaOtaScreenState;
169 * (4) Here in CallController.placeCall() we read the phone number or SIP
227 Phone phone = mApp.mCM.getDefaultPhone();
228 if (TelephonyCapabilities.supportsOtasp(phone)) {
236 // phone app that we're dealing with a new connection
239 // by the PhoneUtils phone state change handler.)
270 // Notify the phone ap
[all...]
H A DInCallScreenShowActivation.java17 package com.android.phone;
29 * Invisible activity that handles the com.android.phone.PERFORM_CDMA_PROVISIONING intent.
59 Phone phone = app.getPhone();
60 if (!TelephonyCapabilities.supportsOtasp(phone)) {
H A DGsmUmtsCallOptions.java17 package com.android.phone;
H A DDataUsage.java17 package com.android.phone;
19 import com.android.phone.R;
H A DOtaStartupReceiver.java17 package com.android.phone;
38 * Handles OTA Start procedure at phone power up. At phone power up, if phone is not OTA
40 * OTA Activation screen is shown that helps user activate the phone
88 Phone phone = PhoneApp.getPhone();
89 phone.unregisterForServiceStateChanged(this);
129 Phone phone = PhoneApp.getPhone();
132 phone.registerForServiceStateChanged(mHandler, SERVICE_STATE_CHANGED, null);
136 // The following depends on the phone proces
[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/CallLogAsync.java \
12 src/com/android/phone/HapticFeedback.java
14 LOCAL_MODULE := com.android.phone.common
25 src/com/android/phone/EventLogTags.logtags \
26 src/com/android/phone/INetworkQueryService.aidl \
27 src/com/android/phone/INetworkQueryServiceCallback.aidl
/packages/apps/Phone/tests/src/com/android/phone/tests/
H A DCallDialTest.java17 package com.android.phone.tests;
36 import com.android.phone.Constants;
113 // Get a phone number or SIP address from the EditText widget
153 // Get a phone number from the EditText widget
158 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone"));
159 log("- phone: " + phone);
161 phone.call(number);
171 // Get a phone numbe
[all...]
/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/Mms/src/com/android/mms/ui/
H A DRecipientsAdapter.java162 String phone = "";
169 phone = PhoneNumberUtils.convertKeypadLettersToDigits(cons);
170 if (phone.equals(cons)) {
171 phone = "";
173 phone = phone.trim();
184 * if we decide to filter based on phone types use a selection
201 if (phone.length() > 0) {
206 result[3] = phone; // NUMBER
215 result[6] = phone; // NORMALIZED_NUMBE
[all...]
/packages/apps/Contacts/
H A DAndroid.mk9 com.android.phone.common \
/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

Completed in 286 milliseconds

12345