Searched defs:filename (Results 1 - 25 of 99) sorted by path

1234

/frameworks/av/cmds/stagefright/
H A DWaveWriter.h25 WaveWriter(const char *filename, argument
27 : mFile(fopen(filename, "wb")),
H A Djpeg.cpp40 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height) { argument
47 f = fopen(filename, "w");
H A Dstagefright.cpp141 static void dumpSource(const sp<IMediaSource> &source, const String8 &filename) { argument
142 FILE *out = fopen(filename.string(), "wb");
615 fprintf(stderr, " -w(rite) filename (write to .mp4 file)\n");
853 const char *filename = argv[k]; local
857 int fd = open(filename, O_RDONLY | O_LARGEFILE);
874 printf("getFrameAtTime(%s) => OK\n", filename);
888 printf("extractAlbumArt(%s) => OK\n", filename);
894 "failed on file '%s'.\n", filename);
975 const char *filename = argv[k]; local
978 DataSource::CreateFromURI(NULL /* httpService */, filename);
[all...]
H A Dstream.cpp128 MyConvertingStreamSource(const char *filename);
160 MyConvertingStreamSource::MyConvertingStreamSource(const char *filename) argument
164 DataSource::CreateFromURI(NULL /* httpService */, filename);
307 fprintf(stderr, "Usage: %s filename\n", argv[0]);
/frameworks/av/media/libstagefright/
H A DFileSource.cpp32 FileSource::FileSource(const char *filename) argument
43 if (filename) {
44 mName = String8::format("FileSource(%s)", filename);
46 ALOGV("%s", filename);
47 mFd = open(filename, O_LARGEFILE | O_RDONLY);
52 ALOGE("Failed to open file '%s'. (%s)", filename, strerror(errno));
H A DMediaCodecList.cpp415 AString filename = href; local
416 if (!filename.startsWith("media_codecs_") ||
417 !filename.endsWith(".xml")) {
421 filename.insert(mHrefBase, 0);
423 parseXMLFile(filename.c_str());
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
H A Damrnb_enc_test.cpp179 int arg, filename = 0; local
217 switch (filename) {
229 filename++;
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c265 int arg, filename=0; local
341 switch (filename) {
353 filename++;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DDecTestBench.c39 void WriteOutput(char *filename, u8 *data, u32 picSize);
442 void WriteOutput(char *filename, u8 *data, u32 picSize) argument
450 if (strcmp(filename, "none") != 0)
453 foutput = fopen(filename, "wb");
/frameworks/av/media/libstagefright/omx/
H A DOMXMaster.cpp38 char filename[20]; local
39 snprintf(filename, sizeof(filename), "/proc/%d/comm", pid);
40 int fd = open(filename, O_RDONLY);
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.cpp32 UDPPusher::UDPPusher(const char *filename, unsigned port) argument
33 : mFile(fopen(filename, "rb")),
/frameworks/av/services/audioflinger/tests/
H A Dtest-mixer.cpp54 static int writeFile(const char *filename, const void *buffer, argument
56 if (filename == NULL) {
57 return 0; // ok to pass in NULL filename
66 filename, info.channels, info.samplerate, frames);
67 SNDFILE *sf = sf_open(filename, SFM_WRITE, &info);
69 perror(filename);
200 printf("creating filename(%s)\n", argv[i]);
/frameworks/base/cmds/backup/
H A Dbackup.cpp52 static int perform_list(const char* filename) argument
57 fd = open(filename, O_RDONLY);
59 fprintf(stderr, "Error opening: %s\n", filename);
95 static int perform_print(const char* entityname, const char* filename) argument
97 printf("perform_print(%s, %s);", entityname, filename);
/frameworks/base/cmds/idmap/
H A Dscan.cpp36 bool writePackagesList(const char *filename, const SortedVector<Overlay>& overlayVector) argument
38 FILE* fout = fopen(filename, "w");
53 if (chmod(filename, mode) == -1) {
54 unlink(filename);
172 String8 filename = String8(idmap_dir); local
173 filename.appendPath("overlays.list");
174 if (unlink(filename.string()) != 0 && errno != ENOENT) {
221 if (!writePackagesList(filename.string(), overlayVector)) {
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DTracer.java125 throw new IllegalArgumentException("Please provide a filename before " +
136 throw new IllegalArgumentException("Please provide a filename before " +
160 * @param filename name of the log file.
162 public void setOutputFilename(String filename) { argument
163 mOutputFile = new File(filename);
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java2674 String filename = data.readString();
2676 Bitmap icon = getTaskDescriptionIcon(filename, userId);
6571 public Bitmap getTaskDescriptionIcon(String filename, int userId) throws RemoteException { argument
6575 data.writeString(filename);
H A DIActivityManager.java582 public Bitmap getTaskDescriptionIcon(String filename, int userId) throws RemoteException; argument
H A DProfilerInfo.java42 public ProfilerInfo(String filename, ParcelFileDescriptor fd, int interval, boolean autoStop) { argument
43 profileFile = filename;
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java123 private static native int writeFile_native(long ptr, String filename, long backupReader); argument
/frameworks/base/core/java/android/content/res/
H A DObbInfo.java32 * 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/java/android/os/
H A DFileUtils.java244 * Check if a filename is "safe" (no metacharacters or spaces).
320 * Writes string to file. Basically same as "echo -n $string > $filename"
322 * @param filename
326 public static void stringToFile(String filename, String string) throws IOException { argument
327 FileWriter out = new FileWriter(filename);
481 * Check if given filename is valid for an ext4 filesystem.
488 * Mutate the given filename to make it valid for an ext4 filesystem,
530 * Check if given filename is valid for a FAT filesystem.
537 * Mutate the given filename to make it valid for a FAT filesystem,
641 * extension is regarded as a part of filename an
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java823 public int fixPermissionsSecureContainer(String id, int gid, String filename) argument
832 _data.writeString(filename);
1758 String filename;
1759 filename = data.readString();
1766 unmountObb(filename, force, observer, nonce);
1772 String filename;
1773 filename = data.readString();
1774 boolean status = isObbMounted(filename);
1781 String filename;
1782 filename
2388 fixPermissionsSecureContainer(String id, int gid, String filename) argument
[all...]
H A DIObbActionListener.java70 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 DStorageManager.java242 public void onObbResult(String filename, int nonce, int status) { argument
252 delegate.sendObbStateChanged(filename, status);
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java947 * @param filename
953 public int addSpeech(String text, String filename) { argument
955 mUtterances.put(text, Uri.parse(filename));
1022 * @param filename
1032 public int addEarcon(String earcon, String filename) { argument
1034 mEarcons.put(earcon, Uri.parse(filename));
1868 * @param filename Absolute file filename to write the generated audio data to.It should be
1877 final String filename) {
1879 new File(filename), param
1876 synthesizeToFile(final String text, final HashMap<String, String> params, final String filename) argument
[all...]

Completed in 1073 milliseconds

1234