/frameworks/rs/ |
H A D | update_rs_prebuilts.sh | 194 file=`basename $a` 195 name="${file%.*}" 196 cp $obj_lib_dir/${name}_intermediates/$file $a || exit 4 200 file=`basename $a` 201 cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 5 205 file=`basename $a` 206 name="${file%.*}" 207 cp $obj_static_lib_dir/${name}_intermediates/$file $a || exit 4
|
/frameworks/support/compat/java/android/support/v4/content/res/ |
H A D | ResourcesCompat.java | 5 * you may not use this file except in compliance with the License. 229 final String file = value.string.toString(); 230 if (!file.startsWith("res/")) { 241 if (file.toLowerCase().endsWith(".xml")) { 252 return TypefaceCompat.createFromResourcesFontFile(context, wrapper, id, file, style); 254 Log.e(TAG, "Failed to parse xml resource " + file, e); 256 Log.e(TAG, "Failed to read xml resource " + file, e);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 5 * you may not use this file except in compliance with the License. 86 // Just a few popular file types used to return from a download 334 * Helper to verify the size of a file. 336 * @param pfd The input file to compare the size of 337 * @param size The expected size of the file 344 * Helper to verify the contents of a downloaded file versus a byte[]. 346 * @param actual The file of whose contents to verify 347 * @param expected The data we expect to find in the aforementioned file 348 * @throws IOException if there was a problem reading from the file 381 * Verifies the contents of a downloaded file versu 387 verifyFileContents(ParcelFileDescriptor pfd, File file) argument 862 waitForFileToGrow(File file) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | DropBoxManagerService.java | 5 * you may not use this file except in compliance with the License. 85 // TODO: This implementation currently uses one file per entry, which is 86 // inefficient for smallish entries -- consider using a single queue file 351 final File file = entry.getFile(mDropBoxDir); 354 entry.tag, entry.timestampMillis, file, entry.flags); 356 Slog.wtf(TAG, "Can't read: " + file, e); 357 // Continue to next file 383 } else if (args[i].equals("-f") || args[i].equals("--file")) { 387 pw.println(" [-h|--help] [-p|--print] [-f|--file] [timestamp]"); 390 pw.println(" -f|--file 605 EntryFile(File file, int blockSize) argument [all...] |
/frameworks/ml/nn/tools/test_generator/ |
H A D | test_generator.py | 6 # you may not use this file except in compliance with the License. 59 print (" " + x + ";", file=filename) 172 print (" OperandType " + str(value.__name) + "(Type::" + str(key) + ");", file=filename) 570 print ("Unhandled type %s"%ty, file = sys.stderr) 593 print ('// Generated file%s. Do not edit' % (spec_file), 594 file = example_file) 596 print ('// Begin of an example', file = example_file) 597 print ('{', file = example_file) 600 print ('//Input(s)\n%s,' % inputs , file = example_file) 601 print ('//Output(s)\n%s' % outputs, file 787 file=sys.stderr) variable 816 file=model_file) variable [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 5 * you may not use this file except in compliance with the License. 400 /** 3GPP media file format*/ 402 /** MPEG4 media file format*/ 408 * AMR NB file format 413 /** AMR NB file format */ 416 /** AMR WB file format */ 419 /** @hide AAC ADIF file format */ 422 /** AAC ADTS file format */ 478 * called, the output file will not contain an audio track. The source needs 499 * called, the output file wil 855 setOutputFile(File file) argument 918 setNextOutputFile(File file) argument [all...] |
H A D | MediaMuxer.java | 5 * you may not use this file except in compliance with the License. 36 * and 3GP file as the output. It also supports muxing B-frames in MP4 since Android Nougat. 79 generated MP4 file uses TextMetaDataSampleEntry defined in section 12.3.3.2 of the ISOBMFF to signal 80 the metadata's mime format. When using{@link android.media.MediaExtractor} to extract the file with 261 /** MPEG4 media file format*/ 263 /** WEBM media file format*/ 265 /** 3GPP media file format*/ 309 * @param path The path of the output media file. 310 * @param format The format of the output media file. 313 * @throws IOException if failed to open the file fo [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger.cpp | 5 * you may not use this file except in compliance with the License. 68 // The old file's path points inside the APK, so we can use it as is. 72 << "file '" << *old_file->path << "' not found"); 76 new_file->file = f; 115 // The old file's path points inside the APK, so we can use it as is. 119 DiagMessage(src) << "file '" << *old_file->path << "' not found"); 123 new_file->file = f; 350 bool TableMerger::MergeFileImpl(const ResourceFile& file_desc, io::IFile* file, bool overlay) { argument 356 file_ref->file = file; 368 MergeFile(const ResourceFile& file_desc, io::IFile* file) argument 372 MergeFileOverlay(const ResourceFile& file_desc, io::IFile* file) argument [all...] |
H A D | XmlCompatVersioner.cpp | 5 * you may not use this file except in compliance with the License. 107 std::unique_ptr<xml::XmlResource> cloned_doc = util::make_unique<xml::XmlResource>(doc->file); 108 cloned_doc->file.config.sdkVersion = static_cast<uint16_t>(target_api); 134 api_range.start = std::max(api_range.start, static_cast<ApiVersion>(doc->file.config.sdkVersion)); 142 versioned_docs.back()->file.config.sdkVersion = doc->file.config.sdkVersion;
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 5 * you may not use this file except in compliance with the License. 66 // handle of the file to play 67 FILE *file; variable 69 // has the app reached the end of the file 120 rewind(file); 193 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file); 301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); 349 // open the file to play 350 file = fopen(utf8, "rb"); 351 if (file [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
H A D | LoaderDicom.java | 5 * you may not use this file except in compliance with the License.
141 public TagSet read(File file, int[] tags) throws Exception {
argument 142 mName = file.getName();
148 RandomAccessFile f = new RandomAccessFile(file, "r");
291 for (File file : files) {
292 if (file.isDirectory()) {
295 if (file.getName().equals(".DS_Store")) {
306 for (File file : files) {
307 if (file.isDirectory()) {
310 if (file [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | Main.java | 5 * you may not use this file except in compliance with the License. 178 // Operation: Export the output to a file 183 // Operation: Import the input from a file or directory 186 File file = new File(it.next()); 187 if (!file.exists()) { 189 String.format("File does not exist, %s.", file.getAbsolutePath())); 190 } else if (file.isFile()) { 192 ui.input(file); 193 } else if (file.isDirectory()) { 194 for (File content : file [all...] |
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
H A D | MockFontProvider.java | 5 * you may not use this file except in compliance with the License. 203 for (String file : FONT_FILES) { 206 is = mgr.open("fonts/" + file); 207 File copied = getCopiedFile(context, file); 233 private static void copy(InputStream is, File file) throws IOException { argument 236 fos = new FileOutputStream(file, false); 250 for (String file : FONT_FILES) { 251 getCopiedFile(context, file).delete(); 268 "Failed to found font file. You might forget call prepareFontFiles in setUp");
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
H A D | slesTestPlayStream.cpp | 5 * you may not use this file except in compliance with the License. 44 FILE *file; variable 45 /* Has the app reached the end of the file */ 87 // to play a .ts file, but rather shows more ways to exercise the API 108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file); 150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file); 205 file = fopen(path, "rb"); 294 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) { 308 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0) { 372 fclose(file); [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Process.cpp | 6 ** you may not use this file except in compliance with the License. 348 FILE *file; local 372 file = fopen(filename, "re"); 373 if (file != NULL) { 377 ssize_t num_read = getline(&line, &len, file); 378 fclose (file); 680 String8 file(file8); 719 int fd = open(file.string(), O_RDONLY); 728 ALOGW("Unable to read %s", file.string()); 770 ALOGW("Unable to open %s", file 777 android_os_Process_getPids(JNIEnv* env, jobject clazz, jstring file, jintArray lastArray) argument 1012 android_os_Process_readProcFile(JNIEnv* env, jobject clazz, jstring file, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument 1096 UniqueFile file = OpenSmapsOrRollup(pid); local [all...] |
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/ |
H A D | ScopedException.java | 5 * you may not use this file except in compliance with the License. 41 public static final String FILE_KEY = "file:"; 71 .append("file://").append(scopedError.getFilePath()); 105 String file = ""; 118 file = output.substring(fileStart + FILE_KEY.length()); 120 file = output.substring(fileStart + FILE_KEY.length(), locStart); 141 new ScopedErrorReport(Strings.isNullOrEmpty(file) ? null : file.trim(), locations));
|
/frameworks/base/tools/aapt2/io/ |
H A D | ZipArchive.cpp | 5 * you may not use this file except in compliance with the License. 117 std::unique_ptr<IFile> file = local 119 collection->files_by_name_[zip_entry_path] = file.get(); 120 collection->files_.push_back(std::move(file));
|
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/ |
H A D | LocalizeDependenciesTask.groovy | 5 * you may not use this file except in compliance with the License. 36 import org.eclipse.aether.transport.file.FileTransporterFactory 155 def boolean isInGit(File file) { 156 if (!file.getCanonicalPath().startsWith(localRepoDir.getCanonicalPath())) { 157 println("$file is in another git repo, ignore for license") 160 def gitSt = ["git", "status", "--porcelain", file.getCanonicalPath()]. 164 throw new RuntimeException("unable to get git status for $file. ${gitSt.err.text}") 188 def alreadyInGit = isInGit(resolved.artifact.file) 189 println(" |-> resolved ${resolved.artifact.file}. Already in git? $alreadyInGit") 236 File unwanted = new File(resolved.artifact.file [all...] |
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 37 -D jack.preprocessor.file=$(LOCAL_PATH)/test.jpp -D jack.dex.output.multidex.legacy=true 80 -D jack.preprocessor.file=$(LOCAL_PATH)/test.jpp -D jack.dex.output.multidex.legacy=true
|
/frameworks/base/lowpan/tests/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 33 # Transform java file names into full class names. 34 # This only works if the class name matches the file name and the directory structure
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PacManager.java | 5 * you may not use this file except in compliance with the License. 111 String file; 116 file = get(pacUrl); 118 file = null; 119 Log.w(TAG, "Failed to load PAC file: " + ioe); 123 if (file != null) { 125 if (!file.equals(mCurrentPac)) { 126 setCurrentProxyScript(file); 290 Log.e(TAG, "Unable to set PAC file", e); 303 // Already bound no need to bind again, just download the new file [all...] |
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoSerializer_test.cpp | 5 * you may not use this file except in compliance with the License. 174 // Read the first compiled file. 179 std::unique_ptr<ResourceFile> file = DeserializeCompiledFileFromPb( local 181 ASSERT_THAT(file, NotNull()); 192 ASSERT_EQ(1u, file->exported_symbols.size()); 193 EXPECT_EQ(test::ParseNameOrDie("id/unchecked"), file->exported_symbols[0].name); 195 // Read the second compiled file. 199 file = DeserializeCompiledFileFromPb(new_pb_file, Source("test"), context->GetDiagnostics()); 200 ASSERT_THAT(file, NotNull());
|
/frameworks/base/wifi/tests/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 33 # Transform java file names into full class names. 34 # This only works if the class name matches the file name and the directory structure
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
H A D | asm_common.S | 5 @ you may not use this file except in compliance with the License.
|
/frameworks/base/apct-tests/perftests/multiuser/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License.
|