Searched refs:getLong (Results 151 - 175 of 254) sorted by relevance

1234567891011

/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java950 return (int) getLong(PASSWORD_TYPE_KEY, PASSWORD_QUALITY_UNSPECIFIED, userHandle);
1126 long salt = getLong(LOCK_PASSWORD_SALT_KEY, 0, userId);
1350 private long getLong(String secureSettingKey, long defaultValue, int userHandle) { method in class:LockPatternUtils
1352 return getLockSettings().getLong(secureSettingKey, defaultValue, userHandle);
1846 return getLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 0, UserHandle.USER_SYSTEM) != 0;
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java872 Assert.assertEquals(1234, cur.getLong(4));
885 Assert.assertEquals(1234, cur.getLong(4));
904 Assert.assertEquals(2345, cur.getLong(3));
905 Assert.assertEquals(3456, cur.getLong(4));
919 Assert.assertEquals(6789, cur.getLong(3));
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountsDb.java411 return cursor.getLong(0);
464 return cursor.getLong(0);
739 return cursor.getLong(0);
792 return cursor.getLong(0);
805 final long accountId = cursor.getLong(0);
/frameworks/base/core/java/android/provider/
H A DFontsContract.java799 long id = cursor.getLong(idColumnIndex);
802 long id = cursor.getLong(fileIdColumnIndex);
H A DContactsContract.java1639 final long contactId = c.getLong(1);
1680 long contactId = c.getLong(0);
2892 final long contactId = cursor.getLong(0);
3093 final long rawContactId = cursor.getLong(columnRawContactId);
3115 if (rawContactId != cursor.getLong(columnRawContactId)) {
3120 cv.put(Data._ID, cursor.getLong(cursor.getColumnIndexOrThrow(Entity.DATA_ID)));
4887 final long contactId = cursor.getLong(0);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java136 long id = intent.getExtras().getLong(DownloadManager.EXTRA_DOWNLOAD_ID);
896 long downloadId = cursor.getLong(index);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
H A DSuggestionParser.java339 final long setupTime = mSharedPrefs.getLong(keySetupTime, 0);
365 long firstAppearDayInMs = getEndTime(mSharedPrefs.getLong(keyBase + SETUP_TIME, 0),
/frameworks/support/compat/src/main/java/androidx/core/provider/
H A DFontsContractCompat.java855 long id = cursor.getLong(idColumnIndex);
858 long id = cursor.getLong(fileIdColumnIndex);
/frameworks/support/media/src/androidTest/java/androidx/media/
H A DMediaPlayer2TestBase.java639 long duration = metrics.getLong(MediaPlayer2.MetricsConstants.DURATION, -2);
643 long playing = metrics.getLong(MediaPlayer2.MetricsConstants.PLAYING, -2);
/frameworks/av/packages/MediaComponents/src/com/android/media/
H A DMediaMetadata2Impl.java157 return mBundle.getLong(key, 0);
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java359 args[i] = in.getLong();
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java911 return result.get(3, TimeUnit.MINUTES).getLong("run", Long.MAX_VALUE) * 1000000;
1234 final long maxLowBytes = Settings.Global.getLong(mResolver,
1251 final long maxCacheBytes = Settings.Global.getLong(mResolver,
1273 return Settings.Global.getLong(mResolver, Settings.Global.SYS_STORAGE_FULL_THRESHOLD_BYTES,
/frameworks/base/core/java/android/webkit/
H A DWebViewLibraryLoader.java218 SystemProperties.getLong(WebViewFactory.CHROMIUM_WEBVIEW_VMSIZE_SIZE_PROPERTY,
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java332 longValue = c.getLong(property.column);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerMetadataParserTest.java293 // getLong
300 assertEquals(1L, mMetadata.getLong(Metadata.DURATION));
H A DCameraMetadataTest.java1416 assertEquals(Array.getLong(expectedReadValues, i), bf.getLong());
1428 readOutValuesByteBuffer.putLong(Array.getLong(expectedReadValues, i));
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMapper.java269 rowId = candidateCursor.getLong(0);
/frameworks/base/services/core/java/com/android/server/location/
H A DGeofenceManager.java148 mEffectiveMinIntervalMs = Settings.Global.getLong(mResolver,
/frameworks/base/telecomm/java/android/telecom/Logging/
H A DSessionManager.java425 return Settings.Secure.getLong(context.getContentResolver(), TIMEOUTS_PREFIX +
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DNotificationHelper.java207 .getLong(MediaMetadata.METADATA_KEY_DURATION);
/frameworks/ex/common/java/com/android/common/widget/
H A DGroupingListAdapter.java448 return mCursor.getLong(mRowIdColumnIndex);
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java286 success = window.putLong(cursor.getLong(i), position, i);
687 Long value = Long.valueOf(cursor.getLong(colIndex));
923 values.put(column, cursor.getLong(index));
/frameworks/base/core/java/android/os/
H A DBaseBundle.java1050 public long getLong(String key) { method in class:BaseBundle
1052 return getLong(key, 0L);
1063 public long getLong(String key, long defaultValue) { method in class:BaseBundle
/frameworks/opt/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java179 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID);
181 this.dataId = cursor.getLong(Queries.Query.DATA_ID);
716 final long id = directoryCursor.getLong(DirectoryListQuery.ID);
/frameworks/base/media/java/android/media/
H A DMediaScanner.java1245 long rowId = c.getLong(FILES_PRESCAN_ID_COLUMN_INDEX);
1248 long lastModified = c.getLong(FILES_PRESCAN_DATE_MODIFIED_COLUMN_INDEX);
1579 long rowId = c.getLong(FILES_PRESCAN_ID_COLUMN_INDEX);
1581 long lastModified = c.getLong(FILES_PRESCAN_DATE_MODIFIED_COLUMN_INDEX);
1672 long rowId = fileList.getLong(FILES_PRESCAN_ID_COLUMN_INDEX);

Completed in 2116 milliseconds

1234567891011