/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerServiceTest.java | 197 public void getContents() { in getContents() method in AvrcpControllerServiceTest 202 mService.getContents(parentMediaId); in getContents() 204 verify(node, atLeastOnce()).getContents(); in getContents() 216 BrowseResult result = mService.getContents(parentMediaId); in testGetContentsNoNode_returnInvalidMediaIdStatus() 229 BrowseResult result = mService.getContents(parentMediaId); in getContentsNoDeviceConnected_returnNoDeviceConnectedStatus() 242 BrowseResult result = mService.getContents(parentMediaId); in getContentsOneDeviceConnected_returnSuccessStatus() 264 BrowseResult result = mService.getContents(parentMediaId); in getContentsNodeNotCached_returnDownloadPendingStatus() 279 when(node.getContents()).thenReturn(new ArrayList(0)); in getContentsNoErrorConditions_returnsSuccessStatus() 282 BrowseResult result = mService.getContents(parentMediaId); in getContentsNoErrorConditions_returnsSuccessStatus()
|
D | BrowseNodeTest.java | 130 public void getContents() { in getContents() method in BrowseNodeTest 132 assertThat(mRootNode.getContents()).isNull(); in getContents() 138 assertThat(mRootNode.getContents().size()).isEqualTo(1); in getContents()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | DefaultLayoutProviderTest.java | 90 assertEquals(3, ((FolderInfo) info).getContents().size()); in testCustomProfileLoaded_with_folder() 105 assertEquals(3, ((FolderInfo) info).getContents().size()); in testCustomProfileLoaded_with_folder_custom_title() 157 assertEquals(3, info.getContents().size()); in testCustomProfileLoaded_with_shortcut_in_folder() 161 info.getContents().get(info.getContents().size() - 1).itemType); in testCustomProfileLoaded_with_shortcut_in_folder()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | FolderInfo.java | 125 add(item, getContents().size(), animate); in add() 136 rank = Utilities.boundToRange(rank, 0, getContents().size()); in add() 137 getContents().add(rank, item); in add() 170 public ArrayList<ItemInfo> getContents() { in getContents() method in FolderInfo 250 .setCardinality(getContents().size()); in buildProto() 318 contents.addAll(fi.getContents()); in copyFrom()
|
D | CollectionInfo.kt | 29 abstract fun getContents(): ArrayList<ItemInfo> in add() method in com.android.launcher3.model.data.CollectionInfo 39 fun anyMatch(matcher: Predicate<ItemInfo>) = getContents().stream().anyMatch(matcher) in add()
|
D | AppPairInfo.kt | 56 override fun getContents(): ArrayList<ItemInfo> = in <lambda>() method in com.android.launcher3.model.data.AppPairInfo
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | BluetoothMediaBrowserService.java | 193 BrowseResult getContents(final String parentMediaId) { in getContents() method in BluetoothMediaBrowserService 200 return avrcpControllerService.getContents(parentMediaId); in getContents() 236 BrowseResult contents = getContents(parentMediaId); in onLoadChildren() 263 List<MediaItem> songList = node.getContents(); in updateNowPlayingQueue()
|
D | AvrcpControllerService.java | 304 public synchronized BrowseResult getContents(String parentMediaId) { in getContents() method in AvrcpControllerService 343 List<MediaItem> contents = requestedNode.getContents(); in getContents() 359 + requestedNode.getContents()); in getContents()
|
D | BrowseTree.java | 283 synchronized List<MediaItem> getContents() { in getContents() method in BrowseTree.BrowseNode
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/ |
D | PreviewItemManagerTest.kt | 75 folderItems = modelHelper.bgDataModel.collections.valueAt(0).getContents() in setup() 77 folderIcon.mInfo.getContents().addAll(folderItems) in setup()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 219 for (ItemInfo si : folderInfo.getContents()) { in inflateIcon() 495 itemReturnedOnFailedDrop ? item.rank : mInfo.getContents().size(), in onDrop() 674 return mPreviewVerifier.setFolderInfo(mInfo).previewItemsForPage(page, mInfo.getContents()); in getPreviewItemsOnPage() 818 int size = mInfo.getContents().size(); in getAccessiblityTitle()
|
D | Folder.java | 509 ArrayList<ItemInfo> children = info.getContents(); in bind() 642 ArrayList<ItemInfo> items = new ArrayList<>(mInfo.getContents()); in beginExternalDrag() 655 animateOpen(mInfo.getContents(), 0); in animateOpen() 1112 int total = mInfo.getContents().size(); in updateItemLocationsInDatabaseBatch() 1114 ItemInfo itemInfo = mInfo.getContents().get(i); in updateItemLocationsInDatabaseBatch() 1231 return mInfo.getContents().size(); in getItemCount()
|
D | FolderGridOrganizer.java | 60 return setContentSize(info.getContents().size()); in setFolderInfo()
|
D | LauncherDelegate.java | 96 finalItem = info.getContents().remove(0); in replaceFolderWithFinalItem()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | ThreadingTest.java | 83 final String actual = d.first.getContents(); in testFilenameRace()
|
D | AbstractPublicApiTest.java | 113 String getContents() throws Exception { in getContents() method in AbstractPublicApiTest.Download
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ItemInfoMatcher.java | 68 return info -> info instanceof FolderInfo && ((FolderInfo) info).getContents().stream() in forFolderMatch()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 514 appPair.getContents().sort(Folder.ITEM_POS_COMPARATOR); in processAppPairItems() 577 folder.getContents().sort(Folder.ITEM_POS_COMPARATOR); in processFolderItems() 579 int size = folder.getContents().size(); in processFolderItems() 585 ItemInfo info = folder.getContents().get(rank); in processFolderItems()
|
D | ModelWriter.java | 312 mBgDataModel.removeItem(mContext, info.getContents()); in deleteCollectionAndContentsFromDatabase() 313 info.getContents().clear(); in deleteCollectionAndContentsFromDatabase()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/ |
D | FavoriteItemsTransaction.java | 77 for (ItemInfo itemInfo : ci.getContents()) { in commit()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 153 for (ItemInfo shortcut : folder.getContents()) { in getDescriptionForDropOver()
|
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/ |
D | AppPairIcon.java | 96 appPairInfo.getContents().sort(Comparator.comparingInt(a -> a.rank)); in inflateIcon()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/ |
D | ChreCommunication.java | 275 for (NanoAppState state : response.getContents()) { in onComplete()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/provider/ |
D | ChreCommunicationTest.java | 89 when(mTransactionResponse.getContents()) in setUp()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarPopupController.java | 121 for (ItemInfo si : fi.getContents()) { in updateNotificationDots()
|