9f1e911759dc6fedaac9fa65afb79f6a93022bf4 |
|
09-Jun-2017 |
Andrew Sapperstein <asapperstein@google.com> |
Refactor test runner to use static list of resource paths Previously everything lived in an inner class method of SettingsRobolectricTestRunner. That method has now been turned into a static method so that it can be called by other runners. Bug: 62460102 Test: robotests Change-Id: I6612b1f26404587301c534c8ba60e39d59d6c840
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/MusicViewHolderControllerTest.java
|
7c236a0c7e11f9c2024a2d007d6bcd0705a4ca0f |
|
31-May-2017 |
Jeff Sharkey <jsharkey@android.com> |
Merge commit '47eec246a9293616cb74d2c354be85201ec4e19e' into mergeit Change-Id: I988ae328e0e9bb99b086490cf2ef48ca19779d13
|
77fe8c1e9e0ca06ab723a471c97913ae127959b5 |
|
30-May-2017 |
Jeff Sharkey <jsharkey@android.com> |
Consistent "low storage" behavior. Fix several bugs related to storage accounting. Since getDataBytes() already includes cached data, we need to subtract it to avoid blaming apps for it. We also need to blame app code on someone, so we blame it on the current user. StorageStatsManager was fixed awhile back to only return the app code size on the requested storage volume, so we can remove the system app checks. Subtract "appBytes" from external storage accounting, since it's already been blamed elsewhere against specific apps. Pass along storage results from all users on the device, and subtract them all when estimating size of "system" data. To avoid embarrassing estimation bugs, make sure that "system" data is at least 1GB. Bug: 38008706 Test: cts-tradefed run commandAndExit cts-dev -m CtsJobSchedulerTestCases -t android.jobscheduler.cts.StorageConstraintTest Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest Change-Id: Ide1e6d0690e5ad4e751c87891f63ba1036434619
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/MusicViewHolderControllerTest.java
|
046400c2c407429da47e6b2230ba8bbd21c43e9b |
|
24-May-2017 |
Maurice Lam <yukl@google.com> |
Migrate settings robolectric tests to mockito 2 - Migrated ArgumentMatcher subclasses to lambdas - Replaced any() with nullable() where tests were failing Test: cd tests/robotests && mma Bug: 38456058 Change-Id: Ice8c39b435c45b87f82dbbd9860e68f235314cf8
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/MusicViewHolderControllerTest.java
|
b80f1ddaf04d07d47cead4de2422c4627573ea50 |
|
17-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Follow storage API polishing. Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest Bug: 37325923, 35812899, 35806020 Change-Id: I4965b7391018354157f0683a643a14c5e9cd338d
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/MusicViewHolderControllerTest.java
|
2d01be108d6c9ca07302dd45674ce45b40ed8160 |
|
01-Mar-2017 |
Garfield Tan <xutan@google.com> |
Remove DocumentsContract.ACTION_BROWSE. Test: Code builds and tests pass. Bug: 35760993 Change-Id: I7e540b71a7be60d250ffec899eb5c08941dc24a8
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/MusicViewHolderControllerTest.java
|
e3ac0cd6db984e3f5b25a98c634d586c8c3a0289 |
|
09-Feb-2017 |
Daniel Nishi <dhnishi@google.com> |
Use the upstreamed StorageStatsSource wrapper. This was upstreamed into SettingsLib when similar wrappers started showing up in other projects. Settings, however, was using the non-upstreamed version. Change-Id: Iffadb75655165d3b64a25fd7b21e5b9765cb40be Fixes: 35680800 Test: Settings Robotests still pass despite the data swap out.
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/MusicViewHolderControllerTest.java
|
a412c30d90d809319832f01d907cc46c83e6089e |
|
08-Feb-2017 |
Daniel Nishi <dhnishi@google.com> |
Fix a race condition where the extra view may not update timely. Previously, we queried for the extra view's stats during the rebuild. The full rebuild can take an arduous amount of time. By moving the background calculation outside of the rebuild code path, we can load the stats in the background and update the view outside of the app loading cycle. Bug: 35144044 Test: Manual -- this was race condition-y, so I just tested several times. Change-Id: Id2f92e32c3b3f9c5d5cf4a7308cca38c2e52789c
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/MusicViewHolderControllerTest.java
|
31027dae93bc38377630e5589ab2169a021368ad |
|
19-Jan-2017 |
Daniel Nishi <dhnishi@google.com> |
Add a music apps view to the Storage Settings. When you tap the Music & Audio preference, it takes you a hybridized applications view. In this view, there also is a line item which defines the amount of storage used by audio files on the device. Using the new storage query, we can add this information very quickly to the view. Bug: 33199077 Test: Settings robo tests Change-Id: If51cba0b3de20805543a39049367eb13613081e7
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/MusicViewHolderControllerTest.java
|