/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
D | ClassSourcerTest.java | 49 ClassReader cr = new ClassReader("data/TestBaseClass"); in testBaseClassSource() local 52 cr.accept(jw, 0); in testBaseClassSource() 79 ClassReader cr = new ClassReader("data/TestInnerClass"); in testInnerClassSource() local 82 cr.accept(jw, 0); in testInnerClassSource() 107 ClassReader cr = new ClassReader("data/TestTemplateClass"); in testTemplateClassSource() local 110 cr.accept(jw, 0); in testTemplateClassSource()
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
D | SourceGenerator.java | 57 ClassReader cr = entry.getValue(); in generateSource() local 59 String name = classNameToJavaPath(cr.getClassName()); in generateSource() 64 visitClassSource(fw, cr, filter); in generateSource() 92 void visitClassSource(Writer fw, ClassReader cr, Filter filter) { in visitClassSource() argument 93 mLog.debug("Dump " + cr.getClassName()); in visitClassSource() 97 cr.accept(classFilter, 0 /*flags*/); in visitClassSource()
|
D | StubGenerator.java | 61 ClassReader cr = entry.getValue(); in generateStubbedJar() local 63 byte[] b = visitClassStubber(cr, filter); in generateStubbedJar() 64 String name = classNameToEntryPath(cr.getClassName()); in generateStubbedJar() 101 byte[] visitClassStubber(ClassReader cr, Filter filter) { in visitClassStubber() argument 102 mLog.debug("Stub " + cr.getClassName()); in visitClassStubber() 110 cr.accept(classFilter, 0 /*flags*/); in visitClassStubber()
|
D | AsmAnalyzer.java | 53 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseInputJar() local 54 String className = classReaderToAsmName(cr); in parseInputJar() 55 classes.put(className, cr); in parseInputJar()
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | DocumentsSample.java | 241 final ContentResolver cr = getContentResolver(); in onActivityResult() local 258 cr.takePersistableUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); in onActivityResult() 264 is = cr.openInputStream(uri); in onActivityResult() 273 cr.takePersistableUriPermission(uri, Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in onActivityResult() 279 os = cr.openOutputStream(uri); in onActivityResult() 293 Cursor c = cr.query(child, new String[] { in onActivityResult() 304 Uri pic = DocumentsContract.createDocument(cr, doc, "image/png", "pic.png"); in onActivityResult() 305 Uri dir = DocumentsContract.createDocument(cr, doc, Document.MIME_TYPE_DIR, "my dir"); in onActivityResult() 306 Uri dirPic = DocumentsContract.createDocument(cr, dir, "image/png", "pic2.png"); in onActivityResult() 315 os = cr.openOutputStream(dirPic); in onActivityResult() [all …]
|
/development/tools/mkstubs/tests/com/android/mkstubs/ |
D | SourceGeneratorTest.java | 50 ClassReader cr = new ClassReader("data/TestBaseClass"); in testDumpClass() local 52 mGen.visitClassSource(sw, cr, new Filter()); in testDumpClass()
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | FileTransferService.java | 60 ContentResolver cr = context.getContentResolver(); in onHandleIntent() local 63 is = cr.openInputStream(Uri.parse(fileUri)); in onHandleIntent()
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | MusicRetriever.java | 46 public MusicRetriever(ContentResolver cr) { in MusicRetriever() argument 47 mContentResolver = cr; in MusicRetriever()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NoteEditor.java | 463 ContentResolver cr = getContentResolver(); in performPaste() local 481 if (uri != null && NotePad.Notes.CONTENT_ITEM_TYPE.equals(cr.getType(uri))) { in performPaste() 484 Cursor orig = cr.query( in performPaste()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderThrottle.java | 428 final ContentResolver cr = getActivity().getContentResolver(); in onOptionsItemSelected() local 445 cr.insert(MainTable.CONTENT_URI, values); in onOptionsItemSelected() 466 cr.delete(MainTable.CONTENT_URI, null, null); in onOptionsItemSelected()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | LoaderThrottleSupport.java | 429 final ContentResolver cr = getActivity().getContentResolver(); in onOptionsItemSelected() local 446 cr.insert(MainTable.CONTENT_URI, values); in onOptionsItemSelected() 466 cr.delete(MainTable.CONTENT_URI, null, null); in onOptionsItemSelected()
|