/frameworks/base/tools/aapt2/dump/ |
H A D | Dump.cpp | 5 * you may not use this file except in compliance with the License. 36 std::unique_ptr<ResourceFile> file = deserializeCompiledFileFromPb(pbFile, source, local 38 if (!file) { 42 std::cout << "Resource: " << file->name << "\n" 43 << "Config: " << file->config << "\n" 44 << "Source: " << file->source << "\n"; 62 io::IFile* file = zip->findFile("resources.arsc.flat"); local 63 if (file) { 64 std::unique_ptr<io::IData> data = file->openAsData(); 89 Maybe<android::FileMap> file local [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 5 // This file is distributed under the University of Illinois Open Source 75 std::string file; local 78 file.assign(pNamespec); 82 SpecToFilename(pNamespec, file); 98 if (file == entry.path()->filename().native()) 106 if (file == entry.path()->stem().native()) { 120 if (file == entry.path()->stem().native() && 140 std::string file; local 143 file.assign(pNamespec); 147 SpecToFilename(pNamespec, file); [all...] |
/frameworks/support/documents-archive/tests/src/android/support/provider/ |
H A D | TestUtils.java | 5 * you may not use this file except in compliance with the License. 32 * Saves a file from resources to a temporary location and returns a File instance for it. 37 final File file = File.createTempFile("android.support.provider.tests{", 43 file, ParcelFileDescriptor.MODE_WRITE_ONLY)); 52 return file;
|
/frameworks/native/services/inputflinger/tests/ |
H A D | Android.mk | 28 $(foreach file,$(test_src_files), \ 33 $(eval LOCAL_SRC_FILES := $(file)) \ 34 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/ |
H A D | build_vc.pl | 5 * you may not use this file except in compliance with the License. 28 # This file builds the OpenMAX DL vc domain library omxVC.o. 49 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 55 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 59 # Fix the file separators in the header paths 74 # Compile each file 75 foreach $file (@filelist) 82 chomp($file); 83 $file = File::Spec->canonpath($file); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/ |
H A D | build_vc.pl | 5 * you may not use this file except in compliance with the License. 28 # This file builds the OpenMAX DL vc domain library omxVC.o. 49 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 55 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 59 # Fix the file separators in the header paths 74 # Compile each file 75 foreach $file (@filelist) 82 chomp($file); 83 $file = File::Spec->canonpath($file); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/ |
H A D | build_vc.pl | 5 * you may not use this file except in compliance with the License. 28 # This file builds the OpenMAX DL vc domain library omxVC.o. 49 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 55 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 59 # Fix the file separators in the header paths 74 # Compile each file 75 foreach $file (@filelist) 82 chomp($file); 83 $file = File::Spec->canonpath($file); [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureLibraries.java | 5 * you may not use this file except in compliance with the License. 67 final File file = mPath; 69 final File parentFile = file.getParentFile(); 79 file.createNewFile(); 80 mStore.save(new FileOutputStream(file), true); 93 final File file = mPath; 94 if (file.exists() && file.canRead()) { 96 mStore.load(new FileInputStream(file), true);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | MountServiceTests.java | 5 * you may not use this file except in compliance with the License. 128 private void mountObb(StorageManager sm, final int resource, final File file, argument 130 copyRawToFile(resource, file); 133 assertTrue("mountObb call on " + file.getPath() + " should succeed", 134 sm.mountObb(file.getPath(), null, observer)); 140 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath())); 143 assertEquals("Actual file and resolved file should be the same", 144 file.getPath(), observer.getPath()); 150 final File file) { 149 mountObbWithoutWait(final StorageManager sm, final int resource, final File file) argument 160 waitForObbActionCompletion(final StorageManager sm, final File file, final ObbObserver observer, int expectedState, boolean checkPath) argument 174 checkMountedPath(final StorageManager sm, final File file) argument 182 unmountObb(final StorageManager sm, final File file, int expectedState) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.h | 19 const sp<AaptFile>& file, String8* outNewLeafName); 24 ResourceTable* table, const sp<AaptFile>& file);
|
/frameworks/native/docs/ |
H A D | Makefile | 12 for file in jd/*.html; do mv "$${file}" "$${file/.html/.jd}"; done
|
/frameworks/rs/api/ |
H A D | GenerateStubsWhiteList.cpp | 5 * you may not use this file except in compliance with the License. 388 /* Generate the white list file of the mangled function prototypes. This generated list is used 410 GeneratedFile file; local 411 if (!file.start(".", "RSStubsWhiteList.cpp")) { 415 file.writeNotices(); 416 file << "#include \"RSStubsWhiteList.h\"\n\n"; 417 file << "std::vector<std::string> stubList = {\n"; 419 file << "\"" << e << "\",\n"; 421 file << "};\n"; 426 // Add a uniquely named variable definition to the file an 427 addVariable(GeneratedFile* file, unsigned int* variableNumber) argument 440 generateTestCall(GeneratedFile* file, ostringstream* calls, unsigned int* variableNumber, const Function& function, const FunctionPermutation& permutation) argument 484 GeneratedFile file; local [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 5 * you may not use this file except in compliance with the License. 75 // docId format: root:path/to/file 270 private String getDocIdForFile(File file) throws FileNotFoundException { argument 271 return getDocIdForFileMaybeCreate(file, false); 274 private String getDocIdForFileMaybeCreate(File file, boolean createNewDir) argument 276 String path = file.getAbsolutePath(); 307 if (!file.exists() && createNewDir) { 308 Log.i(TAG, "Creating new directory " + file); 309 if (!file.mkdir()) { 310 Log.e(TAG, "Could not create directory " + file); 348 includeFile(MatrixCursor result, String docId, File file) argument 689 getTypeForFile(File file) argument 710 startObserving(File file, Uri notifyUri) argument 725 stopObserving(File file) argument 750 DirectoryObserver(File file, ContentResolver resolver, Uri notifyUri) argument 774 DirectoryCursor(String[] columnNames, String docId, File file) argument [all...] |
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
H A D | HugeAgent.java | 5 * you may not use this file except in compliance with the License. 57 /** The app's current data, read from the live disk file */ 62 /** The location of the application's persistent data file */ 75 * blob describing the last dataset backed up. The state file 89 // First, get the current data from the application's file. This 96 RandomAccessFile file = new RandomAccessFile(mDataFile, "r"); 97 mFilling = file.readInt(); 98 mAddMayo = file.readBoolean(); 99 mAddTomato = file.readBoolean(); 102 // If the new state file descripto [all...] |
/frameworks/support/v4/java/android/support/v4/provider/ |
H A D | RawDocumentFile.java | 5 * you may not use this file except in compliance with the License. 30 RawDocumentFile(DocumentFile parent, File file) { argument 32 mFile = file; 127 for (File file : files) { 128 results.add(new RawDocumentFile(this, file)); 162 for (File file : files) { 163 if (file.isDirectory()) { 164 success &= deleteContents(file); 166 if (!file.delete()) { 167 Log.w(TAG, "Failed to delete " + file); [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
H A D | GenerationalClassUtil.java | 5 * you may not use this file except in compliance with the License. 44 * A utility class that helps adding build specific objects to the jar file 71 final File file = new File(url.toURI()); 72 if (!file.exists()) { 73 L.d("cannot load file for %s", url); 76 if (file.isDirectory()) { 78 loadFromDirectory(file); 80 // assume it is a zip file 81 loadFomZipFile(file); 84 L.d("cannot open zip file fro 118 loadFomZipFile(File file) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | locks.c | 5 * you may not use this file except in compliance with the License. 44 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument 67 SL_LOGE("%s:%d: recursive lock detected", file, line); 70 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok); 87 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 107 " %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 111 " state by pthread %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), 117 thiz->mFile = file; 135 void object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument 141 thiz->mFile = file; 162 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument 288 object_cond_wait_(IObject *thiz, const char *file, int line) argument [all...] |
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | reg.py | 28 file = kwargs.pop('file',sys.stdout) 30 file.write( ' '.join([str(arg) for arg in args]) ) 31 file.write( end ) 211 # filename - name of file to generate, or None to write to stdout. 275 # generated around a feature interface in the header file. 323 # Manages basic logic, logging, and output file control 328 # errFile, warnFile, diagFile - file handles to write errors, 334 # beginFile(genOpts) - start a new interface file 336 # endFile() - finish an interface file, closin [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmUtils.java | 5 * you may not use this file except in compliance with the License. 37 /* Should be used when we need to read from local file */ 39 File file = new File(path); 40 return readBytes(file); 43 /* Should be used when we need to read from local file */ 44 /* package */ static byte[] readBytes(File file) throws IOException { argument 45 FileInputStream inputStream = new FileInputStream(file); 78 File file = new File(path); 79 file.delete();
|
/frameworks/native/libs/input/tests/ |
H A D | Android.mk | 17 $(foreach file,$(test_src_files), \ 22 $(eval LOCAL_SRC_FILES := $(file)) \ 23 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
|
/frameworks/rs/ |
H A D | rsApiFileA3D.cpp | 5 * you may not use this file except in compliance with the License. 23 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { argument 24 FileA3D *fa3d = static_cast<FileA3D *>(file); 26 ALOGE("Can't load entry. No valid file"); 37 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { argument 38 FileA3D *fa3d = static_cast<FileA3D *>(file); 47 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, RsFile file) { argument 48 FileA3D *fa3d = static_cast<FileA3D *>(file); 51 ALOGE("Can't load index entries. No valid file"); 112 ALOGE("Could not open file [all...] |
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
H A D | MultiLayoutVerificationTest.java | 5 * you may not use this file except in compliance with the License. 57 File file = new File(report.getFilePath()); 58 assertTrue(file.exists()); 61 String name = file.getParentFile().getName(); 65 .getCanonicalFile(), file.getCanonicalFile()); 77 .getCanonicalFile(), file.getCanonicalFile()); 87 fail("unexpected error file"); 113 File file = new File(report.getFilePath()); 114 assertTrue(file.exists()); 118 String name = file [all...] |
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportStorageProvider.java | 5 * you may not use this file except in compliance with the License. 106 for (File file : files) { 107 addFileRow(result, file); 163 private String getDocIdForFile(File file) { argument 164 return DOC_ID_ROOT + ":" + file.getName(); 174 final File file = new File(mRoot, name); 175 if (!file.exists()) { 178 return file; 181 private void addFileRow(MatrixCursor result, File file) { argument 182 String mimeType = getTypeForName(file [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | BandwidthTestUtil.java | 5 * you may not use this file except in compliance with the License. 47 * Parses the first line in a file if exists. 49 * @param file {@link File} the input 50 * @return the integer value of the first line of the file. 52 public static int parseIntValueFromFile(File file) { argument 54 if (file.exists()) { 56 FileInputStream fstream = new FileInputStream(file); 76 * @param size in bytes of the file to download 89 * Download a given file from a target url to a given destination file 94 DownloadFromUrl(String targetUrl, File file) argument 126 postFileToServer(String server, String deviceId, String timestamp, File file) argument [all...] |
/frameworks/base/core/tests/coretests/apks/install_bad_dex/ |
H A D | Android.mk | 10 # Override target specific variable PRIVATE_DEX_FILE to inject bad classes.dex file.
|