Searched refs:getState (Results 51 - 75 of 319) sorted by relevance

1234567891011>>

/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DBottomSheetUsageBase.java48 int state = mBehavior.getState();
H A DBottomSheetWithFab.java42 if (mBehavior.getState() == BottomSheetBehavior.STATE_HIDDEN) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java97 if (shouldNotifyForState(printJob.getState())) {
137 switch (printJob.getState()) {
201 if (printJob.getState() == PrintJobInfo.STATE_STARTED
202 || printJob.getState() == PrintJobInfo.STATE_QUEUED) {
243 switch (printJob.getState()) {
311 switch (printJob.getState()) {
331 switch (printJob.getState()) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneConnectionTest.java79 doReturn(ImsPhoneCall.State.IDLE).when(mForeGroundCall).getState();
93 assertEquals(ImsPhoneCall.State.IDLE, mConnectionUT.getState());
122 doReturn(Call.State.DIALING).when(mForeGroundCall).getState();
135 doReturn(Call.State.HOLDING).when(mBackGroundCall).getState();
183 assertEquals(GsmCdmaCall.State.DISCONNECTED, mConnectionUT.getState());
193 doReturn(Call.State.DIALING).when(mForeGroundCall).getState();
216 doReturn(Call.State.DIALING).when(mForeGroundCall).getState();
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeTriggers.java115 DozeMachine.State state = mMachine.getState();
182 DozeLog.tracePulseDropped(mContext, mPulsePending, mMachine.getState(),
219 return mMachine.getState() == DozeMachine.State.DOZE
220 || mMachine.getState() == DozeMachine.State.DOZE_AOD;
226 DozeLog.tracePulseDropped(mContext, mPulsePending, mMachine.getState(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTile.java172 mTile.setState(tile.getState());
244 i.putExtra(TileService.EXTRA_STATE, mTile.getState());
260 if (mTile.getState() == Tile.STATE_UNAVAILABLE) {
282 return getState().label;
287 int tileState = mTile.getState();
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaNotificationManager.java203 if (state != null && (state.getState() == PlaybackStateCompat.STATE_STOPPED ||
204 state.getState() == PlaybackStateCompat.STATE_NONE)) {
295 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING) {
314 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING
332 builder.setOngoing(mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaNotificationManager.java203 if (state != null && (state.getState() == PlaybackStateCompat.STATE_STOPPED ||
204 state.getState() == PlaybackStateCompat.STATE_NONE)) {
295 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING) {
314 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING
332 builder.setOngoing(mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java842 public int getState() { method in class:BluetoothAdapter
848 state = mService.getState();
863 if (VDBG) Log.d(TAG, "" + hashCode() + ": getState(). Returning " + BluetoothAdapter.nameForState(state));
891 state = mService.getState();
1060 if (getState() != STATE_ON) return null;
1088 if (getState() != STATE_ON) return false;
1118 if (getState() != STATE_ON) return SCAN_MODE_NONE;
1159 if (getState() != STATE_ON) return false;
1173 if (getState() != STATE_ON) return false;
1180 if (getState() !
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2AgentImpl.java233 if (mCameraState.getState() > AndroidCamera2StateHolder.CAMERA_UNOPENED) {
255 if (mCameraState.getState() == AndroidCamera2StateHolder.CAMERA_UNOPENED) {
302 if (mCameraState.getState() !=
328 if (mCameraState.getState() <
391 if (mCameraState.getState() <
464 if (mCameraState.getState() <
539 if (mCameraState.getState() <
544 if (mCameraState.getState() !=
663 cameraAction, mCameraState.getState());
696 if (mCameraState.getState() >
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java152 " fg = " + mForegroundCall.getState() +
153 " bg = " + mBackgroundCall.getState());
185 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) ||
186 (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) {
803 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) {
804 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) {
823 fgState = mForegroundCall.getState();
824 bgState = mBackgroundCall.getState();
1037 if (mForegroundCall.getState().isAlive()
1038 && mBackgroundCall.getState()
2866 public PhoneConstants.State getState() { method in class:ImsPhoneCallTracker
[all...]
H A DImsExternalConnection.java256 if (mCall.getState() == Call.State.ACTIVE) {
258 } else if (mCall.getState() == Call.State.DISCONNECTED) {
/frameworks/base/core/java/android/nfc/
H A DINfcAdapter.aidl44 int getState();
/frameworks/base/libs/common_time/
H A Dcommon_clock_service.cpp85 status_t CommonClockService::getState(State* state) { function in class:android::CommonClockService
86 *state = mTimeServer.getState();
H A Dcommon_clock_service.h45 virtual status_t getState(ICommonClock::State* state);
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
H A DPipManager.java301 if (getState() == STATE_PIP) {
418 private int getState() { method in class:PipManager
494 if (getState() == STATE_NO_PIP) {
517 if (controllers != null && getState() != STATE_NO_PIP && mPipComponentName != null) {
558 int state = mPipMediaController.getPlaybackState().getState();
606 if (getState() != STATE_NO_PIP) {
628 if (getState() == STATE_PIP) {
680 switch (getState()) {
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DDataConnectionStats.java127 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE
128 && mServiceState.getState() != ServiceState.STATE_POWER_OFF;
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
H A DXMLParser.java122 DocumentContext _localctx = new DocumentContext(_ctx, getState());
209 PrologContext _localctx = new PrologContext(_ctx, getState());
297 ContentContext _localctx = new ContentContext(_ctx, getState());
420 ElementContext _localctx = new ElementContext(_ctx, getState());
523 ReferenceContext _localctx = new ReferenceContext(_ctx, getState());
574 AttributeContext _localctx = new AttributeContext(_ctx, getState());
621 ChardataContext _localctx = new ChardataContext(_ctx, getState());
671 MiscContext _localctx = new MiscContext(_ctx, getState());
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java100 public int[] getState() { method in class:DrawableWrapper
101 return mDrawable.getState();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallManager.java235 public PhoneConstants.State getState() { method in class:CallManager
239 if (phone.getState() == PhoneConstants.State.RINGING) {
241 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) {
254 public PhoneConstants.State getState(int subId) { method in class:CallManager
259 if (phone.getState() == PhoneConstants.State.RINGING) {
261 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) {
283 int serviceState = phone.getServiceState().getState();
312 int serviceState = phone.getServiceState().getState();
492 switch (getState()) {
544 Rlog.d(LOG_TAG, "setAudioMode state = " + getState());
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DStateListDrawable.java84 onStateChange(getState());
124 onStateChange(getState());
383 onStateChange(getState());
398 onStateChange(getState());
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothDiscoverableTimeoutReceiver.java79 localBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DIntentFilterVerificationState.java61 public int getState() { method in class:IntentFilterVerificationState
/frameworks/base/telecomm/java/android/telecom/
H A DConferenceParticipant.java155 public int getState() { method in class:ConferenceParticipant
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DOperatorInfo.java56 getState() { method in class:OperatorInfo

Completed in 4500 milliseconds

1234567891011>>