/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 183 assertEquals(0, results.getLong("testAddMeasurementLongZero")); 185 assertEquals(348573, results.getLong("testAddMeasurementLongPos")); 187 assertEquals(-19354, results.getLong("testAddMeasurementLongNeg")); 403 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); 405 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_EXECUTION_TIME) > 0); 415 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_ALLOCATED) > 0); 417 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_FREE) > 0); 419 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_PRIVATE_DIRTY) > 0); 421 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_PSS) > 0); 423 assertTrue(snapshot.getLong(PerformanceCollecto [all...] |
/frameworks/base/core/tests/systemproperties/src/android/os/ |
H A D | SystemPropertiesTest.java | 32 long ret = SystemProperties.getLong(PERSIST_KEY, -1); 41 long ret = SystemProperties.getLong(KEY, -1);
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | CursorWindowTest.java | 87 long int2 = window.getLong(0, 1); 92 assertEquals(1198032740000L, window.getLong(0, 3)); 96 assertEquals(1198032740000L, window.getLong(0, 3));
|
H A D | MatrixCursorTest.java | 41 assertEquals(0L, cursor.getLong(0)); 154 assertEquals(3, cursor.getLong(3));
|
H A D | DatabaseStatementTest.java | 143 long num = c.getLong(numCol); 236 long num = c.getLong(numCol); 271 long num = c.getLong(numCol); 318 long num = c.getLong(numCol);
|
/frameworks/base/core/java/android/database/ |
H A D | AbstractWindowedCursor.java | 73 public long getLong(int columnIndex) { method in class:AbstractWindowedCursor 75 return mWindow.getLong(mPos, columnIndex);
|
H A D | CursorWrapper.java | 105 public long getLong(int columnIndex) { method in class:CursorWrapper 106 return mCursor.getLong(columnIndex);
|
H A D | Cursor.java | 285 long getLong(int columnIndex); method in interface:Cursor
|
H A D | MergeCursor.java | 114 public long getLong(int column) method in class:MergeCursor 116 return mCursor.getLong(column);
|
H A D | CursorWindow.java | 504 public long getLong(int row, int column) { method in class:CursorWindow 549 * The result is determined by invoking {@link #getLong} and converting the 558 return (short) getLong(row, column); 565 * The result is determined by invoking {@link #getLong} and converting the 574 return (int) getLong(row, column);
|
/frameworks/base/core/java/android/os/ |
H A D | Build.java | 426 public static final long TIME = getLong("ro.build.date.utc") * 1000; 449 private static long getLong(String property) { method in class:Build
|
H A D | SystemProperties.java | 92 public static long getLong(String key, long def) { method in class:SystemProperties
|
H A D | PerformanceCollector.java | 461 mPerfSnapshot.putLong("pre_" + key, binderCounts.getLong(key)); 504 mPerfSnapshot.putLong(key, binderCounts.getLong(key)); 510 mPerfSnapshot.putLong(key, allocCounts.getLong(key));
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ILockSettings.aidl | 25 long getLong(in String key, in long defaultValue, in int userId);
|
H A D | LockPatternUtils.java | 363 (int) getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); 429 return !isSecure() && getLong(DISABLE_LOCKSCREEN_KEY, 0) != 0; 667 (int) getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); 672 (int) getLong(PASSWORD_TYPE_ALTERNATE_KEY, 683 (int) getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); 750 long salt = getLong(LOCK_PASSWORD_SALT_KEY, 0); 802 long mode = getLong(PASSWORD_TYPE_KEY, 0); 803 long backupMode = getLong(PASSWORD_TYPE_ALTERNATE_KEY, 0); 822 getLong(PASSWORD_TYPE_ALTERNATE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING) 826 && (getLong(PASSWORD_TYPE_KE 1004 private long getLong(String secureSettingKey, long defaultValue) { method in class:LockPatternUtils [all...] |
/frameworks/ex/chips/tests/src/com/android/ex/chips/ |
H A D | RecipientAlternatesAdapterTest.java | 97 assertEquals(contactId, c.getLong(4)); 98 assertEquals(dataId, c.getLong(5));
|
/frameworks/ex/common/java/com/android/common/ |
H A D | OperationScheduler.java | 150 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE); 175 return mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0); 186 mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0), 187 mStorage.getLong(PREFIX + "lastErrorTimeMillis", 0)); 200 long time = mStorage.getLong(name, 0); 334 time.set(mStorage.getLong(key, 0));
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientAlternatesAdapter.java | 115 c.getLong(Queries.Query.CONTACT_ID), 116 c.getLong(Queries.Query.DATA_ID), 122 + " CONTACT ID : " + c.getLong(Queries.Query.CONTACT_ID) 206 original.getLong(Query.CONTACT_ID), 207 original.getLong(Query.DATA_ID), 220 c.getLong(Queries.Query.DATA_ID); 234 c.getLong(Queries.Query.CONTACT_ID), 235 c.getLong(Queries.Query.DATA_ID), 246 if (cursor.getLong(Queries.Query.DATA_ID) == mCurrentId) {
|
/frameworks/base/core/java/android/content/ |
H A D | SharedPreferences.java | 290 long getLong(String key, long defValue); method in interface:SharedPreferences
|
/frameworks/ex/common/java/com/android/common/contacts/ |
H A D | DataUsageStatUpdater.java | 132 contactIds.add(cursor.getLong(0)); 133 dataIds.add(cursor.getLong(1)); 182 contactIds.add(cursor.getLong(0)); 183 dataIds.add(cursor.getLong(1));
|
/frameworks/base/services/java/com/android/server/ |
H A D | BootReceiver.java | 102 if (SystemProperties.getLong("ro.runtime.firstboot", 0) == 0) { 154 long lastTime = prefs.getLong(filename, 0);
|
/frameworks/base/core/java/android/util/ |
H A D | NtpTrustedTime.java | 64 final long timeout = Settings.Secure.getLong(
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockCursor.java | 72 public long getLong(int columnIndex) { method in class:MockCursor
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 265 entry.activeTime = getLong(activeTime, i, UNKNOWN); 266 entry.rxBytes = getLong(rxBytes, i, UNKNOWN); 267 entry.rxPackets = getLong(rxPackets, i, UNKNOWN); 268 entry.txBytes = getLong(txBytes, i, UNKNOWN); 269 entry.txPackets = getLong(txPackets, i, UNKNOWN); 270 entry.operations = getLong(operations, i, UNKNOWN); 363 entry.rxBytes = getLong(input.rxBytes, i, 0L); 364 entry.rxPackets = getLong(input.rxPackets, i, 0L); 365 entry.txBytes = getLong(input.txBytes, i, 0L); 366 entry.txPackets = getLong(inpu 612 private static long getLong(long[] array, int i, long value) { method in class:NetworkStatsHistory [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 514 public long getLong(String property, long def) { method in class:TypedProperties 647 public long getLong(String property) { method in class:TypedProperties 648 return getLong(property, 0L);
|