Home
last modified time | relevance | path

Searched refs:indicators (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarSignalPolicy.java173 public void setWifiIndicators(@NonNull WifiIndicators indicators) { in setWifiIndicators() argument
175 Log.d(TAG, "setWifiIndicators: " + indicators); in setWifiIndicators()
177 boolean visible = indicators.statusIcon.visible && !mHideWifi; in setWifiIndicators()
178 boolean in = indicators.activityIn && mActivityEnabled && visible; in setWifiIndicators()
179 boolean out = indicators.activityOut && mActivityEnabled && visible; in setWifiIndicators()
180 mIsWifiEnabled = indicators.enabled; in setWifiIndicators()
194 newState.resId = indicators.statusIcon.icon; in setWifiIndicators()
197 newState.contentDescription = indicators.statusIcon.contentDescription; in setWifiIndicators()
251 public void setMobileDataIndicators(@NonNull MobileDataIndicators indicators) { in setMobileDataIndicators() argument
253 Log.d(TAG, "setMobileDataIndicators: " + indicators); in setMobileDataIndicators()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DInternetTile.java307 public void setWifiIndicators(@NonNull WifiIndicators indicators) { in setWifiIndicators() argument
309 Log.d(TAG, "setWifiIndicators: " + indicators); in setWifiIndicators()
312 mWifiInfo.mEnabled = indicators.enabled; in setWifiIndicators()
313 mWifiInfo.mSsid = indicators.description; in setWifiIndicators()
314 mWifiInfo.mIsTransient = indicators.isTransient; in setWifiIndicators()
315 mWifiInfo.mStatusLabel = indicators.statusLabel; in setWifiIndicators()
316 if (indicators.qsIcon != null) { in setWifiIndicators()
317 mWifiInfo.mConnected = indicators.qsIcon.visible; in setWifiIndicators()
318 mWifiInfo.mWifiSignalIconId = indicators.qsIcon.icon; in setWifiIndicators()
319 mWifiInfo.mWifiSignalContentDescription = indicators.qsIcon.contentDescription; in setWifiIndicators()
[all …]
DCastTile.java296 public void setWifiIndicators(@NonNull WifiIndicators indicators) {
298 boolean enabledAndConnected = indicators.enabled
299 && (indicators.qsIcon == null ? false : indicators.qsIcon.visible);
/frameworks/base/keystore/java/android/security/
DKeyStoreException.java322 return (failureInfo.indicators & IS_TRANSIENT_ERROR) != 0; in isTransientFailure()
333 return (failureInfo.indicators & REQUIRES_USER_AUTHENTICATION) != 0; in requiresUserAuthentication()
346 return (failureInfo.indicators & IS_SYSTEM_ERROR) != 0; in isSystemError()
366 return (failureInfo.indicators & IS_TRANSIENT_ERROR) != 0 in getRetryPolicy()
370 if ((failureInfo.indicators & IS_TRANSIENT_ERROR) != 0) { in getRetryPolicy()
403 public final int indicators; field in KeyStoreException.PublicErrorInformation
406 PublicErrorInformation(int indicators, @PublicErrorCode int errorCode) { in PublicErrorInformation() argument
407 this.indicators = indicators; in PublicErrorInformation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DQSCarrierGroupController.java88 public void setMobileDataIndicators(@NonNull MobileDataIndicators indicators) {
89 int slotIndex = getSlotIndex(indicators.subId);
95 Log.e(TAG, "Invalid SIM slot index for subscription: " + indicators.subId);
99 indicators.statusIcon.visible,
100 indicators.statusIcon.icon,
101 indicators.statusIcon.contentDescription,
102 indicators.typeContentDescription.toString(),
103 indicators.roaming
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DCallbackHandler.java122 public void setWifiIndicators(final WifiIndicators indicators) { in setWifiIndicators() argument
125 .append(indicators) in setWifiIndicators()
130 callback.setWifiIndicators(indicators); in setWifiIndicators()
136 public void setMobileDataIndicators(final MobileDataIndicators indicators) { in setMobileDataIndicators() argument
139 .append(indicators) in setMobileDataIndicators()
144 signalCluster.setMobileDataIndicators(indicators); in setMobileDataIndicators()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DCallbackHandlerTest.java87 WifiIndicators indicators = new WifiIndicators( in testSignalCallback_setWifiIndicators() local
89 mHandler.setWifiIndicators(indicators); in testSignalCallback_setWifiIndicators()
121 MobileDataIndicators indicators = new MobileDataIndicators( in testSignalCallback_setMobileDataIndicators() local
124 mHandler.setMobileDataIndicators(indicators); in testSignalCallback_setMobileDataIndicators()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java156 WifiIndicators indicators = new WifiIndicators( in testStateUnavailable_wifiDisabled() local
160 mSignalCallback.setWifiIndicators(indicators); in testStateUnavailable_wifiDisabled()
169 WifiIndicators indicators = new WifiIndicators( in testStateUnavailable_wifiNotConnected() local
173 mSignalCallback.setWifiIndicators(indicators); in testStateUnavailable_wifiNotConnected()
181 WifiIndicators indicators = new WifiIndicators( in enableWifiAndProcessMessages() local
185 mSignalCallback.setWifiIndicators(indicators); in enableWifiAndProcessMessages()
/frameworks/base/packages/SystemUI/
DTEST_MAPPING53 // Permission indicators
65 // Permission indicators
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/
DQSCarrierGroupControllerTest.java242 MobileDataIndicators indicators = new MobileDataIndicators( in testSetMobileDataIndicators_invalidSim() local
246 mSignalCallback.setMobileDataIndicators(indicators); in testSetMobileDataIndicators_invalidSim()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java619 final int indicators = (hasTopPanel ? View.SCROLL_INDICATOR_TOP : 0) in setupView() local
621 content.setScrollIndicators(indicators, in setupView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModelTest.kt486 fun `data activity - config on - test indicators`() = in data activity - config on - test indicators()
/frameworks/base/core/java/android/view/
DView.java7131 public void setScrollIndicators(@ScrollIndicators int indicators) {
7132 setScrollIndicators(indicators,
7163 public void setScrollIndicators(@ScrollIndicators int indicators, @ScrollIndicators int mask) {
7169 indicators <<= SCROLL_INDICATORS_TO_PFLAGS3_LSHIFT;
7170 indicators &= mask;
7173 final int updatedFlags = indicators | (mPrivateFlags3 & ~mask);
7178 if (indicators != 0) {