Home
last modified time | relevance | path

Searched refs:putLong (Results 1 – 25 of 42) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DGarageModeTestActivity.java88 editor.putLong(GarageModeChecker.PREFS_INITIATION, now); in onCreate()
89 editor.putLong(GarageModeChecker.PREFS_GARAGE_MODE_START, 0); in onCreate()
90 editor.putLong(GarageModeChecker.PREFS_GARAGE_MODE_END, 0); in onCreate()
91 editor.putLong(GarageModeChecker.PREFS_TERMINATION, 0); in onCreate()
DGarageModeChecker.java123 editor.putLong(PREFS_TERMINATION, System.currentTimeMillis());
166 editor.putLong(PREFS_GARAGE_MODE_START, System.currentTimeMillis()); in onStartJob()
201 editor.putLong(PREFS_GARAGE_MODE_END, now); in doInBackground()
209 editor.putLong(PREFS_JOB_UPDATE, now); in doInBackground()
/cts/hostsidetests/atrace/AtraceTestApp/src/com/android/cts/atracetestapp/
DAtraceDeviceTests.java43 status.putLong("AtraceDeviceTests_pid", Os.getpid()); in reportPidTid()
44 status.putLong("AtraceDeviceTests_tid", Os.gettid()); in reportPidTid()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DField.java79 public void putLong(ContentValues values, long value) { in putLong() method in Field
130 public void putLong(ContentValues values, long value) { in putLong() method in Field.IntegerField
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DSplashScreenReplaceIconActivity.java73 bundle.putLong(ICON_ANIMATION_DURATION, view.getIconAnimationDuration() != null in onSplashScreenExit()
75 bundle.putLong(ICON_ANIMATION_START, view.getIconAnimationStart() != null in onSplashScreenExit()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEvent.java125 bundle.putLong("mEnterTimestamp", mEnterTimestamp); in toBundle()
126 bundle.putLong("mExitTimestamp", mExitTimestamp); in toBundle()
127 bundle.putLong("mEnterWallTime", mEnterWallTime); in toBundle()
128 bundle.putLong("mExitWallTime", mExitWallTime); in toBundle()
DImeCommand.java59 bundle.putLong(ID_KEY, mId); in toBundle()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java174 result.putLong(ARRIVE_ENTER_TIME, SystemClock.uptimeMillis()); in startTest()
176 result.putLong(ARRIVE_RETURN_TIME, SystemClock.uptimeMillis()); in startTest()
186 result.putLong(ARRIVE_ENTER_TIME_READY, SystemClock.uptimeMillis()); in startTest()
188 result.putLong(ARRIVE_RETURN_TIME_READY, in startTest()
/cts/tests/tests/database/src/android/database/cts/
DAbstractWindowedCursorTest.java110 assertTrue(mWindow.putLong((long) shortNumber, ROW_INDEX0, COLUMN_INDEX0)); in testGetShort()
121 assertTrue(mWindow.putLong(longNumber, ROW_INDEX0, COLUMN_INDEX0)); in testGetLong()
132 assertTrue(mWindow.putLong((long) intNumber, ROW_INDEX0, COLUMN_INDEX0)); in testGetInt()
DCursorWindowTest.java261 assertTrue(cursorWindow.putLong(NUMBER_LONG_INTEGER, 0, 2)); in testAccessDataValues()
496 cursorWindow.putLong(i, i, 0); in fillCursorTestContents()
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/
DDataPersistenceTest.java98 assertThat(sharedPref.edit().putLong(KEY_SESSION_ID, sessionId).commit()) in writeSessionIdToDisk()
114 sharedPrefEditor.putLong(KEY_EXPIRY, handle.getExpiryTimeMillis()); in writeBlobHandleToDisk()
DDataCleanupTest.java151 results.putLong(KEY_SESSION_ID, sessionId); in addSessionIdToResults()
164 results.putLong(KEY_EXPIRY, blobHandle.getExpiryTimeMillis()); in addBlobHandleToResults()
/cts/tests/tests/media/src/android/media/cts/
DMediaMetricsTest.java45 .putLong("long", (long) 2) in testBasicItem()
79 .putLong("long", (long) 2) in testBigItem()
DSurfaceEncodeTimestampTest.java244 params.putLong(MediaCodec.PARAMETER_KEY_SUSPEND_TIME, 100000); in testCreateInputSurfaceSuspendedResumeWithTime()
292 params.putLong(MediaCodec.PARAMETER_KEY_SUSPEND_TIME, 100000); in testSuspendedResumeWithTime()
297 params.putLong(MediaCodec.PARAMETER_KEY_SUSPEND_TIME, 166667); in testSuspendedResumeWithTime()
313 params.putLong(MediaCodec.PARAMETER_KEY_OFFSET_TIME, -16667); in testOffsetTime()
DNativeMediaDrmClearkeyTest.java124 buffer.putLong(uuid.getMostSignificantBits()); in uuidByteArray()
125 buffer.putLong(uuid.getLeastSignificantBits()); in uuidByteArray()
/cts/tests/tests/os/src/android/os/cts/
DPersistableBundleTest.java37 bundle.putLong("long", 12345L); in testWriteToStreamAndReadFromStream()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtilsReceiver.java96 res.putLong(EXTRA_BYTES, allocated); in doAllocation()
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/
DBundleKeyQueryHelperTest.java203 mBundle.putLong(KEY, LONG_VALUE); in matches_LongValueRestriction_meetsRestriction_returnsTrue()
214 mBundle.putLong(KEY, LONG_VALUE); in matches_longValueRestriction_doesNotMeetRestriction_returnsFalse()
/cts/tests/tests/permission4/src/android/permission4/cts/
DCameraMicIndicatorsPermissionTest.kt87 Settings.System.putLong( in setUp()
123 Settings.System.putLong( in tearDown()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceDataStoreTest.java349 mPreference.putLong(1L); in putLongTestCommon()
352 verify(mDataStore, atLeastOnce()).putLong(eq(KEY), anyLong()); in putLongTestCommon()
534 void putLong(long value) { in putLong() method in PreferenceDataStoreTest.PreferenceWrapper
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettings_SecureTest.java129 Secure.putLong(cr, NO_SUCH_SETTING, -1); in testGetPutLong()
DSettings_SystemTest.java99 assertTrue(System.putLong(cr, LONG_FIELD, 20l)); in testSystemSettings()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/
DDeviceEvent.java204 mTime.putLong(values, event.time); in buildContentValues()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DSuspendTestUtils.java178 extras.putLong(keyPrefix + ".LONG_VALUE", lval); in createExtras()
/cts/tests/tests/permission/src/android/permission/cts/
DLocationAccessCheckTest.java401 Settings.Secure.putLong(cr, LOCATION_ACCESS_CHECK_INTERVAL_MILLIS, 100); in reduceDelays()
402 Settings.Secure.putLong(cr, LOCATION_ACCESS_CHECK_DELAY_MILLIS, 50); in reduceDelays()

12