Home
last modified time | relevance | path

Searched refs:parentId (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
DTestUtils.java33 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/
DLocalMediaBrowserService.java157 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 …]
DDataModel.java92 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/
DDocumentsProviderHelper.java107 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 …]
DStubProvider.java190 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/
DMediaBrowser.java129 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/
DBrowsedMediaItems.java55 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()
DMediaBrowserViewModelImpl.java88 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/
DTmaBrowser.java167 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()
DTmaBrowser2.java23 public void onLoadChildren(@NonNull String parentId, in onLoadChildren() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpNativeInterface.java151 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
DBrowsedPlayerWrapper.java400 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));
DMediaPlayerList.java120 void run(String parentId, List<ListItem> items); in run() argument
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java868 @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/
DTvInputManagerHelperTest.java270 String parentId, in createTvInputInfo() argument
279 TestUtils.createTvInputInfo(service, id, parentId, type, isHardwareInput); in createTvInputInfo()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java252 … 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/
DCallsManager.java4229 String parentId = connection.getParentCallId();
4232 .filter(c -> c.getId().equals(parentId))
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2709 long parentId = getParent(helper, db, path); in insertFile() local
2710 values.put(FileColumns.PARENT, parentId); in insertFile()