History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b05a346fae92806933cbeda33aae02ecb3521fc1 13-Sep-2017 Daniel Nishi <dhnishi@google.com> Close the load screen faster on pre-quota devices.

Pre-quota devices can take an absurd time to load. By loading the screen
once the volume sizes load, we can just show "calculating..." for a
really long time instead of a loading screen.

Change-Id: Id8ab0609c2bc19531d530c6bdf6bff89c5bfac96
Fixes: 64150148
Test: Settings Robotest
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java
fb302de0d649eae3d86aa842680d69125239502f 10-Aug-2017 Daniel Nishi <dhnishi@google.com> Cache storage values for fast loading.

If the user moves away from the storage fragment and returns, this
allows us to use cached data from the previous calculation. If the data
is > 1 minute old, we consider it stale. Otherwise, we can bypass the
loading screen.

Fixes: 37923463
Test: Settings Robotest

Change-Id: I7650d4d742852f8d447878c077b9190bc0a0bb22
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java
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/deviceinfo/StorageDashboardFragmentTest.java
e6740f740ea505dc3a07bbec2861b684f30d7194 14-Apr-2017 Daniel Nishi <dhnishi@google.com> Fix a bug where options menu was not showing.

There were two issues that stopped the options menu from
showing properly. First, the SettingsPreferenceFragment did
not call its super class, causing the Lifecycle methods to
never be called. Second, the options menu was not being
invalidated which also stopped the Lifecycle methods from
being called.

Change-Id: I29f2fc105c7ecae7adaccb2e4643e48646398d8d
Fixes: 37255835
Test: Robotest
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java
f6b12274f125c4deaba796dc07eaff31d13a9eb3 03-Mar-2017 Daniel Nishi <dhnishi@google.com> Re-add the option to migrate data back.

Currently, users can use an SD card or USB drive and adopt it as
internal storage using existing flows. They can manage this drive
perfectly fine using the old storage screen, which is still around.

One functionality that was lost was the ability to migrate data from
the adopted drive back to the private internal storage. This appeared
in a dropdown in the old storage settings.

By duplicating the code to create just that specific menu item and its
click behavior, we can restore this functionality to the new storage
view.

Change-Id: Id0e01c560e7249acccfe86c5da44466dd58fe5d4
Merged-In: I4b8c06912d2c0b2c5be5bce8b217d45accf34d4b
Fixes: 35926028
Test: Settings Robotest
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java
f2cf2aea3777ef5298bb1131890552f5f619dd30 04-Mar-2017 Doris Ling <dling@google.com> Remove code that check for dashboard feature.

- remove DashboardFeatureProvider.isEnabled() and all relating code
and tests.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: If7796677abc8904b7436525836d50cdef38e37a4
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java
9f60f42a9425faa5e4ef6ec3ceb6aa543e12f732 16-Feb-2017 Daniel Nishi <dhnishi@google.com> Add support for user profiles to the Storage Settings.

This adds new preferences for each profile (such as the work
profile) and defines a new view for viewing the storage
breakdown for the individual profile. The functionality closely
mimics the presentation on the main view, but without the system-wide
breakdown and without any additional users/profiles.

Bug: 34715777
Test: Settings Robotests

Change-Id: I19d449b648c6566331fd02e45c2e45f8c74ea7e7
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java
f68bb3d78f39cee1748ffd6f6c8107f0cada64d0 25-Jan-2017 Daniel Nishi <dhnishi@google.com> Add an automated test for the null bundle crash.

Bug: 34633464
Test: Settings robotest .
Change-Id: I244e58c3660ea3376dbeb6293da54c99a98e3157
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java
ec89a3f57f3b73b6f119eb7b5546ba4e5f1ede20 16-Dec-2016 Daniel Nishi <dhnishi@google.com> Add first pass at a new Storage screen.

This patch begins setting up the structure for the screen.
The functionality for populating the data in the preferences
is coming in a later patch.

Bug: 33199077
Test: Settings Robo Tests
Change-Id: I9ebad9d3896501e31ac715704ca986eceb36877d
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/StorageDashboardFragmentTest.java