OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FREE_BYTES_KEY
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
CachedStorageValuesHelper.java
34
public static final String
FREE_BYTES_KEY
= "free_bytes";
71
final long freeBytes = mSharedPreferences.getLong(
FREE_BYTES_KEY
, -1);
137
.putLong(
FREE_BYTES_KEY
, storageInfo.freeBytes)
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
CachedStorageValuesHelperTest.java
25
import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper.
FREE_BYTES_KEY
;
87
.putLong(
FREE_BYTES_KEY
, 1000L)
115
.putLong(
FREE_BYTES_KEY
, 1000L)
154
.putLong(
FREE_BYTES_KEY
, 1000L)
180
.putLong(
FREE_BYTES_KEY
, 1000L)
207
.putLong(
FREE_BYTES_KEY
, 1000L)
233
.putLong(
FREE_BYTES_KEY
, 1000L)
286
assertThat(mSharedPreferences.getLong(
FREE_BYTES_KEY
, -1)).isEqualTo(1000L);
Completed in 700 milliseconds