/frameworks/base/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/base/tools/aidl/ |
H A D | generate_java.h | 10 int generate_java(const string& filename, const string& originalSrc,
|
H A D | aidl.cpp | 83 const char* filename; member in struct:import_info 159 check_filename(const char* filename, const char* package, buffer_type* name) argument 169 if (isalpha(filename[0]) && filename[1] == ':' 170 && filename[2] == OS_PATH_SEPARATOR) { 172 if (filename[0] == OS_PATH_SEPARATOR) { 174 fn = filename; 181 fn += filename; 210 // Input filename under cygwin most likely has / separators 229 filename, nam 237 check_filenames(const char* filename, document_item_type* items) argument 288 gather_types(const char* filename, document_item_type* items) argument 384 check_method(const char* filename, method_type* m) argument 496 check_types(const char* filename, document_item_type* items) argument 535 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options, bool* onlyParcelable) argument 670 parse_preprocessed_file(const string& filename) argument [all...] |
/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 LOGI("Didn't find the callback handler for: %s\n", filename); 128 void mountObb(const char* filename, const char* key, AStorageManager_obbCallbackFunc func, void* data) { argument 130 String16 filename16(filename); 135 void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void* data) { argument 137 String16 filename16(filename); 141 int isObbMounted(const char* filename) { argument 142 String16 filename16(filename); 146 getMountedObbPath(const char* filename) argument 157 onObbResult(const android::String16& filename, const int32_t nonce, const int32_t state) argument 177 AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, AStorageManager_obbCallbackFunc cb, void* data) argument 182 AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, AStorageManager_obbCallbackFunc cb, void* data) argument 187 AStorageManager_isObbMounted(AStorageManager* mgr, const char* filename) argument 191 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/core/jni/ |
H A D | android_net_TrafficStats.cpp | 34 static jlong readNumber(char const* filename) { argument 37 int fd = open(filename, O_RDONLY); 39 if (errno != ENOENT) LOGE("Can't open %s: %s", filename, strerror(errno)); 45 LOGE("Can't read %s: %s", filename, strerror(errno)); 68 char filename[PATH_MAX] = "/sys/class/net/"; local 69 DIR *dir = opendir(filename); 71 LOGE("Can't list %s: %s", filename, strerror(errno)); 75 int len = strlen(filename); 80 strlcpy(filename + len, entry->d_name, sizeof(filename) [all...] |
/frameworks/base/tools/localize/ |
H A D | file_utils.h | 13 ValuesFile* get_values_file(const string& filename, const Configuration& configuration, 15 ValuesFile* get_local_values_file(const string& filename, const Configuration& configuration, 19 int write_to_file(const string& filename, const string& text);
|
H A D | merge_res_and_xliff.h | 9 const string& filename, const XLIFFFile* xliff);
|
H A D | file_utils.cpp | 97 get_values_file(const string& filename, const Configuration& configuration, argument 103 log_printf("get_values_file filename=%s\n", filename.c_str()); 104 err = Perforce::GetFile(filename, versionString, &text, printOnFailure); 109 ValuesFile* result = ValuesFile::ParseString(filename, text, configuration, version, 112 fprintf(stderr, "unable to parse file: %s\n", filename.c_str()); 119 get_local_values_file(const string& filename, const Configuration& configuration, argument 128 fd = open(filename.c_str(), O_RDONLY); 130 fprintf(stderr, "unable to open file: %s\n", filename.c_str()); 144 ValuesFile* result = ValuesFile::ParseString(filename, tex 161 write_to_file(const string& filename, const string& text) argument [all...] |
H A D | ValuesFile.h | 21 static ValuesFile* ParseFile(const string& filename, const Configuration& config, 23 static ValuesFile* ParseString(const string& filename, const string& text,
|
/frameworks/base/services/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) throws IOException { argument 66 if (DEBUG) Slog.v(TAG, "writing to file " + filename); 69 out = new RandomAccessFile(filename, "rws");
|
/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/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
|
H A D | StorageManager.java | 105 public void onObbResult(String filename, int nonce, int status) throws RemoteException { argument 115 delegate.sendObbStateChanged(filename, status); 422 * @param filename the path to the OBB file 428 public boolean mountObb(String filename, String key, OnObbStateChangeListener listener) { argument 429 if (filename == null) { 430 throw new IllegalArgumentException("filename cannot be null"); 439 mMountService.mountObb(filename, key, mObbActionListener, nonce); 462 * @param filename path to the OBB file 468 public boolean unmountObb(String filename, boolean force, OnObbStateChangeListener listener) { argument 469 if (filename 494 isObbMounted(String filename) argument 517 getMountedObbPath(String filename) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | URLUtil.java | 289 * Guesses canonical filename that a download would have, using 296 * @return suggested filename 302 String filename = null; 306 if (filename == null && contentDisposition != null) { 307 filename = parseContentDisposition(contentDisposition); 308 if (filename != null) { 309 int index = filename.lastIndexOf('/') + 1; 311 filename = filename.substring(index); 317 if (filename [all...] |
/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);
|
/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/media/tests/omxjpegdecoder/ |
H A D | jpeg_decoder_bench.cpp | 81 const char* filename = "/sdcard/omxJpegDecodedBitmap.rgba"; local 82 return storeBitmapToFile(bitmap, filename); 86 int testDecoder(SkImageDecoder* decoder, char* filename) { argument 88 SkStream* stream = new SkFILEStream(filename); 94 stream = new SkFILEStream(filename);
|
/frameworks/base/libs/ui/ |
H A D | KeyLayoutMap.cpp | 81 KeyLayoutMap::load(const char* filename) argument 83 int fd = open(filename, O_RDONLY); 85 LOGE("error opening file=%s err=%s\n", filename, strerror(errno)); 94 LOGE("error seeking file=%s err=%s\n", filename, strerror(errno)); 101 LOGE("error reading file=%s err=%s\n", filename, strerror(errno)); 128 LOGE("%s:%d: expected key, got '%s'\n", filename, line, 138 filename, line, token.string()); 141 //LOGI("%s:%d: got scancode %d\n", filename, line, scancode ); 146 //LOGI("%s:%d: got keycode %d for %s\n", filename, line, keycode, token.string() ); 149 filename, lin [all...] |
/frameworks/base/cmds/stagefright/ |
H A D | WaveWriter.h | 25 WaveWriter(const char *filename, argument 27 : mFile(fopen(filename, "wb")),
|
/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...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 183 String filename; 202 filename = OUTPUT_FILE + i + OUTPUT_FILE_EXT; 203 Log.v(TAG, filename); 207 mRecorder.setOutputFile(filename); 234 String filename; 260 filename = OUTPUT_FILE + i + OUTPUT_FILE_EXT; 261 Log.v(TAG, filename); 271 mRecorder.setOutputFile(filename); 309 public void removeRecodedVideo(String filename){ argument 310 File video = new File(filename); [all...] |