Home
last modified time | relevance | path

Searched refs:MainViewModel (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/activitydelegates/
DMainActivityActionDelegate.java32 import com.android.adservices.ui.settings.viewmodels.MainViewModel;
44 private final MainViewModel mMainViewModel;
47 AdServicesSettingsMainActivity mainSettingsActivity, MainViewModel mainViewModel) { in MainActivityActionDelegate()
129 Observer<MainViewModel.MainViewModelUiEvent> observer = in listenToMainViewModelUiEvents()
/packages/modules/AdServices/adservices/apk/unittest/src/com/android/adservices/ui/settings/viewmodels/
DMainViewModelTest.java47 private MainViewModel mMainViewModel;
59 new MainViewModel(ApplicationProvider.getApplicationContext(), mConsentManager); in setup()
73 new MainViewModel(ApplicationProvider.getApplicationContext(), mConsentManager); in testGetConsentReturnsFalse()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/activities/
DAdServicesSettingsMainActivity.java34 import com.android.adservices.ui.settings.viewmodels.MainViewModel;
88 new MainActionDelegate(this, new ViewModelProvider(this).get(MainViewModel.class)); in initMainFragment()
123 this, new ViewModelProvider(this).get(MainViewModel.class)); in initMainActivity()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/viewmodels/
DMainViewModel.java44 public class MainViewModel extends AndroidViewModel { class
56 public MainViewModel(@NonNull Application application) { in MainViewModel() method in MainViewModel
61 public MainViewModel(@NonNull Application application, ConsentManager consentManager) { in MainViewModel() method in MainViewModel
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/delegates/
DMainActionDelegate.java36 import com.android.adservices.ui.settings.viewmodels.MainViewModel;
49 private final MainViewModel mMainViewModel;
52 AdServicesSettingsMainActivity mainSettingsActivity, MainViewModel mainViewModel) { in MainActionDelegate()
59 Observer<MainViewModel.MainViewModelUiEvent> observer = in listenToMainViewModelUiEvents()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/
DDialogManager.java33 import com.android.adservices.ui.settings.viewmodels.MainViewModel;
51 public static void showOptOutDialog(@NonNull Context context, MainViewModel mainViewModel) { in showOptOutDialog()
DDialogFragmentManager.java31 import com.android.adservices.ui.settings.viewmodels.MainViewModel;
52 @NonNull FragmentActivity fragmentActivity, MainViewModel mainViewModel) { in showOptOutDialogFragment()