Searched defs:phone (Results 1 - 25 of 93) sorted by last modified time

1234

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallManager.java111 // default phone as the first phone registered, which is PhoneBase obj
207 * @param phone a Phone object
212 private static Phone getPhoneBase(Phone phone) { argument
213 if (phone instanceof PhoneProxy) {
214 return phone.getForegroundCall().getPhone();
216 return phone;
225 * they have same phone APIs, such as dial(). The real implementation, for
231 * So for phone returned by PhoneFacotry, which is used by PhoneApp,
232 * phone
406 registerPhone(Phone phone) argument
433 unregisterPhone(Phone phone) argument
595 registerForPhoneStates(Phone phone) argument
653 unregisterForPhoneStates(Phone phone) argument
952 dial(Phone phone, String dialString, int videoState) argument
1024 dial(Phone phone, String dialString, UUSInfo uusInfo, int videoState) argument
1059 canDial(Phone phone) argument
1161 getPendingMmiCodes(Phone phone) argument
1174 sendUssdResponse(Phone phone, String ussdMessge) argument
[all...]
H A DCellBroadcastHandler.java36 private CellBroadcastHandler(Context context, PhoneBase phone) { argument
37 this("CellBroadcastHandler", context, phone);
40 protected CellBroadcastHandler(String debugTag, Context context, PhoneBase phone) { argument
41 super(debugTag, context, phone);
49 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, PhoneBase phone) { argument
50 CellBroadcastHandler handler = new CellBroadcastHandler(context, phone);
H A DIccPhoneBookInterfaceManager.java114 public IccPhoneBookInterfaceManager(PhoneBase phone) { argument
115 this.mPhone = phone;
116 IccRecords r = phone.mIccRecords.get();
198 * phone book or erase/format the whole phonebook. Currently the email field
H A DIccSmsInterfaceManager.java128 protected IccSmsInterfaceManager(PhoneBase phone) { argument
129 mPhone = phone;
130 mContext = phone.getContext();
133 mDispatcher = new ImsSMSDispatcher(phone,
134 phone.mSmsStorageMonitor, phone.mSmsUsageMonitor);
170 protected void updatePhoneObject(PhoneBase phone) { argument
171 mPhone = phone;
172 mDispatcher.updatePhoneObject(phone);
974 // Clear the calling identity and query the database using the phone use
[all...]
H A DImsSMSDispatcher.java53 public ImsSMSDispatcher(PhoneBase phone, SmsStorageMonitor storageMonitor, argument
55 super(phone, usageMonitor, null);
60 mCdmaDispatcher = new CdmaSMSDispatcher(phone, usageMonitor, this);
61 mGsmInboundSmsHandler = GsmInboundSmsHandler.makeInboundSmsHandler(phone.getContext(),
62 storageMonitor, phone);
63 mCdmaInboundSmsHandler = CdmaInboundSmsHandler.makeInboundSmsHandler(phone.getContext(),
64 storageMonitor, phone, (CdmaSMSDispatcher) mCdmaDispatcher);
65 mGsmDispatcher = new GsmSMSDispatcher(phone, usageMonitor, this, mGsmInboundSmsHandler);
66 Thread broadcastThread = new Thread(new SmsBroadcastUndelivered(phone.getContext(),
74 /* Updates the phone objec
76 updatePhoneObject(PhoneBase phone) argument
[all...]
H A DInboundSmsHandler.java143 /** Update phone object */
193 * @param context the context of the phone app
197 PhoneBase phone, CellBroadcastHandler cellBroadcastHandler) {
202 mPhone = phone;
235 * Update the phone object when it changes.
237 public void updatePhoneObject(PhoneBase phone) { argument
238 sendMessage(EVENT_UPDATE_PHONE_OBJECT, phone);
568 * Called when the phone changes the default method updates mPhone
572 * @param phone
574 protected void onUpdatePhoneObject(PhoneBase phone) { argument
196 InboundSmsHandler(String name, Context context, SmsStorageMonitor storageMonitor, PhoneBase phone, CellBroadcastHandler cellBroadcastHandler) argument
[all...]
H A DPhoneProxy.java83 public PhoneProxy(PhoneBase phone) { argument
84 mActivePhone = phone;
88 phone.getIccPhoneBookInterfaceManager());
89 mPhoneSubInfoProxy = new PhoneSubInfoProxy(phone.getPhoneSubInfo());
96 mPhoneId = phone.getPhoneId();
101 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) {
104 } else if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
213 // Nothing changed. Keep phone as it is.
221 " doesn't match either CDMA or GSM - error! No phone change");
228 // We need some voice phone objec
[all...]
H A DPhoneSubInfo.java47 public PhoneSubInfo(Phone phone) { argument
48 mPhone = phone;
49 mContext = phone.getContext();
123 * Retrieves the phone number string for line 1.
H A DPhoneSubInfoController.java38 public PhoneSubInfoController(Phone[] phone) { argument
39 mPhone = phone;
51 Phone phone = getPhone(phoneId);
52 if (phone != null) {
53 return phone.getDeviceId();
55 Rlog.e(TAG,"getDeviceIdForPhone phone " + phoneId + " is null");
H A DSMSDispatcher.java179 * @param phone the Phone to use
182 protected SMSDispatcher(PhoneBase phone, SmsUsageMonitor usageMonitor, argument
184 mPhone = phone;
186 mContext = phone.getContext();
188 mCi = phone.mCi;
223 protected void updatePhoneObject(PhoneBase phone) { argument
224 mPhone = phone;
225 mUsageMonitor = phone.mSmsUsageMonitor;
226 Rlog.d(TAG, "Active phone changed to " + mPhone.getPhoneName() );
260 * persistent manner. If the phone proces
[all...]
H A DSmsStorageMonitor.java50 /** Context from phone object passed to constructor. */
72 * @param phone the Phone to use
74 public SmsStorageMonitor(PhoneBase phone) { argument
75 mPhone = phone;
76 mContext = phone.getContext();
77 mCi = phone.mCi;
99 * Handles events coming from the phone stack. Overridden from handler.
H A DSubscriptionController.java134 public static SubscriptionController init(Phone phone) { argument
137 sInstance = new SubscriptionController(phone);
181 private SubscriptionController(Phone phone) { argument
182 mContext = phone.getContext();
857 * Set phone number by subId
858 * @param number the phone number of the SIM
1257 PhoneProxy phone = sProxyPhones[phoneId];
1258 int raf = phone.getRadioAccessFamily();
1259 int id = phone.getSubId();
1508 Phone phone
[all...]
H A DTelephonyCapabilities.java24 * Utilities that check if the phone supports specified capabilities.
34 * Return true if the current phone supports ECM ("Emergency Callback
47 public static boolean supportsEcm(Phone phone) { argument
48 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() +
49 " Ims Phone = " + phone.getImsPhone());
50 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA ||
51 phone.getImsPhone() != null);
55 * Return true if the current phone supports Over The Air Service
69 * "if (CDMA)" checks sprinkled throughout the phone app.
71 public static boolean supportsOtasp(Phone phone) { argument
80 supportsVoiceMessageCount(Phone phone) argument
92 supportsNetworkSelection(Phone phone) argument
104 getDeviceIdLabel(Phone phone) argument
126 supportsConferenceCallManagement(Phone phone) argument
140 supportsHoldAndUnhold(Phone phone) argument
160 supportsAnswerAndHold(Phone phone) argument
[all...]
H A DTelephonyTester.java37 * Telephony tester receives the following intents where {name} is the phone name
79 TelephonyTester(PhoneBase phone) { argument
80 mPhone = phone;
96 phone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone.getHandler());
H A DUiccPhoneBookController.java39 public UiccPhoneBookController(Phone[] phone) { argument
43 mPhone = phone;
134 * get phone book interface manager proxy object based on subscription.
H A DUiccSmsController.java44 protected UiccSmsController(Phone[] phone){ argument
45 mPhone = phone;
H A DWakeLockStateMachine.java64 protected WakeLockStateMachine(String debugTag, Context context, PhoneBase phone) { argument
68 mPhone = phone;
80 public void updatePhoneObject(PhoneBase phone) { argument
81 sendMessage(EVENT_UPDATE_PHONE_OBJECT, phone);
117 log("updatePhoneObject: phone=" + mPhone.getClass().getSimpleName());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCallTracker.java105 CdmaCallTracker(CDMAPhone phone) { argument
106 mPhone = phone;
107 mCi = phone.mCi;
295 Rlog.i("phone", "acceptCall: incoming...");
311 throw new CallStateException("phone not ringing");
318 // so if the phone isn't ringing, this could hang up held
322 throw new CallStateException("phone not ringing");
489 log("update phone state, old=" + oldState + " new="+ mState);
743 // 1) the phone has started to ring
H A DCdmaInboundSmsHandler.java59 PhoneBase phone, CdmaSMSDispatcher smsDispatcher) {
60 super("CdmaInboundSmsHandler", context, storageMonitor, phone,
61 CellBroadcastHandler.makeCellBroadcastHandler(context, phone));
64 phone.mCi);
65 phone.mCi.setOnNewCdmaSms(getHandler(), EVENT_NEW_SMS, null);
84 SmsStorageMonitor storageMonitor, PhoneBase phone, CdmaSMSDispatcher smsDispatcher) {
86 phone, smsDispatcher);
212 * Called when the phone changes the default method updates mPhone
216 * @param phone
219 protected void onUpdatePhoneObject(PhoneBase phone) { argument
58 CdmaInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, PhoneBase phone, CdmaSMSDispatcher smsDispatcher) argument
83 makeInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, PhoneBase phone, CdmaSMSDispatcher smsDispatcher) argument
[all...]
H A DCdmaLteServiceStateTracker.java68 public CdmaLteServiceStateTracker(CDMALTEPhone phone) { argument
69 super(phone, new CellInfoLte());
70 mCdmaLtePhone = phone;
H A DCdmaMmiCode.java108 newFromDialString(String dialString, CDMAPhone phone, UiccCardApplication app) { argument
116 ret = new CdmaMmiCode(phone,app);
145 CdmaMmiCode (CDMAPhone phone, UiccCardApplication app) { argument
146 super(phone.getHandler().getLooper());
147 mPhone = phone;
148 mContext = phone.getContext();
H A DCdmaSMSDispatcher.java51 public CdmaSMSDispatcher(PhoneBase phone, SmsUsageMonitor usageMonitor, argument
53 super(phone, usageMonitor, imsSMSDispatcher);
H A DCdmaServiceStateTracker.java167 public CdmaServiceStateTracker(CDMAPhone phone) { argument
168 this(phone, new CellInfoCdma());
171 protected CdmaServiceStateTracker(CDMAPhone phone, CellInfo cellInfo) { argument
172 super(phone, phone.mCi, cellInfo);
174 mPhone = phone;
175 mCr = phone.getContext().getContentResolver();
179 mCdmaSSM = CdmaSubscriptionSourceManager.getInstance(phone.getContext(), mCi, this,
185 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE);
194 phone
[all...]
H A DEriManager.java99 public EriManager(PhoneBase phone, Context context, int eriFileSource) { argument
H A DRuimPhoneBookInterfaceManager.java36 public RuimPhoneBookInterfaceManager(CDMAPhone phone) { argument
37 super(phone);

Completed in 156 milliseconds

1234