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

1234

/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java183 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 DSystemPropertiesTest.java32 long ret = SystemProperties.getLong(PERSIST_KEY, -1);
41 long ret = SystemProperties.getLong(KEY, -1);
/frameworks/base/core/tests/coretests/src/android/database/
H A DCursorWindowTest.java87 long int2 = window.getLong(0, 1);
92 assertEquals(1198032740000L, window.getLong(0, 3));
96 assertEquals(1198032740000L, window.getLong(0, 3));
H A DMatrixCursorTest.java41 assertEquals(0L, cursor.getLong(0));
154 assertEquals(3, cursor.getLong(3));
H A DDatabaseStatementTest.java143 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 DAbstractWindowedCursor.java73 public long getLong(int columnIndex) { method in class:AbstractWindowedCursor
75 return mWindow.getLong(mPos, columnIndex);
H A DCursorWrapper.java105 public long getLong(int columnIndex) { method in class:CursorWrapper
106 return mCursor.getLong(columnIndex);
H A DCursor.java285 long getLong(int columnIndex); method in interface:Cursor
H A DMergeCursor.java114 public long getLong(int column) method in class:MergeCursor
116 return mCursor.getLong(column);
H A DCursorWindow.java504 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 DBuild.java446 public static final long TIME = getLong("ro.build.date.utc") * 1000;
469 private static long getLong(String property) { method in class:Build
H A DSystemProperties.java92 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/core/java/com/android/internal/widget/
H A DILockSettings.aidl25 long getLong(in String key, in long defaultValue, in int userId);
H A DLockPatternUtils.java405 (int) getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING);
471 return !isSecure() && getLong(DISABLE_LOCKSCREEN_KEY, 0) != 0;
728 (int) getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING);
733 (int) getLong(PASSWORD_TYPE_ALTERNATE_KEY,
744 (int) getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING);
811 long salt = getLong(LOCK_PASSWORD_SALT_KEY, 0);
863 long mode = getLong(PASSWORD_TYPE_KEY, 0);
864 long backupMode = getLong(PASSWORD_TYPE_ALTERNATE_KEY, 0);
883 getLong(PASSWORD_TYPE_ALTERNATE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING)
887 && (getLong(PASSWORD_TYPE_KE
1190 private long getLong(String secureSettingKey, long defaultValue) { method in class:LockPatternUtils
[all...]
/frameworks/ex/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java97 assertEquals(contactId, c.getLong(4));
98 assertEquals(dataId, c.getLong(5));
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java150 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 DRecipientAlternatesAdapter.java115 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 DSharedPreferences.java299 long getLong(String key, long defValue); method in interface:SharedPreferences
H A DSyncActivityTooManyDeletes.java56 mNumDeletes = extras.getLong("numDeletes");
/frameworks/ex/common/java/com/android/common/contacts/
H A DDataUsageStatUpdater.java132 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 DBootReceiver.java104 if (SystemProperties.getLong("ro.runtime.firstboot", 0) == 0) {
156 long lastTime = prefs.getLong(filename, 0);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockCursor.java72 public long getLong(int columnIndex) { method in class:MockCursor
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java271 entry.activeTime = getLong(activeTime, i, UNKNOWN);
272 entry.rxBytes = getLong(rxBytes, i, UNKNOWN);
273 entry.rxPackets = getLong(rxPackets, i, UNKNOWN);
274 entry.txBytes = getLong(txBytes, i, UNKNOWN);
275 entry.txPackets = getLong(txPackets, i, UNKNOWN);
276 entry.operations = getLong(operations, i, UNKNOWN);
369 entry.rxBytes = getLong(input.rxBytes, i, 0L);
370 entry.rxPackets = getLong(input.rxPackets, i, 0L);
371 entry.txBytes = getLong(input.txBytes, i, 0L);
372 entry.txPackets = getLong(inpu
618 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 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);

Completed in 1531 milliseconds

1234