Searched refs:AppsViewModelUiEvent (Results 1 – 3 of 3) sorted by relevance
49 private final MutableLiveData<Pair<AppsViewModelUiEvent, App>> mEventTrigger =57 public enum AppsViewModelUiEvent { enum in AppsViewModel133 public LiveData<Pair<AppsViewModelUiEvent, App>> getUiEvents() { in getUiEvents()152 mEventTrigger.postValue(new Pair<>(AppsViewModelUiEvent.BLOCK_APP, app)); in revokeAppConsentButtonClickHandler()157 mEventTrigger.postValue(new Pair<>(AppsViewModelUiEvent.RESET_APPS, null)); in resetAppsButtonClickHandler()163 new Pair<>(AppsViewModelUiEvent.DISPLAY_BLOCKED_APPS_FRAGMENT, null)); in blockedAppsFragmentButtonClickHandler()213 mEventTrigger.postValue(new Pair<>(AppsViewModelUiEvent.SWITCH_ON_APPS, null)); in consentSwitchClickHandler()216 mEventTrigger.postValue(new Pair<>(AppsViewModelUiEvent.SWITCH_OFF_APPS, null)); in consentSwitchClickHandler()
39 import com.android.adservices.ui.settings.viewmodels.AppsViewModel.AppsViewModelUiEvent;59 Observer<Pair<AppsViewModelUiEvent, App>> observer = in listenToAppsViewModelUiEvents()64 AppsViewModelUiEvent event = eventAppPair.first; in listenToAppsViewModelUiEvents()
39 import com.android.adservices.ui.settings.viewmodels.AppsViewModel.AppsViewModelUiEvent;159 Observer<Pair<AppsViewModelUiEvent, App>> observer = in listenToAppsViewModelUiEvents()164 AppsViewModelUiEvent event = eventAppPair.first; in listenToAppsViewModelUiEvents()