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

1234

/frameworks/base/native/android/
H A Dobb.cpp28 AObbInfo* AObbScanner_getObbInfo(const char* filename) { argument
30 if (obbFile == NULL || !obbFile->readFrom(filename)) {
/frameworks/wilhelm/tools/mphtogen/
H A Dmphtogen.c25 static void convert(const signed char MPH_to[MPH_MAX], const char *filename) argument
27 FILE *fp = fopen(filename, "w");
/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");
/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/libs/storage/
H A DIObbActionListener.cpp33 virtual void onObbResult(const String16& /* filename */, const int32_t /* nonce */,
47 String16 filename = data.readString16(); local
50 onObbResult(filename, nonce, state);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DDeviceInfoUtils.java48 * @param filename the file to read from
52 private static String readLine(String filename) throws IOException { argument
53 BufferedReader reader = new BufferedReader(new FileReader(filename), 256);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java44 * 2. adb pull /data/data/<application name>/files/<graph filename>.gv graph.gv
48 static public void exportAsDot(FilterGraph graph, String filename, argument
54 FileOutputStream fOut = myAppContext.openFileOutput(filename, Context.MODE_PRIVATE);
/frameworks/native/opengl/tools/glgen/src/
H A DGenerateEGL.java26 private static void copy(String filename, PrintStream out) throws IOException { argument
27 BufferedReader br = new BufferedReader(new FileReader(filename));
57 String filename = stubRoot + ".nativeReg";
59 new BufferedReader(new FileReader(filename));
H A DGenerateGL.java26 static void copy(String filename, PrintStream out) throws IOException { argument
27 BufferedReader br = new BufferedReader(new FileReader(filename));
60 String filename = "stubs/jsr239/" + fname + ".nativeReg";
62 new BufferedReader(new FileReader(filename));
H A DGenerateGLES.java26 static void copy(String filename, PrintStream out) throws IOException { argument
27 BufferedReader br = new BufferedReader(new FileReader(filename));
56 String filename = stubRoot + ".nativeReg";
58 new BufferedReader(new FileReader(filename));
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.cpp32 UDPPusher::UDPPusher(const char *filename, unsigned port) argument
33 : mFile(fopen(filename, "rb")),
/frameworks/base/core/java/android/app/
H A DProfilerInfo.java42 public ProfilerInfo(String filename, ParcelFileDescriptor fd, int interval, boolean autoStop) { argument
43 profileFile = filename;
/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/services/core/java/com/android/server/
H A DRandomBlock.java41 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");
H A DRecoverySystemService.java69 public boolean uncrypt(String filename, IRecoverySystemProgressListener listener) { argument
70 if (DEBUG) Slog.d(TAG, "uncrypt: " + filename);
74 // Write the filename into UNCRYPT_PACKAGE_FILE to be read by
79 uncryptFile.write(filename + "\n");
/frameworks/base/tools/aapt/
H A DFileFinder.cpp23 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/validatekeymaps/
H A DMain.cpp50 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/opt/telephony/src/java/com/google/android/mms/util/
H A DDownloadDrmHelper.java74 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;
H A DDrmConvertSession.java117 * @param fileName The filename of the converted file.
124 public int close(String filename) { argument
137 rndAccessFile = new RandomAccessFile(filename, "rw");
143 Log.w(TAG, "File: " + filename + " could not be found.", e);
146 Log.w(TAG, "Could not access File: " + filename + " .", e);
151 Log.w(TAG, "Access to File: " + filename +
159 Log.w(TAG, "Failed to close File:" + filename
/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));
/frameworks/base/core/java/android/os/storage/
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
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaPlayerStreamingStressTest.java77 private void writeTestOutput(String filename, Writer output) throws Exception{ argument
78 output.write("URL: " + filename);
145 String filename = urls.get(i);
147 CodecTest.playMediaSamples(filename, 60000);
150 fileWithError += filename + '\n';
156 writeTestOutput(filename,output);
H A DMediaPlayerStressTest.java73 private void writeTestOutput(String filename, Writer output) throws Exception{ argument
74 output.write("File Name: " + filename);
139 //Get filename
140 String filename = children[i];
142 CodecTest.playMediaSamples(mMediaSrc + filename);
145 fileWithError += filename + '\n';
151 writeTestOutput(filename,output);
/frameworks/native/libs/input/
H A DVirtualKeyMap.cpp49 status_t VirtualKeyMap::load(const String8& filename, VirtualKeyMap** outMap) { argument
53 status_t status = Tokenizer::open(filename, &tokenizer);
55 ALOGE("Error %d opening virtual key map file %s.", status, filename.string());

Completed in 702 milliseconds

1234