/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | PageTokenWrapper.java | 111 public static PageTokenWrapper from(long pageToken, boolean defaultIsAscending) { in from() argument 112 if (pageToken == DEFAULT_LONG) { in from() 115 checkArgument(pageToken >= 0, "pageToken cannot be negative"); in from() 117 getIsAscending(pageToken), getTimestamp(pageToken), getOffset(pageToken)); in from() 126 private static boolean getIsAscending(long pageToken) { in getIsAscending() argument 127 return (pageToken & 1) == 0; in getIsAscending() 131 private static long getTimestamp(long pageToken) { in getTimestamp() argument 133 return (pageToken & mask) >> TIMESTAMP_START_BIT; in getTimestamp() 137 private static int getOffset(long pageToken) { in getOffset() argument 138 return (int) (pageToken >> OFFSET_START_BIT); in getOffset()
|
D | ReadRecordsRequestUsingFilters.java | 58 long pageToken, in ReadRecordsRequestUsingFilters() argument 65 mAscending = PageTokenWrapper.from(pageToken, ascending).isAscending(); in ReadRecordsRequestUsingFilters() 66 mPageToken = pageToken; in ReadRecordsRequestUsingFilters() 186 public Builder<T> setPageToken(long pageToken) { in setPageToken() argument 187 mPageToken = pageToken; in setPageToken()
|
D | ReadMedicalResourcesRequest.java | 53 long pageToken) { in ReadMedicalResourcesRequest() argument 59 mPageToken = pageToken; in ReadMedicalResourcesRequest() 216 public Builder setPageToken(long pageToken) { in setPageToken() argument 217 mPageToken = pageToken; in setPageToken()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/cloudproviders/ |
D | CloudProviderPrimary.java | 57 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryMedia() local 60 queryExtras.getMimeTypes(), queryExtras.getSizeBytes(), pageToken, in onQueryMedia() 69 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryDeletedMedia() local 70 return mMediaGenerator.getDeletedMedia(queryExtras.getGeneration(), pageToken); in onQueryDeletedMedia() 78 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryAlbums() local 80 /* isLocal */ false, pageToken); in onQueryAlbums()
|
D | CloudProviderSecondary.java | 60 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryMedia() local 63 queryExtras.getMimeTypes(), queryExtras.getSizeBytes(), pageToken, in onQueryMedia() 72 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryDeletedMedia() local 73 return mMediaGenerator.getDeletedMedia(queryExtras.getGeneration(), pageToken); in onQueryDeletedMedia() 81 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryAlbums() local 83 /* isLocal */ false, pageToken); in onQueryAlbums()
|
D | FlakyCloudProvider.java | 91 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryMedia() local 98 pageToken, in onQueryMedia() 112 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryDeletedMedia() local 114 return mMediaGenerator.getDeletedMedia(queryExtras.getGeneration(), pageToken); in onQueryDeletedMedia() 126 String pageToken = extras.getString(EXTRA_PAGE_TOKEN, null); in onQueryAlbums() local 132 pageToken); in onQueryAlbums()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PickerProviderMediaGenerator.java | 110 String pageToken, in getMedia() argument 120 pageToken); in getMedia() 143 String[] mimeTypes, long sizeBytes, boolean isLocal, String pageToken) { in getAlbums() argument 144 final Cursor cursor = getCursor(mAlbums, mimeTypes, sizeBytes, isLocal, pageToken); in getAlbums() 163 public Cursor getDeletedMedia(long generation, String pageToken) { in getDeletedMedia() argument 166 /* isDeleted */ true, pageToken); in getDeletedMedia() 219 Integer pageToken, in buildCursorExtras() argument 237 if (pageToken != null) { in buildCursorExtras() 238 bundle.putString(CloudMediaProviderContract.EXTRA_PAGE_TOKEN, pageToken.toString()); in buildCursorExtras() 322 String pageToken) { in getCursor() argument [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | ExternalDbFacade.java | 298 String pageToken) { 302 Log.d(TAG, "Token received for queryMedia = " + pageToken); 309 if (pageToken != null) { 310 String[] lastMedia = parsePageToken(pageToken); 340 private static String[] parsePageToken(String pageToken) { 341 String[] lastMedia = pageToken.split("\\|"); 375 String pageToken) { 390 if (pageToken != null) { 395 if (pageToken != null) { 396 bundle.putString(EXTRA_PAGE_TOKEN, pageToken);
|
D | CloudProviderQueryExtras.java | 89 List<String> cloudIdSelection, String pageToken) { in CloudProviderQueryExtras() argument 105 mPageToken = pageToken; in CloudProviderQueryExtras() 137 final String pageToken = bundle.getString( in fromMediaStoreBundle() local 142 rowId, shouldScreenSelectionUris, localIdSelection, cloudIdSelection, pageToken); in fromMediaStoreBundle() 172 final String pageToken = bundle.getString( in fromCloudMediaBundle() local 177 rowId, shouldScreenSelectionUris, localIdSelection, cloudIdSelection, pageToken); in fromCloudMediaBundle()
|
D | PickerDbFacade.java | 727 String pageToken) { in QueryFilter() argument 742 this.mPageToken = pageToken; in QueryFilter() 883 public QueryFilterBuilder setPageToken(String pageToken) { in setPageToken() argument 884 mPageToken = pageToken; in setPageToken()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | ReadRecordsResponseParcel.java | 36 public ReadRecordsResponseParcel(@NonNull RecordsParcel recordsParcel, long pageToken) { in ReadRecordsResponseParcel() argument 38 mPageToken = pageToken; in ReadRecordsResponseParcel()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | RecordHelper.java | 466 Cursor cursor, int requestSize, PageTokenWrapper pageToken) { in getNextInternalRecordsPageAndToken() argument 468 cursor, requestSize, pageToken, /* packageNamesByAppIds= */ null); in getNextInternalRecordsPageAndToken() 726 PageTokenWrapper pageToken = in getReadTableWhereClause() local 728 if (pageToken.isTimestampSet()) { in getReadTableWhereClause() 729 long timestamp = pageToken.timeMillis(); in getReadTableWhereClause() 730 if (pageToken.isAscending()) { in getReadTableWhereClause() 812 PageTokenWrapper pageToken = in getOrderByClause() local 815 .addOrderByClause(getStartTimeColumnName(), pageToken.isAscending()) in getOrderByClause()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/ |
D | ExternalDbFacadeTest.java | 961 String pageToken = Long.valueOf(DATE_MODIFIED_MS2) * 1000 + "|" + ID4; in testQueryMedia_withPageSizeMissingPageToken_returnsCorrectSortOrder() local 964 /* pageToken*/ pageToken)) { in testQueryMedia_withPageSizeMissingPageToken_returnsCorrectSortOrder() argument 974 pageToken = DATE_TAKEN_MS2 + "|" + ID2; in testQueryMedia_withPageSizeMissingPageToken_returnsCorrectSortOrder() 977 /* pageToken*/ pageToken)) { in testQueryMedia_withPageSizeMissingPageToken_returnsCorrectSortOrder() argument 984 pageToken = DATE_MODIFIED_MS1 + "|" + ID1; in testQueryMedia_withPageSizeMissingPageToken_returnsCorrectSortOrder() 987 /* pageToken*/ pageToken)) { in testQueryMedia_withPageSizeMissingPageToken_returnsCorrectSortOrder() argument
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PickerSyncController.java | 1702 final String pageToken = bundle.getString(EXTRA_PAGE_TOKEN); in validateCursor() local 1720 if (usedPageTokens.contains(pageToken)) { in validateCursor() 1721 throw new IllegalStateException("Found repeated page token: " + pageToken); in validateCursor() 1723 usedPageTokens.add(pageToken); in validateCursor() 1726 return pageToken; in validateCursor()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | TransactionManager.java | 445 PageTokenWrapper pageToken; in readRecordsAndPageToken() local 454 pageToken = readResult.second; in readRecordsAndPageToken() 457 return Pair.create(recordInternalList, pageToken); in readRecordsAndPageToken()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 405 long pageToken = readRecordsResponse.getNextPageToken(); in readAllRecords() local 406 if (pageToken == -1) { in readAllRecords() 412 .setPageToken(pageToken) in readAllRecords()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 686 long pageToken; in readRecords() 691 pageToken = DEFAULT_LONG; in readRecords() 698 pageToken = readRecordsResponse.second.encode(); in readRecords() 703 Slog.d(TAG, "pageToken: " + pageToken); in readRecords() 719 new RecordsParcel(records), pageToken)); in readRecords()
|
/packages/services/Car/tests/BugReportApp/libs/ |
D | google-api-services-storage-v1-rev158-1.25.0.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/maven/
META- ... |