/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 213 long id = Long.parseLong(parentId); in onQueryByKey() 219 Log.e(TAG, "Incorrect key type: " + parentId + ", sending empty result"); in onQueryByKey() 226 .setWhereArgs(new String[] { parentId, parentId, parentId, parentId }); in onQueryByKey()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 104 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() argument 105 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument() 132 public Uri createFolder(String parentId, String name) { in createFolder() argument 133 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder() 177 public void assertChildCount(String parentId, int expected) throws Exception { in assertChildCount() argument 178 List<DocumentInfo> children = listChildren(parentId, -1); in assertChildCount() 196 public void assertHasFile(String parentId, String name) throws Exception { in assertHasFile() argument 197 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile() 215 public void assertHasDirectory(String parentId, String name) throws Exception { in assertHasDirectory() argument 216 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 | 56 BrowsedMediaItems(@NonNull MediaBrowserCompat mediaBrowser, @Nullable String parentId) { in BrowsedMediaItems() argument 58 mParentId = parentId; in BrowsedMediaItems() 148 public void onChildrenLoaded(@NonNull String parentId, in onChildrenLoaded() argument 158 public void onChildrenLoaded(@NonNull String parentId, in onChildrenLoaded() argument 161 onChildrenLoaded(parentId, children); in onChildrenLoaded() 165 public void onError(@NonNull String parentId) { in onError() argument 172 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() argument 173 onError(parentId); in onError()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaBrowser.java | 129 public void onLoadChildren(@NonNull String parentId, @NonNull Result<List<MediaItem>> result) { in onLoadChildren() argument 130 mLastLoadedNodeId = parentId; in onLoadChildren() 131 getMediaItemsWithDelay(parentId, result, null); in onLoadChildren() 139 private void getMediaItemsWithDelay(@NonNull String parentId, in getMediaItemsWithDelay() argument 147 } else if (ROOT_ID.equals(parentId)) { in getMediaItemsWithDelay() 150 node = mLibrary.getMediaItemById(parentId); in getMediaItemsWithDelay()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | MailboxUtilities.java | 55 long parentId = parentCursor.getLong(Mailbox.CONTENT_ID_COLUMN); in setFlagsAndChildrensParentKey() local 82 childValues.put(Mailbox.PARENT_KEY, parentId); in setFlagsAndChildrensParentKey() 99 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, parentId), in setFlagsAndChildrensParentKey() 232 String name, long parentId) { in getHierarchicalName() argument 236 } else if (parentId == Mailbox.NO_MAILBOX) { in getHierarchicalName() 239 Mailbox parent = Mailbox.restoreMailboxWithId(context, parentId); in getHierarchicalName() 241 hierarchicalName = getHierarchicalName(context, parentId, map, parent.mDisplayName, in getHierarchicalName()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | BrowsedPlayerWrapper.java | 252 public void onChildrenLoaded(String parentId, List<MediaItem> children) { in onChildrenLoaded() argument 254 Log.d(TAG, "onChildrenLoaded: mediaId=" + parentId + " size= " + children.size()); in onChildrenLoaded() 265 mWrappedBrowser.unsubscribe(parentId); in onChildrenLoaded() 288 mCachedFolders.put(parentId, return_list); in onChildrenLoaded() 291 mCallback.run(STATUS_SUCCESS, parentId, Util.cloneList(return_list)); in onChildrenLoaded()
|
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 | MediaPlayerList.java | 103 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 | 261 String parentId, in createTvInputInfo() argument 270 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 | 3568 String parentId = connection.getParentCallId(); 3571 .filter(c -> c.getId().equals(parentId))
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 2708 long parentId = getParent(helper, db, path); in insertFile() local 2709 values.put(FileColumns.PARENT, parentId); in insertFile()
|