Home
last modified time | relevance | path

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

123

/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()
93 editor.putLong(GarageModeChecker.PREFS_START_BOOT_COUNT, in onCreate()
DGarageModeChecker.java124 editor.putLong(PREFS_TERMINATION, System.currentTimeMillis());
167 editor.putLong(PREFS_GARAGE_MODE_START, System.currentTimeMillis()); in onStartJob()
213 editor.putLong(PREFS_GARAGE_MODE_END, now); in doInBackground()
221 editor.putLong(PREFS_JOB_UPDATE, now); in doInBackground()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaMetadataTest.java85 .putLong(MediaMetadata.METADATA_KEY_YEAR, testYear) in builder_putLong()
126 () -> builder.putLong(MediaMetadata.METADATA_KEY_TITLE, 2021)); in builder_putLong_throwsIAE_withNonLongKey()
152 .putLong(MediaMetadata.METADATA_KEY_YEAR, testYear) in builder_copyConstructor()
165 .putLong(MediaMetadata.METADATA_KEY_YEAR, testYear) in equalsAndHashCode()
169 .putLong(MediaMetadata.METADATA_KEY_YEAR, testYear) in equalsAndHashCode()
211 .putLong(MediaMetadata.METADATA_KEY_YEAR, testYear) in describeContents()
223 .putLong(MediaMetadata.METADATA_KEY_YEAR, testYear) in writeToParcel()
/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/inputmethod/mockime/src/com/android/cts/mockime/
DImeEvent.java143 bundle.putLong("mEnterTimestamp", mEnterTimestamp); in toBundle()
144 bundle.putLong("mExitTimestamp", mExitTimestamp); in toBundle()
145 bundle.putLong("mEnterWallTime", mEnterWallTime); in toBundle()
146 bundle.putLong("mExitWallTime", mExitWallTime); in toBundle()
163 bundle.putLong("mReturnValue", getReturnLongValue()); in toBundle()
DImeCommand.java59 bundle.putLong(ID_KEY, mId); in toBundle()
/cts/tests/inputmethod/mocka11yime/common/src/com/android/cts/mocka11yime/
DMockA11yImeEvent.java138 bundle.putLong("mEnterTimestamp", mEnterTimestamp); in toBundle()
139 bundle.putLong("mExitTimestamp", mExitTimestamp); in toBundle()
140 bundle.putLong("mEnterWallTime", mEnterWallTime); in toBundle()
141 bundle.putLong("mExitWallTime", mExitWallTime); in toBundle()
DMockA11yImeCommand.java63 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()
/cts/tests/tests/libcorefileio/src/android/cts/
DLockHoldingService.java196 rspBundle.putLong(LOCK_NOT_YET_RELEASED_TIMESTAMP, lockNotReleasedTimestamp); in notifyLockReleased()
197 rspBundle.putLong(LOCK_DEFINITELY_RELEASED_TIMESTAMP, lockReleasedTimestamp); in notifyLockReleased()
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/
DDataPersistenceTest.java100 assertThat(sharedPref.edit().putLong(KEY_SESSION_ID, sessionId).commit()) in writeSessionIdToDisk()
116 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/misc/src/android/media/misc/cts/
DMediaMetricsTest.java50 .putLong("long", (long) 2) in testBasicItem()
84 .putLong("long", (long) 2) in testBigItem()
/cts/hostsidetests/art/device/tlr_app/src/com/android/art/cts/tlr_app/fixture/
DThreadLocalRandomProvider.java73 bundle.putLong(CALL_RESULT_NEXT_RANDOM, ThreadLocalRandom.current().nextLong()); in call()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DHandleSplashScreenExitActivity.java100 bundle.putLong(ICON_ANIMATION_DURATION, view.getIconAnimationDuration() != null
102 bundle.putLong(ICON_ANIMATION_START, view.getIconAnimationStart() != null
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DSurfaceEncodeTimestampTest.java284 params.putLong(MediaCodec.PARAMETER_KEY_SUSPEND_TIME, 100000); in testCreateInputSurfaceSuspendedResumeWithTime()
337 params.putLong(MediaCodec.PARAMETER_KEY_SUSPEND_TIME, 100000); in testSuspendedResumeWithTime()
342 params.putLong(MediaCodec.PARAMETER_KEY_SUSPEND_TIME, 166667); in testSuspendedResumeWithTime()
360 params.putLong(MediaCodec.PARAMETER_KEY_OFFSET_TIME, -16667); in testOffsetTime()
/cts/tests/tests/os/src/android/os/cts/
DPersistableBundleTest.java45 bundle.putLong("long", 12345L); in testWriteToStreamAndReadFromStream()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DNativeMediaDrmClearkeyTest.java123 buffer.putLong(uuid.getMostSignificantBits()); in uuidByteArray()
124 buffer.putLong(uuid.getLeastSignificantBits()); in uuidByteArray()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtilsReceiver.java96 res.putLong(EXTRA_BYTES, allocated); in doAllocation()
/cts/tests/tests/security/src/android/security/cts/
DBasePermissionUiTest.kt87 Settings.System.putLong( in <lambda>()
101 Settings.System.putLong( in <lambda>()
/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/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/
DBundleKeyQueryHelperTest.java212 mBundle.putLong(KEY, LONG_VALUE); in matches_LongValueRestriction_meetsRestriction_returnsTrue()
223 mBundle.putLong(KEY, LONG_VALUE); in matches_longValueRestriction_doesNotMeetRestriction_returnsFalse()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/
DDeviceEvent.java204 mTime.putLong(values, event.time); in buildContentValues()

123