Searched refs:getState (Results 1 - 25 of 81) sorted by relevance

1234

/packages/apps/Mms/src/com/android/mms/transaction/
H A DTransactionState.java55 public synchronized int getState() { method in class:TransactionState
H A DObservable.java41 abstract public TransactionState getState(); method in class:Observable
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DLocalBluetoothAdapter.java109 int getState() { method in class:LocalBluetoothAdapter
110 return mAdapter.getState();
190 int currentState = mAdapter.getState();
192 setBluetoothStateInt(mAdapter.getState());
H A DBluetoothDiscoverableTimeoutReceiver.java79 localBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) {
/packages/apps/InCallUI/src/com/android/incallui/
H A DStatusBarNotifier.java54 State getState(); method in interface:StatusBarNotifier.NotificationTimer
67 public State getState() { return mState; }
236 mNotificationTimer.getState() == NotificationTimer.State.FIRED);
243 mNotificationTimer.getState() == NotificationTimer.State.CLEAR) {
255 final boolean isIncoming = (call.getState() == Call.State.INCOMING ||
256 call.getState() == Call.State.CALL_WAITING);
302 final int state = call.getState();
454 if (call.getState() == Call.State.ONHOLD) {
466 if (call.getState() == Call.State.INCOMING || call.getState()
[all...]
H A DCallCardPresenter.java81 call.getState() == Call.State.INCOMING);
160 mPrimary.getIdentification(), mPrimary.getState() == Call.State.INCOMING);
172 mSecondary.getIdentification(), mSecondary.getState() == Call.State.INCOMING);
178 if (mPrimary != null && mPrimary.getState() == Call.State.ACTIVE) {
191 ui.setCallState(mPrimary.getState(), mPrimary.getDisconnectCause(), bluetoothOn,
203 getUi().setCallState(mPrimary.getState(), mPrimary.getDisconnectCause(), bluetoothOn,
219 if (ui == null || mPrimary == null || mPrimary.getState() != Call.State.ACTIVE) {
246 call.getState() == Call.State.INCOMING);
427 return (Call.State.isDialing(mPrimary.getState()) &&
H A DAnswerPresenter.java109 if (call.getState() != Call.State.INCOMING && call.getState() != Call.State.CALL_WAITING) {
H A DCallList.java289 if (call.getState() == state) {
310 final int state = call.getState();
350 if (call.getState() == Call.State.DISCONNECTED) {
376 Preconditions.checkState(call.getState() == Call.State.DISCONNECTED);
417 final int state = call.getState();
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DCandidateViewButton.java54 mUpState = d.getState();
/packages/apps/Settings/src/com/android/settings/drawable/
H A DDrawableWrapper.java94 public int[] getState() { method in class:DrawableWrapper
95 return mDrawable.getState();
/packages/services/Telephony/src/com/android/phone/
H A DMMIDialogActivity.java66 if (mCM.getState() == PhoneConstants.State.OFFHOOK) {
96 if (mmiCode.getState() != MmiCode.State.PENDING) {
H A DEmergencyCallHelper.java203 boolean okToCall = (state.getState() == ServiceState.STATE_IN_SERVICE)
204 || (state.getState() == ServiceState.STATE_EMERGENCY_ONLY);
266 PhoneConstants.State phoneState = mCM.getState();
267 int serviceState = mCM.getDefaultPhone().getServiceState().getState();
H A DCallNotifier.java255 if ((pb.getState() == PhoneConstants.State.RINGING)
376 log("onNewRingingConnection(): state = " + mCM.getState() + ", conn = { " + c + " }");
403 Call.State state = c.getState();
624 if (mCM.getState() != PhoneConstants.State.RINGING) {
641 PhoneConstants.State state = mCM.getState();
657 if (PhoneUtils.isRealIncomingCall(c.getState())) {
678 PhoneConstants.State state = mCM.getState();
689 if ((fgPhone.getForegroundCall().getState() == Call.State.ACTIVE)
699 mPreviousCdmaCallState = fgPhone.getForegroundCall().getState();
741 Call.State callState = fgPhone.getForegroundCall().getState();
[all...]
H A DPhoneUtils.java152 (frC.fgCall.getState() == Call.State.DISCONNECTING) &&
227 if (cm.getState() != PhoneConstants.State.IDLE) {
280 if (ringingCall.getState() == Call.State.WAITING) {
286 if (DBG) log("answerCall: call state = " + ringingCall.getState());
319 final boolean isRealIncomingCall = isRealIncomingCall(ringingCall.getState());
434 Call.State state = ringing.getState();
520 if (call.getState() == Call.State.ACTIVE && cm.hasActiveBgCall()) {
706 // After calling CallManager#dial(), getState() will return different state.
707 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE;
828 if (fgCall.getState()
[all...]
H A DCallModeler.java176 if (teleCall.getState() == com.android.internal.telephony.Call.State.WAITING) {
222 final int state = call.getState();
245 final int state = call.getState();
313 final boolean wasConferenced = call.getState() == State.CONFERENCED;
379 if (DBG) Log.d(TAG, "connection: " + connection + connection.getState());
389 connection.getState() !=
391 connection.getState() !=
393 !connection.getState().isRinging();
395 final boolean isDisconnecting = connection.getState() ==
521 Preconditions.checkState(call.getState() !
[all...]
H A DCallCommandService.java107 int state = result.getCall().getState();
128 int state = result.getCall().getState();
143 int state = result.getCall().getState();
H A DDTMFTonePlayer.java354 hasActiveCall |= (calls.get(i).getState() == Call.State.ACTIVE)
355 || (calls.get(i).getState() == Call.State.DIALING);
356 hasIncomingCall |= (calls.get(i).getState() == Call.State.INCOMING);
H A DRejectWithTextMessageManager.java190 if (!(call.getState() == com.android.services.telephony.common.Call.State.INCOMING) &&
191 !(call.getState() ==
198 + call.getState());
H A DBluetoothPhoneService.java224 mForegroundCallState = foregroundCall.getState();
235 mRingingCallState = ringingCall.getState();
351 if (call.getState() == Call.State.HOLDING) {
450 if (ringingCall.getState().isAlive()) {
453 if (foregroundCall.getState().isAlive()) {
456 if (backgroundCall.getState().isAlive()) {
515 int state = convertCallState(connection.getState());
542 Call.State ringingCallState = ringingCall.getState();
548 } else if (foregroundCall.getState().isAlive()) {
605 Call.State callState = connection.getState();
[all...]
H A DPhoneInterfaceManager.java269 PhoneConstants.State state = mCM.getState();
401 if ((mCM.getState() == PhoneConstants.State.RINGING)
410 return (mCM.getState() == PhoneConstants.State.OFFHOOK);
414 return (mCM.getState() == PhoneConstants.State.RINGING);
418 return (mCM.getState() == PhoneConstants.State.IDLE);
620 return DefaultPhoneNotifier.convertCallState(mCM.getState());
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStatePanelTrack.java116 mAdapter.insert(new State(mCurrentSelectedView.getState()), pos);
146 if (view.getState() == state) {
161 if (!mAdapter.contains(child.getState())) {
260 FilterRepresentation representation = mCurrentView.getState().getFilterRepresentation();
272 FilterRepresentation representation = mCurrentView.getState().getFilterRepresentation();
H A DStatePanel.java51 track.setAdapter(MasterImage.getImage().getState());
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java184 int state = mAdapter.getState();
468 public int getState() { method in class:BluetoothMapService
566 if (getState() == BluetoothMap.STATE_CONNECTED && getRemoteDevice().equals(device)) {
725 public int getState() { method in class:BluetoothMapService.BluetoothMapBinder
726 if (VERBOSE) Log.v(TAG, "getState()");
729 return getService().getState();
744 return service.getState() == BluetoothMap.STATE_CONNECTED && service.getRemoteDevice().equals(device);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java205 int getState() { method in class:AdapterProperties
499 Log.d(TAG, "State = " + getState() );
504 if (getState() == BluetoothAdapter.STATE_TURNING_ON &&
529 if (getState() == BluetoothAdapter.STATE_TURNING_OFF) {
/packages/apps/Browser/src/com/android/browser/
H A DDeviceAccountLogin.java101 public int getState() { method in class:DeviceAccountLogin

Completed in 475 milliseconds

1234