/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | AdvancedPowerUsageDetailTest.java | 287 bundle.putLong(AdvancedPowerUsageDetail.EXTRA_BACKGROUND_TIME, /* value */ 0); in testInitHeader_noUsageTimeAndGraphDisabled_hasCorrectSummary() 288 bundle.putLong(AdvancedPowerUsageDetail.EXTRA_FOREGROUND_TIME, /* value */ 0); in testInitHeader_noUsageTimeAndGraphDisabled_hasCorrectSummary() 307 bundle.putLong(AdvancedPowerUsageDetail.EXTRA_BACKGROUND_TIME, backgroundTimeTwoMinutes); in testInitHeader_bgTwoMinFgZeroAndGraphDisabled_hasCorrectSummary() 308 bundle.putLong(AdvancedPowerUsageDetail.EXTRA_FOREGROUND_TIME, foregroundTimeZero); in testInitHeader_bgTwoMinFgZeroAndGraphDisabled_hasCorrectSummary() 327 bundle.putLong( in testInitHeader_bgLessThanAMinFgZeroAndGraphDisabled_hasCorrectSummary() 329 bundle.putLong(AdvancedPowerUsageDetail.EXTRA_FOREGROUND_TIME, foregroundTimeZero); in testInitHeader_bgLessThanAMinFgZeroAndGraphDisabled_hasCorrectSummary() 348 bundle.putLong( in testInitHeader_totalUsageLessThanAMinAndGraphDisabled_hasCorrectSummary() 350 bundle.putLong( in testInitHeader_totalUsageLessThanAMinAndGraphDisabled_hasCorrectSummary() 370 bundle.putLong(AdvancedPowerUsageDetail.EXTRA_BACKGROUND_TIME, backgroundTimeZero); in testInitHeader_TotalAMinutesBgLessThanAMinAndGraphDisabled_hasCorrectSummary() 371 bundle.putLong(AdvancedPowerUsageDetail.EXTRA_FOREGROUND_TIME, foregroundTimeTwoMinutes); in testInitHeader_TotalAMinutesBgLessThanAMinAndGraphDisabled_hasCorrectSummary() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerDAO.kt | 107 editor.putLong(LENGTH + id, timer.length) in addTimer() 108 editor.putLong(TOTAL_LENGTH + id, timer.totalLength) in addTimer() 109 editor.putLong(LAST_START_TIME + id, timer.lastStartTime) in addTimer() 110 editor.putLong(LAST_WALL_CLOCK_TIME + id, timer.lastWallClockTime) in addTimer() 111 editor.putLong(REMAINING_TIME + id, timer.remainingTime) in addTimer() 133 editor.putLong(LENGTH + id, timer.length) in updateTimer() 134 editor.putLong(TOTAL_LENGTH + id, timer.totalLength) in updateTimer() 135 editor.putLong(LAST_START_TIME + id, timer.lastStartTime) in updateTimer() 136 editor.putLong(LAST_WALL_CLOCK_TIME + id, timer.lastWallClockTime) in updateTimer() 137 editor.putLong(REMAINING_TIME + id, timer.remainingTime) in updateTimer()
|
D | StopwatchDAO.kt | 76 .putLong(LAST_START_TIME, stopwatch.lastStartTime) in setStopwatch() 77 .putLong(LAST_WALL_CLOCK_TIME, stopwatch.lastWallClockTime) in setStopwatch() 78 .putLong(ACCUMULATED_TIME, stopwatch.accumulatedTime) in setStopwatch() 123 .putLong(LAP_ACCUMULATED_TIME + newLapCount, accumulatedTime) in addLap()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarConfidenceChecker.java | 107 .putLong(LAST_CHECK_REALTIME_PREF_KEY, now) in updateLastCheckTime() 108 .putLong(LAST_CHECK_BOOT_COUNT_PREF_KEY, getBootCount()) in updateLastCheckTime() 170 .putLong(LAST_CHECK_REALTIME_PREF_KEY, 0) in checkLastCheckTime() 171 .putLong(LAST_WTF_REALTIME_PREF_KEY, nowRealtime) in checkLastCheckTime() 172 .putLong(LAST_CHECK_BOOT_COUNT_PREF_KEY, getBootCount()) in checkLastCheckTime()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 114 editor.putLong(NoBackupKeys.KEY_DAILY_WALLPAPER_ENABLED_TIMESTAMP, in upgradePrefs() 118 editor.putLong(NoBackupKeys.KEY_LAST_DAILY_LOG_TIMESTAMP, in upgradePrefs() 122 editor.putLong(NoBackupKeys.KEY_LAST_APP_ACTIVE_TIMESTAMP, in upgradePrefs() 130 editor.putLong(NoBackupKeys.KEY_LAST_ROTATION_STATUS_TIMESTAMP, in upgradePrefs() 134 editor.putLong(NoBackupKeys.KEY_LAST_SYNC_TIMESTAMP, in upgradePrefs() 305 mSharedPrefs.edit().putLong( in setHomeWallpaperHashCode() 514 .putLong(WallpaperPreferenceKeys.KEY_LOCK_WALLPAPER_HASH_CODE, hashCode) in setLockWallpaperHashCode() 678 .putLong(NoBackupKeys.KEY_DAILY_WALLPAPER_ENABLED_TIMESTAMP, in setDailyWallpaperEnabledTimestamp() 700 .putLong(NoBackupKeys.KEY_LAST_DAILY_LOG_TIMESTAMP, timestamp) in setLastDailyLogTimestamp() 713 .putLong(NoBackupKeys.KEY_LAST_APP_ACTIVE_TIMESTAMP, timestamp) in setLastAppActiveTimestamp() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncMessagesAction.java | 136 actionParameters.putLong(KEY_LOWER_BOUND, lowerBound); in SyncMessagesAction() 137 actionParameters.putLong(KEY_UPPER_BOUND, upperBound); in SyncMessagesAction() 139 actionParameters.putLong(KEY_START_TIMESTAMP, startTimestamp); in SyncMessagesAction() 166 actionParameters.putLong(KEY_LOWER_BOUND, lowerBoundTimeMillis); in executeAction() 261 response.putLong(BUNDLE_KEY_LAST_TIMESTAMP, lastTimestampMillis); in doBackgroundWork() 378 prefs.putLong(BuglePrefsKeys.LAST_SYNC_TIME, startTimestamp); in processBackgroundResponse() 380 prefs.putLong(BuglePrefsKeys.LAST_FULL_SYNC_TIME, startTimestamp); in processBackgroundResponse() 458 prefs.putLong(BuglePrefsKeys.LAST_SYNC_TIME, startTimestamp); in processBackgroundResponse() 461 prefs.putLong(BuglePrefsKeys.LAST_FULL_SYNC_TIME, startTimestamp); in processBackgroundResponse()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAppParams.java | 773 appParamBuf.putLong(getFilterConvoId().getMostSignificantBits()); in encodeParams() 774 appParamBuf.putLong(getFilterConvoId().getLeastSignificantBits()); in encodeParams() 794 appParamBuf.putLong(getChatStateConvoId().getMostSignificantBits()); in encodeParams() 795 appParamBuf.putLong(getChatStateConvoId().getLeastSignificantBits()); in encodeParams() 805 appParamBuf.putLong(getFilterMsgHandle()); in encodeParams() 979 ret.putLong(mDatabaseIdentifierHigh); in getDatabaseIdentifier() 980 ret.putLong(mDatabaseIdentifierLow); in getDatabaseIdentifier() 996 ret.putLong(mConvoListingVerCounterHigh); in getConvoListingVerCounter() 997 ret.putLong(mConvoListingVerCounterLow); in getConvoListingVerCounter() 1013 ret.putLong(mFolderVerCounterHigh); in getFolderVerCounter() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/ |
D | MetadataTest.java | 155 .putLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER, Long.parseLong(SONG_TRACK_NUM)) in getMediaMetadata() 156 .putLong(MediaMetadata.METADATA_KEY_NUM_TRACKS, Long.parseLong(SONG_NUM_TRACKS)) in getMediaMetadata() 158 .putLong(MediaMetadata.METADATA_KEY_DURATION, Long.parseLong(SONG_DURATION)); in getMediaMetadata() 168 .putLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER, Long.parseLong(SONG_TRACK_NUM)) in getMediaMetadataWithBitmap() 169 .putLong(MediaMetadata.METADATA_KEY_NUM_TRACKS, Long.parseLong(SONG_NUM_TRACKS)) in getMediaMetadataWithBitmap() 171 .putLong(MediaMetadata.METADATA_KEY_DURATION, Long.parseLong(SONG_DURATION)) in getMediaMetadataWithBitmap() 182 .putLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER, Long.parseLong(SONG_TRACK_NUM)) in getMediaMetadataWithUri() 183 .putLong(MediaMetadata.METADATA_KEY_NUM_TRACKS, Long.parseLong(SONG_NUM_TRACKS)) in getMediaMetadataWithUri() 185 .putLong(MediaMetadata.METADATA_KEY_DURATION, Long.parseLong(SONG_DURATION)) in getMediaMetadataWithUri() 222 bundle.putLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER, Long.parseLong(SONG_TRACK_NUM)); in getBundle() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | AdbAuthorizationTimeoutPreferenceControllerTest.java | 73 Settings.Global.putLong(mContext.getContentResolver(), in tearDown() 94 Settings.Global.putLong(mContentResolver, Settings.Global.ADB_ALLOWED_CONNECTION_TIME, 1); in onPreferenceChange_enableAndDisableSetting_timeoutSetToDefault() 106 Settings.Global.putLong(mContentResolver, Settings.Global.ADB_ALLOWED_CONNECTION_TIME, 0); in updateState_timeoutSetToZero_preferenceDisplayedEnabled() 115 Settings.Global.putLong(mContentResolver, Settings.Global.ADB_ALLOWED_CONNECTION_TIME, in updateState_timeoutSetToDefault_preferenceDisplayedDisabled()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 167 edit.putLong("primary", sPrimaryVersionCounter); in savePbapParams() 168 edit.putLong("secondary", sSecondaryVersionCounter); in savePbapParams() 169 edit.putLong("dbIdentifier", dbIdentifier); in savePbapParams() 170 edit.putLong("totalContacts", sTotalContacts); in savePbapParams() 171 edit.putLong("lastUpdatedTimestamp", sContactsLastUpdated); in savePbapParams() 172 edit.putLong("totalFields", sTotalFields); in savePbapParams() 173 edit.putLong("totalSvcFields", sTotalSvcFields); in savePbapParams()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpItem.java | 193 metaDataBuilder.putLong(MediaMetadataCompat.METADATA_KEY_TRACK_NUMBER, mTrackNumber); in toMediaMetadata() 194 metaDataBuilder.putLong(MediaMetadataCompat.METADATA_KEY_NUM_TRACKS, mTotalNumberOfTracks); in toMediaMetadata() 196 metaDataBuilder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION, mPlayingTime); in toMediaMetadata() 201 metaDataBuilder.putLong(MediaMetadataCompat.METADATA_KEY_BT_FOLDER_TYPE, mType); in toMediaMetadata() 225 extras.putLong(AVRCP_ITEM_KEY_UID, mUid); in toMediaItem()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ImportantNoticeUtilsTests.java | 83 private void putLong(final String key, final Long value) { in putLong() method in ImportantNoticeUtilsTests.ImportantNoticePreferences 87 mPref.edit().putLong(key, value).apply(); in putLong() 100 putLong(KEY_TIMESTAMP_OF_CONTACTS_NOTICE, mLastTime); in restore()
|
/packages/apps/Dialer/java/com/android/dialer/configprovider/ |
D | SharedPrefConfigProvider.java | 86 editor.putLong(prefixedKey, (Long) value); in put() 101 public void putLong(String key, long value) { in putLong() method in SharedPrefConfigProvider 102 sharedPreferences.edit().putLong(PREF_PREFIX + key, value).apply(); in putLong()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchSettingsImpl.java | 107 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); in storeLong() 159 .putLong(FIRST_VOICE_HINT_DISPLAY_TIME, currentTime)); in haveVoiceSearchHintsExpired() 208 sharedPrefEditor.putLong(SEARCH_BASE_DOMAIN_APPLY_TIME, System.currentTimeMillis()); in setSearchBaseDomain()
|
/packages/apps/Dialer/java/com/android/dialer/callintent/ |
D | CallIntent.java | 183 inCallUiIntentExtras.putLong( in newIntent() 204 longInCallUiIntentExtras().forEach(bundle::putLong); in createInCallUiIntentExtras() 212 longPlaceCallExtras().forEach(bundle::putLong); in createPlaceCallExtras() 268 longInCallUiIntentExtras().forEach(longInCallUiIntentExtrasBundle::putLong); in writeToParcel()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrChannelRecordDurationOptionFragment.java | 105 args.putLong(DvrHalfSizedDialogFragment.KEY_CHANNEL_ID, mChannel.getId()); in onTrackedGuidedActionClicked() 106 args.putLong(DvrHalfSizedDialogFragment.KEY_START_TIME_MS, startTimeMs); in onTrackedGuidedActionClicked() 107 args.putLong(DvrHalfSizedDialogFragment.KEY_END_TIME_MS, endTimeMs); in onTrackedGuidedActionClicked()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | StorageManagerUpsellDialog.java | 61 args.putLong(ARGS_FREED_BYTES, freedBytes); in newInstance() 98 editor.putLong(NEXT_SHOW_TIME, nextShowTime); in onClick() 111 editor.putLong(NEXT_SHOW_TIME, getCurrentTime() + getDismissDelay(dismissCount)); in onCancel()
|
/packages/apps/Settings/src/com/android/settings/biometrics/combination/ |
D | BiometricsSettingsBase.java | 126 extras.putLong(BiometricEnrollBase.EXTRA_KEY_CHALLENGE, challenge); in onPreferenceTreeClick() 138 extras.putLong(BiometricEnrollBase.EXTRA_KEY_CHALLENGE, challenge); in onPreferenceTreeClick() 154 outState.putLong(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, mGkPwHandle); in onSaveInstanceState()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ComboPreferences.java | 186 public Editor putLong(String key, long value) { in putLong() method in ComboPreferences.MyEditor 188 mEditorGlobal.putLong(key, value); in putLong() 190 mEditorLocal.putLong(key, value); in putLong()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/ |
D | PermissionUsageV2WrapperFragment.java | 53 arguments.putLong(Intent.EXTRA_DURATION_MILLIS, numMillis); in newInstance() 54 arguments.putLong(EXTRA_SESSION_ID, sessionId); in newInstance()
|
D | PermissionDetailsWrapperFragment.java | 54 arguments.putLong(Intent.EXTRA_DURATION_MILLIS, numMillis); in newInstance() 56 arguments.putLong(EXTRA_SESSION_ID, sessionId); in newInstance()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | SummaryForAllUidLoader.java | 49 args.putLong(KEY_START, start); in buildArgs() 50 args.putLong(KEY_END, end); in buildArgs()
|
/packages/services/Car/service/src/com/android/car/ |
D | Utils.java | 186 buffer.putLong(primitive); in longToBytes() 229 .putLong(uuid.getMostSignificantBits()) in uuidToBytes() 230 .putLong(uuid.getLeastSignificantBits()) in uuidToBytes()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProviderTest.java | 298 editor.putLong(PACKAGE_NAME, 900L).commit(); in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue() 319 editor.putLong(PACKAGE_NAME, 1000L).commit(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() 341 editor.putLong(PACKAGE_NAME, 1000L).commit(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 366 editor.putLong(PACKAGE_NAME, 1000L).commit(); in isCachedHtmlFileOutdated_notOutdated_returnFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/ |
D | AutomaticStorageManagerDescriptionPreferenceControllerTest.java | 71 Settings.Secure.putLong( in displayPreference_asmEnabledAndUsed_shouldHaveDescriptionFilledOut() 75 Settings.Secure.putLong( in displayPreference_asmEnabledAndUsed_shouldHaveDescriptionFilledOut()
|