/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | CachedStorageValuesHelperTest.java | 83 .putLong(GAME_APPS_SIZE_KEY, 0) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 84 .putLong(MUSIC_APPS_SIZE_KEY, 10) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 85 .putLong(VIDEO_APPS_SIZE_KEY, 100) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 86 .putLong(PHOTO_APPS_SIZE_KEY, 1000) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 87 .putLong(OTHER_APPS_SIZE_KEY, 10000) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 88 .putLong(CACHE_APPS_SIZE_KEY, 100000) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 89 .putLong(EXTERNAL_TOTAL_BYTES, 2) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 90 .putLong(EXTERNAL_AUDIO_BYTES, 22) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 91 .putLong(EXTERNAL_VIDEO_BYTES, 222) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() 92 .putLong(EXTERNAL_IMAGE_BYTES, 2222) in getCachedPrivateStorageInfo_cachedValuesAreLoaded() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | CachedStorageValuesHelper.java | 138 .putLong(FREE_BYTES_KEY, storageInfo.freeBytes) in cacheResult() 139 .putLong(TOTAL_BYTES_KEY, storageInfo.totalBytes) in cacheResult() 140 .putLong(GAME_APPS_SIZE_KEY, result.gamesSize) in cacheResult() 141 .putLong(MUSIC_APPS_SIZE_KEY, result.musicAppsSize) in cacheResult() 142 .putLong(VIDEO_APPS_SIZE_KEY, result.videoAppsSize) in cacheResult() 143 .putLong(PHOTO_APPS_SIZE_KEY, result.photosAppsSize) in cacheResult() 144 .putLong(OTHER_APPS_SIZE_KEY, result.otherAppsSize) in cacheResult() 145 .putLong(CACHE_APPS_SIZE_KEY, result.cacheSize) in cacheResult() 146 .putLong(EXTERNAL_TOTAL_BYTES, result.externalStats.totalBytes) in cacheResult() 147 .putLong(EXTERNAL_AUDIO_BYTES, result.externalStats.audioBytes) in cacheResult() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | CachedStorageValuesHelper.java | 138 .putLong(FREE_BYTES_KEY, storageInfo.freeBytes) in cacheResult() 139 .putLong(TOTAL_BYTES_KEY, storageInfo.totalBytes) in cacheResult() 140 .putLong(GAME_APPS_SIZE_KEY, result.gamesSize) in cacheResult() 141 .putLong(MUSIC_APPS_SIZE_KEY, result.musicAppsSize) in cacheResult() 142 .putLong(VIDEO_APPS_SIZE_KEY, result.videoAppsSize) in cacheResult() 143 .putLong(PHOTO_APPS_SIZE_KEY, result.photosAppsSize) in cacheResult() 144 .putLong(OTHER_APPS_SIZE_KEY, result.otherAppsSize) in cacheResult() 145 .putLong(CACHE_APPS_SIZE_KEY, result.cacheSize) in cacheResult() 146 .putLong(EXTERNAL_TOTAL_BYTES, result.externalStats.totalBytes) in cacheResult() 147 .putLong(EXTERNAL_AUDIO_BYTES, result.externalStats.audioBytes) in cacheResult() [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 | TimerDAO.java | 119 editor.putLong(LENGTH + id, timer.getLength()); in addTimer() 120 editor.putLong(TOTAL_LENGTH + id, timer.getTotalLength()); in addTimer() 121 editor.putLong(LAST_START_TIME + id, timer.getLastStartTime()); in addTimer() 122 editor.putLong(LAST_WALL_CLOCK_TIME + id, timer.getLastWallClockTime()); in addTimer() 123 editor.putLong(REMAINING_TIME + id, timer.getRemainingTime()); in addTimer() 144 editor.putLong(LENGTH + id, timer.getLength()); in updateTimer() 145 editor.putLong(TOTAL_LENGTH + id, timer.getTotalLength()); in updateTimer() 146 editor.putLong(LAST_START_TIME + id, timer.getLastStartTime()); in updateTimer() 147 editor.putLong(LAST_WALL_CLOCK_TIME + id, timer.getLastWallClockTime()); in updateTimer() 148 editor.putLong(REMAINING_TIME + id, timer.getRemainingTime()); 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()
|
D | StopwatchDAO.java | 87 .putLong(LAST_START_TIME, stopwatch.getLastStartTime()) in setStopwatch() 88 .putLong(LAST_WALL_CLOCK_TIME, stopwatch.getLastWallClockTime()) in setStopwatch() 89 .putLong(ACCUMULATED_TIME, stopwatch.getAccumulatedTime()); in setStopwatch() 134 .putLong(LAP_ACCUMULATED_TIME + newLapCount, accumulatedTime) in addLap()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 109 editor.putLong(NoBackupKeys.KEY_DAILY_WALLPAPER_ENABLED_TIMESTAMP, in upgradePrefs() 113 editor.putLong(NoBackupKeys.KEY_LAST_DAILY_LOG_TIMESTAMP, in upgradePrefs() 117 editor.putLong(NoBackupKeys.KEY_LAST_APP_ACTIVE_TIMESTAMP, in upgradePrefs() 125 editor.putLong(NoBackupKeys.KEY_LAST_ROTATION_STATUS_TIMESTAMP, in upgradePrefs() 129 editor.putLong(NoBackupKeys.KEY_LAST_SYNC_TIMESTAMP, in upgradePrefs() 296 mSharedPrefs.edit().putLong( in setHomeWallpaperHashCode() 475 .putLong(WallpaperPreferenceKeys.KEY_LOCK_WALLPAPER_HASH_CODE, hashCode) in setLockWallpaperHashCode() 637 .putLong(NoBackupKeys.KEY_DAILY_WALLPAPER_ENABLED_TIMESTAMP, in setDailyWallpaperEnabledTimestamp() 659 .putLong(NoBackupKeys.KEY_LAST_DAILY_LOG_TIMESTAMP, timestamp) in setLastDailyLogTimestamp() 672 .putLong(NoBackupKeys.KEY_LAST_APP_ACTIVE_TIMESTAMP, timestamp) in setLastAppActiveTimestamp() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarSanityChecker.java | 119 .putLong(LAST_CHECK_REALTIME_PREF_KEY, now) in updateLastCheckTime() 120 .putLong(LAST_CHECK_BOOT_COUNT_PREF_KEY, getBootCount()) in updateLastCheckTime() 182 .putLong(LAST_CHECK_REALTIME_PREF_KEY, 0) in checkLastCheckTime() 183 .putLong(LAST_WTF_REALTIME_PREF_KEY, nowRealtime) in checkLastCheckTime() 184 .putLong(LAST_CHECK_BOOT_COUNT_PREF_KEY, getBootCount()) in checkLastCheckTime()
|
/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/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/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/util/ |
D | ByteUtils.java | 47 buffer.putLong(primitive); in longToBytes() 90 .putLong(uuid.getMostSignificantBits()) in uuidToBytes() 91 .putLong(uuid.getLeastSignificantBits()) in uuidToBytes()
|
/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/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/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/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/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/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/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ManagedProvisioningSharedPreferences.java | 61 mSharedPreferences.edit().putLong(KEY_PROVISIONING_ID, provisioningId).commit(); in incrementAndGetProvisioningId() 71 .putLong(KEY_PROVISIONING_START_TIMESTAMP, time) in writeProvisioningStartedTimestamp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/ |
D | Util.java | 114 bundle.putLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER, in mediaMetadataToBundle() 119 bundle.putLong(MediaMetadata.METADATA_KEY_NUM_TRACKS, in mediaMetadataToBundle() 129 bundle.putLong(MediaMetadata.METADATA_KEY_DURATION, in mediaMetadataToBundle()
|
/packages/services/Car/service/src/com/android/car/ |
D | Utils.java | 181 buffer.putLong(primitive); in longToBytes() 224 .putLong(uuid.getMostSignificantBits()) in uuidToBytes() 225 .putLong(uuid.getLeastSignificantBits()) in uuidToBytes()
|
/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()
|