Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/os/
DPerformanceCollector.java393 iteration.putLong(METRIC_KEY_EXECUTION_TIME, mExecTime); in addIteration()
394 iteration.putLong(METRIC_KEY_CPU_TIME, mCpuTime); in addIteration()
461 mPerfSnapshot.putLong("pre_" + key, binderCounts.getLong(key)); in startPerformanceSnapshot()
504 mPerfSnapshot.putLong(key, binderCounts.getLong(key)); in endPerformanceSnapshot()
510 mPerfSnapshot.putLong(key, allocCounts.getLong(key)); in endPerformanceSnapshot()
513 mPerfSnapshot.putLong(METRIC_KEY_EXECUTION_TIME, mSnapshotExecTime); in endPerformanceSnapshot()
514 mPerfSnapshot.putLong(METRIC_KEY_CPU_TIME, mSnapshotCpuTime); in endPerformanceSnapshot()
516 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_SIZE, nativeMax); in endPerformanceSnapshot()
517 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_ALLOCATED, nativeAllocated); in endPerformanceSnapshot()
518 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_FREE, nativeFree); in endPerformanceSnapshot()
[all …]
/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/support/v7/mediarouter/src/android/support/v7/media/
DMediaItemStatus.java345 mBundle.putLong(KEY_TIMESTAMP, elapsedRealtimeTimestamp); in setTimestamp()
362 mBundle.putLong(KEY_CONTENT_POSITION, positionMilliseconds); in setContentPosition()
371 mBundle.putLong(KEY_CONTENT_DURATION, durationMilliseconds); in setContentDuration()
/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/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java270 status.putLong(key + "_median", median()); in sendFullStatusReport()
271 status.putLong(key + "_mean", mean()); in sendFullStatusReport()
272 status.putLong(key + "_min", min()); in sendFullStatusReport()
273 status.putLong(key + "_standardDeviation", standardDeviation()); in sendFullStatusReport()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DSummaryForAllUidLoader.java38 args.putLong(KEY_START, start); in buildArgs()
39 args.putLong(KEY_END, end); in buildArgs()
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/
DPreferencePersistTest.java261 boolean wasPersisted = mPreference.putLong(expected); in long_persist_getsStoredToSharedPrefs()
272 boolean wasPersisted = mPreference.putLong(1); in long_persistWhileDisabled_notPersisted()
283 mPreference.putLong(expected); in long_persistAndRetrieve_returnsPersistedValue()
294 mPreference.putLong(1); in long_persistTwiceAndRetrieve_returnsSecondValue()
295 mPreference.putLong(expected); in long_persistTwiceAndRetrieve_returnsSecondValue()
/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/support/media-compat/api21/android/support/v4/media/
DMediaMetadataCompatApi21.java66 public static void putLong(Object builderObj, String key, long value) { in putLong() method in MediaMetadataCompatApi21.Builder
67 ((MediaMetadata.Builder)builderObj).putLong(key, value); in putLong()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java486 public synchronized MetadataEditor putLong(int key, long value) in putLong() method in RemoteControlClient.MetadataEditor
488 super.putLong(key, value); in putLong()
494 mMetadataBuilder.putLong(metadataKey, value); in putLong()
568 mMetadata.putLong(String.valueOf(KEY_EDITABLE_MASK), mEditableKeys); in apply()
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java1225 config.putLong(KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, carrierWarningBytes); in assertWarningBytesAsExpected()
1250 config.putLong(KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, carrierWarningBytes); in assertLimitBytesAsExpected()
1304 bundle.putLong(CarrierConfigManager.KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, -100); in testUpdateMobilePolicyCycleWithInvalidConfig()
1305 bundle.putLong(CarrierConfigManager.KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, -100); in testUpdateMobilePolicyCycleWithInvalidConfig()
1321 bundle.putLong(CarrierConfigManager.KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, in testUpdateMobilePolicyCycleWithDefaultConfig()
1323 bundle.putLong(CarrierConfigManager.KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, in testUpdateMobilePolicyCycleWithDefaultConfig()
1344 bundle.putLong(CarrierConfigManager.KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, 9999); in testUpdateMobilePolicyCycleWithUserOverrides()
1345 bundle.putLong(CarrierConfigManager.KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, in testUpdateMobilePolicyCycleWithUserOverrides()
1362 bundle.putLong(CarrierConfigManager.KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, 9999); in testUpdateMobilePolicyCycleUpdatesDataCycle()
1363 bundle.putLong(CarrierConfigManager.KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, 9999); in testUpdateMobilePolicyCycleUpdatesDataCycle()
[all …]
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java314 edit.putLong(keyPrefix + KEY_TIME_STAMP, timeStamp); in putStoredApkInfo()
315 edit.putLong(keyPrefix + KEY_CRC, crc); in putStoredApkInfo()
320 edit.putLong(keyPrefix + KEY_DEX_CRC + extractedDexId, dex.crc); in putStoredApkInfo()
321 edit.putLong(keyPrefix + KEY_DEX_TIME + extractedDexId, dex.lastModified()); in putStoredApkInfo()
/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java83 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime); in deliverResult()
86 pkgs.putLong(mPackageTimes.keyAt(i), mPackageTimes.valueAt(i).value); in deliverResult()
/frameworks/base/telephony/java/android/telephony/
DCarrierConfigManager.java1673 sDefaults.putLong(KEY_MESSAGE_EXPIRATION_TIME_LONG, 86400000L); in sDefaults.putLong()
1680 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_DEFAULT_LONG, 20000); in sDefaults.putLong()
1681 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_FASTER_LONG, 3000); in sDefaults.putLong()
1682 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_RETRY_AFTER_DISCONNECT_LONG, 10000); in sDefaults.putLong()
1809 sDefaults.putLong(KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT); in sDefaults.putLong()
1810 sDefaults.putLong(KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT); in sDefaults.putLong()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java100 public static void putLong(Context context, @Key String key, long value) { in putLong() method in Prefs
101 get(context).edit().putLong(key, value).apply(); in putLong()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java120 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER), in getOldMetadata()
124 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DURATION), in getOldMetadata()
132 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_NUM_TRACKS), in getOldMetadata()
148 oldMetadata.putLong( in getOldMetadata()
157 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_YEAR), in getOldMetadata()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/
DMusicProvider.java285 .putLong(MediaMetadataCompat.METADATA_KEY_DURATION, duration) in buildFromJSON()
289 .putLong(MediaMetadataCompat.METADATA_KEY_TRACK_NUMBER, trackNumber) in buildFromJSON()
290 .putLong(MediaMetadataCompat.METADATA_KEY_NUM_TRACKS, totalTrackCount) in buildFromJSON()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaMetadataCompat.java537 bundle.putLong(MediaDescriptionCompat.EXTRA_BT_FOLDER_TYPE, in getDescription()
541 bundle.putLong(MediaDescriptionCompat.EXTRA_DOWNLOAD_STATUS, in getDescription()
794 public Builder putLong(@LongKey String key, long value) { in putLong() method in MediaMetadataCompat.Builder
801 mBundle.putLong(key, value); in putLong()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java195 syncExtrasBundle.putLong(key, (Long) value); in toJobInfoExtras()
228 jobInfoExtras.putLong("periodMillis", periodMillis); in toJobInfoExtras()
229 jobInfoExtras.putLong("flexMillis", flexMillis); in toJobInfoExtras()
230 jobInfoExtras.putLong("expectedRuntime", expectedRuntime); in toJobInfoExtras()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java628 msg.getData().putLong(EXTRA_TOKEN_HANDLE, handle); in onEscrowTokenAdded()
635 msg.getData().putLong(EXTRA_TOKEN_HANDLE, handle); in onTokenStateReceived()
642 msg.getData().putLong(EXTRA_TOKEN_HANDLE, handle); in onEscrowTokenRemoved()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceDataStore.java93 public void putLong(String key, long value) { in putLong() method in PreferenceDataStore

12345