Searched refs:file (Results 201 - 225 of 546) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer_test.cpp5 * you may not use this file except in compliance with the License.
139 std::unique_ptr<ResourceFile> file = deserializeCompiledFileFromPb(*newPbFile, Source{ "test" }, local
141 ASSERT_NE(nullptr, file);
147 ASSERT_EQ(1u, file->exportedSymbols.size());
148 EXPECT_EQ(test::parseNameOrDie(u"@+id/unchecked"), file->exportedSymbols[0].name);
H A DTableProtoSerializer.cpp5 * you may not use this file except in compliance with the License.
61 void visit(FileReference* file) override {
62 getPbItem()->mutable_file()->set_path_idx(file->path.getIndex());
276 std::unique_ptr<pb::CompiledFile> serializeCompiledFileToPb(const ResourceFile& file) { argument
278 pbFile->set_resource_name(util::utf16ToUtf8(file.name.toString()));
279 pbFile->set_source_path(file.source.path);
280 serializeConfig(file.config, pbFile->mutable_config());
282 for (const SourcedResourceName& exported : file.exportedSymbols) {
/frameworks/base/tools/aapt2/util/
H A DFiles.h5 * you may not use this file except in compliance with the License.
33 namespace file { namespace in namespace:aapt
94 * Creates a FileMap for the file at path.
99 * Reads the file at path and appends each line to the outArgList vector.
119 * about the file being ignored.
121 * or <file> to match only files. Default is to match both.
141 } // namespace file
/frameworks/compile/mclinker/include/mcld/Script/
H A DInputSectDesc.h5 // This file is distributed under the University of Illinois Open Source
32 const WildcardPattern& file() const { function in struct:mcld::InputSectDesc::Spec
/frameworks/native/opengl/tools/glgen2/
H A Dglgen.py6 # you may not use this file except in compliance with the License.
132 file=self.outFile)
196 file=outfile)
201 print('GL_ENUM(%s,%s)' % (enum[0], enum[1]), file=outfile)
215 file=self.outFile)
297 # so terrible that the .spec file needs a lot of manual massaging before
/frameworks/rs/
H A DrsContext.h5 * you may not use this file except in compliance with the License.
199 void setWatchdogGL(const char *cmd, uint32_t line, const char *file) const {
201 watchdog.file = file;
238 const char *file; member in struct:android::renderscript::Context::__anon1670
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DDocumentsProviderHelper.java5 * you may not use this file except in compliance with the License.
139 ParcelFileDescriptor file = mClient.openFile(documentUri, "w", null);
140 try (AutoCloseOutputStream out = new AutoCloseOutputStream(file)) {
146 ParcelFileDescriptor file = mClient.openFile(documentUri, "r", null);
148 try (AutoCloseInputStream in = new AutoCloseInputStream(file)) {
156 assertEquals("Incorrect file count after copy", expected, children.size());
161 assertEquals("Incorrect file count after copy", expected, children.size());
175 fail("Could not find file named=" + name + " in children " + children);
274 "Copied file contents differ",
280 DocumentInfo file
[all...]
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java5 * you may not use this file except in compliance with the License.
95 * this file doesn't already exist, then create the file with permissions
104 * a file, such as when it goes through a backup and restore.
111 * this file doesn't already exist, then create the file with permissions
120 * a file, such as when it goes through a backup and restore.
126 * For use with {@link #open}: open the file with read-only access.
131 * For use with {@link #open}: open the file with write-only access.
136 * For use with {@link #open}: open the file wit
199 open(File file, int mode) argument
224 open(File file, int mode, Handler handler, final OnCloseListener listener) argument
276 openInternal(File file, int mode) argument
[all...]
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp5 * you may not use this file except in compliance with the License.
49 * - the file data itself
51 * i.e. a 16-byte metadata header followed by the raw file data. If the
53 * interpret the file data itself correctly.
105 FileState file; local
108 amt = read(fd, &file, sizeof(FileState));
116 int nameBufSize = round_up(file.nameLen);
122 snapshot->add(String8(filename, file.nameLen), file); local
240 // store the file metadat
308 compute_crc32(const char* file, FileRec* out) argument
352 char const* file = files[i]; local
[all...]
/frameworks/multidex/library/src/android/support/multidex/
H A DMultiDexExtractor.java5 * you may not use this file except in compliance with the License.
124 Log.i(TAG, "Invalid zip file: " + extractedFile);
125 throw new IOException("Invalid ZIP file.");
128 throw new IOException("Missing extracted secondary dex file '" +
167 // contains a secondary dex file in there is not consistent with the latest apk. Otherwise,
185 Log.i(TAG, "Extraction is needed for file " + extractedFile);
191 // Create a zip file (extractedFile) containing only the secondary dex file
195 // Verify that the extracted file is indeed a zip file
319 verifyZipFile(File file) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAssetAtlasService.java5 * you may not use this file except in compliance with the License.
416 * Returns the path to the file containing the best computed
458 * Writes the specified atlas configuration to the specified file.
460 private void writeConfiguration(Configuration config, File file, String versionName) { argument
463 writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file)));
477 Log.w(LOG_TAG, "Could not write " + file, e);
479 Log.w(LOG_TAG, "Could not write " + file, e);
492 * Reads an atlas configuration from the specified file. This method
495 private Configuration readConfiguration(File file, String versionName) { argument
499 reader = new BufferedReader(new InputStreamReader(new FileInputStream(file)));
[all...]
H A DLockSettingsStorage.java5 * you may not use this file except in compliance with the License.
305 Slog.e(TAG, "Cannot read file " + e);
311 Slog.e(TAG, "Error closing file " + e);
323 // Write the hash to file
325 // Truncate the file if pattern is null, to clear the lock
333 Slog.e(TAG, "Error writing to file " + e);
339 Slog.e(TAG, "Error closing file " + e);
348 if (DEBUG) Slog.e(TAG, "Delete file " + name);
350 File file = new File(name);
351 if (file
[all...]
/frameworks/base/data/fonts/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
79 # $(1): The source file name in LOCAL_PATH.
80 # It also serves as the module name and the dest file name.
/frameworks/support/
H A Dapicheck.mk4 # you may not use this file except in compliance with the License.
24 # $(api_check_current_msg_file) - file containing error message for current API check
25 # $(api_check_last_msg_file) - file containing error message for last SDK API check
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java5 * you may not use this file except in compliance with the License.
68 * guarantee the security of the OBB file itself: if any program modifies the
420 * Mount an Opaque Binary Blob (OBB) file. If a <code>key</code> is
430 * file matches a package ID that is owned by the calling program's UID.
434 * @param rawPath the path to the OBB file
457 * Unmount an Opaque Binary Blob (OBB) file asynchronously. If the
465 * file matches a package ID that is owned by the calling program's UID.
470 * @param rawPath path to the OBB file
506 * Check the mounted path of an Opaque Binary Blob (OBB) file. This will
831 * Return the {@link StorageVolume} that contains the given file, o
833 getStorageVolume(File file) argument
838 getStorageVolume(File file, int userId) argument
843 getStorageVolume(StorageVolume[] volumes, File file) argument
1091 isEncrypted(File file) argument
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp5 * you may not use this file except in compliance with the License.
699 FILE* file = fdopen(fd, "a"); local
700 fprintf(file, "\n\n---PROFILEDATA---\n");
702 fprintf(file, "%s", FrameInfoNames[i].c_str());
703 fprintf(file, ",");
710 fprintf(file, "\n");
712 fprintf(file, "%" PRId64 ",", frame[i]);
715 fprintf(file, "\n---PROFILEDATA---\n\n");
716 fflush(file);
729 FILE * file local
[all...]
/frameworks/av/camera/cameraserver/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/av/camera/tests/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/av/cmds/screenrecord/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/av/media/libeffects/proxy/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/av/media/utils/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/av/radio/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/av/services/mediadrm/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/av/services/radio/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/av/services/soundtrigger/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.

Completed in 470 milliseconds

1234567891011>>