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

12

/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/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/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/java/android/content/
H A DSharedPreferences.java118 Editor putLong(String key, long value); method in interface:SharedPreferences.Editor
H A DSyncRequest.java580 mSyncConfigExtras.putLong(ContentResolver.SYNC_EXTRAS_EXPECTED_UPLOAD, mTxBytes);
581 mSyncConfigExtras.putLong(ContentResolver.SYNC_EXTRAS_EXPECTED_DOWNLOAD, mRxBytes);
/frameworks/base/media/java/android/media/
H A DMediaMetadataEditor.java226 public synchronized MediaMetadataEditor putLong(int key, long value) method in class:MediaMetadataEditor
235 mEditorMetadata.putLong(String.valueOf(key), value);
272 * <li>{@link Long} object are the same as for {@link #putLong(int, long)}</li>
290 return putLong(key, ((Long)value).longValue());
319 * @param key one of the keys supported in {@link #putLong(int, long)}
H A DMiniThumbFile.java203 mBuffer.putLong(magic);
H A DRemoteControlClient.java461 public synchronized MetadataEditor putLong(int key, long value) method in class:RemoteControlClient.MetadataEditor
463 super.putLong(key, value);
510 mMetadata.putLong(String.valueOf(KEY_EDITABLE_MASK), mEditableKeys);
/frameworks/base/core/tests/coretests/src/android/database/
H A DCursorWindowTest.java86 assertTrue(window.putLong(int1, 0, 1));
/frameworks/base/services/java/com/android/server/am/
H A DCoreSettingsObserver.java103 snapshot.putLong(setting, value);
/frameworks/base/services/java/com/android/server/
H A DBootReceiver.java173 prefs.edit().putLong(filename, fileTime).apply();
194 prefs.edit().putLong(tag, fileTime).apply();
/frameworks/base/core/java/android/app/
H A DInstrumentation.java1297 results.putLong("global_alloc_count", Debug.getGlobalAllocCount());
1298 results.putLong("global_alloc_size", Debug.getGlobalAllocSize());
1299 results.putLong("global_freed_count", Debug.getGlobalFreedCount());
1300 results.putLong("global_freed_size", Debug.getGlobalFreedSize());
1301 results.putLong("gc_invocation_count", Debug.getGlobalGcInvocationCount());
1311 results.putLong("sent_transactions", Debug.getBinderSentTransactions());
1312 results.putLong("received_transactions", Debug.getBinderReceivedTransactions());
H A DSharedPreferencesImpl.java326 public Editor putLong(String key, long value) { method in class:SharedPreferencesImpl.EditorImpl
/frameworks/base/include/androidfw/
H A DCursorWindow.h106 status_t putLong(uint32_t row, uint32_t column, int64_t value);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java331 results.putLong(label + "tx", totalStats.txBytes);
332 results.putLong(label + "rx", totalStats.rxBytes);
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java899 mTestResult.putLong(index + PerformanceCollector.METRIC_KEY_CPU_TIME,
901 mTestResult.putLong(index + PerformanceCollector.METRIC_KEY_EXECUTION_TIME,
908 mTestResult.putLong(label, value);
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
H A DRequestSync.java131 mExtras.putLong(key, Long.valueOf(value));
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java158 Settings.System.putLong(getContentResolver(),
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java222 Settings.Global.putLong(mRunner.getContext().getContentResolver(),
/frameworks/base/core/java/android/database/
H A DCursorWindow.java635 public boolean putLong(long value, int row, int column) { method in class:CursorWindow
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp306 status_t CursorWindow::putLong(uint32_t row, uint32_t column, int64_t value) { function in class:android::CursorWindow
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java127 mResult.putLong(mNameToResultKey.get(app), launchTime);

Completed in 544 milliseconds

12