/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 63 public static class ListItemComparator implements Comparator<ListItem> { 65 public int compare(ListItem o1, ListItem o2) { in compare() 112 public static class ListItem implements Parcelable { class in SelectFromListWizardFragment 120 public ListItem(String name, int iconResource) { in ListItem() method in SelectFromListWizardFragment.ListItem 128 public ListItem(ScanResult scanResult) { in ListItem() method in SelectFromListWizardFragment.ListItem 173 public static Parcelable.Creator<ListItem> CREATOR = new Parcelable.Creator<ListItem>() { 176 public ListItem createFromParcel(Parcel source) { 179 return new ListItem(source.readString(), source.readInt()); 181 return new ListItem(scanResult); 186 public ListItem[] newArray(int size) { [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | BrowsedPlayerWrapper.java | 50 void run(int status, String mediaId, List<ListItem> results); in run() 83 LinkedHashMap<String, List<ListItem>> mCachedFolders = 84 new LinkedHashMap<String, List<ListItem>>(NUM_CACHED_FOLDERS) { 86 protected boolean removeEldestEntry(Map.Entry<String, List<ListItem>> eldest) { 187 cb.run(status, "", new ArrayList<ListItem>()); in getFolderItems() 267 ArrayList<ListItem> return_list = new ArrayList<ListItem>(); in onChildrenLoaded() 282 return_list.add(new ListItem(f)); in onChildrenLoaded() 284 return_list.add(new ListItem(Util.toMetadata(item))); in onChildrenLoaded() 300 mCallback.run(STATUS_LOOKUP_ERROR, id, new ArrayList<ListItem>()); in onError()
|
D | MediaPlayerList.java | 103 void run(String parentId, List<ListItem> items); in run() 165 (int status, String mediaId, List<ListItem> results) -> { in init() 343 ArrayList<ListItem> playerList = new ArrayList<ListItem>(); in getFolderItemsMediaPlayerList() 351 playerList.add(new ListItem(playerFolder)); in getFolderItemsMediaPlayerList() 389 cb.run(mediaId, new ArrayList<ListItem>()); in getFolderItems() 394 for (ListItem item : results) { in getFolderItems() 405 cb.run(mediaId, new ArrayList<ListItem>()); in getFolderItems()
|
D | AvrcpNativeInterface.java | 151 void getFolderItemsResponse(String parentId, List<ListItem> items) { in getFolderItemsResponse() 244 private native void getFolderItemsResponseNative(String parentId, List<ListItem> list); in getFolderItemsResponseNative()
|
D | BrowsablePlayerConnector.java | 133 (int status, String mediaId, List<ListItem> results) -> { in BrowsablePlayerConnector()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/ |
D | ListItem.java | 19 class ListItem implements Cloneable { class 24 ListItem(Folder f) { in ListItem() method in ListItem 29 ListItem(Metadata s) { in ListItem() method in ListItem 35 public ListItem clone() { in clone() 37 return new ListItem(folder.clone()); in clone() 39 return new ListItem(song.clone()); in clone()
|
D | Util.java | 224 public static List<ListItem> cloneList(List<ListItem> list) { in cloneList() 225 List<ListItem> clone = new ArrayList<ListItem>(list.size()); in cloneList() 226 for (ListItem item : list) clone.add(item.clone()); in cloneList()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_avrcp_target.cpp | 661 callback.Run(std::vector<ListItem>()); in getFolderItemsResponseNative() 672 callback.Run(std::vector<ListItem>()); in getFolderItemsResponseNative() 684 std::vector<ListItem> ret_list; in getFolderItemsResponseNative() 691 ListItem temp = {ListItem::FOLDER, in getFolderItemsResponseNative() 698 ListItem temp = { in getFolderItemsResponseNative() 699 ListItem::SONG, FolderInfo(), in getFolderItemsResponseNative()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | BrowserPlayerWrapperTest.java | 45 @Captor ArgumentCaptor<List<ListItem>> mWrapperBrowseCb; 177 List<ListItem> item_list = mWrapperBrowseCb.getValue(); in testGetFolderItems()
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | DeviceListFragment.java | 34 import androidx.car.widget.ListItem; 247 public ListItem get(int position) { in get()
|