OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TOTAL_BYTES_KEY
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
CachedStorageValuesHelper.java
35
public static final String
TOTAL_BYTES_KEY
= "total_bytes";
72
final long totalBytes = mSharedPreferences.getLong(
TOTAL_BYTES_KEY
, -1);
138
.putLong(
TOTAL_BYTES_KEY
, storageInfo.totalBytes)
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
CachedStorageValuesHelperTest.java
32
import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper.
TOTAL_BYTES_KEY
;
88
.putLong(
TOTAL_BYTES_KEY
, 6000L)
116
.putLong(
TOTAL_BYTES_KEY
, 5000L)
155
.putLong(
TOTAL_BYTES_KEY
, 5000L)
181
.putLong(
TOTAL_BYTES_KEY
, 5000L)
208
.putLong(
TOTAL_BYTES_KEY
, 5000L)
234
.putLong(
TOTAL_BYTES_KEY
, 5000L)
287
assertThat(mSharedPreferences.getLong(
TOTAL_BYTES_KEY
, -1)).isEqualTo(6000L);
Completed in 147 milliseconds