/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 186 assertEquals(0, results.getLong("testAddMeasurementLongZero")); 188 assertEquals(348573, results.getLong("testAddMeasurementLongPos")); 190 assertEquals(-19354, results.getLong("testAddMeasurementLongNeg")); 406 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); 408 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_EXECUTION_TIME) > 0); 418 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_ALLOCATED) > 0); 420 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_FREE) > 0); 422 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_PRIVATE_DIRTY) > 0); 424 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_PSS) > 0); 426 assertTrue(snapshot.getLong(PerformanceCollecto [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Build.java | 195 public static final long TIME = getLong("ro.build.date.utc") * 1000; 203 private static long getLong(String property) { method in class:Build
|
H A D | SystemProperties.java | 85 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/tests/coretests/src/android/database/ |
H A D | CursorWindowTest.java | 105 long int2 = window.getLong(0, 1); 110 assertEquals(1198032740000L, window.getLong(0, 3)); 114 assertEquals(1198032740000L, window.getLong(0, 3)); 135 assertEquals(0, window.getLong(0, 0)); 147 assertEquals(0, window.getLong(0, 0));
|
H A D | MatrixCursorTest.java | 38 assertEquals(0L, cursor.getLong(0)); 147 assertEquals(3, cursor.getLong(3));
|
H A D | DatabaseStatementTest.java | 145 long num = c.getLong(numCol); 238 long num = c.getLong(numCol); 273 long num = c.getLong(numCol); 320 long num = c.getLong(numCol);
|
/frameworks/base/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); 328 time.set(mStorage.getLong(key, 0));
|
/frameworks/base/core/java/android/net/ |
H A D | Downloads.java | 252 result.id = c.getLong(DOWNLOADS_COLUMN_ID); 254 result.bytesSoFar = c.getLong(DOWNLOADS_COLUMN_CURRENT_BYTES); 258 long modTime = c.getLong(DOWNLOADS_COLUMN_LAST_MODIFICATION); 268 result.bytesSoFar = c.getLong(DOWNLOADS_COLUMN_CURRENT_BYTES); 449 result.id = c.getLong(DOWNLOADS_COLUMN_ID); 451 result.bytesSoFar = c.getLong(DOWNLOADS_COLUMN_CURRENT_BYTES); 455 long modTime = c.getLong(DOWNLOADS_COLUMN_LAST_MODIFICATION); 458 result.bytesSoFar = c.getLong(DOWNLOADS_COLUMN_CURRENT_BYTES); 619 long modified = c.getLong(DOWNLOADS_COLUMN_LAST_MODIFICATION);
|
/frameworks/base/core/java/android/content/ |
H A D | SharedPreferences.java | 214 long getLong(String key, long defValue); method in interface:SharedPreferences
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 407 return (int) getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); 473 long salt = getLong(LOCK_PASSWORD_SALT_KEY, 0); 525 long mode = getLong(PASSWORD_TYPE_KEY, 0); 537 && getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING) 593 final long deadline = getLong(LOCKOUT_ATTEMPT_DEADLINE, 0L); 645 private long getLong(String secureSettingKey, long def) { method in class:LockPatternUtils 646 return android.provider.Settings.Secure.getLong(mContentResolver, secureSettingKey, def);
|
H A D | ContactHeaderWidget.java | 270 Uri lookupUri = Contacts.getLookupUri(cursor.getLong(ContactQuery._ID), 273 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); 295 long contactId = cursor.getLong(PHONE_LOOKUP_CONTACT_ID_COLUMN_INDEX); 311 long contactId = cursor.getLong(EMAIL_LOOKUP_CONTACT_ID_COLUMN_INDEX); 566 long date = c.getLong(ContactQuery.CONTACT_STATUS_TIMESTAMP);
|
/frameworks/base/core/java/android/database/ |
H A D | AbstractWindowedCursor.java | 97 public long getLong(int columnIndex) method in class:AbstractWindowedCursor 108 return mWindow.getLong(mPos, columnIndex);
|
H A D | CursorWrapper.java | 126 public long getLong(int columnIndex) { method in class:CursorWrapper 127 return mCursor.getLong(columnIndex);
|
H A D | MergeCursor.java | 140 public long getLong(int column) method in class:MergeCursor 142 return mCursor.getLong(column);
|
H A D | Cursor.java | 270 long getLong(int columnIndex); method in interface:Cursor
|
H A D | AbstractCursor.java | 54 abstract public long getLong(int column); method in class:AbstractCursor 194 mCurrentRowID = Long.valueOf(getLong(mRowIdColumnIndex)); 397 // Long rowid = Long.valueOf(getLong(mRowIdColumnIndex)); 398 Long rowid = new Long(getLong(mRowIdColumnIndex));
|
/frameworks/base/core/java/android/widget/ |
H A D | QuickContactBadge.java | 241 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX); 254 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX); 262 long contactId = cursor.getLong(CONTACT_ID_COLUMN_INDEX);
|
/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);
|
/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/com/android/internal/database/ |
H A D | SortCursor.java | 221 public long getLong(int column) method in class:SortCursor 223 return mCursor.getLong(column);
|
/frameworks/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 167 return mBuffer.getLong(); 249 long magic = mBuffer.getLong();
|
/frameworks/base/services/java/com/android/server/ |
H A D | BootReceiver.java | 114 if (SystemProperties.getLong("ro.runtime.firstboot", 0) == 0) { 166 long lastTime = prefs.getLong(filename, 0);
|
H A D | Watchdog.java | 278 long memCheckInterval = Settings.Secure.getLong( 291 long memCheckRealtimeInterval = Settings.Secure.getLong( 480 long recheckInterval = Settings.Secure.getLong( 610 : Settings.Secure.getLong( 614 : Settings.Secure.getLong( 618 : Settings.Secure.getLong( 746 long memcheckExecStartTime = Settings.Secure.getLong( 749 long memcheckExecEndTime = Settings.Secure.getLong(
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewDatabase.java | 458 cookie.expires = cursor.getLong(expiresCol); 638 ret.expires = cursor.getLong(3); 644 ret.contentLength = cursor.getLong(9); 736 size = cursor.getLong(0); 767 long length = cursor.getLong(0); 1033 urlid = cursor.getLong(cursor.getColumnIndex(ID_COL)); 1083 long urlid = cursor.getLong(cursor.getColumnIndex(ID_COL));
|