/packages/services/Mtp/src/com/android/mtp/ |
D | Mapper.java | 136 int deviceId, String parentId, in putChildDocuments() argument 148 parentId, in putChildDocuments() 154 parentId, in putChildDocuments() 158 strings(parentId), in putChildDocuments() 239 String parentId, in putDocuments() argument 249 getParentOrHaltMapping(parentId); in putDocuments() 250 Preconditions.checkState(mInMappingIds.contains(parentId)); in putDocuments() 318 boolean stopAddingDocuments(@Nullable String parentId) throws FileNotFoundException { in stopAddingDocuments() argument 321 if (parentId != null) { in stopAddingDocuments() 323 args = strings(parentId); in stopAddingDocuments() [all …]
|
D | MtpDocumentsProvider.java | 392 final Identifier parentId; in createDocument() local 396 parentId = mDatabase.createIdentifier(parentDocumentId); in createDocument() 397 openDevice(parentId.mDeviceId); in createDocument() 398 record = getDeviceToolkit(parentId.mDeviceId).mDeviceRecord; in createDocument() 406 switch (parentId.mDocumentType) { in createDocument() 409 mDatabase.getStorageDocumentIds(parentId.mDocumentId); in createDocument() 420 storageId = parentId.mStorageId; in createDocument() 424 storageId = parentId.mStorageId; in createDocument() 425 parentObjectHandle = parentId.mObjectHandle; in createDocument() 464 parentId.mDeviceId, infoUniqueName, pipe[1]); in createDocument() [all …]
|
D | MtpDatabase.java | 598 void updateObject(String documentId, int deviceId, String parentId, int[] operationsSupported, in updateObject() argument 601 getObjectDocumentValues(values, deviceId, parentId, operationsSupported, info, size); in updateObject() 832 ContentValues values, int deviceId, String parentId, in getObjectDocumentValues() argument 839 values.put(COLUMN_PARENT_DOCUMENT_ID, parentId); in getObjectDocumentValues()
|
/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 | 153 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) { in onLoadChildren() argument 155 Log.d(TAG, "onLoadChildren parentId=" + parentId); in onLoadChildren() 158 switch (parentId) { in onLoadChildren() 161 mLastCategory = parentId; in onLoadChildren() 164 mDataModel.onQueryByFolder(parentId, result); in onLoadChildren() 165 mLastCategory = parentId; in onLoadChildren() 168 mDataModel.onQueryByAlbum(parentId, result); in onLoadChildren() 169 mLastCategory = parentId; in onLoadChildren() 172 mDataModel.onQueryByArtist(parentId, result); in onLoadChildren() 173 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 | 111 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() argument 112 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument() 139 public Uri createFolder(String parentId, String name) { in createFolder() argument 140 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder() 184 public void assertChildCount(String parentId, int expected) throws Exception { in assertChildCount() argument 185 List<DocumentInfo> children = listChildren(parentId, -1); in assertChildCount() 203 public void assertHasFile(String parentId, String name) throws Exception { in assertHasFile() argument 204 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile() 222 public void assertHasDirectory(String parentId, String name) throws Exception { in assertHasDirectory() argument 223 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasDirectory() [all …]
|
D | StubProvider.java | 210 public String createDocument(String parentId, String mimeType, String displayName) in createDocument() argument 212 StubDocument parent = mStorage.get(parentId); in createDocument() 218 notifyParentChanged(document.parentId); in createDocument() 238 notifyParentChanged(document.parentId); in deleteDocument() 338 mStorage.get(oldDoc.parentId)); in renameDocument() 341 notifyParentChanged(oldDoc.parentId); in renameDocument() 346 notifyParentChanged(newDoc.parentId); in renameDocument() 498 notifyParentChanged(document.parentId); in startWrite() 605 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument() argument 608 StubDocument parent = mStorage.get(parentId); in createDocument() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/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 | MediaItemsRepository.java | 237 private void onBrowseData(@NonNull String parentId, @Nullable List<MediaItemMetadata> list) { in onBrowseData() argument 239 MediaChildren children = cache.mChildrenByNodeId.get(parentId); in onBrowseData() 242 Log.w(TAG, "Browse parent not in the cache: " + parentId); in onBrowseData() 251 if (Objects.equals(parentId, cache.mRootId)) { in onBrowseData() 262 public void onChildrenLoaded(@NonNull String parentId, 265 onBrowseData(parentId, children.stream() 272 public void onChildrenLoaded(@NonNull String parentId, 275 onChildrenLoaded(parentId, children); 279 public void onError(@NonNull String parentId) { 280 onBrowseData(parentId, null); [all …]
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaBrowser.java | 189 public void onLoadChildren(@NonNull String parentId, @NonNull Result<List<MediaItem>> result) { in onLoadChildren() argument 190 getMediaItemsWithDelay(parentId, result, null); in onLoadChildren() 192 if (QUEUE_ONLY.equals(mPrefs.mRootNodeType.getValue()) && ROOT_ID.equals(parentId)) { in onLoadChildren() 211 private void getMediaItemsWithDelay(@NonNull String parentId, in getMediaItemsWithDelay() argument 219 } else if (ROOT_ID.equals(parentId)) { in getMediaItemsWithDelay() 222 node = mLibrary.getMediaItemById(parentId); in getMediaItemsWithDelay() 251 mHandler.postDelayed(new UpdateNodeTask(parentId), selfUpdateDelay); in getMediaItemsWithDelay() 296 String parentId = item.getParent().getMediaId(); in toggleItem() local 297 if (Objects.equals(parentId, getRoot().getMediaId())) { in toggleItem() 298 parentId = ROOT_ID; in toggleItem() [all …]
|
D | TmaBrowser2.java | 23 public void onLoadChildren(@NonNull String parentId, in onLoadChildren() argument
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | TestUtil.java | 77 static void addTestStorage(MtpDatabase database, String parentId) throws FileNotFoundException { in addTestStorage() argument 78 database.getMapper().startAddingDocuments(parentId); in addTestStorage() 79 database.getMapper().putStorageDocuments(parentId, OPERATIONS_SUPPORTED, new MtpRoot[] { in addTestStorage() 82 database.getMapper().stopAddingDocuments(parentId); in addTestStorage()
|
D | MtpDatabaseTest.java | 1141 private void addTestStorage(String parentId) throws FileNotFoundException { in addTestStorage() argument 1142 TestUtil.addTestStorage(mDatabase, parentId); in addTestStorage()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/telephony/ |
D | BluetoothInCallServiceTest.java | 319 String parentId = parentCall.getTelecomCallId(); in testConferenceInProgressCDMA() local 320 when(confCall1.getParentId()).thenReturn(parentId); in testConferenceInProgressCDMA() 321 when(confCall2.getParentId()).thenReturn(parentId); in testConferenceInProgressCDMA() 380 String parentId = parentCall.getTelecomCallId(); in testListCurrentCallsCdmaHold() local 381 when(foregroundCall.getParentId()).thenReturn(parentId); in testListCurrentCallsCdmaHold() 382 when(heldCall.getParentId()).thenReturn(parentId); in testListCurrentCallsCdmaHold() 426 String parentId = parentCall.getTelecomCallId(); in testListCurrentCallsCdmaConference() local 427 when(confCall1.getParentId()).thenReturn(parentId); in testListCurrentCallsCdmaConference() 428 when(confCall2.getParentId()).thenReturn(parentId); in testListCurrentCallsCdmaConference() 638 String parentId = parentCall.getTelecomCallId(); in testListCurrentCallsHeldImsCepConference() local [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpNativeInterface.java | 171 void getFolderItemsResponse(String parentId, List<ListItem> items) { in getFolderItemsResponse() argument 172 d("getFolderItemsResponse: parentId=" + parentId + " items.size=" + items.size()); in getFolderItemsResponse() 173 getFolderItemsResponseNative(parentId, items); in getFolderItemsResponse() 266 private native void getFolderItemsResponseNative(String parentId, List<ListItem> list); in getFolderItemsResponseNative() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/ |
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 | 121 void run(String parentId, List<ListItem> items); in run() argument
|
/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/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 881 @Nullable String parentId, int limit, boolean includePending) { in includeDownloadsFromMediaStore() argument 892 queryArgs, filePaths, parentId); in includeDownloadsFromMediaStore() 968 @Nullable Set<String> filePaths, @Nullable String parentId) { in buildSearchSelection() argument 972 if (parentId == null && filePaths != null && filePaths.size() > 0) { in buildSearchSelection() 982 if (parentId != null) { in buildSearchSelection() 988 Long.parseLong(parentId)); in buildSearchSelection()
|
/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 | 4495 String parentId = connection.getParentCallId(); 4498 .filter(c -> c.getId().equals(parentId))
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 3930 final long parentId = getParent(db, path); in insertAllowingUpsert() local 3931 values.put(FileColumns.PARENT, parentId); in insertAllowingUpsert()
|