/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RootsLoader.java | 23 import com.android.documentsui.model.RootInfo; 27 public class RootsLoader extends AsyncTaskLoader<Collection<RootInfo>> { 33 private Collection<RootInfo> mResult; 45 public final Collection<RootInfo> loadInBackground() { 50 public void deliverResult(Collection<RootInfo> result) { 54 Collection<RootInfo> oldResult = mResult;
|
RootsCache.java | 40 import com.android.documentsui.model.RootInfo; 69 private final RootInfo mRecentsRoot = new RootInfo(); 75 private Multimap<String, RootInfo> mRoots = ArrayListMultimap.create(); 161 private final Multimap<String, RootInfo> mTaskRoots = ArrayListMultimap.create(); 243 private Collection<RootInfo> loadRootsForAuthority(ContentResolver resolver, String authority) { 254 final List<RootInfo> roots = Lists.newArrayList(); 263 final RootInfo root = RootInfo.fromRootsCursor(authority, cursor); 276 * Return the requested {@link RootInfo}, but only loading the roots for th [all...] |
RootsFragment.java | 48 import com.android.documentsui.model.RootInfo; 65 private LoaderCallbacks<Collection<RootInfo>> mCallbacks; 106 mCallbacks = new LoaderCallbacks<Collection<RootInfo>>() { 108 public Loader<Collection<RootInfo>> onCreateLoader(int id, Bundle args) { 114 Loader<Collection<RootInfo>> loader, Collection<RootInfo> result) { 126 public void onLoaderReset(Loader<Collection<RootInfo>> loader) { 156 final RootInfo root = ((DocumentsActivity) getActivity()).getCurrentRoot(); 160 final RootInfo testRoot = ((RootItem) item).root; 224 public final RootInfo root [all...] |
RecentLoader.java | 38 import com.android.documentsui.model.RootInfo; 84 private final HashMap<RootInfo, RecentTask> mTasks = Maps.newHashMap(); 174 final Collection<RootInfo> roots = mRoots.getMatchingRootsBlocking(mState); 175 for (RootInfo root : roots) {
|
DirectoryLoader.java | 42 import com.android.documentsui.model.RootInfo; 72 private final RootInfo mRoot; 80 public DirectoryLoader(Context context, int type, RootInfo root, DocumentInfo doc, Uri uri,
|
DocumentsActivity.java | 81 import com.android.documentsui.model.RootInfo; 266 private class RestoreRootTask extends AsyncTask<Void, Void, RootInfo> { 274 protected RootInfo doInBackground(Void... params) { 280 protected void onPostExecute(RootInfo root) { 319 final Collection<RootInfo> matchingRoots = mRoots.getMatchingRootsBlocking(mState); 420 final RootInfo root = getCurrentRoot(); 541 final RootInfo root = getCurrentRoot(); 757 final RootInfo root = getCurrentRoot(); 778 final RootInfo root = getCurrentRoot(); 811 public RootInfo getCurrentRoot() [all...] |
DirectoryFragment.java | 83 import com.android.documentsui.model.RootInfo; 132 public static void showNormal(FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) { 136 public static void showSearch(FragmentManager fm, RootInfo root, String query, int anim) { 144 private static void show(FragmentManager fm, int type, RootInfo root, DocumentInfo doc, 173 private static String buildStateKey(RootInfo root, DocumentInfo doc) { 242 final RootInfo root = getArguments().getParcelable(EXTRA_ROOT); 368 final RootInfo root = getArguments().getParcelable(EXTRA_ROOT); [all...] |
RecentsCreateFragment.java | 52 import com.android.documentsui.model.RootInfo; 158 final Collection<RootInfo> matchingRoots = mRoots.getMatchingRootsBlocking(mState);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
RootsCacheTest.java | 23 import com.android.documentsui.model.RootInfo; 31 private static RootInfo buildForMimeTypes(String... mimeTypes) { 32 final RootInfo root = new RootInfo(); 37 private RootInfo mNull = new RootInfo(); 38 private RootInfo mEmpty = buildForMimeTypes(); 39 private RootInfo mWild = buildForMimeTypes("*/*"); 40 private RootInfo mImages = buildForMimeTypes("image/*"); 41 private RootInfo mAudio = buildForMimeTypes("audio/*", "application/ogg", "application/x-flac") [all...] |
/art/runtime/ |
gc_root.h | 46 class RootInfo { 49 explicit RootInfo(RootType type, uint32_t thread_id = 0) 52 virtual ~RootInfo() { 71 typedef void (RootCallback)(mirror::Object** root, void* arg, const RootInfo& root_info); 79 void VisitRoot(RootCallback* callback, void* arg, const RootInfo& info) const { 85 void VisitRootIfNonNull(RootCallback* callback, void* arg, const RootInfo& info) const {
|
throw_location.cc | 37 visitor(&this_object_, arg, RootInfo(kRootVMInternal)); 41 visitor(reinterpret_cast<mirror::Object**>(&method_), arg, RootInfo(kRootVMInternal));
|
reference_table.h | 52 void VisitRoots(RootCallback* visitor, void* arg, const RootInfo& root_info);
|
indirect_reference_table.h | 35 class RootInfo; 335 void VisitRoots(RootCallback* callback, void* arg, const RootInfo& root_info)
|
intern_table.cc | 63 root.VisitRoot(callback, arg, RootInfo(kRootInternedString)); 332 intern.VisitRoot(callback, arg, RootInfo(kRootInternedString)); 335 intern.VisitRoot(callback, arg, RootInfo(kRootInternedString));
|
transaction.cc | 175 callback(&new_root, arg, RootInfo(kRootUnknown)); 202 callback(reinterpret_cast<mirror::Object**>(&new_root), arg, RootInfo(kRootUnknown)); 322 callback(&obj, arg, RootInfo(kRootUnknown)); 367 callback(reinterpret_cast<mirror::Object**>(&str_), arg, RootInfo(kRootInternedString));
|
thread.cc | [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
RootInfo.java | 43 public class RootInfo implements Durable, Parcelable { 62 public RootInfo() { 128 public static final Creator<RootInfo> CREATOR = new Creator<RootInfo>() { 130 public RootInfo createFromParcel(Parcel in) { 131 final RootInfo root = new RootInfo(); 137 public RootInfo[] newArray(int size) { 138 return new RootInfo[size]; 142 public static RootInfo fromRootsCursor(String authority, Cursor cursor) [all...] |
DocumentStack.java | 38 public RootInfo root; 54 public void updateRoot(Collection<RootInfo> matchingRoots) throws FileNotFoundException { 55 for (RootInfo root : matchingRoots) { 107 root = new RootInfo();
|
/art/runtime/mirror/ |
reference.cc | 36 java_lang_ref_Reference_.VisitRootIfNonNull(callback, arg, RootInfo(kRootStickyClass));
|
art_field.cc | 59 java_lang_reflect_ArtField_.VisitRootIfNonNull(callback, arg, RootInfo(kRootStickyClass));
|
stack_trace_element.cc | 71 java_lang_StackTraceElement_.VisitRootIfNonNull(callback, arg, RootInfo(kRootStickyClass));
|
throwable.cc | 141 java_lang_Throwable_.VisitRootIfNonNull(callback, arg, RootInfo(kRootStickyClass));
|
/art/runtime/gc/collector/ |
mark_sweep.h | 186 static void MarkRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info) 190 static void VerifyRootMarked(mirror::Object** root, void* arg, const RootInfo& root_info) 198 static void MarkRootParallelCallback(mirror::Object** root, void* arg, const RootInfo& root_info) 248 static void VerifyRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info); 250 void VerifyRoot(const mirror::Object* root, const RootInfo& root_info) NO_THREAD_SAFETY_ANALYSIS;
|
mark_compact.h | 117 static void MarkRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info) 183 static void UpdateRootCallback(mirror::Object** root, void* arg, const RootInfo& /*root_info*/)
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
ExternalStorageProvider.java | 78 private static class RootInfo { 93 private ArrayList<RootInfo> mRoots; 95 private HashMap<String, RootInfo> mIdToRoot; 152 final RootInfo root = new RootInfo(); 289 final RootInfo root = mIdToRoot.get(rootId);
|