Home
last modified time | relevance | path

Searched refs:Availability (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/search/
DResultPayload.java68 @IntDef({Availability.AVAILABLE,
69 Availability.DISABLED_DEPENDENT_SETTING,
70 Availability.DISABLED_DEPENDENT_APP,
71 Availability.DISABLED_UNSUPPORTED,
72 Availability.RESOURCE_CONTENTION,
73 Availability.INTENT_ONLY,
74 Availability.DISABLED_FOR_USER,})
76 public @interface Availability { annotation in ResultPayload
DInlinePayload.java95 @Availability public int getAvailability() { in getAvailability()
97 return Availability.AVAILABLE; in getAvailability()
99 return Availability.DISABLED_UNSUPPORTED; in getAvailability()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DInlineSwitchPayloadTest.java28 import com.android.settings.search.ResultPayload.Availability;
71 assertThat(payload.getAvailability()).isEqualTo(ResultPayload.Availability.AVAILABLE); in testConstructor_DataRetained()
100 assertThat(payload.getAvailability()).isEqualTo(Availability.AVAILABLE); in testParcelConstructor_DataRetained()
DInlineListPayloadTest.java46 assertThat(payload.getAvailability()).isEqualTo(ResultPayload.Availability.AVAILABLE); in testConstructor_DataRetained()
75 assertThat(payload.getAvailability()).isEqualTo(ResultPayload.Availability.AVAILABLE); in testParcelConstructor_DataRetained()
DCursorToSearchResultConverterTest.java34 import com.android.settings.search.ResultPayload.Availability;
250 assertThat(newPayload.getAvailability()).isEqualTo(Availability.AVAILABLE); in testParseCursor_MatchesInlineSwitchPayload()