Home
last modified time | relevance | path

Searched refs:STATE_ACTIVE (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceCallTest.java76 crossDeviceCall.updateCallDetails(createCallDetails(Call.STATE_ACTIVE, in updateCallDetails_ongoing()
106 createCallDetails(Call.STATE_ACTIVE, Call.Details.CAPABILITY_MUTE)); in updateCallDetails_cannotHold()
120 createCallDetails(Call.STATE_ACTIVE, Call.Details.CAPABILITY_HOLD)); in updateCallDetails_cannotMute()
141 crossDeviceCall.updateCallDetails(createCallDetails(Call.STATE_ACTIVE, in updateCallDetails_transitionRingingToOngoing()
162 crossDeviceCall.updateCallDetails(createCallDetails(Call.STATE_ACTIVE, in updateCallDetails_transitionDialingToOngoing()
192 crossDeviceCall.updateCallDetails(createCallDetails(Call.STATE_ACTIVE, in updateSilencedIfRinging_notRinging_notSilenced()
210 createCallDetails(Call.STATE_ACTIVE, /* capabilities= */ 0)); in getReadableCallerId_enterpriseCall_adminBlocked_hasContact()
225 createCallDetails(Call.STATE_ACTIVE, /* capabilities= */ 0)); in getReadableCallerId_enterpriseCall_adminUnblocked_hasContact()
240 createCallDetails(Call.STATE_ACTIVE, /* capabilities= */ 0, /* hasContactName= */ in getReadableCallerId_enterpriseCall_adminBlocked_noContact()
256 createCallDetails(Call.STATE_ACTIVE, /* capabilities= */ 0, /* hasContactName= */ in getReadableCallerId_nonEnterpriseCall_adminBlocked_noContact()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java34 import static com.android.server.DeviceIdleController.STATE_ACTIVE;
531 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet()
538 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet()
545 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet()
553 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet()
561 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet()
568 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet()
576 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet()
586 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet()
629 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsMet()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedState.java37 public static final int STATE_ACTIVE = 2; field in OneHandedState
44 STATE_ACTIVE,
90 return sCurrentState == STATE_ACTIVE; in isInOneHanded()
DOneHandedTutorialHandler.java23 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE;
133 case STATE_ACTIVE: in onStateChanged()
166 mTargetViewContainer.setAlpha(mCurrentState == STATE_ACTIVE ? 1.0f : 0.0f); in createViewAndAttachToWindow()
232 if (mCurrentState == STATE_ENTERING || mCurrentState == STATE_ACTIVE) { in onConfigurationChanged()
DOneHandedController.java22 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE;
164 mState.setState(STATE_ACTIVE);
165 notifyShortcutStateChanged(STATE_ACTIVE);
355 mContext.getContentResolver(), state == STATE_ACTIVE ? 1 : 0, mUserId); in notifyShortcutStateChanged()
513 final boolean isActivated = mState.getState() == STATE_ACTIVE;
586 if (mState.getState() == STATE_ENTERING || mState.getState() == STATE_ACTIVE) {
706 if (mState.getState() == STATE_ACTIVE) {
DBackgroundWindowManager.java26 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE;
93 if (mCurrentState == STATE_ENTERING || mCurrentState == STATE_ACTIVE) { in onConfigurationChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest_311121830.kt61 state = Tile.STATE_ACTIVE in alwaysLastIcon()
66 state = Tile.STATE_ACTIVE in alwaysLastIcon()
96 state = Tile.STATE_ACTIVE in alwaysLastIcon_twoStateChanges()
106 state = Tile.STATE_ACTIVE in alwaysLastIcon_twoStateChanges()
DQSTileViewImplTest.kt95 state.state = Tile.STATE_ACTIVE in testSecondaryLabelNotModified_booleanActive()
117 state.state = Tile.STATE_ACTIVE in testSecondaryLabelNotModified_availableNotBoolean_active()
152 state.state = Tile.STATE_ACTIVE in testSecondaryLabelDescription_booleanActive_default()
255 state.state = Tile.STATE_ACTIVE in testUseStateStringsForKnownSpec_Boolean()
303 stateDisabledByPolicy.state = Tile.STATE_ACTIVE in testDisabledByPolicyActive_usesUnavailableColors()
321 stateActive.state = Tile.STATE_ACTIVE in testDisableByPolicyThenRemoved_changesColor()
DQSIconViewImplTest.java101 s.state = Tile.STATE_ACTIVE; in testNoFirstFade()
113 s.state = Tile.STATE_ACTIVE; in testStateSetCorrectly_toString()
120 assertEquals("QSIconViewImpl[state=" + Tile.STATE_ACTIVE + ", tint=" + desiredColor in testStateSetCorrectly_toString()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedStateTest.java19 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE;
164 when(mSpiedState.getState()).thenReturn(STATE_ACTIVE); in testInActiveState_shouldSkipDupTrigger()
174 when(mSpiedState.getState()).thenReturn(STATE_ACTIVE); in testInActiveState_canExit()
210 when(mSpiedState.getState()).thenReturn(STATE_ACTIVE); in testInActiveState_disableOHM_shouldStopOHM()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileStateToProtoTest.kt81 state = Tile.STATE_ACTIVE in adapterState_ACTIVE()
92 assertThat(proto?.state).isEqualTo(Tile.STATE_ACTIVE) in adapterState_ACTIVE()
130 state = Tile.STATE_ACTIVE in noSpec_returnsNull()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/
DCommunicatorTest.java80 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiate()
98 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiationFailed()
117 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiationFailedNoProtocols()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileState.kt78 ACTIVE(Tile.STATE_ACTIVE), in build()
87 Tile.STATE_ACTIVE -> ACTIVE in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java182 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testStateActive_wifiEnabledAndCasting()
245 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in stateActive_wifiConnectedAndCasting_newPipeline()
261 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in stateActive_ethernetConnectedAndCasting_newPipeline()
297 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testStateActive_hotspotEnabledAndConnectedAndCasting()
356 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_projectionOnly()
381 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_castingAndProjection()
406 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_connectedAndConnecting()
DRecordIssueTileTest.kt133 assertThat(testState.state).isEqualTo(Tile.STATE_ACTIVE) in qsTileUi_shouldLookCorrect_whenRecording()
155 assertThat(testState.state).isEqualTo(Tile.STATE_ACTIVE) in activeQsTile_switchesToInActive_whenClicked()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DOneTimePermissionUserManager.java159 private static final int STATE_ACTIVE = 2; field in OneTimePermissionUserManager.PackageInactivityListener
190 PackageInactivityListener.this.updateUidState(STATE_ACTIVE);
256 return STATE_ACTIVE; in getStateFromProcState()
304 } else if (state == STATE_ACTIVE) { in updateUidState()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureServerSession.java22 import static android.view.contentcapture.ContentCaptureSession.STATE_ACTIVE;
116 STATE_ACTIVE); in notifySessionStartedLocked()
203 STATE_ACTIVE | STATE_SERVICE_RESURRECTED); in resurrectLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java57 private static final int STATE_ACTIVE = 1; field in AnyMotionDetector
169 if (mState != STATE_ACTIVE) { in checkForAnyMotion()
170 mState = STATE_ACTIVE; in checkForAnyMotion()
187 if (mState == STATE_ACTIVE) { in stop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileViewImpl.kt854 state == Tile.STATE_ACTIVE -> colorActive in <lambda>()
866 state == Tile.STATE_ACTIVE -> colorLabelActive in <lambda>()
878 state == Tile.STATE_ACTIVE -> colorSecondaryLabelActive in <lambda>()
892 Tile.STATE_ACTIVE -> overlayColorActive in <lambda>()
1039 getBackgroundColorForState(Tile.STATE_ACTIVE), in <lambda>()
1040 getLabelColorForState(Tile.STATE_ACTIVE), in <lambda>()
1041 getSecondaryLabelColorForState(Tile.STATE_ACTIVE), in <lambda>()
1042 getChevronColorForState(Tile.STATE_ACTIVE), in <lambda>()
1043 getOverlayColorForState(Tile.STATE_ACTIVE), in <lambda>()
/frameworks/base/telephony/java/android/telephony/ims/
DImsConferenceState.java175 return Connection.STATE_ACTIVE; in getConnectionStateForStatus()
179 return Call.STATE_ACTIVE; in getConnectionStateForStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDeviceControlsTile.kt120 val showOverLockscreenWhenLocked = state.state == Tile.STATE_ACTIVE in handleClick()
142 Tile.STATE_ACTIVE in handleUpdateState()
DUiModeNightTile.java167 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
169 state.icon = ResourceIcon.get(state.state == Tile.STATE_ACTIVE in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileColorPicker.java55 case Tile.STATE_ACTIVE: in getColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileStateToProto.kt43 Tile.STATE_ACTIVE -> QsTileState.ACTIVE in QSTile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileColorPickerTest.java68 final int color = mTileColorPicker.getColor(Tile.STATE_ACTIVE); in testGetColor_StateActive_ReturnActiveColor()

12345