HomeSort by relevance Sort by last modified time
    Searched refs:rootId (Results 1 - 25 of 56) sorted by null

1 2 3

  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
Roots.java 27 root.rootId = id;
TestProvidersAccess.java 48 DOWNLOADS.rootId = Providers.ROOT_ID_DOWNLOADS;
57 HOME.rootId = Providers.ROOT_ID_HOME;
66 HAMMY.rootId = "hamsandwich";
71 PICKLES.rootId = "pickles";
84 INSPECTOR.rootId = InspectorProvider.ROOT_ID;
115 public RootInfo getRootOneshot(String authority, String rootId) {
118 if (rootId.equals(root.rootId)) {
TestDocumentsProvider.java 88 public Cursor queryRecentDocuments(String rootId, String[] projection) {
  /packages/apps/DocumentsUI/src/com/android/documentsui/base/
RootInfo.java 87 public String rootId;
111 rootId = null;
132 rootId = DurableUtils.readNullableString(in);
151 DurableUtils.writeNullableString(out, rootId);
188 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID);
240 return DocumentsContract.buildRootUri(authority, rootId);
244 return authority == null && rootId == null;
251 return isExternalStorage() && "home".equals(rootId);
264 && Providers.ROOT_ID_IMAGES.equals(rootId);
269 && Providers.ROOT_ID_VIDEOS.equals(rootId);
    [all...]
  /frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
ExternalStorageProvider.java 87 public String rootId;
157 final String rootId;
164 rootId = ROOT_ID_PRIMARY_EMULATED;
189 rootId = volume.getFsUuid();
197 if (TextUtils.isEmpty(rootId)) {
201 if (mRoots.containsKey(rootId)) {
202 Log.w(TAG, "Duplicate UUID " + rootId + " for " + volume.getId() + "; skipping");
207 mRoots.put(rootId, root);
209 root.rootId = rootId;
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/roots/
LoadRootTask.java 51 String rootId = DocumentsContract.getRootId(mRootUri);
52 return mProviders.getRootOneshot(mRootUri.getAuthority(), rootId);
RootCursorWrapper.java 42 public static final String COLUMN_ROOT_ID = "android:rootId";
45 public RootCursorWrapper(String authority, String rootId, Cursor cursor, int maxCount) {
47 mRootId = rootId;
ProvidersCache.java 154 assert(mRecentsRoot.rootId == null);
333 public RootInfo getRootOneshot(String authority, String rootId) {
334 return getRootOneshot(authority, rootId, false);
337 public RootInfo getRootOneshot(String authority, String rootId, boolean forceRefresh) {
339 RootInfo root = forceRefresh ? null : getRootLocked(authority, rootId);
343 root = getRootLocked(authority, rootId);
349 public RootInfo getRootBlocking(String authority, String rootId) {
353 return getRootLocked(authority, rootId);
357 private RootInfo getRootLocked(String authority, String rootId) {
359 if (Objects.equals(root.rootId, rootId))
    [all...]
ProvidersAccess.java 45 RootInfo getRootOneshot(String authority, String rootId);
  /packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
EjectRootTask.java 45 String rootId,
49 mRootId = rootId;
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/
StubProvider.java 125 for (String rootId : rootIds) {
127 final File file = new File(getContext().getCacheDir(), rootId);
131 final RootInfo rootInfo = new RootInfo(file, getSize(rootId));
133 if(rootId.equals(ROOT_1_ID)) {
138 mRoots.put(rootId, rootInfo);
147 private long getSize(String rootId) {
148 final String key = STORAGE_SIZE_KEY + "." + rootId;
268 public Cursor queryRecentDocuments(String rootId, String[] projection)
276 public Cursor querySearchDocuments(String rootId, String query, String[] projection)
279 StubDocument parentDocument = mRoots.get(rootId).document
    [all...]
TestRootProvider.java 59 public TestRootProvider(String rootName, String rootId, int flags, String rootDocId) {
61 mRootId = rootId;
  /frameworks/av/packages/MediaComponents/src/com/android/media/
MediaLibraryService2Impl.java 154 public LibraryRootImpl(LibraryRoot instance, String rootId, Bundle extras) {
155 if (rootId == null) {
156 throw new IllegalArgumentException("rootId shouldn't be null.");
159 mRootId = rootId;
  /packages/apps/DocumentsUI/src/com/android/documentsui/
LoadDocStackTask.java 95 final String rootId = path.getRootId();
96 if (rootId == null) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/newavrcp/
AvrcpNativeInterface.java 138 void setBrowsedPlayerResponse(int playerId, boolean success, String rootId, int numItems) {
141 + " rootId=" + rootId
143 setBrowsedPlayerResponseNative(playerId, success, rootId, numItems);
243 int playerId, boolean success, String rootId, int numItems);
  /packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
LocalPreferences.java 53 return ROOT_VIEW_MODE_PREFIX + root.authority + root.rootId;
  /frameworks/support/media/api21/androidx/media/
MediaBrowserServiceCompatApi21.java 104 BrowserRoot(String rootId, Bundle extras) {
105 mRootId = rootId;
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DocumentStackTest.java 49 ROOT_1.rootId = "home";
51 ROOT_2.rootId = "downloads";
  /packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DirectoryState.java 77 builder.append(mRoot != null ? mRoot.rootId : "null").append(';');
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
AbstractActionHandlerTest.java 119 TestProvidersAccess.HOME.rootId,
163 TestProvidersAccess.HOME.rootId,
198 TestProvidersAccess.HOME.rootId,
224 TestProvidersAccess.HOME.rootId,
  /frameworks/base/core/java/android/provider/
DocumentsContract.java 766 public static Uri buildRootUri(String authority, String rootId) {
768 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId).build();
789 public static Uri buildRecentDocumentsUri(String authority, String rootId) {
791 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId)
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
MyDocumentsProvider.java 329 String rootId = null;
331 rootId = currentDocId.equals(mLocalRoot.docId) ? "local" : "create";
333 return new Path(rootId, path);
486 public void ejectRoot(String rootId) {
487 if ("eject".equals(rootId)) {
493 throw new IllegalStateException("Root " + rootId + " doesn't support ejection.");
  /frameworks/base/media/java/android/media/
MediaLibraryService2.java 400 * @param rootId The root id for browsing.
403 public LibraryRoot(@NonNull String rootId, @Nullable Bundle extras) {
405 this, rootId, extras);
  /frameworks/support/media/src/main/java/androidx/media/
MediaLibraryService2.java 455 * @param rootId The root id for browsing.
458 public LibraryRoot(@NonNull String rootId, @Nullable Bundle extras) {
459 if (rootId == null) {
460 throw new IllegalArgumentException("rootId shouldn't be null");
462 mRootId = rootId;
  /developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 154 public Cursor queryRecentDocuments(String rootId, String[] projection)
165 final File parent = getFileForDocId(rootId);
206 public Cursor querySearchDocuments(String rootId, String query, String[] projection)
212 final File parent = getFileForDocId(rootId);

Completed in 515 milliseconds

1 2 3