Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/os/
DPerformanceCollector.java399 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/
DSharedPreferenceLoggerTest.java100 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/apct-tests/perftests/utils/src/android/perftests/utils/
DManualBenchmarkState.java151 status.putLong(key + "_median", mStats.getMedian());
152 status.putLong(key + "_mean", (long) mStats.getMean());
153 status.putLong(key + "_percentile90", mStats.getPercentile90());
154 status.putLong(key + "_percentile95", mStats.getPercentile95());
155 status.putLong(key + "_stddev", (long) mStats.getStandardDeviation());
DBenchmarkState.java237 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/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableStreamConfigurationDuration.java55 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/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java149 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/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java114 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/
DOperationScheduler.java228 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/av/drm/libmediadrm/
DDrmMetrics.cpp76 metrics->putLong(android::String16(success_count_name.c_str()), in ExportCounterMetric()
82 metrics->putLong(android::String16(error_count_name.c_str()), in ExportCounterMetric()
104 metrics->putLong(android::String16(name.c_str()), value); in ExportCounterMetricWithAttributeNames()
122 metrics->putLong(android::String16(success_count_name.c_str()), in ExportEventMetric()
124 metrics->putLong(android::String16(timing_name.c_str()), in ExportEventMetric()
130 metrics->putLong(android::String16(error_count_name.c_str()), in ExportEventMetric()
159 startTimesBundle.putLong(key, it->second.first); in ExportSessionLifespans()
160 endTimesBundle.putLong(key, it->second.second); in ExportSessionLifespans()
183 bundle->putLong(name, value.int64Value); in SetValue()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DEstimate.kt71 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/
DWifiStressTest.java182 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/
DSummaryForAllUidLoader.java44 args.putLong(KEY_START, start); in buildArgs()
45 args.putLong(KEY_END, end); in buildArgs()
/frameworks/base/telephony/java/android/telephony/
DCarrierConfigManager.java3934 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_DEFAULT_LONG, 20000); in sDefaults.putLong()
3935 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_FASTER_LONG, 3000); in sDefaults.putLong()
3936 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_RETRY_AFTER_DISCONNECT_LONG, 10000); in sDefaults.putLong()
4093 sDefaults.putLong(KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT); in sDefaults.putLong()
4096 sDefaults.putLong(KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT); in sDefaults.putLong()
4254 sDefaults.putLong(KEY_5G_WATCHDOG_TIME_MS_LONG, 3600000); in sDefaults.putLong()
4275 sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_ENTRY_OR_EXIT_HYSTERESIS_TIME_LONG, 10000); in sDefaults.putLong()
4277 sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_HYSTERESIS_TIME_LONG, 10000); in sDefaults.putLong()
4279 sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_EXIT_HYSTERESIS_TIME_LONG, 3000); in sDefaults.putLong()
4283 sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_PING_PONG_TIME_LONG, 60000); in sDefaults.putLong()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowFullBackup.java54 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/
DBackupManagerMonitorUtils.java65 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/
DFakeGateKeeperService.java54 buffer.putLong(sid); in toBytes()
81 buffer.putLong(challenge); in toBytes()
82 buffer.putLong(sid); in toBytes()
/frameworks/base/media/java/android/media/
DMediaMetadataEditor.java234 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()
DRemoteControlClient.java483 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/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleReminderExpBehavior.java246 Settings.Secure.putLong(mContext.getContentResolver(), LEARNING_TIME_ELAPSED_KEY, 0); in onModeDeactivated()
248 Settings.Secure.putLong(mContext.getContentResolver(), LEARNED_HINT_LAST_SHOWN_KEY, 0); in onModeDeactivated()
263 Settings.Secure.putLong( in onAssistantGesturePerformed()
388 Settings.Secure.putLong( in callbackForLearnedState()
441 mHandler.post(() -> Settings.Secure.putLong( in updateLearningStatus()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java328 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/media/java/android/media/session/
DMediaSessionLegacyHelper.java121 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/
DVerityBuilder.java406 buffer.putLong(fileSize); // original file size in generateApkVerityHeader()
443 buffer.putLong(signingBlockOffset); in generateApkVerityExtensions()
444 buffer.putLong(signingBlockSize); in generateApkVerityExtensions()
458 buffer.putLong(eocdOffset + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET); // offset in generateApkVerityExtensions()
/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java85 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime); in deliverResult()
88 pkgs.putLong(mPackageTimes.keyAt(i), mPackageTimes.valueAt(i).value); in deliverResult()
/frameworks/base/core/tests/coretests/src/android/os/
DBundleTest.java168 bundle2.putLong("LongKey", 30L); in kindofEquals_bothUnparcelled_different()
199 bundle2.putLong("LongKey", 5); in kindofEquals_bothParcelled_different()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java653 msg.getData().putLong(EXTRA_TOKEN_HANDLE, handle); in onEscrowTokenAdded()
660 msg.getData().putLong(EXTRA_TOKEN_HANDLE, handle); in onTokenStateReceived()
667 msg.getData().putLong(EXTRA_TOKEN_HANDLE, handle); in onEscrowTokenRemoved()

12345