HomeSort by relevance Sort by last modified time
    Searched full:file (Results 1076 - 1100 of 168772) sorted by null

<<41424344454647484950>>

  /frameworks/base/core/java/android/widget/
package.html 15 <li><b>Java implementation file</b> - This is the file that implements the
18 values from the layout XML file.</li>
19 <li><b>XML definition file</b> - An XML file in res/values/ that defines
23 <li><b>Layout XML</b> [<em>optional</em>]- An optional XML file inside
25 this in code in your Java file.</li>
34 <li><strong>LabelView.java</strong> - The implementation file</li>
35 <li><strong>res/values/attrs.xml</strong> - Definition file</li>
36 <li><strong>res/layout/custom_view_1.xml</strong> - Layout file</li
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
FalseFileFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
23 * A file filter that always returns false.
54 * @param file the file to check
57 public boolean accept(File file) {
68 public boolean accept(File dir, String name)
    [all...]
TrueFileFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
23 * A file filter that always returns true.
54 * @param file the file to check
57 public boolean accept(File file) {
68 public boolean accept(File dir, String name)
    [all...]
  /cts/tests/tests/os/src/android/os/storage/cts/
StorageManagerTest.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
61 for (File target : getTargetFiles()) {
62 target = new File(target, "test1.obb");
68 private void doMountAndUnmountObbNormal(File outFile) throws IOException {
75 final File mountDir = new File(mountPath);
76 final File testFile = new File(mountDir, "test1.txt");
87 for (File target : getTargetFiles())
    [all...]
  /external/clang/test/CoverageMapping/
switch.c 1 // RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name switch.c %s | FileCheck %s
3 void foo(int i) { // CHECK-NEXT: File 0, [[@LINE]]:17 -> [[@LINE+8]]:2 = #0
5 case 1: // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+3]]:10 = #2
7 case 2: // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+1]]:10 = #3
10 int x = 0; // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+1]]:2 = #1
16 void bar(int i) { // CHECK-NEXT: File 0, [[@LINE]]:17 -> [[@LINE+20]]:2 = #0
18 ; // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE]]:6 = 0
20 switch (i) { // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+16]]:2 = #1
23 switch (i) // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+13]]:2 = #2
24 nop(); // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE]]:10 =
    [all...]
break.c 1 // RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name break.c %s | FileCheck %s
3 int main() { // CHECK: File 0, [[@LINE]]:12 -> {{[0-9]+}}:2 = #0
4 int cnt = 0; // CHECK-NEXT: File 0, [[@LINE+1]]:9 -> [[@LINE+1]]:18 = #0
5 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+3]]:4 = #1
7 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE+1]]:4 = 0
8 } // CHECK-NEXT: File 0, [[@LINE+1]]:9 -> [[@LINE+1]]:18 = #0
9 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+6]]:4 = #2
12 ++cnt; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE+3]]:4 = 0
15 } // CHECK-NEXT: File 0, [[@LINE+1]]:9 -> [[@LINE+1]]:18 = ((#0 + #3) - #4)
16 while(cnt < 100) { // CHECK-NEXT: File 0, [[@LINE]]:20 -> [[@LINE+7]]:4 = #
    [all...]
  /external/google-breakpad/src/client/linux/minidump_writer/
proc_cpuinfo_reader_unittest.cc 64 ScopedTestFile file("");
65 ASSERT_TRUE(file.IsOk());
66 ProcCpuInfoReader reader(file.GetFd());
73 ScopedTestFile file("foo : bar\n");
74 ASSERT_TRUE(file.IsOk());
75 ProcCpuInfoReader reader(file.GetFd());
86 ScopedTestFile file("foo : bar");
87 ASSERT_TRUE(file.IsOk());
88 ProcCpuInfoReader reader(file.GetFd());
101 ScopedTestFile file("foo : bar\nzoo : tut\n")
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
unewdata.c 8 * file name: unewdata.c
28 FileStream *file; member in struct:UNewDataMemory
84 /* open the output file */
100 pData->file=T_FileStream_open(filename, "wb");
101 if(pData->file==NULL) {
120 T_FileStream_write(pData->file, &pData->headerSize, 4);
123 T_FileStream_write(pData->file, pInfo, pInfo->size);
127 T_FileStream_write(pData->file, comment, commentLength);
135 T_FileStream_write(pData->file, bytes, headerSize);
150 if(pData->file!=NULL)
    [all...]
  /external/toybox/toys/other/
losetup.c 13 usage: losetup [-cdrs] [-o OFFSET] [-S SIZE] {-d DEVICE...|-j FILE|-af|{DEVICE FILE}}
15 Associate a loopback device with a file, or show current file (if any)
21 -j Iterate through all loopback devices associated with FILE
24 -c Check capacity (file size changed)
29 -o Start assocation at OFFSET into FILE
49 todo: basic /dev file association
50 associate DEV FILE
61 static void loopback_setup(char *device, char *file)
181 char *file = (toys.optflags & (FLAG_d|FLAG_c)) ? NULL : toys.optargs[1]; local
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
HprofBinaryToAscii.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
45 * Reads single file from arguments and attempts to read it as
46 * either a binary hprof file or a version with a text header.
51 usage("binary hprof file argument expected");
54 File file = new File(args[0]); local
55 if (!file.exists()) {
56 usage("file " + file + " does not exist")
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DataExporter.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
37 * Compress all files under the app data dir into a single zip file.
52 * Compress all files under the app data dir into a single zip file, and return the content://
53 * URI to the file, which can be read via {@link DumpFileProvider}.
57 final File outFile = getOutputFile(context, fileName);
76 /** @return long random string for a file name */
89 throw new IllegalArgumentException(".. path specifier not allowed. Bad file name: " +
95 " files are supported. Bad file name: " + fileName);
99 private static File getOutputDirectory(Context context)
    [all...]
  /external/valgrind/helgrind/tests/
tc06_two_races_xml.stderr.exp 28 <arg>--log-file=/dev/null</arg>
54 <file>hg_intercepts.c</file>
62 <file>hg_intercepts.c</file>
70 <file>tc06_two_races.c</file>
90 <file>tc06_two_races.c</file>
104 <file>tc06_two_races.c</file
    [all...]
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.h 5 * you may not use this file except in compliance with the License.
28 * the produced output file.
42 /// The file position where the error occurred, in the case of a syntax error.
53 /// The offset in the produced output file where the signatures are located.
56 /// The file position where the error occurred, in the case of a syntax error.
71 * @param[in] fileDesc The file descriptor of a file opened for reading.
83 * @param[in] fileDesc The file descriptor of a file opened for writing.
95 * @param[in] fileDesc The file descriptor of a file opened for writing
    [all...]
  /frameworks/base/core/java/android/util/
AtomicFile.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
29 * Helper class for performing atomic operations on a file by creating a
30 * backup file until a write has successfully completed. If you need this
34 * Atomic file guarantees file integrity by ensuring that a file has
36 * As long as the backup file exists, the original file is considered
37 * to be invalid (left over from a previous attempt to write the file)
    [all...]
  /frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
MultiLayoutVerificationTest.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
57 File file = new File(report.getFilePath()); local
58 assertTrue(file.exists());
61 switch (file.getParentFile().getName()) {
63 assertEquals(new File(testFolder,
65 .getCanonicalFile(), file.getCanonicalFile());
76 assertEquals(new File(testFolder
115 File file = new File(report.getFilePath()); local
170 File file = new File(report.getFilePath()); local
224 File file = new File(report.getFilePath()); local
    [all...]
  /developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 5 * you may not use this file except in compliance with the License.
38 import java.io.File;
87 // A file object at the root of the file hierarchy. Depending on your implementation, the root
88 // does not need to be an existing file system directory. For example, a tag-based document
90 private File mBaseDir;
143 // that contain the desired type somewhere in their file hierarchy.
158 // This example implementation walks a local file structure to find the most recently
165 final File parent = getFileForDocId(rootId);
168 PriorityQueue<File> lastModifiedFiles = new PriorityQueue<File>(5, new Comparator<File>()
185 final File file = pending.removeFirst(); local
197 final File file = lastModifiedFiles.remove(); local
229 final File file = pending.removeFirst(); local
251 final File file = getFileForDocId(documentId); local
301 final File file = getFileForDocId(documentId); local
    [all...]
  /developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 5 * you may not use this file except in compliance with the License.
38 import java.io.File;
87 // A file object at the root of the file hierarchy. Depending on your implementation, the root
88 // does not need to be an existing file system directory. For example, a tag-based document
90 private File mBaseDir;
143 // that contain the desired type somewhere in their file hierarchy.
158 // This example implementation walks a local file structure to find the most recently
165 final File parent = getFileForDocId(rootId);
168 PriorityQueue<File> lastModifiedFiles = new PriorityQueue<File>(5, new Comparator<File>()
185 final File file = pending.removeFirst(); local
197 final File file = lastModifiedFiles.remove(); local
229 final File file = pending.removeFirst(); local
251 final File file = getFileForDocId(documentId); local
301 final File file = getFileForDocId(documentId); local
    [all...]
  /development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
MyCloudProvider.java 5 * you may not use this file except in compliance with the License.
38 import java.io.File;
87 // A file object at the root of the file hierarchy. Depending on your implementation, the root
88 // does not need to be an existing file system directory. For example, a tag-based document
90 private File mBaseDir;
143 // that contain the desired type somewhere in their file hierarchy.
158 // This example implementation walks a local file structure to find the most recently
165 final File parent = getFileForDocId(rootId);
168 PriorityQueue<File> lastModifiedFiles = new PriorityQueue<File>(5, new Comparator<File>()
185 final File file = pending.removeFirst(); local
197 final File file = lastModifiedFiles.remove(); local
229 final File file = pending.removeFirst(); local
251 final File file = getFileForDocId(documentId); local
301 final File file = getFileForDocId(documentId); local
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ReadableFileReceiverActivity.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
58 // file regardless of this permission, but in general this permission is required.
63 List<File> files = getFilesFromIntent(intent);
68 for (File file : files) {
69 if (!testFileContents(file)) {
70 Log.e(TAG, "File contents of " + file.getPath()
79 private ArrayList<File> getFilesFromIntent(Intent intent)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
HeaderItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
24 * File header section of a {@code .dex} file.
28 * {@code non-null;} the file format magic number, represented as the
60 public void addContents(DexFile file) {
66 public void writeTo(DexFile file, AnnotatedOutput out) {
67 int mapOff = file.getMap().getFileOffset();
68 Section firstDataSection = file.getFirstDataSection();
69 Section lastDataSection = file.getLastDataSection()
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
HeaderItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
26 * File header section of a {@code .dex} file.
50 public void addContents(DexFile file) {
56 public void writeTo(DexFile file, AnnotatedOutput out) {
57 int mapOff = file.getMap().getFileOffset();
58 Section firstDataSection = file.getFirstDataSection();
59 Section lastDataSection = file.getLastDataSection();
64 String magic = file.getDexOptions().getMagic()
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
HeaderItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
26 * File header section of a {@code .dex} file.
50 public void addContents(DexFile file) {
56 public void writeTo(DexFile file, AnnotatedOutput out) {
57 int mapOff = file.getMap().getFileOffset();
58 Section firstDataSection = file.getFirstDataSection();
59 Section lastDataSection = file.getLastDataSection();
64 String magic = file.getDexOptions().getMagic()
    [all...]
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/
ProgressListenerImpl.java 27 import java.io.File;
46 public ProgressListenerImpl(File projectFolder, MigratorFrame frame) {
48 this.abbr = new Abbreviator((int) projectFolder.length(), TARGET_FILE_LENGTH, File.separatorChar);
65 public void onDirectory(File file) {
69 String abbreviatedName = getShortName(file);
85 public void onFileAddition(File file) {
89 public void onFileScan(File file) {
    [all...]
  /external/webrtc/src/system_wrappers/interface/
trace.h 5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
11 // System independant wrapper for logging runtime information to file.
12 // Note: All log messages will be written to the same trace file.
13 // Note: If to many messages are written to file there will be a build up of
32 // Note: any instance that writes to the trace file should increment and
36 // Specifies what type of messages should be written to the trace file. The
39 // TraceLevel enumerator not defined in this file?
42 // Returns what type of messages are written to the trace file
    [all...]
  /frameworks/base/docs/html/training/secure-file-sharing/
index.jd 16 <li>Familiarity with file operations such as opening, reading, and writing files</li>
31 gallery may want to offer files to image editors, or a file management app may want to allow
33 share a file is to respond to a request from the receiving app.
36 In all cases, the only secure way to offer a file from your app to another app is to send the
37 receiving app the file's content URI and grant temporary access permissions to that URI.
42 generating a file's content URI.
57 <dt><b><a href="setup-sharing.html">Setting Up File Sharing</a></b></dt>
61 <dt><b><a href="share-file.html">Sharing a File</a></b></dt>
63 Learn how to offer a file to another app by generating a content URI for the file
    [all...]

Completed in 487 milliseconds

<<41424344454647484950>>