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

12345

/frameworks/base/native/android/
H A Dobb.cpp28 AObbInfo* AObbScanner_getObbInfo(const char* filename) { argument
30 if (obbFile == NULL || !obbFile->readFrom(filename)) {
/frameworks/base/tools/bit/
H A Dutil.h35 explicit FileInfo(const string& filename);
47 string filename; member in struct:TrackedFile
52 explicit TrackedFile(const string& filename);
80 string read_file(const string& filename);
/frameworks/base/tools/streaming_proto/
H A DErrors.h15 Error(const string& filename, int lineno, const char* message);
17 string filename; member in struct:android::javastream_proto::Error
29 void Add(const string& filename, int lineno, const char* format, ...);
39 void AddImpl(const string& filename, int lineno, const char* format, va_list ap);
/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")),
/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/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/cmds/surfacereplayer/replayer/
H A DMain.cpp22 * 3. Initalize a replayer object with the filename passed in
60 std::string filename; local
101 filename.assign(input[0]);
105 android::Replayer r(filename, pauseBeginning, numThreads, wait, stopHere);
/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/rs/rsov/compiler/spirit/
H A Dfile_utils.h28 template <typename T> std::vector<T> readFile(const char *filename) { argument
31 fb->open(filename, std::ios::in);
34 std::cerr << "failed opening " << filename << std::endl;
51 template <typename T> std::vector<T> readFile(const std::string &filename) { argument
52 return readFile<T>(filename.c_str());
56 void writeFile(const char *filename, const std::vector<T> &data) { argument
57 std::ofstream ofs(filename, std::ios::out);
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
H A DDrawableUtils.java34 String filename) throws IOException {
49 if (filename != null) {
50 fileTitle += "_" + filename;
52 } else if (filename != null) {
53 fileTitle = filename;
33 saveVectorDrawableIntoPNG(Resources resource, Bitmap bitmap, int resId, String filename) argument
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.cpp32 UDPPusher::UDPPusher(const char *filename, unsigned port) argument
33 : mFile(fopen(filename, "rb")),
/frameworks/base/cmds/incidentd/src/
H A Dreport_directory.cpp142 String8 filename = dirbase + entry->d_name; local
143 if (stat(filename.string(), &st) != 0) {
144 ALOGE("Unable to stat file %s", filename.string());
150 files.push_back(pair<String8,struct stat>(filename, st));
/frameworks/base/core/java/android/app/
H A DProfilerInfo.java45 public ProfilerInfo(String filename, ParcelFileDescriptor fd, int interval, boolean autoStop, argument
47 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/core/tests/packagemanagertests/src/android/content/pm/
H A DKernelPackageMappingTests.java58 private static File getKernelPackageFile(String packageName, String filename) { argument
59 return new File(getKernelPackageDir(packageName), filename);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DDeviceInfoUtils.java53 * @param filename the file to read from
57 private static String readLine(String filename) throws IOException { argument
58 BufferedReader reader = new BufferedReader(new FileReader(filename), 256);
/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");
/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

Completed in 552 milliseconds

12345