/packages/apps/Phone/src/com/android/phone/ |
D | PhoneUtils.java | 17 package com.android.phone; 126 Phone phone = (Phone) ar.userObj; in handleMessage() local 129 List<Connection> fgConnections = phone.getForegroundCall().getConnections(); in handleMessage() 137 List<Connection> bgConnections = phone.getBackgroundCall().getConnections(); in handleMessage() 163 if (phone.getState() != Phone.State.IDLE) { in handleMessage() 164 restoreMuteState(phone); in handleMessage() 166 setMuteInternal(phone, false); in handleMessage() 190 public static void initializeConnectionHandler(Phone phone) { in initializeConnectionHandler() argument 195 phone.registerForPreciseCallStateChanged(mConnectionHandler, PHONE_STATE_CHANGED, phone); in initializeConnectionHandler() 198 phone.getContext().bindService(intent, in initializeConnectionHandler() [all …]
|
D | PhoneApp.java | 17 package com.android.phone; 61 import com.android.phone.OtaUtils.CdmaOtaScreenState; 137 Phone phone; field in PhoneApp 288 PhoneUtils.cancelMmiCode(phone); 298 Phone.State phoneState = phone.getState(); 353 if (phone == null) { in onCreate() 358 phone = PhoneFactory.getDefaultPhone(); in onCreate() 362 phoneMgr = new PhoneInterfaceManager(this, phone); in onCreate() 364 int phoneType = phone.getPhoneType(); in onCreate() 373 mBtHandsfree = new BluetoothHandsfree(this, phone); in onCreate() [all …]
|
D | CallWaitingCheckBoxPreference.java | 1 package com.android.phone; 3 import static com.android.phone.TimeConsumingPreferenceActivity.EXCEPTION_ERROR; 4 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR; 22 Phone phone; field in CallWaitingCheckBoxPreference 28 phone = PhoneFactory.getDefaultPhone(); in CallWaitingCheckBoxPreference() 42 phone.getCallWaiting(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CALL_WAITING, in init() 54 phone.setCallWaiting(isChecked(), in onClick() 107 phone.getCallWaiting(obtainMessage(MESSAGE_GET_CALL_WAITING, in handleSetCallWaitingResponse()
|
D | CallCard.java | 17 package com.android.phone; 200 void updateState(Phone phone) { in updateState() argument 201 if (DBG) log("updateState(" + phone + ")..."); in updateState() 210 Phone.State state = phone.getState(); // IDLE, RINGING, or OFFHOOK in updateState() 214 updateRingingCall(phone); in updateState() 218 updateForegroundCall(phone); in updateState() 225 Call fgCall = phone.getForegroundCall(); in updateState() 226 Call bgCall = phone.getBackgroundCall(); in updateState() 232 updateForegroundCall(phone); in updateState() 249 updateNoCall(phone); in updateState() [all …]
|
D | EmergencyCallHandler.java | 17 package com.android.phone; 67 public Phone phone; field in EmergencyCallHandler.EmergencyCallInfo 87 eci.phone.unregisterForServiceStateChanged(this); in handleMessage() 110 Phone phone = PhoneFactory.getDefaultPhone(); in onCreate() local 115 eci.phone = phone; in onCreate() 147 phone.registerForServiceStateChanged(sHandler, in onCreate() 165 phone.setRadioPower(true); in onCreate()
|
D | CLIRListPreference.java | 1 package com.android.phone; 3 import static com.android.phone.TimeConsumingPreferenceActivity.EXCEPTION_ERROR; 4 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR; 24 Phone phone; field in CLIRListPreference 32 phone = PhoneFactory.getDefaultPhone(); in CLIRListPreference() 43 phone.setOutgoingCallerIdDisplay(findIndexOfValue(getValue()), in onDialogClosed() 53 phone.getOutgoingCallerIdDisplay(mHandler.obtainMessage(MyHandler.MESSAGE_GET_CLIR, in init() 161 phone.getOutgoingCallerIdDisplay(obtainMessage(MESSAGE_GET_CLIR, in handleSetCLIRResponse()
|
D | CdmaVoicePrivacyCheckBoxPreference.java | 1 package com.android.phone; 17 Phone phone; field in CdmaVoicePrivacyCheckBoxPreference 23 phone = PhoneFactory.getDefaultPhone(); in CdmaVoicePrivacyCheckBoxPreference() 24 phone.getEnhancedVoicePrivacy(mHandler.obtainMessage(MyHandler.MESSAGE_GET_VP)); in CdmaVoicePrivacyCheckBoxPreference() 40 phone.enableEnhancedVoicePrivacy(isChecked(), in onClick() 86 phone.getEnhancedVoicePrivacy(obtainMessage(MESSAGE_GET_VP)); in handleSetVPResponse()
|
D | CallForwardEditPreference.java | 1 package com.android.phone; 19 import static com.android.phone.TimeConsumingPreferenceActivity.EXCEPTION_ERROR; 20 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR; 32 Phone phone; field in CallForwardEditPreference 39 phone = PhoneFactory.getDefaultPhone(); in CallForwardEditPreference() 60 phone.getCallForwardingOption(reason, in init() 102 phone.setCallForwardingOption(action, in onDialogClosed() 195 phone.getCallForwardingOption(reason, in handleSetCFResponse()
|
D | InCallMenu.java | 17 package com.android.phone; 217 int phoneType = app.phone.getPhoneType(); in initMenu() 261 /* package */ boolean updateItems(Phone phone) { in updateItems() argument 267 if (phone.getState() == Phone.State.IDLE) { in updateItems() 272 final boolean hasRingingCall = !phone.getRingingCall().isIdle(); in updateItems() 273 final boolean hasActiveCall = !phone.getForegroundCall().isIdle(); in updateItems() 274 final Call.State fgCallState = phone.getForegroundCall().getState(); in updateItems() 275 final boolean hasHoldingCall = !phone.getBackgroundCall().isIdle(); in updateItems() 295 PhoneUtils.isConferenceCall(phone.getForegroundCall()); in updateItems() 324 int phoneType = phone.getPhoneType(); in updateItems()
|
D | INetworkQueryService.aidl | 17 package com.android.phone; 19 import com.android.phone.INetworkQueryServiceCallback;
|
D | FakePhoneActivity.java | 17 package com.android.phone; 57 mRadioControl = PhoneApp.getInstance().phone.getSimulatedRadioControl(); in onCreate() 60 Log.i(TAG, "- PhoneApp.getInstance().phone: " + PhoneApp.getInstance().phone); in onCreate()
|
D | InCallTouchUi.java | 17 package com.android.phone; 185 if (PhoneApp.getInstance().phone.getPhoneType() == Phone.PHONE_TYPE_CDMA) { in onFinishInflate() 209 void updateState(Phone phone) { in updateState() argument 210 if (DBG) log("updateState(" + phone + ")..."); in updateState() 217 Phone.State state = phone.getState(); // IDLE, RINGING, or OFFHOOK in updateState() 231 final Call ringingCall = phone.getRingingCall(); in updateState() 268 updateInCallControls(phone); in updateState() 320 void updateInCallControls(Phone phone) { in updateInCallControls() argument 321 int phoneType = phone.getPhoneType(); in updateInCallControls() 443 if (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA) { in updateInCallControls()
|
D | Ringer.java | 17 package com.android.phone; 65 Ringer(Phone phone) { in Ringer() argument 66 mContext = phone.getContext(); in Ringer() 77 void updateRingerContextAfterRadioTechnologyChange(Phone phone) { in updateRingerContextAfterRadioTechnologyChange() argument 79 mContext = phone.getContext(); in updateRingerContextAfterRadioTechnologyChange()
|
D | OutgoingCallBroadcaster.java | 17 package com.android.phone; 98 int phoneType = app.phone.getPhoneType(); in doReceive() 128 && ((app.phone.getState() != Phone.State.IDLE) in doReceive() 129 && (app.phone.isOtaSpNumber(number)))) { in doReceive() 289 PhoneUtils.sendEmptyFlash(PhoneApp.getInstance().phone); in onCreate()
|
D | InCallControlState.java | 17 package com.android.phone; 83 public InCallControlState(InCallScreen inCallScreen, Phone phone) { in InCallControlState() argument 86 mPhone = phone; in InCallControlState()
|
D | SpecialCharSequenceMgr.java | 17 package com.android.phone; 158 boolean isMMIHandled = app.phone.handlePinMmi(input); in handlePinEntry() 176 int phoneType = PhoneApp.getInstance().phone.getPhoneType(); in handleIMEIDisplay()
|
D | OtaUtils.java | 17 package com.android.phone; 20 import com.android.phone.OtaUtils.CdmaOtaInCallScreenUiState.State; 157 Phone phone = app.phone; in maybeDoOtaCall() local 164 if (!phone.isMinInfoReady()) { in maybeDoOtaCall() 166 phone.registerForSubscriptionInfoReady(handler, request, null); in maybeDoOtaCall() 170 phone.unregisterForSubscriptionInfoReady(handler); in maybeDoOtaCall() 171 String min = phone.getCdmaMin(); in maybeDoOtaCall() 649 if (PhoneUtils.hangup(mApplication.phone) == false) { in onClickOtaEndButton() 906 return (PhoneApp.getInstance().phone.getPhoneType() == Phone.PHONE_TYPE_CDMA); in isCdmaPhone()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | EntityDeltaTests.java | 73 final ContentValues phone = new ContentValues(); in getEntity() local 74 phone.put(Data._ID, phoneId); in getEntity() 75 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in getEntity() 76 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); in getEntity() 77 phone.put(Phone.TYPE, Phone.TYPE_HOME); in getEntity() 80 before.addSubValue(Data.CONTENT_URI, phone); in getEntity() 106 final ContentValues phone = new ContentValues(); in testParcelChangesInsert() local 107 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testParcelChangesInsert() 108 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); in testParcelChangesInsert() 109 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testParcelChangesInsert() [all …]
|
D | EntitySetTests.java | 379 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteInsert() local 380 phone.put(Phone.NUMBER, TEST_PHONE); in testMergeDataLocalUpdateRemoteInsert() 385 buildOper(Data.CONTENT_URI, TYPE_UPDATE, phone.getAfter()), in testMergeDataLocalUpdateRemoteInsert() 393 buildOper(Data.CONTENT_URI, TYPE_UPDATE, phone.getAfter()), in testMergeDataLocalUpdateRemoteInsert() 404 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalUpdateRemoteDelete() local 405 phone.put(Phone.NUMBER, TEST_PHONE); in testMergeDataLocalUpdateRemoteDelete() 410 buildOper(Data.CONTENT_URI, TYPE_UPDATE, phone.getAfter()), in testMergeDataLocalUpdateRemoteDelete() 419 buildOper(Data.CONTENT_URI, TYPE_INSERT, buildDataInsert(phone, CONTACT_BOB)), in testMergeDataLocalUpdateRemoteDelete() 430 final ValuesDelta phone = getPhone(first, CONTACT_BOB, PHONE_RED); in testMergeDataLocalDeleteRemoteUpdate() local 431 phone.markDeleted(); in testMergeDataLocalDeleteRemoteUpdate() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | RadioInfo.java | 135 private Phone phone = null; field in RadioInfo 211 phone.getPreferredNetworkType( 378 phone = PhoneFactory.getDefaultPhone(); in onCreate() 441 phone.getPreferredNetworkType( in onCreate() 443 phone.getNeighboringCids( in onCreate() 536 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in onPrepareOptionsMenu() 547 return phone.getServiceState().getState() != ServiceState.STATE_POWER_OFF; in isRadioOn() 559 PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in updateQxdmState() 577 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in setCiphPref() 584 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in getCiphPref() [all …]
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | RecipientsAdapter.java | 139 String phone = ""; in runQueryOnBackgroundThread() local 146 phone = PhoneNumberUtils.convertKeypadLettersToDigits(cons); in runQueryOnBackgroundThread() 147 if (phone.equals(cons)) { in runQueryOnBackgroundThread() 148 phone = ""; in runQueryOnBackgroundThread() 150 phone = phone.trim(); in runQueryOnBackgroundThread() 170 if (phone.length() > 0) { in runQueryOnBackgroundThread() 175 result.add(phone); // NUMBER in runQueryOnBackgroundThread()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | PhoneDisambigDialog.java | 102 String phone = phoneItem.phoneNumber; in onClick() local 112 ContactsUtils.initiateSms(mContext, phone); in onClick() 114 ContactsUtils.initiateCall(mContext, phone); in onClick() 174 String phone = phonesCursor.getString(phonesCursor.getColumnIndex(Phone.NUMBER)); in makePhoneItemsList() local 175 phoneList.add(new PhoneItem(phone, id)); in makePhoneItemsList()
|
D | SplitAggregateView.java | 121 String phone; field in SplitAggregateView.RawContactInfo 138 if (phone != null) { in getAdditionalData() 139 return phone; in getAdditionalData() 208 if (info.phone == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { in loadPhoneNumber() 209 info.phone = cursor.getString(SplitQuery.PHONE); in loadPhoneNumber()
|
D | TwelveKeyDialer.java | 1003 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); in returnToInCallScreen() local 1004 if (phone != null) phone.showCallScreenWithDialpad(showDialpad); in returnToInCallScreen() 1027 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); in phoneIsInUse() local 1028 if (phone != null) phoneInUse = !phone.isIdle(); in phoneIsInUse() 1041 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); in phoneIsCdma() local 1042 if (phone != null) { in phoneIsCdma() 1043 isCdma = (phone.getActivePhoneType() == TelephonyManager.PHONE_TYPE_CDMA); in phoneIsCdma() 1057 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); in phoneIsOffhook() local 1058 if (phone != null) phoneOffhook = phone.isOffhook(); in phoneIsOffhook()
|
/packages/apps/Phone/ |
D | Android.mk | 8 src/com/android/phone/INetworkQueryService.aidl \ 9 src/com/android/phone/INetworkQueryServiceCallback.aidl
|