/frameworks/base/core/java/android/os/ |
D | PerformanceCollector.java | 399 iteration.putLong(METRIC_KEY_EXECUTION_TIME, mExecTime); in addIteration() 400 iteration.putLong(METRIC_KEY_CPU_TIME, mCpuTime); in addIteration() 468 mPerfSnapshot.putLong("pre_" + key, binderCounts.getLong(key)); in startPerformanceSnapshot() 511 mPerfSnapshot.putLong(key, binderCounts.getLong(key)); in endPerformanceSnapshot() 517 mPerfSnapshot.putLong(key, allocCounts.getLong(key)); in endPerformanceSnapshot() 520 mPerfSnapshot.putLong(METRIC_KEY_EXECUTION_TIME, mSnapshotExecTime); in endPerformanceSnapshot() 521 mPerfSnapshot.putLong(METRIC_KEY_CPU_TIME, mSnapshotCpuTime); in endPerformanceSnapshot() 523 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_SIZE, nativeMax); in endPerformanceSnapshot() 524 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_ALLOCATED, nativeAllocated); in endPerformanceSnapshot() 525 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_FREE, nativeFree); in endPerformanceSnapshot() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferenceLoggerTest.java | 100 editor.putLong(TEST_KEY, 1); in putLong_shouldNotLogInitialPut() 101 editor.putLong(TEST_KEY, 1); in putLong_shouldNotLogInitialPut() 102 editor.putLong(TEST_KEY, 1); in putLong_shouldNotLogInitialPut() 103 editor.putLong(TEST_KEY, 1); in putLong_shouldNotLogInitialPut() 104 editor.putLong(TEST_KEY, 2); in putLong_shouldNotLogInitialPut() 117 editor.putLong(TEST_KEY, 1); in putLong_biggerThanIntMax_shouldLogIntMax() 118 editor.putLong(TEST_KEY, veryBigNumber); in putLong_biggerThanIntMax_shouldLogIntMax() 131 editor.putLong(TEST_KEY, 1); in putLong_smallerThanIntMin_shouldLogIntMin() 132 editor.putLong(TEST_KEY, veryNegativeNumber); in putLong_smallerThanIntMin_shouldLogIntMin()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableStreamConfigurationDuration.java | 55 buffer.putLong(value.getFormat() & MASK_UNSIGNED_INT); // unsigned int -> long in marshal() 56 buffer.putLong(value.getWidth()); in marshal() 57 buffer.putLong(value.getHeight()); in marshal() 58 buffer.putLong(value.getDuration()); in marshal()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmMetricsConsumer.cpp | 70 metrics->putLong(android::String16(success_count_name.c_str()), in ExportCounterMetric() 76 metrics->putLong(android::String16(error_count_name.c_str()), in ExportCounterMetric() 98 metrics->putLong(android::String16(name.c_str()), value); in ExportCounterMetricWithAttributeNames() 116 metrics->putLong(android::String16(success_count_name.c_str()), in ExportEventMetric() 118 metrics->putLong(android::String16(timing_name.c_str()), in ExportEventMetric() 124 metrics->putLong(android::String16(error_count_name.c_str()), in ExportEventMetric() 153 startTimesBundle.putLong(key, it->second.first); in ExportSessionLifespans() 154 endTimesBundle.putLong(key, it->second.second); in ExportSessionLifespans() 168 bundle->putLong(name, value.int64Value); in SetValue()
|
/frameworks/base/core/tests/utillib/src/android/test/ |
D | BandwidthTestCase.java | 149 bundle.putLong(REPORT_KEY_BYTES_RECEIVED, entry.rxBytes); in getBandwidthStats() 150 bundle.putLong(REPORT_KEY_BYTES_SENT, entry.txBytes); in getBandwidthStats() 151 bundle.putLong(REPORT_KEY_PACKETS_RECEIVED, entry.rxPackets); in getBandwidthStats() 152 bundle.putLong(REPORT_KEY_PACKETS_SENT, entry.txPackets); in getBandwidthStats() 153 bundle.putLong(REPORT_KEY_OPERATIONS, entry.operations); in getBandwidthStats()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | ManualBenchmarkState.java | 309 status.putLong(key + "_iteration", stats.getSize()); in fillStatus() 312 status.putLong(key + "_median", stats.getMedian()); in fillStatus() 315 status.putLong(key + "_mean", Math.round(stats.getMean())); in fillStatus() 318 status.putLong(key + "_min", stats.getMin()); in fillStatus() 321 status.putLong(key + "_max", stats.getMax()); in fillStatus() 325 status.putLong(key + "_percentile" + percentile, stats.getPercentile(percentile)); in fillStatus() 329 status.putLong(key + "_stddev", Math.round(stats.getStandardDeviation())); in fillStatus() 332 status.putLong(key + "_cv", in fillStatus()
|
D | BenchmarkState.java | 237 status.putLong(key + "_median", median()); in sendFullStatusReport() 238 status.putLong(key + "_mean", mean()); in sendFullStatusReport() 239 status.putLong(key + "_min", min()); in sendFullStatusReport() 240 status.putLong(key + "_standardDeviation", standardDeviation()); in sendFullStatusReport()
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
D | DataIdleTest.java | 114 result.putLong("Total rx Bytes", rxBytes); in reportStats() 115 result.putLong("Total tx Bytes", txBytes); in reportStats() 116 result.putLong("Total rx Packets", rxPackets); in reportStats() 117 result.putLong("Total tx Packets", txPackets); in reportStats()
|
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 228 SharedPreferencesCompat.apply(mStorage.edit().putLong(name, time)); in getTimeBefore() 243 mStorage.edit().putLong(PREFIX + "triggerTimeMillis", millis)); in setTriggerTimeMillis() 255 .putLong(PREFIX + "moratoriumTimeMillis", millis) in setMoratoriumTimeMillis() 256 .putLong(PREFIX + "moratoriumSetTimeMillis", currentTimeMillis())); in setMoratoriumTimeMillis() 306 .putLong(PREFIX + "lastSuccessTimeMillis", currentTimeMillis())); in onSuccess() 316 editor.putLong(PREFIX + "lastErrorTimeMillis", currentTimeMillis()); in onTransientError()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | Estimate.kt | 71 Settings.Global.putLong(resolver, Settings.Global.TIME_REMAINING_ESTIMATE_MILLIS, in storeCachedEstimate() 75 Settings.Global.putLong(resolver, Settings.Global.AVERAGE_TIME_TO_DISCHARGE, in storeCachedEstimate() 77 Settings.Global.putLong(resolver, Settings.Global.BATTERY_ESTIMATES_LAST_UPDATE_TIME, in storeCachedEstimate()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 182 result.putLong("actual-iterations", i - 1); in testWifiScanning() 183 result.putLong("avg-scan-time", averageScanTime); in testWifiScanning() 204 Settings.Global.putLong(mRunner.getContext().getContentResolver(), in testWifiReconnectionAfterSleep() 287 result.putLong("actual-iterations", i - 1); in testWifiReconnectionAfterSleep() 288 result.putLong("avg-reconnect-time", avgReconnectTime); in testWifiReconnectionAfterSleep()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | SummaryForAllUidLoader.java | 44 args.putLong(KEY_START, start); in buildArgs() 45 args.putLong(KEY_END, end); in buildArgs()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetrics.java | 386 .putLong(timeNs); in Item() 405 putLong(key.getName(), (long) value); in set() 445 public Item putLong(String key, long value) { in putLong() method in Item 452 .putLong(value); in putLong() 547 mBuffer.putLong(mTimeNsOffset, timeNs); // time location in byte string. in setTimestamp() 561 mBuffer.putLong(mTimeNsOffset, 0); // reset time. in clear() 682 bundle.putLong(BUNDLE_TIMESTAMP, timestamp); in toBundle() 697 bundle.putLong(propKey, buffer.getLong()); in toBundle()
|
D | MediaMetadataEditor.java | 234 public synchronized MediaMetadataEditor putLong(int key, long value) in putLong() method in MediaMetadataEditor 243 mEditorMetadata.putLong(String.valueOf(key), value); in putLong() 298 return putLong(key, ((Long)value).longValue()); in putObject()
|
D | RemoteControlClient.java | 483 public synchronized MetadataEditor putLong(int key, long value) in putLong() method in RemoteControlClient.MetadataEditor 485 super.putLong(key, value); in putLong() 491 mMetadataBuilder.putLong(metadataKey, value); in putLong() 565 mMetadata.putLong(String.valueOf(KEY_EDITABLE_MASK), mEditableKeys); in apply()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowFullBackup.java | 54 tarBlock.putLong(Files.size(file)); // file size in backupToTar() 55 tarBlock.putLong(Files.getLastModifiedTime(file).toMillis()); // last modified time in backupToTar()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtils.java | 65 bundle.putLong(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION, in monitorEvent() 112 extras.putLong(key, value); in putMonitoringExtra()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | FakeGateKeeperService.java | 54 buffer.putLong(sid); in toBytes() 81 buffer.putLong(challenge); in toBytes() 82 buffer.putLong(sid); in toBytes()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CarrierConfigManager.java | 3953 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_DEFAULT_LONG, 20000); in sDefaults.putLong() 3954 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_FASTER_LONG, 3000); in sDefaults.putLong() 3955 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_RETRY_AFTER_DISCONNECT_LONG, 10000); in sDefaults.putLong() 4113 sDefaults.putLong(KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT); in sDefaults.putLong() 4116 sDefaults.putLong(KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT); in sDefaults.putLong() 4272 sDefaults.putLong(KEY_5G_WATCHDOG_TIME_MS_LONG, 3600000); in sDefaults.putLong() 4293 sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_ENTRY_OR_EXIT_HYSTERESIS_TIME_LONG, 10000); in sDefaults.putLong() 4295 sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_HYSTERESIS_TIME_LONG, 10000); in sDefaults.putLong() 4297 sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_EXIT_HYSTERESIS_TIME_LONG, 3000); in sDefaults.putLong() 4301 sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_PING_PONG_TIME_LONG, 60000); in sDefaults.putLong() [all …]
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 328 edit.putLong(keyPrefix + KEY_TIME_STAMP, timeStamp); in putStoredApkInfo() 329 edit.putLong(keyPrefix + KEY_CRC, crc); in putStoredApkInfo() 334 edit.putLong(keyPrefix + KEY_DEX_CRC + extractedDexId, dex.crc); in putStoredApkInfo() 335 edit.putLong(keyPrefix + KEY_DEX_TIME + extractedDexId, dex.lastModified()); in putStoredApkInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistHandleReminderExpBehavior.java | 267 Settings.Secure.putLong(mContext.getContentResolver(), LEARNING_TIME_ELAPSED_KEY, 0); in onModeDeactivated() 269 Settings.Secure.putLong(mContext.getContentResolver(), LEARNED_HINT_LAST_SHOWN_KEY, 0); in onModeDeactivated() 285 Settings.Secure.putLong( in onAssistantGesturePerformed() 410 Settings.Secure.putLong( in callbackForLearnedState() 463 mHandler.post(() -> Settings.Secure.putLong( in updateLearningStatus()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 121 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER), in getOldMetadata() 125 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DURATION), in getOldMetadata() 133 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_NUM_TRACKS), in getOldMetadata() 149 oldMetadata.putLong( in getOldMetadata() 158 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_YEAR), in getOldMetadata()
|
/frameworks/base/core/java/android/util/apk/ |
D | VerityBuilder.java | 377 buffer.putLong(fileSize); // original file size in generateApkVerityHeader() 414 buffer.putLong(signingBlockOffset); in generateApkVerityExtensions() 415 buffer.putLong(signingBlockSize); in generateApkVerityExtensions() 429 buffer.putLong(eocdOffset + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET); // offset in generateApkVerityExtensions()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | SeekBarViewModelTest.kt | 131 putLong(MediaMetadata.METADATA_KEY_DURATION, duration) in updateDurationWithPlayback() 153 putLong(MediaMetadata.METADATA_KEY_DURATION, duration) in updateDurationWithoutPlayback() 169 putLong(MediaMetadata.METADATA_KEY_DURATION, duration) in updateDurationNegative() 190 putLong(MediaMetadata.METADATA_KEY_DURATION, duration) in updateDurationZero() 604 putLong(MediaMetadata.METADATA_KEY_DURATION, 12000L) in clearSeekBar()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppTimeTracker.java | 85 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime); in deliverResult() 88 pkgs.putLong(mPackageTimes.keyAt(i), mPackageTimes.valueAt(i).value); in deliverResult()
|