/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 101 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() argument 102 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument() 129 public Uri createFolder(String parentId, String name) { in createFolder() argument 130 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder() 165 public void assertChildCount(String parentId, int expected) throws Exception { in assertChildCount() argument 166 List<DocumentInfo> children = listChildren(parentId, -1); in assertChildCount() 184 public void assertHasFile(String parentId, String name) throws Exception { in assertHasFile() argument 185 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile() 203 public void assertHasDirectory(String parentId, String name) throws Exception { in assertHasDirectory() argument 204 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() 469 notifyParentChanged(document.parentId); in startWrite() 576 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument() argument 579 StubDocument parent = mStorage.get(parentId); in createDocument() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
D | TestUtils.java | 36 public static TvInputInfo createTvInputInfo(ResolveInfo service, String id, String parentId, in createTvInputInfo() argument 38 return createTvInputInfo(service, id, parentId, type, isHardwareInput, false, 0); in createTvInputInfo() 46 public static TvInputInfo createTvInputInfo(ResolveInfo service, String id, String parentId, in createTvInputInfo() argument 51 return createTvInputInfoForO(service, id, parentId, type, isHardwareInput, canRecord, in createTvInputInfo() 55 return createTvInputInfoForNyc(service, id, parentId, type, isHardwareInput, canRecord, in createTvInputInfo() 58 return createTvInputInfoForMnc(service, id, parentId, type, isHardwareInput); in createTvInputInfo() 68 String parentId, int type, boolean isHardwareInput, boolean canRecord, int tunerCount) in createTvInputInfoForO() argument 76 null, null, canRecord, tunerCount, null, false, parentId, null); in createTvInputInfoForO() 87 String parentId, int type, boolean isHardwareInput, boolean canRecord, int tunerCount) in createTvInputInfoForNyc() argument 96 null, null, null, canRecord, tunerCount, null, false, parentId, null); in createTvInputInfoForNyc() [all …]
|
D | TvInputManagerHelperTest.java | 149 String parentId, int type, boolean isHardwareInput, String label, String customLabel, in createTvInputInfo() argument 154 TestUtils.createTvInputInfo(service, id, parentId, type, isHardwareInput); in createTvInputInfo()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | LocalMediaBrowserService.java | 161 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) { in onLoadChildren() argument 163 Log.d(TAG, "onLoadChildren parentId=" + parentId); in onLoadChildren() 166 switch (parentId) { in onLoadChildren() 169 mLastCategory = parentId; in onLoadChildren() 172 mDataModel.onQueryByFolder(parentId, result); in onLoadChildren() 173 mLastCategory = parentId; in onLoadChildren() 176 mDataModel.onQueryByAlbum(parentId, result); in onLoadChildren() 177 mLastCategory = parentId; in onLoadChildren() 180 mDataModel.onQueryByArtist(parentId, result); in onLoadChildren() 181 mLastCategory = parentId; in onLoadChildren() [all …]
|
D | DataModel.java | 96 public void onQueryByFolder(String parentId, Result<List<MediaItem>> result) { in onQueryByFolder() argument 101 public void onQueryByAlbum(String parentId, Result<List<MediaItem>> result) { in onQueryByAlbum() argument 113 public void onQueryByArtist(String parentId, Result<List<MediaItem>> result) { in onQueryByArtist() argument 125 public void onQueryByGenre(String parentId, Result<List<MediaItem>> result) { in onQueryByGenre() argument 205 public void onQueryByKey(String lastCategory, String parentId, Result<List<MediaItem>> result) { in onQueryByKey() argument 217 long id = Long.parseLong(parentId); in onQueryByKey() 223 Log.e(TAG, "Incorrect key type: " + parentId + ", sending empty result"); in onQueryByKey() 230 .setWhereArgs(new String[] { parentId, parentId, parentId, parentId }); in onQueryByKey()
|
/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 | BrowsedMediaPlayer.java | 134 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { 152 mMediaBrowser.unsubscribe(parentId); 176 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { in onChildrenLoaded() argument 182 Log.w(TAG, logprefix + "children list is null parentId: " + parentId); in onChildrenLoaded() 196 Log.e(TAG, logprefix + "not able to find item from " + parentId); in onChildrenLoaded() 199 mMediaBrowser.unsubscribe(parentId); in onChildrenLoaded()
|
/packages/services/Car/car-lib/src/android/car/app/menu/ |
D | SubscriptionCallbacks.java | 32 public abstract void onChildrenLoaded(String parentId, List<Bundle> items); in onChildrenLoaded() argument 45 public abstract void onChildChanged(String parentId, Bundle item); in onChildChanged() argument
|
D | CarMenuCallbacks.java | 40 public abstract void subscribe(String parentId, SubscriptionCallbacks callback); in subscribe() argument 47 public abstract void unsubscribe(String parentId, SubscriptionCallbacks callbacks); in unsubscribe() argument
|
/packages/apps/Car/Media/src/com/android/car/media/drawer/ |
D | MediaBrowserItemsFetcher.java | 90 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { 97 public void onError(String parentId) {
|
/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/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 2254 long parentId = getParent(helper, db, path); in insertFile() local 2255 values.put(FileColumns.PARENT, parentId); in insertFile() 2721 long parentId = getParent(helper, db, path); in fixParentIdIfNeeded() local 2723 "changing parent to " + parentId + " for " + path); in fixParentIdIfNeeded() 2726 values.put(FileColumns.PARENT, parentId); in fixParentIdIfNeeded()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 2744 String parentId = connection.getParentCallId(); in createCallForExistingConnection() local 2747 .filter(c -> c.getId().equals(parentId)) in createCallForExistingConnection()
|