/cts/tests/app/src/android/app/cts/ |
ConditionTest.java | 32 private final int mState = Condition.STATE_FALSE; 41 Condition condition = new Condition(mConditionId, mSummary, mState); 46 Condition condition = new Condition(mConditionId, mSummary, mState); 51 assertEquals(mState, condition.state); 57 Condition condition = new Condition(mConditionId, mSummary, mState); 66 assertEquals(mState, condition1.state);
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/ |
WrappedDrawableApi14.java | 47 DrawableWrapperState mState; 53 mState = state; 63 mState = mutateConstantState(); 74 if (mState != null && mState.mDrawableState != null) { 75 setWrappedDrawable(mState.mDrawableState.newDrawable(res)); 104 | (mState != null ? mState.getChangingConfigurations() : 0) 130 final ColorStateList tintList = (isCompatTintEnabled() && mState != null) 131 ? mState.mTin [all...] |
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
BrowseViewData.java | 36 public final BrowseAdapter.State mState; 54 mState = state; 70 mState = null; 80 mState == item.mState && 86 return Objects.hash(mMediaItem, mState, mViewType);
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
ManageablePreference.java | 37 int mState = STATE_NONE; 61 return mState; 65 if (mState != state) { 66 mState = state; 88 String summary = (mState == STATE_NONE ? "" : states[mState]);
|
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/ |
LifecycleRegistry.java | 65 private State mState; 100 mState = INITIALIZED; 128 if (mState == next) { 131 mState = next; 146 State eldestObserverState = mObserverMap.eldest().getValue().mState; 147 State newestObserverState = mObserverMap.newest().getValue().mState; 148 return eldestObserverState == newestObserverState && mState == newestObserverState; 154 State siblingState = previous != null ? previous.getValue().mState : null; 157 return min(min(mState, siblingState), parentState); 162 State initialState = mState == DESTROYED ? DESTROYED : INITIALIZED [all...] |
/frameworks/av/media/libaaudio/src/client/ |
IsochronousClockModel.cpp | 36 , mState(STATE_STOPPED) 53 mState = STATE_STARTING; 60 mState = STATE_STOPPED; 64 return mState == STATE_STARTING; 87 // ALOGD("processTimestamp() - mState = %d", mState); 88 switch (mState) { 93 mState = STATE_SYNCING; 101 mState = STATE_RUNNING; 124 // ALOGD("processTimestamp() - mState = %d", mState) [all...] |
/packages/services/BuiltInPrintService/src/com/android/bips/ |
LocalPrintJob.java | 61 private int mState; 74 mState = STATE_INIT; 89 if (mState != STATE_INIT) { 90 Log.w(TAG, "Invalid start state " + mState); 98 mState = STATE_DISCOVERY; 102 if (mState == STATE_DISCOVERY) { 111 if (DEBUG) Log.d(TAG, "cancel() " + mPrintJob + " in state " + mState); 113 switch (mState) { 117 mState = STATE_CANCEL; 123 mState = STATE_CANCEL [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
PopOutComponent.java | 35 private int mState; 56 mState = STATE_HIDDEN; 74 switch(mState) { 78 mState = STATE_VISIBLE; 85 mState = STATE_HIDDEN; 89 mState = STATE_ATTACKING; 95 mState = STATE_VISIBLE;
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/ |
WorkStatus.java | 35 private @NonNull State mState; 45 mState = state; 55 return mState; 74 if (mState != that.mState) return false; 85 result = 31 * result + (mState != null ? mState.hashCode() : 0); 95 + ", mState=" + mState
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
FocusOverlayManager.java | 66 private int mState = STATE_IDLE; 183 if (mLockAeAwbNeeded && mAeAwbLock && (mState != STATE_FOCUSING_SNAP_ON_FINISH)) { 197 if (mState != STATE_SUCCESS && mState != STATE_FAIL) { 215 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS 216 || mState == STATE_FAIL) { 234 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) { 236 } else if (mState == STATE_FOCUSING) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
SimulatedGsmCallState.java | 46 State mState; 53 mState = state; 79 + mState.value() + ",0," + (mIsMpty ? "1" : "0") 93 ret.state = DriverCall.stateFromCLCC(mState.value()); 110 return mState == State.ACTIVE || mState == State.HOLDING; 115 return mState == State.DIALING || mState == State.ALERTING; 120 return mState == State.INCOMING || mState == State.WAITING [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
FocusManager.java | 50 private int mState = STATE_IDLE; 152 if (mState != STATE_SUCCESS && mState != STATE_FAIL) { 163 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS 164 || mState == STATE_FAIL) { 171 if (mLockAeAwbNeeded && mAeAwbLock && (mState != STATE_FOCUSING_SNAP_ON_FINISH)) { 183 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) { 185 } else if (mState == STATE_FOCUSING) [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
SystemAudioAutoInitiationAction.java | 40 mState = STATE_WAITING_FOR_SYSTEM_AUDIO_MODE_STATUS; 42 addTimer(mState, HdmiConfig.TIMEOUT_MS); 62 if (mState != STATE_WAITING_FOR_SYSTEM_AUDIO_MODE_STATUS 98 if (mState != state) { 102 switch (mState) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
DrawIdler.java | 21 private int mState = STATE_IDLE; 35 mListener.onStateChanged(this, mState); 54 return mState; 58 if (mState == newState) { 61 mState = newState;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3Stream.cpp | 57 mState(STATE_CONSTRUCTED), 84 mState = STATE_ERROR; 155 switch (mState) { 161 ALOGE("%s: Invalid state: %d", __FUNCTION__, mState); 172 mState = STATE_IN_IDLE; 177 ALOGE("%s: Unknown state %d", __FUNCTION__, mState); 189 switch (mState) { 196 ALOGE("%s: Invalid state: %d", __FUNCTION__, mState); 207 mState = STATE_CONFIGURED; 212 ALOGE("%s: Unknown state %d", __FUNCTION__, mState); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
PasspointProvisioner.java | 128 private int mState = INITIAL_STATE; 154 Log.v(TAG, "startProvisioning received in state=" + mState); 156 if (mState != INITIAL_STATE) { 201 Log.v(TAG, "Wifi Disabled in state=" + mState); 203 if (mState == INITIAL_STATE) { 204 Log.w(TAG, "Wifi Disable unhandled in state=" + mState); 215 Log.v(TAG, "Server Validation failure received in " + mState); 222 if (mState != OSU_SERVER_CONNECTED) { 223 Log.wtf(TAG, "Server Validation Failure unhandled in mState=" + mState); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
InsetDrawable.java | 60 private InsetState mState; 102 mState.mInsetLeft = new InsetValue(0f, insetLeft); 103 mState.mInsetTop = new InsetValue(0f, insetTop); 104 mState.mInsetRight = new InsetValue(0f, insetRight); 105 mState.mInsetBottom = new InsetValue(0f, insetBottom); 123 mState.mInsetLeft = new InsetValue(insetLeftFraction, 0); 124 mState.mInsetTop = new InsetValue(insetTopFraction, 0); 125 mState.mInsetRight = new InsetValue(insetRightFraction, 0); 126 mState.mInsetBottom = new InsetValue(insetBottomFraction, 0); 149 final InsetState state = mState; [all...] |
ScaleDrawable.java | 69 private ScaleState mState; 90 mState.mGravity = gravity; 91 mState.mScaleWidth = scaleWidth; 92 mState.mScaleHeight = scaleHeight; 117 final ScaleState state = mState; 139 if (getDrawable() == null && (mState.mThemeAttrs == null 140 || mState.mThemeAttrs[R.styleable.ScaleDrawable_drawable] == 0)) { 148 final ScaleState state = mState; 224 final boolean min = mState.mUseIntrinsicSizeAsMin; 228 if (mState.mScaleWidth > 0) [all...] |
/system/chre/apps/chqts/src/general_test/ |
basic_sensor_test_base.cc | 74 mState(State::kPreStart), 144 mState = State::kPreConfigure; 233 mState = State::kExpectingLastDataEvent; 239 mState = State::kExpectingInitialDataEvent; 265 mState = State::kFinished; 284 if (mState == State::kExpectingInitialDataEvent) { 287 } else if (mState == State::kExpectingLastDataEvent) { 312 if ((mState == State::kFinished) && 357 if (mState == State::kFinished) { 378 if ((mState == State::kPreStart) || (mState == State::kPreConfigure)) [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
UiCall.java | 26 private int mState; 43 return mState; 47 mState = state;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
TransparentDividerDocumentHolder.java | 33 private State mState; 43 mState = state; 49 if (mState.derivedMode == State.MODE_GRID) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Paper.java | 109 private int mState; 119 mState = STATE_IDLE; 128 mState = newState; 135 if (mState == STATE_ABSORB) return; 137 mState = STATE_PULL; 141 if (mState == STATE_IDLE || mState == STATE_ABSORB) return; 152 if (mState == STATE_IDLE) return false; 153 if (mState == STATE_PULL) return true; 157 float interp = (mState == STATE_ABSORB [all...] |
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
CommandResult.java | 37 private final FreeDeviceState mState; 44 mState = state; 61 return mState;
|
/cts/tests/tests/view/src/android/view/cts/ |
DisplayRefreshRateCtsActivity.java | 76 private int mState = STATE_START; 86 switch (mState) { 89 mState = STATE_WARMUP; 96 mState = STATE_TEST; 105 mState = STATE_DONE; 112 mState = STATE_START;
|
/frameworks/av/media/libstagefright/foundation/ |
AHierarchicalStateMachine.cpp | 55 sp<AState> save = mState; 57 sp<AState> cur = mState; 61 CHECK(save == mState); 75 if (state == mState) { 81 sp<AState> cur = mState; 106 mState = state;
|