/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
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)) {
|
Roots.java | 27 root.rootId = id;
|
/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...] |
/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/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;
|
/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/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);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
TopLevelThreadGroupsTest.java | 80 private void printThreadGroup(long rootID) { 81 logWriter.println("==> ThreadGroupID = " + rootID); 86 packet.setNextValueAsThreadGroupID(rootID); 97 packet.setNextValueAsThreadGroupID(rootID);
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
vktSubgroupsShapeTests.cpp | 185 << " uint rootID = gl_SubgroupInvocationID & ~(" << i - 1 << ");\n" 188 << " uint nextID = rootID + i;\n" 206 << " uint rootID = gl_SubgroupInvocationID & ~0x3;\n" 209 << " uint nextID = rootID + i;\n" 281 << " uint rootID = gl_SubgroupInvocationID & ~(" << i - 1 << ");\n" 284 << " uint nextID = rootID + i;\n" 302 << " uint rootID = gl_SubgroupInvocationID & ~0x3;\n" 305 << " uint nextID = rootID + i;\n"
|
/frameworks/support/media/api21/androidx/media/ |
MediaBrowserServiceCompatApi21.java | 104 BrowserRoot(String rootId, Bundle extras) { 105 mRootId = rootId;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
LoadDocStackTask.java | 95 final String rootId = path.getRootId(); 96 if (rootId == null) {
|
/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/prefs/ |
LocalPreferences.java | 53 return ROOT_VIEW_MODE_PREFIX + root.authority + root.rootId;
|
/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,
|
/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.");
|
/bionic/libc/kernel/uapi/linux/ |
capability.h | 66 __le32 rootid; member in struct:vfs_ns_cap_data
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
DirectoryState.java | 77 builder.append(mRoot != null ? mRoot.rootId : "null").append(';');
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
DocumentsProviderTest.java | 35 private static final String ROOT_ID = "rootId";
|
/frameworks/base/media/java/android/media/update/ |
StaticProvider.java | 101 LibraryRootProvider createMediaLibraryService2LibraryRoot(LibraryRoot instance, String rootId,
|