/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/notification/ |
D | AppNotificationRepositoryTest.kt | 167 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/ |
D | WifiControlAppListModelTest.kt | 194 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/ |
D | PictureInPictureTest.kt | 163 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()
|
D | AlarmsAndRemindersAppListTest.kt | 95 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()
|
D | MediaRoutingControlTest.kt | 166 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/ |
D | AlarmsAndRemindersAppList.kt | 51 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()
|
D | InstallUnknownApps.kt | 74 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
|
D | DisplayOverOtherApps.kt | 48 override fun isChangeable(record: AppOpPermissionRecord): Boolean { in createModel() method 54 return super.isChangeable(record) in createModel()
|
D | MediaRoutingControl.kt | 54 override fun isChangeable(record: AppOpPermissionRecord): Boolean { in createModel() method 56 && super.isChangeable(record) in createModel()
|
D | NfcTagAppsSettings.kt | 105 override fun isChangeable(record: NfcTagAppsSettingsRecord) = true in isAllowed() method in com.android.settings.spa.app.specialaccess.NfcTagAppsSettingsListModel
|
D | PictureInPicture.kt | 92 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/ |
D | AppNotificationsListModel.kt | 134 value = repository.isChangeable(record.app) in <lambda>()
|
D | AppNotificationRepository.kt | 100 fun isChangeable(app: ApplicationInfo): Boolean { in isEnabled() method
|