/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAppPermissionFragment.java | 65 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel; 66 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ChangeRequest; 83 implements AppPermissionViewModel.ConfirmDialogShowingFragment { 102 private AppPermissionViewModel mViewModel; 218 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.ALLOW); in onViewCreated() 225 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.ALLOW_ALWAYS); in onViewCreated() 232 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.ALLOW_FOREGROUND); in onViewCreated() 239 checkOnlyOneButtonOverride(AppPermissionViewModel.ButtonType.DENY); in onViewCreated() 280 mViewModel = new ViewModelProvider(this, factory).get(AppPermissionViewModel.class); in onStart() 450 Map<AppPermissionViewModel.ButtonType, AppPermissionViewModel.ButtonState> states) { in setRadioButtonsState() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsActivityTest.kt | 33 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel in <lambda>() 69 val viewModel: AppPermissionViewModel = Mockito.mock(AppPermissionViewModel::class.java) in <lambda>() 87 MutableLiveData(AppPermissionViewModel.RevokeAllState.NotStarted) in <lambda>() 90 .thenReturn(MediatorLiveData(AppPermissionViewModel.DisableExerciseRouteDialogEvent())) in <lambda>()
|
D | SettingsManageAppPermissionsFragmentTest.kt | 46 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel in <lambda>() 47 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel.DisableExerciseR… in <lambda>() 48 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel.RevokeAllState in <lambda>() 93 @BindValue val viewModel: AppPermissionViewModel = mock() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v33/ |
D | AdvancedConfirmDialogArgs.kt | 22 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel 31 val changeRequest: AppPermissionViewModel.ChangeRequest? = null,
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearAppPermissionFragment.kt | 50 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel in <lambda>() 51 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType in <lambda>() 52 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ChangeRequest in <lambda>() 53 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ConfirmDialogSho… in <lambda>() 149 val viewModel = ViewModelProvider(this, factory).get(AppPermissionViewModel::class.java) in <lambda>()
|
D | WearAppPermissionScreen.kt | 29 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel in <lambda>() 30 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState in <lambda>() 31 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType in <lambda>() 45 viewModel: AppPermissionViewModel, in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | AppPermissionFragment.java | 70 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel; 71 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState; 72 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType; 73 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ChangeRequest; 88 implements AppPermissionViewModel.ConfirmDialogShowingFragment { 94 private @NonNull AppPermissionViewModel mViewModel; 185 mViewModel = new ViewModelProvider(this, factory).get(AppPermissionViewModel.class); in onCreate() 346 …private void setButtonState(RadioButtonPreference button, AppPermissionViewModel.ButtonState state… in setButtonState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/model/ |
D | AppPermissionConfirmDialogViewModel.kt | 22 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel 54 val changeRequest: AppPermissionViewModel.ChangeRequest,
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/ |
D | TrampolineActivityTest.kt | 59 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel 99 val appPermissionViewModel: AppPermissionViewModel = mock(AppPermissionViewModel::class.java) 152 MutableLiveData(AppPermissionViewModel.RevokeAllState.NotStarted) in setup() 235 .thenReturn(MediatorLiveData(AppPermissionViewModel.DisableExerciseRouteDialogEvent())) in manageHealthPermissions_withPackageName_launchesSettingsActivity()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionViewModel.kt | 69 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ALLOW in <lambda>() 70 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ALLOW… in <lambda>() 71 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ALLOW… in <lambda>() 72 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ASK in <lambda>() 73 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.ASK_O… in <lambda>() 74 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.DENY in <lambda>() 75 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.DENY_… in <lambda>() 76 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.LOCAT… in <lambda>() 77 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType.SELEC… in <lambda>() 109 class AppPermissionViewModel( in <lambda>() class [all …]
|
D | UnusedAppsViewModel.kt | 62 private val LOG_TAG = AppPermissionViewModel::class.java.simpleName in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/shared/ |
D | SettingsActivity.kt | 30 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel 42 private val viewModel: AppPermissionViewModel by viewModels()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | DisableExerciseRoutePermissionDialogTest.kt | 29 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel 49 @BindValue val viewModel: AppPermissionViewModel = mock()
|
D | ExerciseRoutesPermissionDialogFragmentTest.kt | 39 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel 63 @BindValue val permissionsViewModel = mock(AppPermissionViewModel::class.java)
|
D | AdditionalAccessFragmentTest.kt | 49 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel in <lambda>() 83 @BindValue val permissionsViewModel: AppPermissionViewModel = mock() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | AppPermissionFragment.java | 79 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel; 80 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonState; 81 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ButtonType; 82 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ChangeRequest; 105 implements AppPermissionViewModel.ConfirmDialogShowingFragment { 113 private @NonNull AppPermissionViewModel mViewModel; 212 mViewModel = new ViewModelProvider(this, factory).get(AppPermissionViewModel.class); in onCreate() 525 private void setButtonState(CompoundButton button, AppPermissionViewModel.ButtonState state) { in setButtonState()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/ |
D | DisableExerciseRoutePermissionDialog.kt | 30 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel in <lambda>() 52 private val viewModel: AppPermissionViewModel by activityViewModels() in <lambda>()
|
D | ExerciseRoutesPermissionDialogFragment.kt | 37 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel in <lambda>() 58 private val permissionsViewModel: AppPermissionViewModel by activityViewModels() in <lambda>()
|
D | AdditionalAccessFragment.kt | 31 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel in <lambda>() 54 private val permissionsViewModel: AppPermissionViewModel by activityViewModels() in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | ConnectedAppFragmentTest.kt | 42 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel in <lambda>() 43 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel.RevokeAllState.N… in <lambda>() 93 @BindValue val viewModel: AppPermissionViewModel = mock() in <lambda>() 112 .thenReturn(MediatorLiveData(AppPermissionViewModel.DisableExerciseRouteDialogEvent())) in <lambda>()
|
D | AppPermissionViewModelTest.kt | 27 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel 86 private lateinit var appPermissionViewModel: AppPermissionViewModel 117 AppPermissionViewModel( in setup()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/ |
D | SettingsManageAppPermissionsFragment.kt | 52 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel.RevokeAllState in <lambda>() 97 private val viewModel: AppPermissionViewModel by activityViewModels() in <lambda>()
|
D | ConnectedAppFragment.kt | 53 import com.android.healthconnect.controller.permissions.app.AppPermissionViewModel.RevokeAllState in <lambda>() 109 private val appPermissionViewModel: AppPermissionViewModel by activityViewModels() in <lambda>()
|
D | AppPermissionViewModel.kt | 53 class AppPermissionViewModel in <lambda>() class
|