/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/ |
D | TestUtils.java | 33 ResolveInfo service, String id, String parentId, int type, boolean isHardwareInput) in createTvInputInfo() argument 35 return createTvInputInfo(service, id, parentId, type, isHardwareInput, false, 0); in createTvInputInfo() 46 String parentId, in createTvInputInfo() argument 56 service, id, parentId, type, isHardwareInput, canRecord, tunerCount); in createTvInputInfo() 60 service, id, parentId, type, isHardwareInput, canRecord, tunerCount); in createTvInputInfo() 62 return createTvInputInfoForMnc(service, id, parentId, type, isHardwareInput); in createTvInputInfo() 74 String parentId, in createTvInputInfoForO() argument 114 parentId, in createTvInputInfoForO() 128 String parentId, in createTvInputInfoForNyc() argument 170 parentId, in createTvInputInfoForNyc() [all …]
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | LocalMediaBrowserService.java | 157 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) { in onLoadChildren() argument 159 Log.d(TAG, "onLoadChildren parentId=" + parentId); in onLoadChildren() 162 switch (parentId) { in onLoadChildren() 165 mLastCategory = parentId; in onLoadChildren() 168 mDataModel.onQueryByFolder(parentId, result); in onLoadChildren() 169 mLastCategory = parentId; in onLoadChildren() 172 mDataModel.onQueryByAlbum(parentId, result); in onLoadChildren() 173 mLastCategory = parentId; in onLoadChildren() 176 mDataModel.onQueryByArtist(parentId, result); in onLoadChildren() 177 mLastCategory = parentId; in onLoadChildren() [all …]
|
D | DataModel.java | 92 public void onQueryByFolder(String parentId, Result<List<MediaItem>> result) { in onQueryByFolder() argument 97 public void onQueryByAlbum(String parentId, Result<List<MediaItem>> result) { in onQueryByAlbum() argument 109 public void onQueryByArtist(String parentId, Result<List<MediaItem>> result) { in onQueryByArtist() argument 121 public void onQueryByGenre(String parentId, Result<List<MediaItem>> result) { in onQueryByGenre() argument 201 public void onQueryByKey(String lastCategory, String parentId, Result<List<MediaItem>> result) { in onQueryByKey() argument 212 long id = Long.parseLong(parentId); in onQueryByKey() 218 Log.e(TAG, "Incorrect key type: " + parentId + ", sending empty result"); in onQueryByKey() 225 .setWhereArgs(new String[] { parentId, parentId, parentId, parentId }); in onQueryByKey()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 107 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() argument 108 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument() 135 public Uri createFolder(String parentId, String name) { in createFolder() argument 136 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder() 180 public void assertChildCount(String parentId, int expected) throws Exception { in assertChildCount() argument 181 List<DocumentInfo> children = listChildren(parentId, -1); in assertChildCount() 199 public void assertHasFile(String parentId, String name) throws Exception { in assertHasFile() argument 200 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile() 218 public void assertHasDirectory(String parentId, String name) throws Exception { in assertHasDirectory() argument 219 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasDirectory() [all …]
|
D | StubProvider.java | 190 public String createDocument(String parentId, String mimeType, String displayName) in createDocument() argument 192 StubDocument parent = mStorage.get(parentId); in createDocument() 198 notifyParentChanged(document.parentId); in createDocument() 218 notifyParentChanged(document.parentId); in deleteDocument() 318 mStorage.get(oldDoc.parentId)); in renameDocument() 321 notifyParentChanged(oldDoc.parentId); in renameDocument() 326 notifyParentChanged(newDoc.parentId); in renameDocument() 478 notifyParentChanged(document.parentId); in startWrite() 585 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument() argument 588 StubDocument parent = mStorage.get(parentId); in createDocument() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/ |
D | MediaBrowser.java | 129 public void subscribe(String parentId, Bundle options, SubscriptionCallback callback) { in subscribe() argument 130 mDelegate.subscribe(parentId, options, callback); in subscribe() 136 public void subscribe(String parentId, SubscriptionCallback callback) { in subscribe() argument 137 mDelegate.subscribe(parentId, callback); in subscribe() 143 public void unsubscribe(String parentId) { in unsubscribe() argument 144 mDelegate.unsubscribe(parentId); in unsubscribe() 151 public void unsubscribe(String parentId, SubscriptionCallback callback) { in unsubscribe() argument 152 mDelegate.unsubscribe(parentId, callback); in unsubscribe()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/ |
D | BrowsedMediaItems.java | 55 BrowsedMediaItems(@NonNull MediaBrowserCompat mediaBrowser, @NonNull String parentId) { in BrowsedMediaItems() argument 57 mParentId = parentId; in BrowsedMediaItems() 144 public void onChildrenLoaded(@NonNull String parentId, in onChildrenLoaded() argument 154 public void onChildrenLoaded(@NonNull String parentId, in onChildrenLoaded() argument 157 onChildrenLoaded(parentId, children); in onChildrenLoaded() 161 public void onError(@NonNull String parentId) { in onError() argument 168 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() argument 169 onError(parentId); in onError()
|
D | MediaBrowserViewModelImpl.java | 88 String parentId = (mIsRoot) ? mediaBrowser.getRoot() : browseId; in MediaBrowserViewModelImpl() 89 return new BrowsedMediaItems(mediaBrowser, parentId); in MediaBrowserViewModelImpl()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaBrowser.java | 167 public void onLoadChildren(@NonNull String parentId, @NonNull Result<List<MediaItem>> result) { in onLoadChildren() argument 168 getMediaItemsWithDelay(parentId, result, null); in onLoadChildren() 170 if (QUEUE_ONLY.equals(mPrefs.mRootNodeType.getValue()) && ROOT_ID.equals(parentId)) { in onLoadChildren() 185 private void getMediaItemsWithDelay(@NonNull String parentId, in getMediaItemsWithDelay() argument 193 } else if (ROOT_ID.equals(parentId)) { in getMediaItemsWithDelay() 196 node = mLibrary.getMediaItemById(parentId); in getMediaItemsWithDelay()
|
D | TmaBrowser2.java | 23 public void onLoadChildren(@NonNull String parentId, in onLoadChildren() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpNativeInterface.java | 151 void getFolderItemsResponse(String parentId, List<ListItem> items) { in getFolderItemsResponse() argument 152 d("getFolderItemsResponse: parentId=" + parentId + " items.size=" + items.size()); in getFolderItemsResponse() 153 getFolderItemsResponseNative(parentId, items); in getFolderItemsResponse() 244 private native void getFolderItemsResponseNative(String parentId, List<ListItem> list); in getFolderItemsResponseNative() argument
|
D | BrowsedPlayerWrapper.java | 400 public void onChildrenLoaded(String parentId, List<MediaItem> children) { 402 Log.d(TAG, "onChildrenLoaded: mediaId=" + parentId + " size= " + children.size()); 413 mWrappedBrowser.unsubscribe(parentId); 436 mCachedFolders.put(parentId, return_list); 439 mBrowseCallback.run(STATUS_SUCCESS, parentId, Util.cloneList(return_list));
|
D | MediaPlayerList.java | 120 void run(String parentId, List<ListItem> items); in run() argument
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 868 @Nullable String parentId, int limit, boolean includePending) { in includeDownloadsFromMediaStore() argument 875 = buildSearchSelection(queryArgs, filePaths, parentId); in includeDownloadsFromMediaStore() 938 @Nullable Set<String> filePaths, @Nullable String parentId) { in buildSearchSelection() argument 942 if (parentId == null && filePaths != null && filePaths.size() > 0) { in buildSearchSelection() 952 if (parentId != null) { in buildSearchSelection() 958 Long.parseLong(parentId)); in buildSearchSelection()
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
D | TvInputManagerHelperTest.java | 270 String parentId, in createTvInputInfo() argument 279 TestUtils.createTvInputInfo(service, id, parentId, type, isHardwareInput); in createTvInputInfo()
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
D | PartnerBookmarksProvider.java | 252 … private boolean addDefaultBookmarks(SQLiteDatabase db, long parentId, long firstBookmarkId) { in addDefaultBookmarks() argument 305 insertHelper.bind(parentColumn, parentId); in addDefaultBookmarks()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 4229 String parentId = connection.getParentCallId(); 4232 .filter(c -> c.getId().equals(parentId))
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 2709 long parentId = getParent(helper, db, path); in insertFile() local 2710 values.put(FileColumns.PARENT, parentId); in insertFile()
|