Home
last modified time | relevance | path

Searched refs:STATE_UNAVAILABLE (Results 1 – 25 of 36) sorted by relevance

12

/aosp14/frameworks/base/telephony/java/android/telephony/ims/feature/
H A DImsFeature.java111 STATE_UNAVAILABLE,
125 public static final int STATE_UNAVAILABLE = 0; field in ImsFeature
147 STATE_UNAVAILABLE, "UNAVAILABLE",
328 private @ImsState int mState = STATE_UNAVAILABLE;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DDeviceControlsTile.kt98 it.state = Tile.STATE_UNAVAILABLE // Start unavailable matching `hasControlsApps`
104 if (state.state == Tile.STATE_UNAVAILABLE) {
148 state.state = Tile.STATE_UNAVAILABLE
H A DQRCodeScannerTile.java124 : Tile.STATE_UNAVAILABLE; in handleUpdateState()
127 state.secondaryLabel = state.state == Tile.STATE_UNAVAILABLE in handleUpdateState()
H A DBatterySaverTile.java135 if (getState().state == Tile.STATE_UNAVAILABLE) { in handleClick()
148 state.state = mPluggedIn ? Tile.STATE_UNAVAILABLE in handleUpdateState()
H A DUiModeNightTile.java111 if (getState().state == Tile.STATE_UNAVAILABLE) { in handleClick()
165 state.state = Tile.STATE_UNAVAILABLE; in handleUpdateState()
H A DCastTile.java167 if (getState().state == Tile.STATE_UNAVAILABLE) { in handleClick()
293 state.state = Tile.STATE_UNAVAILABLE; in handleUpdateState()
H A DFlashlightTile.java130 state.state = Tile.STATE_UNAVAILABLE; in handleUpdateState()
H A DNfcTile.java142 ? Tile.STATE_UNAVAILABLE in handleUpdateState()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
H A DQSTileViewImplTest.kt69 state.state = Tile.STATE_UNAVAILABLE
126 state.state = Tile.STATE_UNAVAILABLE
245 state.state = Tile.STATE_UNAVAILABLE
291 stateUnavailable.state = Tile.STATE_UNAVAILABLE
309 stateUnavailable.state = Tile.STATE_UNAVAILABLE
H A DQSIconViewImplTest.java137 s2.state = Tile.STATE_UNAVAILABLE; in testIconColorDisabledByPolicy_sameAsUnavailable()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileViewImpl.kt447 isClickable = state.state != Tile.STATE_UNAVAILABLE
460 if (state.disabledByPolicy && state.state != Tile.STATE_UNAVAILABLE) {
476 accessibilityClass = if (state.state == Tile.STATE_UNAVAILABLE) {
601 return resources.getStringArray(arrayResId)[Tile.STATE_UNAVAILABLE]
620 state == Tile.STATE_UNAVAILABLE || disabledByPolicy -> colorUnavailable
632 state == Tile.STATE_UNAVAILABLE || disabledByPolicy -> colorLabelUnavailable
644 state == Tile.STATE_UNAVAILABLE || disabledByPolicy -> colorSecondaryLabelUnavailable
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DCastTileTest.java154 assertEquals(Tile.STATE_UNAVAILABLE, mCastTile.getState().state); in testStateUnavailable_wifiDisabled()
168 assertEquals(Tile.STATE_UNAVAILABLE, mCastTile.getState().state); in testStateUnavailable_wifiNotConnected()
212 assertEquals(Tile.STATE_UNAVAILABLE, mCastTile.getState().state); in stateUnavailable_wifiDisabled_newPipeline()
222 assertEquals(Tile.STATE_UNAVAILABLE, mCastTile.getState().state); in stateUnavailable_wifiEnabled_notConnected_newPipeline()
280 assertEquals(Tile.STATE_UNAVAILABLE, mCastTile.getState().state); in testStateUnavailable_hotspotDisabled()
289 assertEquals(Tile.STATE_UNAVAILABLE, mCastTile.getState().state); in testStateUnavailable_hotspotEnabledNotConnected()
H A DDeviceControlsTileTest.kt203 assertThat(tile.state.state).isEqualTo(Tile.STATE_UNAVAILABLE)
216 assertThat(tile.state.state).isEqualTo(Tile.STATE_UNAVAILABLE)
230 assertThat(tile.state.state).isEqualTo(Tile.STATE_UNAVAILABLE)
315 assertThat(tile.state.state).isEqualTo(Tile.STATE_UNAVAILABLE)
H A DHotspotTileTest.java117 assertThat(mState.state).isNotEqualTo(Tile.STATE_UNAVAILABLE); in handleUpdateState_wifiTetheringIsAllowed_stateIsNotUnavailable()
132 assertThat(mState.state).isEqualTo(Tile.STATE_UNAVAILABLE); in handleUpdateState_wifiTetheringIsDisallowed_stateIsUnavailable()
H A DDreamTileTest.java132 assertEquals(Tile.STATE_UNAVAILABLE, mTile.getState().state); in testNotAvailable()
139 assertEquals(Tile.STATE_UNAVAILABLE, mTile.getState().state); in testNotAvailable()
H A DQRCodeScannerTileTest.java123 assertEquals(state.state, Tile.STATE_UNAVAILABLE); in testQRCodeTileUnavailable()
H A DQuickAccessWalletTileTest.java355 assertEquals(Tile.STATE_UNAVAILABLE, state.state); in testHandleUpdateState_qawServiceUnavailable_tileUnavailable()
367 assertEquals(Tile.STATE_UNAVAILABLE, state.state); in testHandleUpdateState_qawFeatureUnavailable_tileUnavailable()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DTileStateToProtoTest.kt53 state = Tile.STATE_UNAVAILABLE
65 assertThat(proto?.state).isEqualTo(Tile.STATE_UNAVAILABLE)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DTileStateToProto.kt40 Tile.STATE_UNAVAILABLE -> QsTileState.UNAVAILABLE
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileColorPicker.java51 case Tile.STATE_UNAVAILABLE: in getColor()
H A DCustomTile.java401 if (mTile.getState() == Tile.STATE_UNAVAILABLE) { in handleClick()
437 tileState = Tile.STATE_UNAVAILABLE; in handleUpdateState()
445 state.state = Tile.STATE_UNAVAILABLE; in handleUpdateState()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DTileColorPickerTest.java50 final int color = mTileColorPicker.getColor(Tile.STATE_UNAVAILABLE); in testGetColor_StateUnavailable_ReturnUnavailableColor()
/aosp14/frameworks/base/telephony/java/com/android/ims/
H A DImsFeatureContainer.java61 private @ImsFeature.ImsState int mState = ImsFeature.STATE_UNAVAILABLE;
/aosp14/frameworks/base/core/java/android/service/quicksettings/
H A DTile.java46 public static final int STATE_UNAVAILABLE = 0; field in Tile
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DGarbageMonitor.java20 import static android.telephony.ims.feature.ImsFeature.STATE_UNAVAILABLE;
501 state.state = dumpInProgress ? STATE_UNAVAILABLE : STATE_ACTIVE; in handleUpdateState()

12