Home
last modified time | relevance | path

Searched refs:getContents (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerServiceTest.java197 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()
DBrowseNodeTest.java130 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/
DDefaultLayoutProviderTest.java90 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/
DFolderInfo.java125 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()
DCollectionInfo.kt29 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()
DAppPairInfo.kt56 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/
DBluetoothMediaBrowserService.java193 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()
DAvrcpControllerService.java304 public synchronized BrowseResult getContents(String parentMediaId) { in getContents() method in AvrcpControllerService
343 List<MediaItem> contents = requestedNode.getContents(); in getContents()
359 + requestedNode.getContents()); in getContents()
DBrowseTree.java283 synchronized List<MediaItem> getContents() { in getContents() method in BrowseTree.BrowseNode
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/
DPreviewItemManagerTest.kt75 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/
DFolderIcon.java219 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()
DFolder.java509 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()
DFolderGridOrganizer.java60 return setContentSize(info.getContents().size()); in setFolderInfo()
DLauncherDelegate.java96 finalItem = info.getContents().remove(0); in replaceFolderWithFinalItem()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DThreadingTest.java83 final String actual = d.first.getContents(); in testFilenameRace()
DAbstractPublicApiTest.java113 String getContents() throws Exception { in getContents() method in AbstractPublicApiTest.Download
/packages/apps/Launcher3/src/com/android/launcher3/util/
DItemInfoMatcher.java68 return info -> info instanceof FolderInfo && ((FolderInfo) info).getContents().stream() in forFolderMatch()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java514 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()
DModelWriter.java312 mBgDataModel.removeItem(mContext, info.getContents()); in deleteCollectionAndContentsFromDatabase()
313 info.getContents().clear(); in deleteCollectionAndContentsFromDatabase()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DFavoriteItemsTransaction.java77 for (ItemInfo itemInfo : ci.getContents()) { in commit()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java153 for (ItemInfo shortcut : folder.getContents()) { in getDescriptionForDropOver()
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/
DAppPairIcon.java96 appPairInfo.getContents().sort(Comparator.comparingInt(a -> a.rank)); in inflateIcon()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DChreCommunication.java275 for (NanoAppState state : response.getContents()) { in onComplete()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/provider/
DChreCommunicationTest.java89 when(mTransactionResponse.getContents()) in setUp()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarPopupController.java121 for (ItemInfo si : fi.getContents()) { in updateNotificationDots()

12