Searched refs:putLong (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java393 iteration.putLong(METRIC_KEY_EXECUTION_TIME, mExecTime);
394 iteration.putLong(METRIC_KEY_CPU_TIME, mCpuTime);
461 mPerfSnapshot.putLong("pre_" + key, binderCounts.getLong(key));
504 mPerfSnapshot.putLong(key, binderCounts.getLong(key));
510 mPerfSnapshot.putLong(key, allocCounts.getLong(key));
513 mPerfSnapshot.putLong(METRIC_KEY_EXECUTION_TIME, mSnapshotExecTime);
514 mPerfSnapshot.putLong(METRIC_KEY_CPU_TIME, mSnapshotCpuTime);
516 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_SIZE, nativeMax);
517 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_ALLOCATED, nativeAllocated);
518 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_FRE
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableStreamConfigurationDuration.java55 buffer.putLong(value.getFormat() & MASK_UNSIGNED_INT); // unsigned int -> long
56 buffer.putLong(value.getWidth());
57 buffer.putLong(value.getHeight());
58 buffer.putLong(value.getDuration());
H A DMarshalQueryablePrimitive.java117 buffer.putLong(value);
/frameworks/base/core/java/android/app/
H A DBroadcastOptions.java81 b.putLong(KEY_TEMPORARY_APP_WHITELIST_DURATION, mTemporaryAppWhitelistDuration);
H A DInstrumentation.java1381 results.putLong("global_alloc_count", Debug.getGlobalAllocCount());
1382 results.putLong("global_alloc_size", Debug.getGlobalAllocSize());
1383 results.putLong("global_freed_count", Debug.getGlobalFreedCount());
1384 results.putLong("global_freed_size", Debug.getGlobalFreedSize());
1385 results.putLong("gc_invocation_count", Debug.getGlobalGcInvocationCount());
1395 results.putLong("sent_transactions", Debug.getBinderSentTransactions());
1396 results.putLong("received_transactions", Debug.getBinderReceivedTransactions());
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
H A DDataIdleTest.java106 result.putLong(String.format(labelTemplate, "rxBytes"), statsEntry.rxBytes);
107 result.putLong(String.format(labelTemplate, "txBytes"), statsEntry.txBytes);
114 result.putLong("Total rx Bytes", rxBytes);
115 result.putLong("Total tx Bytes", txBytes);
116 result.putLong("Total rx Packets", rxPackets);
117 result.putLong("Total tx Packets", txPackets);
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java149 bundle.putLong(REPORT_KEY_BYTES_RECEIVED, entry.rxBytes);
150 bundle.putLong(REPORT_KEY_BYTES_SENT, entry.txBytes);
151 bundle.putLong(REPORT_KEY_PACKETS_RECEIVED, entry.rxPackets);
152 bundle.putLong(REPORT_KEY_PACKETS_SENT, entry.txPackets);
153 bundle.putLong(REPORT_KEY_OPERATIONS, entry.operations);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaItemStatus.java345 mBundle.putLong(KEY_TIMESTAMP, elapsedRealtimeTimestamp);
362 mBundle.putLong(KEY_CONTENT_POSITION, positionMilliseconds);
371 mBundle.putLong(KEY_CONTENT_DURATION, durationMilliseconds);
H A DMediaSessionStatus.java207 mBundle.putLong(KEY_TIMESTAMP, elapsedRealtimeTimestamp);
/frameworks/support/v4/api21/android/support/v4/media/
H A DMediaMetadataCompatApi21.java55 public static void putLong(Object builderObj, String key, long value) { method in class:MediaMetadataCompatApi21.Builder
56 ((MediaMetadata.Builder)builderObj).putLong(key, value);
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java231 SharedPreferencesCompat.apply(mStorage.edit().putLong(name, time));
246 mStorage.edit().putLong(PREFIX + "triggerTimeMillis", millis));
258 .putLong(PREFIX + "moratoriumTimeMillis", millis)
259 .putLong(PREFIX + "moratoriumSetTimeMillis", currentTimeMillis()));
309 .putLong(PREFIX + "lastSuccessTimeMillis", currentTimeMillis()));
319 editor.putLong(PREFIX + "lastErrorTimeMillis", currentTimeMillis());
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java182 result.putLong("actual-iterations", i - 1);
183 result.putLong("avg-scan-time", averageScanTime);
204 Settings.Global.putLong(mRunner.getContext().getContentResolver(),
287 result.putLong("actual-iterations", i - 1);
288 result.putLong("avg-reconnect-time", avgReconnectTime);
/frameworks/base/core/java/android/content/
H A DSharedPreferences.java118 Editor putLong(String key, long value); method in interface:SharedPreferences.Editor
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DPrefs.java80 public static void putLong(Context context, @Key String key, long value) { method in class:Prefs
81 get(context).edit().putLong(key, value).apply();
/frameworks/base/services/core/java/com/android/server/am/
H A DAppTimeTracker.java83 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime);
86 pkgs.putLong(mPackageTimes.keyAt(i), mPackageTimes.valueAt(i).value);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java93 public Editor putLong(String key, long value) {
/frameworks/support/v4/kitkat/android/support/v4/media/session/
H A DMediaSessionCompatApi19.java73 editor.putLong(MediaMetadataRetriever.METADATA_KEY_YEAR,
/frameworks/base/media/java/android/media/
H A DMediaMetadataEditor.java233 public synchronized MediaMetadataEditor putLong(int key, long value) method in class:MediaMetadataEditor
242 mEditorMetadata.putLong(String.valueOf(key), value);
279 * <li>{@link Long} object are the same as for {@link #putLong(int, long)}</li>
297 return putLong(key, ((Long)value).longValue());
326 * @param key one of the keys supported in {@link #putLong(int, long)}
H A DRemoteControlClient.java498 public synchronized MetadataEditor putLong(int key, long value) method in class:RemoteControlClient.MetadataEditor
500 super.putLong(key, value);
506 mMetadataBuilder.putLong(metadataKey, value);
580 mMetadata.putLong(String.valueOf(KEY_EDITABLE_MASK), mEditableKeys);
/frameworks/support/v4/ics/android/support/v4/media/session/
H A DMediaSessionCompatApi14.java202 editor.putLong(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER,
206 editor.putLong(MediaMetadataRetriever.METADATA_KEY_DURATION,
218 editor.putLong(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER,
/frameworks/base/core/tests/coretests/src/android/database/
H A DCursorWindowTest.java86 assertTrue(window.putLong(int1, 0, 1));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DUsageTracker.java66 Prefs.putLong(mContext, mPrefKey, System.currentTimeMillis());
/frameworks/support/recommendation/src/android/support/app/recommendation/
H A DRecommendationExtender.java125 contentBundle.putLong(KEY_CONTENT_RUN_LENGTH, mRunLength);
/frameworks/support/v4/java/android/support/v4/media/
H A DMediaMetadataCompat.java522 builder.putLong(key,
566 MediaMetadataCompatApi21.Builder.putLong(builderObj, key,
713 public Builder putLong(@LongKey String key, long value) { method in class:MediaMetadataCompat.Builder
720 mBundle.putLong(key, value);
/frameworks/base/include/androidfw/
H A DCursorWindow.h106 status_t putLong(uint32_t row, uint32_t column, int64_t value);

Completed in 1415 milliseconds

123