Searched refs:getLong (Results 1 - 25 of 72) sorted by relevance

123

/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/os/
H A DPerformanceCollectorTest.java186 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 DBuild.java181 public static final long TIME = getLong("ro.build.date.utc") * 1000;
189 private static long getLong(String property) { method in class:Build
H A DSystemProperties.java85 public static long getLong(String key, long def) { method in class:SystemProperties
H A DPerformanceCollector.java461 mPerfSnapshot.putLong("pre_" + key, binderCounts.getLong(key));
504 mPerfSnapshot.putLong(key, binderCounts.getLong(key));
510 mPerfSnapshot.putLong(key, allocCounts.getLong(key));
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
H A DCursorWindowTest.java105 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 DDatabaseStatementTest.java141 long num = c.getLong(numCol);
234 long num = c.getLong(numCol);
269 long num = c.getLong(numCol);
316 long num = c.getLong(numCol);
/frameworks/base/tests/CoreTests/android/database/
H A DMatrixCursorTest.java38 assertEquals(0L, cursor.getLong(0));
147 assertEquals(3, cursor.getLong(3));
/frameworks/base/core/java/android/content/
H A DSharedPreferences.java214 long getLong(String key, long defValue); method in interface:SharedPreferences
H A DAbstractTableMerger.java270 localCursor.getLong(1) +
284 localCursor.getLong(1) +
306 localCursor.getLong(1) +
317 localCursor.getLong(1) +
322 localRowId = localCursor.getLong(1);
358 localRowId = diffsCursor.getLong(serverSyncLocalIdColumn);
439 localCursor.getLong(1) +
/frameworks/base/tests/framework-tests/src/android/util/
H A DEventLogTest.java57 long computed = computedBuf.getLong(pos);
/frameworks/base/core/java/android/database/
H A DAbstractWindowedCursor.java97 public long getLong(int columnIndex) method in class:AbstractWindowedCursor
108 return mWindow.getLong(mPos, columnIndex);
H A DCursorWrapper.java126 public long getLong(int columnIndex) { method in class:CursorWrapper
127 return mCursor.getLong(columnIndex);
H A DMergeCursor.java140 public long getLong(int column) method in class:MergeCursor
142 return mCursor.getLong(column);
H A DCursor.java270 long getLong(int columnIndex); method in interface:Cursor
H A DAbstractCursor.java54 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/services/java/com/android/server/
H A DWatchdog.java279 long memCheckInterval = Settings.Gservices.getLong(
292 long memCheckRealtimeInterval = Settings.Gservices.getLong(
481 long recheckInterval = Settings.Gservices.getLong(
611 : Settings.Gservices.getLong(
615 : Settings.Gservices.getLong(
619 : Settings.Gservices.getLong(
750 long memcheckExecStartTime = Settings.Gservices.getLong(
753 long memcheckExecEndTime = Settings.Gservices.getLong(
H A DDeviceStorageMonitorService.java138 long freeMemLogInterval = Gservices.getLong(mContentResolver,
166 long threshold = Gservices.getLong(mContentResolver,
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java300 final long deadline = getLong(LOCKOUT_ATTEMPT_DEADLINE, 0L);
356 private long getLong(String systemSettingKey, long def) { method in class:LockPatternUtils
357 return android.provider.Settings.System.getLong(mContentResolver, systemSettingKey, def);
H A DContactHeaderWidget.java269 Uri lookupUri = Contacts.getLookupUri(cursor.getLong(ContactQuery._ID),
271 startPhotoQuery(cursor.getLong(ContactQuery.PHOTO_ID),
284 long contactId = cursor.getLong(PHONE_LOOKUP_CONTACT_ID_COLUMN_INDEX);
300 long contactId = cursor.getLong(EMAIL_LOOKUP_CONTACT_ID_COLUMN_INDEX);
553 long date = c.getLong(ContactQuery.CONTACT_STATUS_TIMESTAMP);
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java514 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/core/java/android/widget/
H A DQuickContactBadge.java234 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX);
247 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX);
/frameworks/base/core/java/com/android/internal/database/
H A DSortCursor.java221 public long getLong(int column) method in class:SortCursor
223 return mCursor.getLong(column);
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java168 return mBuffer.getLong();
250 long magic = mBuffer.getLong();
/frameworks/base/core/java/android/provider/
H A DCalendar.java1085 alarmTime = cursor.getLong(0);
1131 long id = cursor.getLong(0);
1132 long begin = cursor.getLong(1);
1133 long end = cursor.getLong(2);
1134 long alarmTime = cursor.getLong(3);
/frameworks/base/core/java/android/webkit/
H A DWebViewDatabase.java416 cookie.expires = cursor.getLong(expiresCol);
578 ret.expires = cursor.getLong(3);
584 ret.contentLength = cursor.getLong(9);
663 size = cursor.getLong(0);
687 long length = cursor.getLong(0);
911 urlid = cursor.getLong(cursor.getColumnIndex(ID_COL));
955 long urlid = cursor.getLong(cursor.getColumnIndex(ID_COL));

Completed in 271 milliseconds

123