/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.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.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/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/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPreferences.java | 199 mSharedPrefs.edit().putLong( in setHomeWallpaperHashCode() 363 .putLong(WallpaperPreferenceKeys.KEY_LOCK_WALLPAPER_HASH_CODE, hashCode) in setLockWallpaperHashCode() 519 .putLong(WallpaperPreferenceKeys.KEY_DAILY_WALLPAPER_ENABLED_TIMESTAMP, timestamp) in setDailyWallpaperEnabledTimestamp() 539 .putLong(WallpaperPreferenceKeys.KEY_LAST_DAILY_LOG_TIMESTAMP, timestamp) in setLastDailyLogTimestamp() 551 .putLong(WallpaperPreferenceKeys.KEY_LAST_APP_ACTIVE_TIMESTAMP, timestamp) in setLastAppActiveTimestamp() 559 .putLong(WallpaperPreferenceKeys.KEY_LAST_ROTATION_STATUS_TIMESTAMP, timestamp) in setDailyWallpaperRotationStatus() 582 .putLong(WallpaperPreferenceKeys.KEY_LAST_SYNC_TIMESTAMP, timestamp) in setLastSyncTimestamp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | TrackInfo.java | 49 metaDataBuilder.putLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER, in getMetadata() 57 metaDataBuilder.putLong(MediaMetadata.METADATA_KEY_NUM_TRACKS, in getMetadata() 68 metaDataBuilder.putLong(MediaMetadata.METADATA_KEY_DURATION, in getMetadata()
|
/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/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/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/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 148 converter.putLong(msb); in uuidToByteArray() 149 converter.putLong(8, lsb); in uuidToByteArray() 163 converter.putLong(i * BD_UUID_LEN, msb); in uuidsToByteArray() 164 converter.putLong(i * BD_UUID_LEN + 8, lsb); in uuidsToByteArray()
|
/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/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/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/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProviderTest.java | 302 editor.putLong(PACKAGE_NAME, 900L).commit(); in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue() 323 editor.putLong(PACKAGE_NAME, 1000L).commit(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() 345 editor.putLong(PACKAGE_NAME, 1000L).commit(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 370 editor.putLong(PACKAGE_NAME, 1000L).commit(); in isCachedHtmlFileOutdated_notOutdated_returnFalse()
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | TrampolineActivity.java | 148 args.putLong(KEY_ID, id); in show() 149 args.putLong(KEY_SIZE, size); in show() 210 args.putLong(KEY_ID, id); in show()
|