Searched refs:Availability (Results 1 – 5 of 5) sorted by relevance
68 @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
95 @Availability public int getAvailability() { in getAvailability()97 return Availability.AVAILABLE; in getAvailability()99 return Availability.DISABLED_UNSUPPORTED; in getAvailability()
28 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()
46 assertThat(payload.getAvailability()).isEqualTo(ResultPayload.Availability.AVAILABLE); in testConstructor_DataRetained()75 assertThat(payload.getAvailability()).isEqualTo(ResultPayload.Availability.AVAILABLE); in testParcelConstructor_DataRetained()
34 import com.android.settings.search.ResultPayload.Availability;250 assertThat(newPayload.getAvailability()).isEqualTo(Availability.AVAILABLE); in testParseCursor_MatchesInlineSwitchPayload()