Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 269) sorted by relevance

1234567891011

/frameworks/support/samples/SupportLeanbackDemos/
Dgeneratev4.py28 file = open('src/com/example/android/leanback/GuidedStepActivity.java', 'r') variable
41 file = open('src/com/example/android/leanback/GuidedStepHalfScreenActivity.java', 'r') variable
55 file = open('src/com/example/android/leanback/BrowseFragment.java', 'r') variable
75 file = open('src/com/example/android/leanback/BrowseActivity.java', 'r') variable
87 file = open('res/layout/browse.xml', 'r') variable
97 file = open('src/com/example/android/leanback/DetailsFragment.java', 'r') variable
111 file = open('src/com/example/android/leanback/NewDetailsFragment.java', 'r') variable
130 file = open('src/com/example/android/leanback/DetailsActivity.java', 'r') variable
144 file = open('src/com/example/android/leanback/SearchDetailsActivity.java', 'r') variable
154 file = open('src/com/example/android/leanback/SearchFragment.java', 'r') variable
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java73 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testRun() local
104 MemoryFile file = new MemoryFile("MemoryFileTest", 10); in testOutputStreamAdvances() local
125 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in readIndexOutOfBoundsException() local
170 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in testReadEOF() local
192 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseClose() local
202 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseRead() local
217 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseWrite() local
232 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseAllowPurging() local
251 MemoryFile file = new MemoryFile("MemoryFileTest", 5000000); in testCloseLeak() local
/frameworks/support/core-utils/tests/java/android/support/v4/content/
DFileProviderTest.java74 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriSimple() local
95 File file = buildPath(mContext.getFilesDir(), "..", "file.test"); in testStrategyUriJumpOutside() local
109 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriShortestRoot() local
128 File file = buildPath(expectedRoot, "file.test"); in testStrategyFileSimple() local
155 File file = buildPath(expectedRoot, "lol\"wat?foo&bar", "wat.txt"); in testStrategyEscaping() local
170 File file = buildPath(expectedRoot, "file.txt"); in testStrategyExtraParams() local
194 final File file = new File(mContext.getFilesDir(), TEST_FILE); in testQueryProjectionNull() local
211 final File file = new File(mContext.getFilesDir(), TEST_FILE); in testQueryProjectionOrder() local
240 final File file = new File(mContext.getFilesDir(), TEST_FILE); in testQueryExtraColumn() local
258 final File file = new File(mContext.getFilesDir(), TEST_FILE); in testReadFile() local
[all …]
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/res/raw/
Dmusic_consumption_example.json9 "file": "track_01" string
17 "file": "track_02" string
25 "file": "track_03" string
33 "file": "track_04" string
41 "file": "track_05" string
49 "file": "track_06" string
57 "file": "track_07" string
65 "file": "track_08" string
73 "file": "track_09" string
/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp45 static void writeVersionGuardStart(GeneratedFile* file, VersionInfo info, unsigned int finalVersion… in writeVersionGuardStart()
75 static void writeVersionGuardEnd(GeneratedFile* file, VersionInfo info) { in writeVersionGuardEnd()
84 static void writeComment(GeneratedFile* file, const string& name, const string& briefComment, in writeComment()
113 static void writeConstantComment(GeneratedFile* file, const Constant& constant) { in writeConstantComment()
119 static void writeConstantSpecification(GeneratedFile* file, const ConstantSpecification& spec) { in writeConstantSpecification()
128 static void writeTypeSpecification(GeneratedFile* file, const TypeSpecification& spec) { in writeTypeSpecification()
196 static void writeTypeComment(GeneratedFile* file, const Type& type) { in writeTypeComment()
201 static void writeFunctionPermutation(GeneratedFile* file, const FunctionSpecification& spec, in writeFunctionPermutation()
283 static void writeFunctionComment(GeneratedFile* file, const Function& function) { in writeFunctionComment()
309 static void writeFunctionSpecification(GeneratedFile* file, const FunctionSpecification& spec) { in writeFunctionSpecification()
[all …]
DGenerateDocumentation.cpp36 static void writeHeader(GeneratedFile* file, bool forVerification, const string& title) { in writeHeader()
60 static void writeFooter(GeneratedFile* file, bool forVerification) { in writeFooter()
200 static bool generateHtmlParagraphs(GeneratedFile* file, const vector<string>& description) { in generateHtmlParagraphs()
226 static void writeSummaryTableStart(GeneratedFile* file, const string& label, bool labelIsHeading) { in writeSummaryTableStart()
236 static void writeSummaryTableEnd(GeneratedFile* file) { in writeSummaryTableEnd()
272 static void writeSummaryTable(GeneratedFile* file, const ostringstream* entries, const char* name, in writeSummaryTable()
286 static void writeSummaryTables(GeneratedFile* file, const map<string, Constant*>& constants, in writeSummaryTables()
309 static void writeHtmlVersionTag(GeneratedFile* file, VersionInfo info, in writeHtmlVersionTag()
348 static void writeDetailedTypeSpecification(GeneratedFile* file, const TypeSpecification* spec) { in writeDetailedTypeSpecification()
405 static void writeDetailedConstantSpecification(GeneratedFile* file, ConstantSpecification* c) { in writeDetailedConstantSpecification()
[all …]
/frameworks/support/v17/leanback/tests/
Dgeneratev4.py34 file = open('java/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r') variable
57 file = open('java/android/support/v17/leanback/app/{}FragmentTestBase.java'.format(w), 'r') variable
83 file = open('java/android/support/v17/leanback/app/{}FragmentTest.java'.format(w), 'r') variable
114 file = open('java/android/support/v17/leanback/app/{}FragmentTestActivity.java'.format(w), 'r') variable
132 file = open('java/android/support/v17/leanback/widget/ParallaxIntEffectTest.java', 'r') variable
152 file = open('java/android/support/v17/leanback/widget/ParallaxIntTest.java', 'r') variable
172 file = open('java/android/support/v17/leanback/app/PlaybackControlGlueTest.java', 'r') variable
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java115 final File file = new File( in FileRotator() local
125 final File file = new File( in FileRotator() local
160 final File file = new File(mBasePath, name); in dumpAll() local
235 final File file = new File(mBasePath, name); in rewriteSingle() local
295 final File file = new File(mBasePath, name); in readMatching() local
354 final File file = new File(mBasePath, name); in maybeRotate() local
362 final File file = new File(mBasePath, name); in maybeRotate() local
368 private static void readFile(File file, Reader reader) throws IOException { in readFile()
378 private static void writeFile(File file, Writer writer) throws IOException { in writeFile()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXml.java36 public static long parseBeginTime(AtomicFile file) throws IOException { in parseBeginTime()
40 public static long parseBeginTime(File file) throws IOException { in parseBeginTime()
58 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { in read()
78 public static void write(AtomicFile file, IntervalStats stats) throws IOException { in write()
/frameworks/av/drm/common/
DReadWriteUtils.cpp36 FILE* file = NULL; in readBytes() local
58 FILE* file = NULL; in readBytes() local
79 FILE* file = NULL; in writeToFile() local
96 FILE* file = NULL; in appendToFile() local
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java73 protected abstract String getDocIdForFile(File file) throws FileNotFoundException; in getDocIdForFile()
132 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument() local
238 final File file = getFileForDocId(docId); in deleteDocument() local
319 final File file = pending.removeFirst(); in querySearchDocuments() local
335 final File file = getFileForDocId(documentId); in getDocumentType() local
343 final File file = getFileForDocId(documentId); in openDocument() local
370 final File file = getFileForDocId(documentId); in openDocumentThumbnail() local
374 protected RowBuilder includeFile(MatrixCursor result, String docId, File file) in includeFile()
421 private static String getTypeForFile(File file) { in getTypeForFile()
450 private void startObserving(File file, Uri notifyUri) { in startObserving()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/
DMemoryMappedFile_Delegate.java67 RandomAccessFile file = new RandomAccessFile(f, "r"); in mmapRO() local
94 static BufferIterator bigEndianIterator(MemoryMappedFile file) { in bigEndianIterator()
101 public MemoryMappedFile_Delegate(RandomAccessFile file) throws IOException { in MemoryMappedFile_Delegate()
113 private static MemoryMappedFile_Delegate getDelegate(MemoryMappedFile file) { in getDelegate()
/frameworks/support/compat/java/android/support/v4/graphics/
DTypefaceCompatUtil.java57 final File file = new File(context.getCacheDir(), prefix + i); in getTempFile() local
73 private static ByteBuffer mmap(File file) { in mmap()
134 public static boolean copyToFile(File file, ByteBuffer buffer) { in copyToFile()
141 public static boolean copyToFile(File file, InputStream is) { in copyToFile()
162 public static boolean copyToFile(File file, Resources res, int id) { in copyToFile()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
DLayoutXmlProcessor.java267 private static String generateExportFileName(File file) { in generateExportFileName()
336 File getOriginalFileFor(File file); in getOriginalFileFor()
357 public void added(File file) { in added()
360 public void removed(File file) { in removed()
363 public void changed(File file) { in changed()
418 void processLayoutFile(File file) in processLayoutFile()
421 void processOtherFile(File parentFolder, File file) throws IOException; in processOtherFile()
422 void processRemovedLayoutFile(File file); in processRemovedLayoutFile()
423 void processRemovedOtherFile(File parentFolder, File file) throws IOException; in processRemovedOtherFile()
429 void processOtherRootFile(File file) throws IOException; in processOtherRootFile()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dbenchmark.h55 static inline void Btrace(FILE* file, const char* name, in Btrace()
60 static inline void Btrace(FILE* file, const char* name) { in Btrace()
76 static inline void BtraceData(FILE* file, const char* name, in BtraceData()
82 static inline void BtraceData(FILE* file, const char* name, int64_t data) { in BtraceData()
/frameworks/support/v17/leanback/
Dgeneratev4.py30 file = open('src/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r') variable
51 file = open('src/android/support/v17/leanback/app/VideoFragmentGlueHost.java'.format(w), 'r') variable
72 file = open('src/android/support/v17/leanback/app/PlaybackFragmentGlueHost.java'.format(w), 'r') variable
93 file = open('src/android/support/v17/leanback/app/DetailsFragmentBackgroundController.java'.format(… variable
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DMultiLayoutVerificationTest.java57 File file = new File(report.getFilePath()); in testMultipleLayoutFilesWithNameMismatch() local
113 File file = new File(report.getFilePath()); in testMultipleLayoutFilesVariableMismatch() local
166 File file = new File(report.getFilePath()); in testMultipleLayoutFilesImportMismatch() local
220 File file = new File(report.getFilePath()); in testSameIdInIncludeAndView() local
/frameworks/wilhelm/src/
Dassert.cpp24 void __assert(const char *file, int line, const char *failedexpr) in __assert()
30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java95 RandomAccessFile file; in populateUI() local
165 void writeDataToFileLocked(RandomAccessFile file, in writeDataToFileLocked()
188 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); in recordNewUIState() local
/frameworks/support/core-utils/java/android/support/v4/content/
DFileProvider.java399 public static Uri getUriForFile(Context context, String authority, File file) { in getUriForFile()
436 final File file = mStrategy.getFileForUri(uri); in query() local
475 final File file = mStrategy.getFileForUri(uri); in getType() local
521 final File file = mStrategy.getFileForUri(uri); in delete() local
543 final File file = mStrategy.getFileForUri(uri); in openFile() local
646 public Uri getUriForFile(File file); in getUriForFile()
693 public Uri getUriForFile(File file) { in getUriForFile()
743 File file = new File(root, path); in getFileForUri() local
/frameworks/rs/
DrsApiFileA3D.cpp26 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { in rsaFileA3DGetEntryByIndex()
40 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { in rsaFileA3DGetNumIndexEntries()
50 …3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, RsFile file) { in rsaFileA3DGetIndexEntries()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DMutexFileProvider.java49 public void onReleaseRequested(File file); in onReleaseRequested()
52 public MutexFileProvider(File file) throws IOException { in MutexFileProvider()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java52 public static int parseIntValueFromFile(File file) { in parseIntValueFromFile()
94 public static boolean DownloadFromUrl(String targetUrl, File file) { in DownloadFromUrl()
127 File file) { in postFileToServer()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
DFileProviderExample.java50 final File file = new File(thumbsDir, "private.png"); in onShareFileClick() local
64 private void saveThumbnail(View view, File file) { in saveThumbnail()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java128 private void mountObb(StorageManager sm, final int resource, final File file, in mountObb()
150 final File file) { in mountObbWithoutWait()
160 private void waitForObbActionCompletion(final StorageManager sm, final File file, in waitForObbActionCompletion()
174 private String checkMountedPath(final StorageManager sm, final File file) { in checkMountedPath()
182 private void unmountObb(final StorageManager sm, final File file, int expectedState) { in unmountObb()

1234567891011