summaryrefslogtreecommitdiff
path: root/tests/unit/src/com/android/settings/development/transcode
Commit message (Collapse)AuthorAgeFilesLines
* Avoid media transcode can be bypass guard of developer optionsEdgar Wang2022-12-015-10/+73
| | | | | | | | | | When developer options switch is off, a user including guest user can still configure media transcoding settings via slices. Bug: 244569778 Test: manual Change-Id: I3d70045c2498e683bf615cbe521e2f98d50b7eec (cherry picked from commit a94e8d0bc72ad4aae6a62cad3673b099d72dcd13)
* Fix TranscodeDisableCachePreferenceControllerTestBiswarup Pal2021-04-151-2/+2
| | | | | | Test: TranscodeDisableCachePreferenceControllerTest Bug: 185483742 Change-Id: Ie448929fb50a49a0641baf6456df11430bb9f1c6
* Implement controller to disable transcoding cacheBiswarup Pal2021-04-144-3/+80
| | | | | | | | | | | | | | This is to provide users with control over whether to disable transcoding cache or not. By default we keep the transcoding cache enabled. The controller resides within the Media transcoding settings under Developer Options. Test: Manual. Unit tests added. Bug: 185246580 Change-Id: I5cc85e4a254c87b5c84c32a303e8294c918748c2
* Introduce controller for transcode notificationsManish Singh2021-02-211-0/+76
| | | | | | | | | | | | | | This is to provider users with control over whether to show transcoding notifications or not. By default we show the notifications. The controller resides within the Media transcoding settings under Developer Options. BUG: 170973510 Test: manual. unit test added. Change-Id: I7172f583ce4c1a53e5d5ccc07625f201852db43a
* Migrate robolectric tests to junit testsArc Wang2020-12-163-0/+232
This change do the 2 things: 1. Add new junit tests files which replace robolectric RobolectricTestRunner & RuntimeEnvironment with AndroidX objects without problem. 2. Remove the robolectric test files which have it's new junit files. This change migrate 103 files, there are still 1209 files to go. Bug: 174728471 Test: atest make RunSettingsRoboTests Change-Id: I15ed3f4745b85862f720aabbf710ce1475aced93