Home
last modified time | relevance | path

Searched refs:isChangeable (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/notification/
DAppNotificationRepositoryTest.kt167 val isChangeable = repository.isChangeable(APP) in isChangeable_importanceLocked() constant
169 assertThat(isChangeable).isFalse() in isChangeable_importanceLocked()
178 val isChangeable = repository.isChangeable(targetSApp) in isChangeable_appTargetS() constant
180 assertThat(isChangeable).isTrue() in isChangeable_appTargetS()
193 val isChangeable = repository.isChangeable(targetTiramisuApp) in isChangeable_appTargetTiramisuWithoutNotificationPermission() constant
195 assertThat(isChangeable).isFalse() in isChangeable_appTargetTiramisuWithoutNotificationPermission()
208 val isChangeable = repository.isChangeable(targetTiramisuApp) in isChangeable_appTargetTiramisuWithNotificationPermission() constant
210 assertThat(isChangeable).isTrue() in isChangeable_appTargetTiramisuWithNotificationPermission()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/
DWifiControlAppListModelTest.kt194 val isChangeable = listModel.isChangeable(record) in isChangeable_noRequestedPermission() constant
196 assertThat(isChangeable).isFalse() in isChangeable_noRequestedPermission()
209 val isChangeable = listModel.isChangeable(record) in isChangeable_notChangeableWhenRequestedNetworkSettingPermissions() constant
211 assertThat(isChangeable).isFalse() in isChangeable_notChangeableWhenRequestedNetworkSettingPermissions()
224 val isChangeable = listModel.isChangeable(record) in isChangeable_changeableWhenRequestedChangeWifiStatePermission() constant
226 assertThat(isChangeable).isTrue() in isChangeable_changeableWhenRequestedChangeWifiStatePermission()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/specialaccess/
DPictureInPictureTest.kt163 val isChangeable = listModel.isChangeable(record) in isChangeable_isSupport() constant
165 assertThat(isChangeable).isTrue() in isChangeable_isSupport()
172 val isChangeable = listModel.isChangeable(record) in isChangeable_notSupport() constant
174 assertThat(isChangeable).isFalse() in isChangeable_notSupport()
DAlarmsAndRemindersAppListTest.kt95 assertThat(record.isChangeable).isFalse() in transformItem_whenNotRequestScheduleExactAlarm_recordHasCorrectState()
107 assertThat(record.isChangeable).isFalse() in transformItem_whenRequestUseExactAlarm_recordHasCorrectState()
116 assertThat(record.isChangeable).isFalse() in transformItem_whenPowerAllowListed_recordHasCorrectState()
124 assertThat(record.isChangeable).isTrue() in transformItem_whenNotTrumped_recordHasCorrectState()
DMediaRoutingControlTest.kt166 val isSpecialAccessChangeable = listModel.isChangeable(permissionRequestedRecord) in isChangeable_permissionRequestedByAppAndWatchCompanionRoleAssigned_shouldReturnTrue()
184 val isSpecialAccessChangeable = listModel.isChangeable(permissionNotRequestedRecord) in isChangeable_permissionNotRequestedByAppButWatchCompanionRoleAssigned_shouldReturnFalse()
202 val isSpecialAccessChangeable = listModel.isChangeable(permissionRequestedRecord) in isChangeable_permissionRequestedByAppButWatchCompanionRoleNotAssigned_shouldReturnFalse()
220 val isSpecialAccessChangeable = listModel.isChangeable(permissionRequestedRecord) in isChangeable_withFlagDisabled_shouldReturnFalse()
/packages/apps/Settings/src/com/android/settings/spa/app/specialaccess/
DAlarmsAndRemindersAppList.kt51 val isChangeable: Boolean, constant in com.android.settings.spa.app.specialaccess.AlarmsAndRemindersAppRecord
81 recordList.filter { it.isChangeable } in filter()
90 override fun isChangeable(record: AlarmsAndRemindersAppRecord) = record.isChangeable in isChangeable() method in com.android.settings.spa.app.specialaccess.AlarmsAndRemindersAppListModel
116 isChangeable = hasRequestPermission && !isTrumped, in createRecord()
DInstallUnknownApps.kt74 recordList.filter { record -> isChangeable(record, potentialPackageNames) } in transformItem()
81 override fun isChangeable(record: InstallUnknownAppsRecord) = in isAllowed() method in com.android.settings.spa.app.specialaccess.InstallUnknownAppsListModel
82 isChangeable(record, getPotentialPackageNames(record.app.userId)) in isAllowed()
91 private fun isChangeable( method
DDisplayOverOtherApps.kt48 override fun isChangeable(record: AppOpPermissionRecord): Boolean { in createModel() method
54 return super.isChangeable(record) in createModel()
DMediaRoutingControl.kt54 override fun isChangeable(record: AppOpPermissionRecord): Boolean { in createModel() method
56 && super.isChangeable(record) in createModel()
DNfcTagAppsSettings.kt105 override fun isChangeable(record: NfcTagAppsSettingsRecord) = true in isAllowed() method in com.android.settings.spa.app.specialaccess.NfcTagAppsSettingsListModel
DPictureInPicture.kt92 override fun isChangeable(record: PictureInPictureRecord) = record.isSupport in isAllowed() method in com.android.settings.spa.app.specialaccess.PictureInPictureListModel
/packages/apps/Settings/src/com/android/settings/spa/notification/
DAppNotificationsListModel.kt134 value = repository.isChangeable(record.app) in <lambda>()
DAppNotificationRepository.kt100 fun isChangeable(app: ApplicationInfo): Boolean { in isEnabled() method