/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsFileLoggerTest.java | 64 assertThat(output.getLong(DiskStatsFileLogger.PHOTOS_KEY)).isEqualTo(0L); in testEmptyStorage() 65 assertThat(output.getLong(DiskStatsFileLogger.VIDEOS_KEY)).isEqualTo(0L); in testEmptyStorage() 66 assertThat(output.getLong(DiskStatsFileLogger.AUDIO_KEY)).isEqualTo(0L); in testEmptyStorage() 67 assertThat(output.getLong(DiskStatsFileLogger.DOWNLOADS_KEY)).isEqualTo(0L); in testEmptyStorage() 68 assertThat(output.getLong(DiskStatsFileLogger.SYSTEM_KEY)).isEqualTo(0L); in testEmptyStorage() 69 assertThat(output.getLong(DiskStatsFileLogger.MISC_KEY)).isEqualTo(0L); in testEmptyStorage() 70 assertThat(output.getLong(DiskStatsFileLogger.APP_SIZE_AGG_KEY)).isEqualTo(0L); in testEmptyStorage() 71 assertThat(output.getLong(DiskStatsFileLogger.APP_CACHE_AGG_KEY)).isEqualTo(0L); in testEmptyStorage() 90 assertThat(output.getLong(DiskStatsFileLogger.AUDIO_KEY)).isEqualTo(1L); in testMeasurementResultsReported() 91 assertThat(output.getLong(DiskStatsFileLogger.PHOTOS_KEY)).isEqualTo(10L); in testMeasurementResultsReported() [all …]
|
D | DiskStatsLoggingServiceTest.java | 104 assertThat(json.getLong(DiskStatsFileLogger.PHOTOS_KEY)).isEqualTo(0L); in testEmptyLog() 105 assertThat(json.getLong(DiskStatsFileLogger.VIDEOS_KEY)).isEqualTo(0L); in testEmptyLog() 106 assertThat(json.getLong(DiskStatsFileLogger.AUDIO_KEY)).isEqualTo(0L); in testEmptyLog() 107 assertThat(json.getLong(DiskStatsFileLogger.DOWNLOADS_KEY)).isEqualTo(0L); in testEmptyLog() 108 assertThat(json.getLong(DiskStatsFileLogger.SYSTEM_KEY)).isEqualTo(0L); in testEmptyLog() 109 assertThat(json.getLong(DiskStatsFileLogger.MISC_KEY)).isEqualTo(0L); in testEmptyLog() 110 assertThat(json.getLong(DiskStatsFileLogger.APP_SIZE_AGG_KEY)).isEqualTo(0L); in testEmptyLog() 111 assertThat(json.getLong(DiskStatsFileLogger.APP_CACHE_AGG_KEY)).isEqualTo(0L); in testEmptyLog() 146 assertThat(json.getLong(DiskStatsFileLogger.PHOTOS_KEY)).isEqualTo(4L); in testPopulatedLogTask() 147 assertThat(json.getLong(DiskStatsFileLogger.VIDEOS_KEY)).isEqualTo(5L); in testPopulatedLogTask() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DiskStatsService.java | 214 pw.println(json.getLong(DiskStatsFileLogger.APP_SIZE_AGG_KEY)); in reportCachedValues() 216 pw.println(json.getLong(DiskStatsFileLogger.APP_DATA_SIZE_AGG_KEY)); in reportCachedValues() 218 pw.println(json.getLong(DiskStatsFileLogger.APP_CACHE_AGG_KEY)); in reportCachedValues() 220 pw.println(json.getLong(DiskStatsFileLogger.PHOTOS_KEY)); in reportCachedValues() 222 pw.println(json.getLong(DiskStatsFileLogger.VIDEOS_KEY)); in reportCachedValues() 224 pw.println(json.getLong(DiskStatsFileLogger.AUDIO_KEY)); in reportCachedValues() 226 pw.println(json.getLong(DiskStatsFileLogger.DOWNLOADS_KEY)); in reportCachedValues() 228 pw.println(json.getLong(DiskStatsFileLogger.SYSTEM_KEY)); in reportCachedValues() 230 pw.println(json.getLong(DiskStatsFileLogger.MISC_KEY)); in reportCachedValues() 251 json.getLong(DiskStatsFileLogger.APP_SIZE_AGG_KEY)); in reportCachedValuesProto() [all …]
|
D | UserspaceRebootLogger.java | 120 durationMillis = SystemProperties.getLong(USERSPACE_REBOOT_LAST_FINISHED_PROPERTY, 0) in logEventAsync() 121 - SystemProperties.getLong(USERSPACE_REBOOT_LAST_STARTED_PROPERTY, 0); in logEventAsync() 141 if (SystemProperties.getLong(USERSPACE_REBOOT_LAST_STARTED_PROPERTY, -1) != -1) { in computeOutcome()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PerformanceCollectorTest.java | 184 assertEquals(0, results.getLong("testAddMeasurementLongZero")); in testAddMeasurementLong() 186 assertEquals(348573, results.getLong("testAddMeasurementLongPos")); in testAddMeasurementLong() 188 assertEquals(-19354, results.getLong("testAddMeasurementLongNeg")); in testAddMeasurementLong() 404 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); in verifySnapshotBundle() 406 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_EXECUTION_TIME) > 0); in verifySnapshotBundle() 416 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_ALLOCATED) > 0); in verifySnapshotBundle() 418 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_FREE) > 0); in verifySnapshotBundle() 420 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_PRIVATE_DIRTY) > 0); in verifySnapshotBundle() 422 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_PSS) > 0); in verifySnapshotBundle() 424 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_SHARED_DIRTY) > 0); in verifySnapshotBundle() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerConstants.java | 395 BACKGROUND_SETTLE_TIME = mParser.getLong(KEY_BACKGROUND_SETTLE_TIME, in updateConstants() 397 FGSERVICE_MIN_SHOWN_TIME = mParser.getLong(KEY_FGSERVICE_MIN_SHOWN_TIME, in updateConstants() 399 FGSERVICE_MIN_REPORT_TIME = mParser.getLong(KEY_FGSERVICE_MIN_REPORT_TIME, in updateConstants() 401 FGSERVICE_SCREEN_ON_BEFORE_TIME = mParser.getLong(KEY_FGSERVICE_SCREEN_ON_BEFORE_TIME, in updateConstants() 403 FGSERVICE_SCREEN_ON_AFTER_TIME = mParser.getLong(KEY_FGSERVICE_SCREEN_ON_AFTER_TIME, in updateConstants() 405 CONTENT_PROVIDER_RETAIN_TIME = mParser.getLong(KEY_CONTENT_PROVIDER_RETAIN_TIME, in updateConstants() 407 GC_TIMEOUT = mParser.getLong(KEY_GC_TIMEOUT, in updateConstants() 409 GC_MIN_INTERVAL = mParser.getLong(KEY_GC_MIN_INTERVAL, in updateConstants() 411 FULL_PSS_MIN_INTERVAL = mParser.getLong(KEY_FULL_PSS_MIN_INTERVAL, in updateConstants() 413 FULL_PSS_LOWERED_INTERVAL = mParser.getLong(KEY_FULL_PSS_LOWERED_INTERVAL, in updateConstants() [all …]
|
D | BroadcastConstants.java | 115 TIMEOUT = mParser.getLong(KEY_TIMEOUT, TIMEOUT); in updateConstants() 116 SLOW_TIME = mParser.getLong(KEY_SLOW_TIME, SLOW_TIME); in updateConstants() 117 DEFERRAL = mParser.getLong(KEY_DEFERRAL, DEFERRAL); in updateConstants() 120 DEFERRAL_FLOOR = mParser.getLong(KEY_DEFERRAL_FLOOR, DEFERRAL_FLOOR); in updateConstants() 121 ALLOW_BG_ACTIVITY_START_TIMEOUT = mParser.getLong(KEY_ALLOW_BG_ACTIVITY_START_TIMEOUT, in updateConstants()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupAgentTimeoutParameters.java | 115 parser.getLong( in update() 119 parser.getLong( in update() 123 parser.getLong( in update() 127 parser.getLong( in update() 131 parser.getLong( in update() 135 parser.getLong( in update()
|
D | BackupManagerConstants.java | 115 parser.getLong( in update() 119 parser.getLong( in update() 131 parser.getLong( in update()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | AlwaysOnDisplayPolicy.java | 158 proxScreenOffDelayMs = mParser.getLong(KEY_PROX_SCREEN_OFF_DELAY_MS, in update() 160 proxCooldownTriggerMs = mParser.getLong(KEY_PROX_COOLDOWN_TRIGGER_MS, in update() 162 proxCooldownPeriodMs = mParser.getLong(KEY_PROX_COOLDOWN_PERIOD_MS, in update() 164 wallpaperFadeOutDuration = mParser.getLong(KEY_WALLPAPER_FADE_OUT_MS, in update() 166 wallpaperVisibilityDuration = mParser.getLong(KEY_WALLPAPER_VISIBILITY_MS, in update()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableStreamConfigurationDuration.java | 63 int format = (int)buffer.getLong(); in unmarshal() 64 int width = (int)buffer.getLong(); in unmarshal() 65 int height = (int)buffer.getLong(); in unmarshal() 66 long durationNs = buffer.getLong(); in unmarshal()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | Estimate.kt | 45 Settings.Global.getLong( in getCachedEstimateIfAvailable() 51 Settings.Global.getLong(resolver, in getCachedEstimateIfAvailable() 56 Settings.Global.getLong(resolver, Settings.Global.AVERAGE_TIME_TO_DISCHARGE, in getCachedEstimateIfAvailable() 87 Settings.Global.getLong( in getLastCacheUpdateTime()
|
/frameworks/av/drm/libmediadrm/tests/ |
D | DrmMetrics_test.cpp | 106 EXPECT_TRUE(bundle.getLong(key, &value)) in TEST_F() 118 EXPECT_TRUE(bundle.getLong(get_key_request_key, &value)); in TEST_F() 121 EXPECT_TRUE(bundle.getLong(provide_key_response_key, &value)); in TEST_F() 209 EXPECT_TRUE(bundle.getLong(key, &value)) in TEST_F() 248 EXPECT_TRUE(start_times.getLong(sid, &start_time)); in TEST_F() 249 EXPECT_TRUE(end_times.getLong(sid, &end_time)); in TEST_F() 260 EXPECT_TRUE(bundle.getLong(get_key_request_key, &value)); in TEST_F() 263 EXPECT_TRUE(bundle.getLong(provide_key_response_key, &value)); in TEST_F() 457 ASSERT_TRUE(metricInstance.getLong(String16("count"), &value)); in TEST_F() 461 ASSERT_TRUE(attributeBundle.getLong(String16("status"), &value)); in TEST_F() [all …]
|
/frameworks/base/core/tests/systemproperties/src/android/os/ |
D | SystemPropertiesTest.java | 36 long ret = SystemProperties.getLong(PERSIST_KEY, -1); in testStressPersistPropertyConsistency() 45 long ret = SystemProperties.getLong(KEY, -1); in testStressMemoryPropertyConsistency() 92 long value = SystemProperties.getLong(KEY, defValue); in testLong() 111 assertEquals(1, handle.getLong(-1)); in testHandle() 142 assertEquals(-10, SystemProperties.getLong(UNSET_KEY, -10)); in testUnset() 173 SystemProperties.getLong(null, 0); in testNullKey()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | MatrixCursorTest.java | 41 assertEquals(0L, cursor.getLong(0)); in testNullValue() 153 assertEquals(0, cursor.getLong(3)); in testRowBuilderOffer() 162 assertEquals(0, cursor.getLong(3)); in testRowBuilderOffer() 171 assertEquals(0, cursor.getLong(3)); in testRowBuilderOffer() 204 assertEquals(3, cursor.getLong(3)); in checkValues()
|
D | CursorWindowTest.java | 87 long int2 = window.getLong(0, 1); in doTestValues() 92 assertEquals(1198032740000L, window.getLong(0, 3)); in doTestValues() 96 assertEquals(1198032740000L, window.getLong(0, 3)); in doTestValues()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyConstants.java | 94 long dasDiedServiceReconnectBackoffSec = parser.getLong( in DevicePolicyConstants() 100 long dasDiedServiceReconnectMaxBackoffSec = parser.getLong( in DevicePolicyConstants() 103 long dasDiedServiceStableConnectionThresholdSec = parser.getLong( in DevicePolicyConstants()
|
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 165 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE); in getNextTimeMillis() 200 return mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0); in getLastSuccessTimeMillis() 211 mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0), in getLastAttemptTimeMillis() 212 mStorage.getLong(PREFIX + "lastErrorTimeMillis", 0)); in getLastAttemptTimeMillis() 225 long time = mStorage.getLong(name, 0); in getTimeBefore()
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingConstants.java | 94 long serviceReconnectBackoffSec = parser.getLong( in AppBindingConstants() 100 long serviceReconnectMaxBackoffSec = parser.getLong( in AppBindingConstants() 109 long serviceStableConnectionThresholdSec = parser.getLong( in AppBindingConstants()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/ |
D | FingerprintMixer.java | 68 mAddend = buffer.getLong(); in FingerprintMixer() 71 mMultiplicand = buffer.getLong() | 1; in FingerprintMixer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | DeviceConfigHelper.java | 39 public long getLong(String name, long defaultValue) { in getLong() method in DeviceConfigHelper 40 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getLong()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | StatsEventTest.java | 66 .that(buffer.getLong()).isIn(Range.closed(minTimestamp, maxTimestamp)); in testNoFields() 121 .that(buffer.getLong()).isIn(Range.closed(minTimestamp, maxTimestamp)); in testIntBooleanIntInt() 190 .that(buffer.getLong()).isIn(Range.closed(minTimestamp, maxTimestamp)); in testStringFloatByteArray() 254 .that(buffer.getLong()).isIn(Range.closed(minTimestamp, maxTimestamp)); in testAttributionChainLong() 281 .that(buffer.getLong()).isEqualTo(field2); in testAttributionChainLong() 324 .that(buffer.getLong()).isIn(Range.closed(minTimestamp, maxTimestamp)); in testKeyValuePairs() 355 .that(buffer.getLong()).isEqualTo(longMap.valueAt(i)); in testKeyValuePairs() 418 .that(buffer.getLong()).isIn(Range.closed(minTimestamp, maxTimestamp)); in testSingleAnnotations()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | SummaryForAllUidLoader.java | 64 final long start = mArgs.getLong(KEY_START); in loadInBackground() 65 final long end = mArgs.getLong(KEY_END); in loadInBackground()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | CalendarTracker.java | 103 rt.add(cursor.getLong(0)); in getCalendarsWithAccess() 128 final long begin = cursor.getLong(0); in checkEvent() 129 final long end = cursor.getLong(1); in checkEvent() 135 final long calendarId = cursor.getLong(7); in checkEvent() 195 final long rowEventId = cursor.getLong(0);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapter.java | 261 c.getLong(Queries.Query.CONTACT_ID), in processContactEntries() 263 c.getLong(Queries.Query.DATA_ID), in processContactEntries() 281 + " CONTACT ID : " + c.getLong(Queries.Query.CONTACT_ID) in processContactEntries() 511 original.getLong(Query.CONTACT_ID), in removeUndesiredDestinations() 512 original.getLong(Query.DATA_ID), in removeUndesiredDestinations() 565 c.getLong(Queries.Query.DATA_ID); in getItemId() 579 c.getLong(Queries.Query.CONTACT_ID), in getRecipientEntry() 581 c.getLong(Queries.Query.DATA_ID), in getRecipientEntry() 594 if (cursor.getLong(Queries.Query.DATA_ID) == mCurrentId) { in getView()
|