Home
last modified time | relevance | path

Searched refs:AVAILABLE (Results 1 – 25 of 864) sorted by relevance

12345678910>>...35

/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ts43/
DTs43VowifiStatusTest.java38 .setAddrStatus(AddrStatus.AVAILABLE) in ts43VowifiStatus_vowifiAvailable_vowifiEntitled()
39 .setTcStatus(TcStatus.AVAILABLE) in ts43VowifiStatus_vowifiAvailable_vowifiEntitled()
55 .setTcStatus(TcStatus.AVAILABLE) in ts43VowifiStatus_addressNotRequired_vowifiEntitled()
70 .setAddrStatus(AddrStatus.AVAILABLE) in ts43VowifiStatus_tcStatusNotRequired_vowifiEntitled()
86 .setAddrStatus(AddrStatus.AVAILABLE) in ts43VowifiStatus_provisionNotRequired_vowifiEntitled()
87 .setTcStatus(TcStatus.AVAILABLE) in ts43VowifiStatus_provisionNotRequired_vowifiEntitled()
103 .setTcStatus(TcStatus.AVAILABLE) in ts43VowifiStatus_addressNotAvailable_serverDataMissing()
118 .setAddrStatus(AddrStatus.AVAILABLE) in ts43VowifiStatus_tcStatusAvailable_serverDataMissing()
134 .setAddrStatus(AddrStatus.AVAILABLE) in ts43VowifiStatus_entitlementStatusProvisioning_inProgress()
135 .setTcStatus(TcStatus.AVAILABLE) in ts43VowifiStatus_entitlementStatusProvisioning_inProgress()
[all …]
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
DWfcActivationControllerTest.java176 .setTcStatus(TcStatus.AVAILABLE) in finishFlow_startForUpdate_showGeneralWaitingUi()
177 .setAddrStatus(AddrStatus.AVAILABLE) in finishFlow_startForUpdate_showGeneralWaitingUi()
241 .setTcStatus(TcStatus.AVAILABLE) in finish_entitlementResultWfcEntitled_writeLoggerAppResultSuccessful()
242 .setAddrStatus(AddrStatus.AVAILABLE) in finish_entitlementResultWfcEntitled_writeLoggerAppResultSuccessful()
270 .setTcStatus(TcStatus.AVAILABLE) in handleEntitlementStatusForActivation_isVowifiEntitledTrue_setActivityResultOk()
271 .setAddrStatus(AddrStatus.AVAILABLE) in handleEntitlementStatusForActivation_isVowifiEntitledTrue_setActivityResultOk()
368 .setTcStatus(TcStatus.AVAILABLE) in handleEntitlementStatusAfterActivation_isVowifiEntitledTrue_setActivityResultOk()
369 .setAddrStatus(AddrStatus.AVAILABLE) in handleEntitlementStatusAfterActivation_isVowifiEntitledTrue_setActivityResultOk()
407 .setTcStatus(TcStatus.AVAILABLE) in handleEntitlementStatusAfterUpdating_entitlementStatusEnabled_setResultOk()
408 .setAddrStatus(AddrStatus.AVAILABLE) in handleEntitlementStatusAfterUpdating_entitlementStatusEnabled_setResultOk()
[all …]
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ts43/
DTs43VowifiStatus.java47 public static final int AVAILABLE = 1; field in Ts43VowifiStatus.AddrStatus
57 public static final int AVAILABLE = 1; field in Ts43VowifiStatus.TcStatus
135 && (tcStatus() == TcStatus.AVAILABLE || tcStatus() == TcStatus.NOT_REQUIRED) in vowifiEntitled()
136 && (addrStatus() == AddrStatus.AVAILABLE in vowifiEntitled()
153 && (tcStatus() == TcStatus.AVAILABLE || tcStatus() == TcStatus.NOT_REQUIRED) in inProgress()
154 && (addrStatus() == AddrStatus.AVAILABLE in inProgress()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DPreferenceControllerListHelperTest.java77 return AVAILABLE; in filterControllers_noFilter_shouldReturnSameList()
91 return AVAILABLE; in filterControllers_noDuplicationFromFilter_shouldReturnSameList()
98 return AVAILABLE; in filterControllers_noDuplicationFromFilter_shouldReturnSameList()
112 return AVAILABLE; in filterControllers_hasDuplicationFromFilter_shouldReturnSameList()
119 return AVAILABLE; in filterControllers_hasDuplicationFromFilter_shouldReturnSameList()
DBasePreferenceControllerTest.java18 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
68 return AVAILABLE; in newController_noKey_shouldCrash()
75 mPreferenceController.setAvailability(AVAILABLE); in isAvailable_availableStatusAvailable_returnsTrue()
118 mPreferenceController.setAvailability(AVAILABLE); in isSupported_availableStatusAvailable_returnsTrue()
202 mPreferenceController.setAvailability(AVAILABLE); in updateNonIndexableKeys_controllerAvailable_shouldNotAddKey()
224 mAvailable = AVAILABLE; in FakeBasePreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DLockScreenPreferenceControllerTest.java24 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
93 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_notSecure_lockscreenDisabled_AVAILABLE()
101 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_notSecure_lockscreenEnabled_AVAILABLE()
110 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_secure_hasLockScreen_AVAILABLE()
119 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_secure_noLockScreen_AVAILABLE()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcForegroundPreferenceControllerTest.java80 .isNotEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_noNFC_DISABLED()
88 .isNotEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentBackend_DISABLED()
98 .isNotEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentApps_DISABLED()
103 .isNotEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentApps_DISABLED()
119 .isEqualTo(NfcForegroundPreferenceController.AVAILABLE); in getAvailabilityStatus_hasPaymentApps_AVAILABLE()
DNfcPaymentPreferenceControllerTest.java89 .isNotEqualTo(NfcPaymentPreferenceController.AVAILABLE); in getAvailabilityStatus_noNFC_DISABLED()
99 .isNotEqualTo(NfcPaymentPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentApps_DISABLED()
104 .isNotEqualTo(NfcPaymentPreferenceController.AVAILABLE); in getAvailabilityStatus_noPaymentApps_DISABLED()
116 .isEqualTo(NfcPaymentPreferenceController.AVAILABLE); in getAvailabilityStatus_hasPaymentApps_AVAILABLE()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactNotificationPreferenceControllerTest.java24 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
152 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_noWorkProfile()
214 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_adminSaysNoNotifications()
215 assertThat(mWorkController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_adminSaysNoNotifications()
246 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_workProfileLocked()
261 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_show()
262 assertThat(mWorkController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_show()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DEnterpriseSetDefaultAppsPreferenceControllerTest.java18 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
78 AVAILABLE); in testGetAvailabilityStatus_one() local
86 AVAILABLE); in testGetAvailabilityStatus_cached() local
90 AVAILABLE); in testGetAvailabilityStatus_cached() local
DDeviceAdminAddExplanationPreferenceControllerTest.java67 PreferenceController.AVAILABLE); in testGetAvailabilityStatus_deviceOwner_withReason()
84 PreferenceController.AVAILABLE); in testGetAvailabilityStatus_profileOwner_withReason()
108 PreferenceController.AVAILABLE); in testGetAvailabilityStatus_validReason()
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java18 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
90 AVAILABLE); in testGetAvailabilityStatus_one() local
98 AVAILABLE); in testGetAvailabilityStatus_cached() local
102 AVAILABLE); in testGetAvailabilityStatus_cached() local
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DBridgedAppsLinkPreferenceController.java63 return AVAILABLE; in getAvailabilityStatus()
67 return AVAILABLE; in getAvailabilityStatus()
75 pref.setEnabled(getAvailabilityStatus() == AVAILABLE); in updateState()
DTypeFilterPreferenceController.java87 return AVAILABLE; in getAvailabilityStatus()
92 return AVAILABLE; in getAvailabilityStatus()
165 pref.setEnabled(getAvailabilityStatus() == AVAILABLE && !disabledByApp); in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DCrossProfileCalendarPreferenceControllerTest.java20 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
91 .isNotEqualTo(CrossProfileCalendarPreferenceController.AVAILABLE); in getAvailabilityStatus_noManagedUser_shouldBeDisabled()
107 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable()
115 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_allPackagesAllowed_shouldBeAvailable()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/appinfo/
DHibernationSwitchPreferenceControllerTest.java26 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
111 assertThat(mController.getAvailabilityStatus()).isNotEqualTo(AVAILABLE); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable()
118 assertThat(mController.getAvailabilityStatus()).isNotEqualTo(AVAILABLE); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable()
125 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_validPackage_shouldReturnAvailable()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appinfo/
DHibernationSwitchPreferenceControllerTest.java26 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
114 assertThat(mController.getAvailabilityStatus()).isNotEqualTo(AVAILABLE); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable()
121 assertThat(mController.getAvailabilityStatus()).isNotEqualTo(AVAILABLE); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable()
128 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_validPackage_shouldReturnAvailable()
/packages/services/Car/service/src/com/android/car/hal/
DHalPropValueBuilder.java72 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE); in build()
99 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, value); in build()
127 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, values); in build()
155 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, value); in build()
183 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, values); in build()
211 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, value); in build()
239 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, values); in build()
267 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, value); in build()
295 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, values); in build()
442 init(halPropId, value.getAreaId(), 0, VehiclePropertyStatus.AVAILABLE); in AidlHalPropValue()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DRecentAppsGroupPreferenceControllerTest.java19 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
81 .isEqualTo(AVAILABLE); in onCreate_isAvailableByDefault()
102 .isEqualTo(AVAILABLE); in onRecentAppsCallback_notEmpty_isUnavailable()
DHibernatedAppsPreferenceControllerTest.java22 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
88 assertThat((mController).getAvailabilityStatus()).isNotEqualTo(AVAILABLE); in getAvailabilityStatus_featureDisabled_shouldNotReturnAvailable()
96 assertThat((mController).getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_featureEnabled_shouldReturnAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DSavedDeviceGroupControllerTest.java18 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
111 AVAILABLE); in testGetAvailabilityStatus_BluetoothFeature_returnSupported()
119 AVAILABLE); in getAvailabilityStatus_haveDockFeature_returnSupported()
/packages/apps/Settings/tests/robotests/src/com/android/settings/emergency/
DEmergencyGestureEntrypointPreferenceControllerTest.java19 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
93 assertThat(controller.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_configIsTrue_shouldReturnAvailable()
120 assertThat(controller.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_noSuitableIntent_shouldReturnAvailable()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java105 @IntDef({AVAILABLE, CONDITIONALLY_UNAVAILABLE, UNSUPPORTED_ON_DEVICE, DISABLED_FOR_PROFILE,
113 public static final int AVAILABLE = 0; field in PreferenceController
284 return availabilityStatus == AVAILABLE || availabilityStatus == AVAILABLE_FOR_VIEWING; in isAvailable()
394 return AVAILABLE; in getAvailabilityStatus()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
DBridgedAppsLinkPreferenceControllerTest.java21 import static com.android.settings.core.BasePreferenceController.AVAILABLE;
101 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in testAvailable_lowTargetSdk_customizations()
115 assertThat(mController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in testAvailable_highTargetSdk_noCustomizations()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetEsimPreferenceControllerTest.java19 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
115 assertThat(mPreferenceController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_euiccNotProvisioned_developer_available()
123 assertThat(mPreferenceController.getAvailabilityStatus()).isEqualTo(AVAILABLE); in getAvailabilityStatus_euiccProvisioned_available()

12345678910>>...35