Home
last modified time | relevance | path

Searched refs:shouldShowDialog (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/enrollment/modules/enrolling/rfps/viewmodel/
DRFPSIconTouchViewModelTest.kt64 var shouldShowDialog = false in initShouldNotShowDialog() variable
66 val job = launch { rfpsIconTouchViewModel.shouldShowDialog.collect { shouldShowDialog = it } } in initShouldNotShowDialog()
70 assertThat(shouldShowDialog).isFalse() in initShouldNotShowDialog()
77 var shouldShowDialog = false in shouldShowDialogTest() variable
79 val job = launch { rfpsIconTouchViewModel.shouldShowDialog.collect { shouldShowDialog = it } } in shouldShowDialogTest()
87 assertThat(shouldShowDialog).isTrue() in shouldShowDialogTest()
94 var shouldShowDialog = false in stateShouldBeFalseAfterReset() variable
96 val job = launch { rfpsIconTouchViewModel.shouldShowDialog.collect { shouldShowDialog = it } } in stateShouldBeFalseAfterReset()
104 assertThat(shouldShowDialog).isTrue() in stateShouldBeFalseAfterReset()
109 assertThat(shouldShowDialog).isFalse() in stateShouldBeFalseAfterReset()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingRequest.java49 boolean shouldShowDialog = BluetoothUtils.shouldShowDialogInForeground( in onReceive()
51 if (powerManager.isInteractive() && shouldShowDialog) { in onReceive()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessViewModelTest.kt344 assertThat(enableExerciseEventResult.shouldShowDialog).isTrue() in <lambda>()
379 assertThat(enableExerciseEventResult.shouldShowDialog).isFalse() in <lambda>()
416 assertThat(enableExerciseEventResult.shouldShowDialog).isFalse() in <lambda>()
457 assertThat(enableExerciseEventResult.shouldShowDialog).isFalse() in <lambda>()
495 assertThat(enableExerciseEventResult.shouldShowDialog).isFalse() in <lambda>()
518 assertThat(showEnableExerciseEventObserver.getLastValue().shouldShowDialog).isFalse() in <lambda>()
DAdditionalAccessFragmentTest.kt473 val event = EnableExerciseDialogEvent(shouldShowDialog = true, appName = TEST_APP_NAME) in <lambda>()
488 val event = EnableExerciseDialogEvent(shouldShowDialog = false, appName = TEST_APP_NAME) in <lambda>()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingRequest.java54 boolean shouldShowDialog = LocalBluetoothPreferences.shouldShowDialogInForeground( in onReceive()
73 } else if (powerManager.isInteractive() && shouldShowDialog) { in onReceive()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessViewModel.kt77 shouldShowDialog = _showEnableExerciseEvent.value ?: false, in <lambda>()
83 shouldShowDialog = _showEnableExerciseEvent.value ?: false, in <lambda>()
250 val shouldShowDialog: Boolean = false, in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel.EnableExerciseDialogEvent
DAdditionalAccessFragment.kt92 if (state.shouldShowDialog) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt122 shouldShowDialog = _showDisableExerciseRouteEvent.value ?: false, in <lambda>()
128 shouldShowDialog = _showDisableExerciseRouteEvent.value ?: false, in <lambda>()
381 val shouldShowDialog: Boolean = false, in <lambda>() constant in com.android.healthconnect.controller.permissions.app.AppPermissionViewModel.DisableExerciseRouteDialogEvent
DSettingsManageAppPermissionsFragment.kt185 if (event.shouldShowDialog) { in <lambda>()
DConnectedAppFragment.kt185 if (event.shouldShowDialog) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/viewmodel/
DRFPSIconTouchViewModel.kt48 val shouldShowDialog: Flow<Boolean> = in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.modules.enrolling.rfps.ui.viewmodel.RFPSIconTouchViewModel
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DRouteRequestActivity.kt234 if (shouldShowDialog()) { in <lambda>()
239 private fun shouldShowDialog() = in <lambda>() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPreferenceControllerTest.java125 doReturn(false).when(mBatteryTip).shouldShowDialog(); in handlePreferenceTreeClick_noDialog_invokeCallback()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTip.java175 public boolean shouldShowDialog() { in shouldShowDialog() method in BatteryTip
DRestrictAppTip.java115 mShowDialog = tip.shouldShowDialog(); in updateState()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPreferenceController.java120 if (batteryTip.shouldShowDialog()) { in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/fragment/
DRFPSEnrollFragment.kt141 iconTouchViewModel.shouldShowDialog.collectLatest { showDialog -> in <lambda>()