/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. 66 final File file = mPath; 68 final File parentFile = file.getParentFile(); 78 file.createNewFile(); 79 mStore.save(new FileOutputStream(file), true); 92 final File file = mPath; 93 if (file.exists() && file.canRead()) { 95 mStore.load(new FileInputStream(file), true);
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | FilePart.java | 9 * contributor license agreements. See the NOTICE file distributed with 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 44 * consists of a file. 64 /** Default content encoding of file attachments. */ 67 /** Default charset of file attachments. */ 70 /** Default transfer encoding of file attachments. */ 76 /** Attachment's file name */ 79 /** Attachment's file name as a byte array */ 83 /** Source of the file par 130 FilePart(String name, File file) argument 148 FilePart(String name, File file, String contentType, String charset) argument 163 FilePart(String name, String fileName, File file) argument 182 FilePart(String name, String fileName, File file, String contentType, String charset) 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);
|
H A D | OutputSet.h | 5 * you may not use this file except in compliance with the License. 30 OutputEntry(const android::String8& path, const android::sp<const AaptFile>& file) argument 31 : mPath(path), mFile(file) {}
|
H A D | ApkBuilder.h | 5 * you may not use this file except in compliance with the License. 47 * Adds a file to be written to the final APK. It's name must not collide 52 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file); 72 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file); 82 bool matches(const sp<AaptFile>& file) const { 83 return mFilter->match(file->getGroupEntry().toParams());
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | A3DSelector.java | 5 * you may not use this file except in compliance with the License. 42 public boolean accept(File file) { argument 43 if (file.isDirectory()) { 46 return file.getName().endsWith(".a3d"); 50 private void populateList(File file) { argument 52 mCurrentFile = file;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FileSelector.java | 5 * you may not use this file except in compliance with the License. 42 public boolean accept(File file) { argument 43 if (file.isDirectory()) { 46 return file.getName().endsWith(".dae"); 50 private void populateList(File file) { argument 52 mCurrentFile = file;
|
/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/wilhelm/src/ |
H A D | locks.c | 5 * you may not use this file except in compliance with the License. 45 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument 68 SL_LOGE("%s:%d: recursive lock detected", file, line); 71 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok); 88 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 108 " %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 112 " state by pthread %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), 118 thiz->mFile = file; 136 void object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument 142 thiz->mFile = file; 163 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument 289 object_cond_wait_(IObject *thiz, const char *file, int line) argument [all...] |
/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. 140 private void mountObb(StorageManager sm, final int resource, final File file, argument 142 copyRawToFile(resource, file); 145 assertTrue("mountObb call on " + file.getPath() + " should succeed", 146 sm.mountObb(file.getPath(), null, observer)); 152 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath())); 155 assertEquals("Actual file and resolved file should be the same", 156 file.getPath(), observer.getPath()); 162 final File file) { 161 mountObbWithoutWait(final StorageManager sm, final int resource, final File file) argument 172 waitForObbActionCompletion(final StorageManager sm, final File file, final ObbObserver observer, int expectedState, boolean checkPath) argument 186 checkMountedPath(final StorageManager sm, final File file) argument 194 unmountObb(final StorageManager sm, final File file, int expectedState) 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 | 23 $(foreach file,$(test_src_files), \ 27 $(eval LOCAL_SRC_FILES := $(file)) \ 28 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
|
/frameworks/native/services/inputflinger/tests/ |
H A D | Android.mk | 38 $(foreach file,$(test_src_files), \ 44 $(eval LOCAL_SRC_FILES := $(file)) \ 45 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 5 * you may not use this file except in compliance with the License. 160 // copy a file from srcFile to destFile, return true if succeed, return 209 * @param file The file to check 211 public static boolean isFilenameSafe(File file) { argument 215 return SAFE_FILENAME_PATTERN.matcher(file.getPath()).matches(); 219 * Read a text file into a String, optionally limiting the length. 220 * @param file to read (will not seek, so things like /proc files are OK) 222 * @param ellipsis to add of the file was truncated (can be null) 223 * @return the contents of the file, possibl 226 readTextFile(File file, int max, String ellipsis) argument 302 checksumCrc32(File file) argument 372 contains(File dir, File file) argument 510 rewriteAfterRename(File beforeDir, File afterDir, File file) argument [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/libs/hwui/ |
H A D | DisplayListLogBuffer.cpp | 5 * you may not use this file except in compliance with the License. 73 void DisplayListLogBuffer::outputCommands(FILE *file) argument 81 fprintf(file, "%*s%s\n", 2 * tmpBufferPtr->level, "", tmpBufferPtr->label);
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
H A D | FileUtil.java | 5 * you may not use this file except in compliance with the License. 42 public void writeDateToFile(File file) { argument 44 FileOutputStream fos = new FileOutputStream(file); 50 Log.e("FileUtil", "exception writing date to file", ioe);
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | FileProvider.java | 5 * you may not use this file except in compliance with the License. 48 * of files associated with an app by creating a <code>content://</code> {@link Uri} for a file 49 * instead of a <code>file:///</code> {@link Uri}. 60 * In comparison, to control access to a <code>file:///</code> {@link Uri} you have to modify the 61 * file system permissions of the underlying file. The permissions you provide become available to 65 * The increased level of file access security offered by a content URI 116 * request content URIs for the <code>images/</code> subdirectory of your private file area. 175 * value refers to a <b>subdirectory</b>, not an individual file or files. You can't 176 * share a single file b 375 getUriForFile(Context context, String authority, File file) argument 612 getUriForFile(File file) argument 659 getUriForFile(File file) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_content_res_ObbScanner.cpp | 5 * you may not use this file except in compliance with the License. 39 static void android_content_res_ObbScanner_getObbInfo(JNIEnv* env, jobject clazz, jstring file, argument 42 const char* filePath = env->GetStringUTFChars(file, NULL); 46 env->ReleaseStringUTFChars(file, filePath); 47 jniThrowException(env, "java/io/IOException", "Could not read OBB file"); 51 env->ReleaseStringUTFChars(file, filePath); 57 jniThrowException(env, "java/io/IOException", "Could not read OBB file");
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | Texture2D.java | 5 * you may not use this file except in compliance with the License. 44 public Texture2D(String dir, String file) { argument 47 setFileName(file); 59 public void setFileName(String file) { argument 60 mFileName = file;
|
H A D | TextureCube.java | 5 * you may not use this file except in compliance with the License. 45 public TextureCube(String dir, String file) { argument 48 setFileName(file); 60 public void setFileName(String file) { argument 61 mFileName = file;
|