/frameworks/av/cmds/stagefright/ |
H A D | jpeg.h | 4 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height);
|
H A D | WaveWriter.h | 25 WaveWriter(const char *filename, argument 27 : mFile(fopen(filename, "wb")),
|
/frameworks/native/include/android/ |
H A D | storage_manager.h | 98 typedef void (*AStorageManager_obbCallbackFunc)(const char* filename, const int32_t state, void* data); 103 void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, 109 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, 115 int AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename); 120 const char* AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename);
|
H A D | obb.h | 37 AObbInfo* AObbScanner_getObbInfo(const char* filename);
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | DownloadDrmHelper.java | 74 public static String modifyDrmFwLockFileExtension(String filename) { argument 75 if (filename != null) { 77 extensionIndex = filename.lastIndexOf("."); 79 filename = filename.substring(0, extensionIndex); 81 filename = filename.concat(EXTENSION_INTERNAL_FWDL); 83 return filename;
|
/frameworks/webview/chromium/tools/ |
H A D | jar_check.py | 47 for filename in jar_contents: 50 if filename.endswith('/') or filename.startswith('META-INF/'): 52 if not filename.startswith(allowed_packages): 53 invalid_files.append(filename)
|
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 50 static FileType getFileType(const char* filename) { argument 51 const char *extension = strrchr(filename, '.'); 64 if (strstr(filename, "virtualkeys.")) { 71 static bool validateFile(const char* filename) { argument 72 fprintf(stdout, "Validating file '%s'...\n", filename); 74 FileType fileType = getFileType(filename); 82 status_t status = KeyLayoutMap::load(String8(filename), &map); 92 status_t status = KeyCharacterMap::load(String8(filename), 103 status_t status = PropertyMap::load(String8(filename), &map); 114 status_t status = VirtualKeyMap::load(String8(filename), [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | MimeTypeMap.java | 56 String filename = 59 // if the filename contains special characters, we don't 61 if (!filename.isEmpty() && 62 Pattern.matches("[a-zA-Z_0-9\\.\\-\\(\\)\\%]+", filename)) { 63 int dotPos = filename.lastIndexOf('.'); 65 return filename.substring(dotPos + 1); 133 // for attachment, use the filename in the Content-Disposition 135 String filename = null; 137 filename = URLUtil.parseContentDisposition(contentDisposition); 139 if (filename ! [all...] |
H A D | URLUtil.java | 292 * Guesses canonical filename that a download would have, using 299 * @return suggested filename 305 String filename = null; 309 if (filename == null && contentDisposition != null) { 310 filename = parseContentDisposition(contentDisposition); 311 if (filename != null) { 312 int index = filename.lastIndexOf('/') + 1; 314 filename = filename.substring(index); 320 if (filename [all...] |
/frameworks/base/cmds/backup/ |
H A D | backup.cpp | 55 perform_list(const char* filename) argument 60 fd = open(filename, O_RDONLY); 62 fprintf(stderr, "Error opening: %s\n", filename); 98 int perform_print(const char* entityname, const char* filename) argument 100 printf("perform_print(%s, %s);", entityname, filename);
|
/frameworks/base/native/android/ |
H A D | storage_manager.cpp | 44 virtual void onObbResult(const android::String16& filename, const int32_t nonce, 105 void fireCallback(const char* filename, const int32_t nonce, const int32_t state) { argument 121 target->cb(filename, state, target->data); 124 ALOGI("Didn't find the callback handler for: %s\n", filename); 144 void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void* data) { argument 146 String16 filename16(filename); 150 int isObbMounted(const char* filename) { argument 151 String16 filename16(filename); 155 const char* getMountedObbPath(const char* filename) { argument 156 String16 filename16(filename); 166 onObbResult(const android::String16& filename, const int32_t nonce, const int32_t state) argument 186 AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, AStorageManager_obbCallbackFunc cb, void* data) argument 191 AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, AStorageManager_obbCallbackFunc cb, void* data) argument 196 AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename) argument 200 AStorageManager_getMountedObbPath(AStorageManager* mgr, const char* filename) argument [all...] |
H A D | obb.cpp | 28 AObbInfo* AObbScanner_getObbInfo(const char* filename) { argument 30 if (obbFile == NULL || !obbFile->readFrom(filename)) {
|
/frameworks/base/libs/storage/ |
H A D | IObbActionListener.cpp | 33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } argument 46 String16 filename = data.readString16(); local 49 onObbResult(filename, nonce, state);
|
/frameworks/base/core/java/android/os/storage/ |
H A D | IObbActionListener.java | 70 String filename; 71 filename = data.readString(); 76 this.onObbResult(filename, nonce, status); 102 * @param filename the path to the OBB the operation was performed 106 public void onObbResult(String filename, int nonce, int status) argument 112 _data.writeString(filename); 131 * @param filename the path to the OBB the operation was performed on 135 public void onObbResult(String filename, int nonce, int status) throws RemoteException; argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | RandomBlock.java | 41 static RandomBlock fromFile(String filename) throws IOException { argument 42 if (DEBUG) Slog.v(TAG, "reading from file " + filename); 45 stream = new FileInputStream(filename); 65 void toFile(String filename, boolean sync) throws IOException { argument 66 if (DEBUG) Slog.v(TAG, "writing to file " + filename); 69 out = new RandomAccessFile(filename, sync ? "rws" : "rw");
|
/frameworks/base/tools/aapt/ |
H A D | printapk.cpp | 27 const char* filename; local 43 filename = argv[1]; 44 fd = open(filename, O_RDONLY); 46 fprintf(stderr, "apk: couldn't open file for read: %s\n", filename); 54 fprintf(stderr, "apk: error determining file size: %s\n", filename); 60 fprintf(stderr, "apk: file too big: %s\n", filename); 66 fprintf(stderr, "apk: error reading file: %s\n", filename); 75 filename);
|
H A D | FileFinder.cpp | 23 bool isDirectory(const char* filename) { argument 25 if (stat(filename, &fileStat) == -1) { 33 bool isFile(const char* filename) { argument 35 if (stat(filename, &fileStat) == -1) {
|
/frameworks/base/tools/obbtool/ |
H A D | Main.cpp | 92 void doAdd(const char* filename, struct PackageInfo* info) { argument 94 if (obb->readFrom(filename)) { 95 fprintf(stderr, "ERROR: %s: OBB signature already present\n", filename); 106 if (!obb->writeTo(filename)) { 108 filename, strerror(errno)); 115 void doRemove(const char* filename) { argument 117 if (!obb->readFrom(filename)) { 118 fprintf(stderr, "ERROR: %s: no OBB signature present\n", filename); 122 if (!obb->removeFrom(filename)) { 123 fprintf(stderr, "ERROR: %s: couldn't remove OBB signature\n", filename); 130 doInfo(const char* filename) argument 268 const char* filename = argv[optind++]; local [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 95 const char* filename; member in struct:import_info 171 check_filename(const char* filename, const char* package, buffer_type* name) argument 181 if (isalpha(filename[0]) && filename[1] == ':' 182 && filename[2] == OS_PATH_SEPARATOR) { 184 if (filename[0] == OS_PATH_SEPARATOR) { 186 fn = filename; 193 fn += filename; 222 // Input filename under cygwin most likely has / separators 241 filename, nam 249 check_filenames(const char* filename, document_item_type* items) argument 301 gather_types(const char* filename, document_item_type* items) argument 412 check_method(const char* filename, int kind, method_type* m) argument 550 check_types(const char* filename, document_item_type* items) argument 590 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options, bool* onlyParcelable) argument 764 parse_preprocessed_file(const string& filename) argument 869 check_and_assign_method_ids(const char * filename, interface_item_type* first_item) argument [all...] |
H A D | generate_java.cpp | 61 generate_java(const string& filename, const string& originalSrc, argument 79 // printf("outputting... filename=%s\n", filename.c_str()); 81 if (filename == "-") { 87 to = fopen(filename.c_str(), "wb"); 89 fprintf(stderr, "unable to open %s for write\n", filename.c_str());
|
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | genheaders.py | 31 # registry <filename> - use specified XML registry instead of gl.xml 271 filename = 'GL/glext.h', 290 filename = 'GL/glcorearb.h', 309 filename = 'GLES/gl.h', 328 filename = 'GLES/glext.h', 347 filename = 'GLES2/gl2.h', 366 filename = 'GLES2/gl2ext.h', 385 filename = 'GLES3/gl31.h', 404 filename = 'GLES3/gl3.h', 423 filename [all...] |
/frameworks/wilhelm/tools/mphtogen/ |
H A D | mphtogen.c | 25 static void convert(const signed char MPH_to[MPH_MAX], const char *filename) argument 27 FILE *fp = fopen(filename, "w");
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorInstrumentationTestRunner.java | 41 String filename = getArguments().getString("traceLogFilename"); 42 if (filename == null) { 46 Tracer.getInstance().setOutputFilename(filename);
|
/frameworks/base/core/java/android/content/res/ |
H A D | ObbInfo.java | 32 * The canonical filename of the OBB. 34 public String filename; field in class:ObbInfo 81 dest.writeString(filename); 100 filename = source.readString();
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 461 * @param filename The filename containing the ints to validate 465 protected void doValidateIntContents(String path, String filename, int start, int end) { argument 466 File inFile = new File(path, filename); 468 Log.i(LOG_TAG, "Validating file " + filename + " at " + path); 480 Log.i(LOG_TAG, "Successfully validated file " + filename); 492 * @param filename The filename containing the ints to validate 495 protected void doValidateTextContents(String path, String filename, String contents) { argument 496 File inFile = new File(path, filename); 530 doValidateZeroLongFile(String path, String filename, long size, boolean checkContents) argument 606 verifyObb2Contents(String filename) argument 622 verifyObb3Contents(String filename) argument [all...] |