Searched refs:getLong (Results 26 - 50 of 215) sorted by relevance

123456789

/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceDataStore.java91 * @see #getLong(String, long)
169 public long getLong(String key, long defValue) { method in class:PreferenceDataStore
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/helpers/
H A DPreferenceWrapper.java67 public long getLong(long defaultValue) { method in class:PreferenceWrapper
/frameworks/base/services/core/java/com/android/server/notification/
H A DCalendarTracker.java103 rt.add(cursor.getLong(0));
126 final long begin = cursor.getLong(0);
127 final long end = cursor.getLong(1);
133 final long calendarId = cursor.getLong(7);
189 final long rowEventId = cursor.getLong(0);
/frameworks/base/core/java/android/database/
H A DCursorWrapper.java126 public long getLong(int columnIndex) { method in class:CursorWrapper
127 return mCursor.getLong(columnIndex);
H A DMergeCursor.java114 public long getLong(int column) method in class:MergeCursor
116 return mCursor.getLong(column);
H A DCursorWindow.java508 public long getLong(int row, int column) { method in class:CursorWindow
553 * The result is determined by invoking {@link #getLong} and converting the
562 return (short) getLong(row, column);
569 * The result is determined by invoking {@link #getLong} and converting the
578 return (int) getLong(row, column);
/frameworks/base/core/java/com/android/internal/widget/
H A DILockSettings.aidl29 long getLong(in String key, in long defaultValue, in int userId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DPrefs.java96 public static long getLong(Context context, @Key String key, long defaultValue) { method in class:Prefs
97 return get(context).getLong(key, defaultValue);
/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java107 assertEquals(contactId, c.getLong(4));
108 assertEquals(dataId, c.getLong(5));
/frameworks/base/core/java/android/util/
H A DKeyValueListParser.java89 public long getLong(String key, long def) { method in class:KeyValueListParser
/frameworks/base/core/tests/coretests/src/android/database/
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/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DDecoder.java51 return mBuf.getLong();
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java52 public long getLong(String key, long defValue) { method in class:BridgeSharedPreferences
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedDatePickerAction.java186 setDate(bundle.getLong(key, getDate()));
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaSessionStatus.java96 return mBundle.getLong(KEY_TIMESTAMP);
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java277 entry.activeTime = getLong(activeTime, i, UNKNOWN);
278 entry.rxBytes = getLong(rxBytes, i, UNKNOWN);
279 entry.rxPackets = getLong(rxPackets, i, UNKNOWN);
280 entry.txBytes = getLong(txBytes, i, UNKNOWN);
281 entry.txPackets = getLong(txPackets, i, UNKNOWN);
282 entry.operations = getLong(operations, i, UNKNOWN);
393 entry.rxBytes = getLong(input.rxBytes, i, 0L);
394 entry.rxPackets = getLong(input.rxPackets, i, 0L);
395 entry.txBytes = getLong(input.txBytes, i, 0L);
396 entry.txPackets = getLong(inpu
699 private static long getLong(long[] array, int i, long value) { method in class:NetworkStatsHistory
[all...]
/frameworks/base/core/java/android/os/
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/media/java/android/media/
H A DMediaMetadataEditor.java332 public synchronized long getLong(int key, long defaultValue) method in class:MediaMetadataEditor
337 return mEditorMetadata.getLong(String.valueOf(key), defaultValue);
386 return mEditorMetadata.getLong(String.valueOf(key));
H A DMiniThumbFile.java168 return mBuffer.getLong();
204 long currentMagic = mBuffer.getLong();
298 long magic = mBuffer.getLong();
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DPolicy.java92 int protocol = (int) MOManager.getLong(instance, TAG_IPProtocol, null);
106 mMaxBSSLoad = (int) MOManager.getLong(node, TAG_MaximumBSSLoadValue, Long.MAX_VALUE);
148 mPriority = (int) MOManager.getLong(node, TAG_Priority, null);
170 mDL = MOManager.getLong(node, TAG_DLBandwidth, Long.MAX_VALUE);
171 mUL = MOManager.getLong(node, TAG_ULBandwidth, Long.MAX_VALUE);
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DFakeGateKeeperService.java46 sid = buffer.getLong();
74 challenge = buffer.getLong();
75 sid = buffer.getLong();
/frameworks/support/tv-provider/src/android/support/media/tv/
H A DProgram.java182 builder.setChannelId(cursor.getLong(index));
191 builder.setStartTimeUtcMillis(cursor.getLong(index));
195 builder.setEndTimeUtcMillis(cursor.getLong(index));
H A DBaseProgram.java319 builder.setId(cursor.getLong(index));
390 builder.setVideoWidth((int) cursor.getLong(index));
394 builder.setVideoHeight((int) cursor.getLong(index));
408 builder.setInternalProviderFlag1(cursor.getLong(index));
413 builder.setInternalProviderFlag2(cursor.getLong(index));
418 builder.setInternalProviderFlag3(cursor.getLong(index));
423 builder.setInternalProviderFlag4(cursor.getLong(index));
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/
H A DPreferenceDataStoreTest.java386 verify(mDataStore, atLeast(0)).getLong(eq(KEY), anyLong());
391 assertEquals(-1, mSharedPref.getLong(KEY, -1L));
400 mPreference.getLong(1L);
402 verify(mDataStore, atLeastOnce()).getLong(eq(KEY), eq(1L));
411 mPreference.getLong(1L);
413 verify(mDataStore, atLeastOnce()).getLong(eq(KEY), eq(1L));
/frameworks/base/core/java/android/service/trust/
H A DTrustAgentService.java219 long handle = data.getLong(EXTRA_TOKEN_HANDLE);
226 long handle = data.getLong(EXTRA_TOKEN_HANDLE);
233 long handle = data.getLong(EXTRA_TOKEN_HANDLE);

Completed in 8358 milliseconds

123456789