/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/ |
D | CrossDeviceCallTest.java | 76 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/ |
D | DeviceIdleControllerTest.java | 34 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/ |
D | OneHandedState.java | 37 public static final int STATE_ACTIVE = 2; field in OneHandedState 44 STATE_ACTIVE, 90 return sCurrentState == STATE_ACTIVE; in isInOneHanded()
|
D | OneHandedTutorialHandler.java | 23 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()
|
D | OneHandedController.java | 22 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) {
|
D | BackgroundWindowManager.java | 26 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/ |
D | QSIconViewImplTest_311121830.kt | 61 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()
|
D | QSTileViewImplTest.kt | 95 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()
|
D | QSIconViewImplTest.java | 101 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/ |
D | OneHandedStateTest.java | 19 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/ |
D | TileStateToProtoTest.kt | 81 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/ |
D | CommunicatorTest.java | 80 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/ |
D | QSTileState.kt | 78 ACTIVE(Tile.STATE_ACTIVE), in build() 87 Tile.STATE_ACTIVE -> ACTIVE in build()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CastTileTest.java | 182 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()
|
D | RecordIssueTileTest.kt | 133 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/ |
D | OneTimePermissionUserManager.java | 159 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/ |
D | ContentCaptureServerSession.java | 22 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/ |
D | AnyMotionDetector.java | 57 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/ |
D | QSTileViewImpl.kt | 854 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/ |
D | ImsConferenceState.java | 175 return Connection.STATE_ACTIVE; in getConnectionStateForStatus() 179 return Call.STATE_ACTIVE; in getConnectionStateForStatus()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DeviceControlsTile.kt | 120 val showOverLockscreenWhenLocked = state.state == Tile.STATE_ACTIVE in handleClick() 142 Tile.STATE_ACTIVE in handleUpdateState()
|
D | UiModeNightTile.java | 167 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/ |
D | TileColorPicker.java | 55 case Tile.STATE_ACTIVE: in getColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | TileStateToProto.kt | 43 Tile.STATE_ACTIVE -> QsTileState.ACTIVE in QSTile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileColorPickerTest.java | 68 final int color = mTileColorPicker.getColor(Tile.STATE_ACTIVE); in testGetColor_StateActive_ReturnActiveColor()
|