/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 216 fprintf(stderr, "usage: [-b/l] [-8] [-f#] [-n#] [-p#] [-r] %s filename\n", argv[0]); 230 const char *filename = argv[i]; local 233 sndfile = sf_open(filename, SFM_READ, &sfinfo); 235 perror(filename);
|
H A D | playbq.cpp | 216 fprintf(stderr, "usage: [-b/l] [-8] [-f#] [-n#] [-p#] [-r] %s filename\n", argv[0]); 230 const char *filename = argv[i]; local 233 sndfile = sf_open(filename, SFM_READ, &sfinfo); 235 perror(filename);
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 131 static void dumpSource(const sp<MediaSource> &source, const String8 &filename) { argument 132 FILE *out = fopen(filename.string(), "wb"); 603 fprintf(stderr, " -w(rite) filename (write to .mp4 file)\n"); 827 const char *filename = argv[k]; local 831 int fd = open(filename, O_RDONLY | O_LARGEFILE); 848 printf("getFrameAtTime(%s) => OK\n", filename); 862 printf("extractAlbumArt(%s) => OK\n", filename); 868 "failed on file '%s'.\n", filename); 959 const char *filename = argv[k]; local 961 sp<DataSource> dataSource = DataSource::CreateFromURI(filename); [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | IMountService.java | 720 public int fixPermissionsSecureContainer(String id, int gid, String filename) argument 729 _data.writeString(filename); 1078 String filename; 1079 filename = data.readString(); 1086 unmountObb(filename, force, observer, nonce); 1092 String filename; 1093 filename = data.readString(); 1094 boolean status = isObbMounted(filename); 1101 String filename; 1102 filename 1404 fixPermissionsSecureContainer(String id, int gid, String filename) argument [all...] |
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 442 || ESR_SessionGetLCHAR ( L("cmdline.vocabulary"), filename, &flen ) 443 || SR_VocabularyLoad ( filename, &applicationData.vocabulary ) 493 private static native void SR_SessionCreate(String filename); argument 637 // const LCHAR* filename); 639 // const LCHAR* filename); 675 private static native int SR_GrammarLoad(String filename); argument 676 private static native void SR_GrammarSave(int grammar, String filename); argument 699 // const LCHAR* filename);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 790 * @param filename 796 public int addSpeech(String text, String filename) { argument 798 mUtterances.put(text, Uri.parse(filename)); 845 * @param filename 851 public int addEarcon(String earcon, String filename) { argument 853 mEarcons.put(earcon, Uri.parse(filename)); 1262 * @param filename Absolute file filename to write the generated audio data to.It should be 1268 final String filename) { 1275 File file = new File(filename); 1267 synthesizeToFile(final String text, final HashMap<String, String> params, final String filename) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Process.cpp | 903 char filename[64]; local 905 snprintf(filename, sizeof(filename), "/proc/%d/smaps", pid); 907 FILE * file = fopen(filename, "r");
|
H A D | android_util_Binder.cpp | 946 char filename[20]; local 949 sprintf(filename, "/proc/%d/cmdline", pid); 950 f = fopen(filename, "r");
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 438 * @param filename The name of the file to try to retrieve from the mock server 441 protected Uri getServerUri(String filename) throws Exception { argument 442 URL url = mServer.getUrl("/" + filename); 449 * @param filename The name of the file to try to retrieve from the mock server 580 * @param filename (optional) The name of the file to create on the SD card; pass in null to 581 * use a default temp filename. 587 protected File createFileOnSD(String filename, long fileSize, DataType type, argument 598 if (filename == null) { 602 fullPath.append(File.separatorChar).append(filename); 946 * Helper to do the additional steps (setting title and Uri of default filename) whe [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | VideoEditorImpl.java | 60 * The project filename 81 private static final String ATTR_FILENAME = "filename"; 329 public void cancelExport(String filename) { argument 330 if (mMANativeHelper != null && filename != null) { 331 mMANativeHelper.stop(filename); 338 public void export(String filename, int height, int bitrate, argument 344 if (filename == null) { 345 throw new IllegalArgumentException("export: filename is null"); 348 final File tempPathFile = new File(filename); 350 throw new IOException(filename 471 export(String filename, int height, int bitrate, ExportProgressListener listener) argument 1952 dumpHeap(String filename) argument [all...] |
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 175 static bool fileExists(const char* filename) { argument 176 return access(filename, F_OK) != -1; 180 static bool fileIsWritable(const char* filename) { argument 181 return access(filename, W_OK) != -1; 202 static bool _writeStr(const char* filename, const char* str, int flags) argument 204 int fd = open(filename, flags); 206 fprintf(stderr, "error opening %s: %s (%d)\n", filename, 214 fprintf(stderr, "error writing to %s: %s (%d)\n", filename, 225 static bool writeStr(const char* filename, const char* str) argument 227 return _writeStr(filename, st 231 appendStr(const char* filename, const char* str) argument 238 setKernelOptionEnable(const char* filename, bool enable) argument [all...] |
/frameworks/native/libs/input/ |
H A D | KeyCharacterMap.cpp | 108 status_t KeyCharacterMap::load(const String8& filename, argument 113 status_t status = Tokenizer::open(filename, &tokenizer); 115 ALOGE("Error %d opening key character map file %s.", status, filename.string()); 123 status_t KeyCharacterMap::loadContents(const String8& filename, const char* contents, argument 128 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer);
|
/frameworks/rs/ |
H A D | rsContext.cpp | 244 bool Context::loadRuntime(const char* filename, Context* rsc) { argument 249 driverSO = dlopen(filename, RTLD_LAZY);
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 131 FileSource(const char *filename) argument 132 : mFile(fopen(filename, "rb")) { 237 void FragmentedMP4Parser::start(const char *filename) { argument 239 msg->setObject("source", new FileSource(filename)); 241 ALOGV("Parser::start(%s)", filename);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 120 public void saveWebArchive(String filename); argument
|
H A D | WebView.java | 902 * @param filename the filename where the archive should be placed 904 public void saveWebArchive(String filename) { argument 906 if (DebugFlags.TRACE_API) Log.d(LOGTAG, "saveWebArchive=" + filename); 907 mProvider.saveWebArchive(filename); 913 * @param basename the filename where the archive should be placed 915 * is assumed to be a directory in which a filename will be 918 * parameter for onReceiveValue will either be the filename
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 98 char* filename = buf; local 99 while (*filename && *filename == '/') { 100 ++filename; 102 char* p = filename; 109 path.appendPath(filename); 1316 /* grab it, reducing path to just the filename component */ 1339 * Process "exclude" directives. If we find a filename that ends with 1740 // XXX This is broken -- the filename cache needs to hold the base 1741 // asset path separately from its filename [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 335 /** The filename for the default sound for the ringer ringtone. */ 337 /** The filename for the default sound for the notification ringtone. */ 339 /** The filename for the default sound for the alarm ringtone. */ 1017 private boolean doesPathHaveFilename(String path, String filename) { argument 1019 int filenameLength = filename.length(); 1020 return path.regionMatches(pathFilenameStart, filename, 0, filenameLength) &&
|
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 1708 public int fixPermissionsSecureContainer(String id, int gid, String filename) { argument 1714 mConnector.execute("asec", "fixperms", id, gid, filename); 2559 Slog.w(TAG, "Denied attempt to mount OBB " + obbInfo.filename 2570 Slog.w(TAG, "Attempt to mount OBB which is already mounted: " + obbInfo.filename);
|
H A D | NetworkManagementService.java | 739 private ArrayList<String> readRouteList(String filename) { argument 744 fstream = new FileInputStream(filename);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 30 * - the filename length must be less than kMaxAssetFileName bytes long 35 * Pass in just the filename, not the full path. 1850 "Invalid filename. Unable to add."); 2314 AaptAssets::slurpResourceZip(Bundle* bundle, const char* filename) argument 2320 status_t err = zip->open(filename, ZipFile::kOpenReadOnly); 2322 fprintf(stderr, "error opening zip file %s\n", filename);
|
H A D | Command.cpp | 505 const char* filename = bundle->getFileSpecEntry(1); local 509 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewChromium.java | 638 public void saveWebArchive(String filename) { argument 639 saveWebArchive(filename, false, null);
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 334 MPEG4Writer::MPEG4Writer(const char *filename) argument 353 mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1001 * @param filename a String containing a filepath for a jpeg file with exif 1010 public boolean rewriteExif(String filename, Collection<ExifTag> tags) argument 1016 File temp = new File(filename); 1086 * @param filename a String containing a filepath for a jpeg file. 1093 public void forceRewriteExif(String filename, Collection<ExifTag> tags) argument 1097 if (!rewriteExif(filename, tags)) { 1104 is = new FileInputStream(filename); 1110 writeExif(imageBytes, filename); 1127 * @param filename a String containing a filepath for a jpeg file. 1132 public void forceRewriteExif(String filename) throw argument [all...] |