Searched refs:BrowseResult (Results 1 – 3 of 3) sorted by relevance
46 import com.android.bluetooth.avrcpcontroller.BluetoothMediaBrowserService.BrowseResult;216 BrowseResult result = mService.getContents(parentMediaId); in testGetContentsNoNode_returnInvalidMediaIdStatus()218 assertThat(result.getStatus()).isEqualTo(BrowseResult.ERROR_MEDIA_ID_INVALID); in testGetContentsNoNode_returnInvalidMediaIdStatus()229 BrowseResult result = mService.getContents(parentMediaId); in getContentsNoDeviceConnected_returnNoDeviceConnectedStatus()231 assertThat(result.getStatus()).isEqualTo(BrowseResult.NO_DEVICE_CONNECTED); in getContentsNoDeviceConnected_returnNoDeviceConnectedStatus()242 BrowseResult result = mService.getContents(parentMediaId); in getContentsOneDeviceConnected_returnSuccessStatus()244 assertThat(result.getStatus()).isEqualTo(BrowseResult.SUCCESS); in getContentsOneDeviceConnected_returnSuccessStatus()264 BrowseResult result = mService.getContents(parentMediaId); in getContentsNodeNotCached_returnDownloadPendingStatus()267 assertThat(result.getStatus()).isEqualTo(BrowseResult.DOWNLOAD_PENDING); in getContentsNodeNotCached_returnDownloadPendingStatus()282 BrowseResult result = mService.getContents(parentMediaId); in getContentsNoErrorConditions_returnsSuccessStatus()[all …]
39 import com.android.bluetooth.avrcpcontroller.BluetoothMediaBrowserService.BrowseResult;304 public synchronized BrowseResult getContents(String parentMediaId) { in getContents()332 return new BrowseResult(new ArrayList(0), BrowseResult.ERROR_MEDIA_ID_INVALID); in getContents()335 return new BrowseResult(null, BrowseResult.NO_DEVICE_CONNECTED); in getContents()352 return new BrowseResult(contents, BrowseResult.DOWNLOAD_PENDING); in getContents()360 return new BrowseResult(contents, BrowseResult.SUCCESS); in getContents()
151 public static class BrowseResult { class in BluetoothMediaBrowserService187 BrowseResult(List<MediaItem> results, byte status) { in BrowseResult() method in BluetoothMediaBrowserService.BrowseResult193 BrowseResult getContents(final String parentMediaId) { in getContents()198 return new BrowseResult(new ArrayList(0), BrowseResult.ERROR_NO_AVRCP_SERVICE); in getContents()236 BrowseResult contents = getContents(parentMediaId); in onLoadChildren()239 if (status == BrowseResult.DOWNLOAD_PENDING && results == null) { in onLoadChildren()