Home | History | Annotate | Download | only in contacts

Lines Matching refs:PHONE

20 import com.android.phone.CallLogAsync;
21 import com.android.phone.HapticFeedback;
127 * press/depress of the "hookswitch" of a landline phone. Aka "empty flash".
129 * TODO: Using an intent extra to tell the phone to send this flash is a
132 * in Phone app until this is replaced with the ITelephony API.
135 = "com.android.phone.extra.SEND_EMPTY_FLASH";
142 * Listen for phone state changes so that we can take down the
143 * "dialpad chooser" if the phone becomes idle while the
240 // In landscape we put the keyboard in phone mode.
315 // Query the phone number
339 // Log.i(TAG, "resolveIntent(): phone is in use; showing dialpad chooser!");
446 // While we're in the foreground, listen for phone state changes,
448 // phone becomes idle while the chooser UI is visible.
468 // be visible if the phone is idle!
492 // Stop listening for phone state changes.
534 intent.putExtra(Insert.PHONE, digits);
617 // InCallScreen and the phone number entered is
820 * The tone is played locally, using the audio stream for phone calls.
832 // Also do nothing if the phone is in silent mode.
1038 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone"));
1039 if (phone != null) phone.showCallScreenWithDialpad(showDialpad);
1041 Log.w(TAG, "phone.showCallScreenWithDialpad() failed", e);
1048 // phone is idle, which can happen if the current call ends while
1056 * @return true if the phone is "in use", meaning that at least one line
1062 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone"));
1063 if (phone != null) phoneInUse = !phone.isIdle();
1065 Log.w(TAG, "phone.isIdle() failed", e);
1071 * @return true if the phone is a CDMA phone type
1076 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone"));
1077 if (phone != null) {
1078 isCdma = (phone.getActivePhoneType() == TelephonyManager.PHONE_TYPE_CDMA);
1081 Log.w(TAG, "phone.getActivePhoneType() failed", e);
1087 * @return true if the phone state is OFFHOOK
1092 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone"));
1093 if (phone != null) phoneOffhook = phone.isOffhook();
1095 Log.w(TAG, "phone.isOffhook() failed", e);
1221 * @return true if the widget with the phone number digits is empty.