OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TIMESTAMP_KEY
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
CachedStorageValuesHelper.java
33
public static final String
TIMESTAMP_KEY
= "last_query_timestamp";
151
.putLong(
TIMESTAMP_KEY
, mClock.getCurrentTime())
161
final long lastQueryTime = mSharedPreferences.getLong(
TIMESTAMP_KEY
, Long.MAX_VALUE);
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
CachedStorageValuesHelperTest.java
31
import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper.
TIMESTAMP_KEY
;
90
.putLong(
TIMESTAMP_KEY
, 10000L)
118
.putLong(
TIMESTAMP_KEY
, 10000L)
157
.putLong(
TIMESTAMP_KEY
, 10000L)
183
.putLong(
TIMESTAMP_KEY
, 10000L)
210
.putLong(
TIMESTAMP_KEY
, 10000L)
236
.putLong(
TIMESTAMP_KEY
, 10000L)
289
assertThat(mSharedPreferences.getLong(
TIMESTAMP_KEY
, -1)).isEqualTo(10000L);
Completed in 64 milliseconds