Searched defs:filename (Results 1 - 25 of 99) sorted by last modified time

1234

/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c341 jclass clazz, jstring filename)
346 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL);
393 (*env)->ReleaseStringUTFChars(env, filename, utf8);
340 Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer(JNIEnv* env, jclass clazz, jstring filename) argument
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DNativeMedia.java330 public static native boolean createStreamingMediaPlayer(String filename); argument
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c241 " %s filename\n", argv[0]);
259 const char *filename = argv[i]; local
262 sndfile = sf_open(filename, SFM_READ, &sfinfo);
264 perror(filename);
H A Dplaybq.cpp241 " %s filename\n", argv[0]);
259 const char *filename = argv[i]; local
262 sndfile = sf_open(filename, SFM_READ, &sfinfo);
264 perror(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/rs/api/
H A DGenerateHeaderFiles.cpp27 static string makeGuardString(const string& filename) { argument
29 s.resize(15 + filename.size());
31 for (char c : filename) {
/frameworks/rs/cpp/
H A DRenderScript.cpp79 static bool loadSO(const char* filename, int targetApi) { argument
80 void* handle = dlopen(filename, RTLD_LAZY | RTLD_LOCAL);
82 ALOGV("couldn't dlopen %s, %s", filename, dlerror());
87 ALOGV("%s init failed!", filename);
/frameworks/rs/
H A DrsDriverLoader.cpp165 bool Context::loadRuntime(const char* filename) { argument
175 driverSO = dlopen(filename, RTLD_LAZY);
199 ALOGE("Error checking RS driver version, %s", filename);
205 filename, version_major, RS_HAL_VERSION);
210 ALOGE("Error loading RS HAL table, %s", filename);
215 ALOGE("Hal init failed, %s", filename);
220 setDriverName(filename);
H A DrsFileA3D.cpp310 bool FileA3D::writeFile(const char *filename) { argument
320 FILE *writeHandle = fopen(filename, "wb");
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java227 private void compareImages(Bitmap ideal, Bitmap given, String filename) { argument
250 fail((filename + ": totalError is " + totalError));
259 fail((filename + ": totalDiffPixelCount is " + totalDiffPixelCount));
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduBody.java163 * the same as filename and name(param of content-type).
165 * @param fileName the value of filename.
175 * @param fileName the value of filename.
183 * Get pdu part by filename.
185 * @param fileName the value of filename.
188 public PduPart getPartByFileName(String filename) { argument
189 return mPartMapByFileName.get(filename);
/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/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiApConfigStore.java124 private static WifiConfiguration loadApConfiguration(final String filename) { argument
130 new BufferedInputStream(new FileInputStream(filename)));
167 private static void writeApConfiguration(final String filename, argument
170 new FileOutputStream(filename)))) {
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
H A Djsilver.jar ... .io.IOException java.io.FileNotFoundException String filename public org.clearsilver.CSFileLoader getFileLoader () public void setFileLoader ...
/frameworks/native/cmds/atrace/
H A Datrace.cpp237 static bool fileExists(const char* filename) { argument
238 return access(filename, F_OK) != -1;
242 static bool fileIsWritable(const char* filename) { argument
243 return access(filename, W_OK) != -1;
264 static bool _writeStr(const char* filename, const char* str, int flags) argument
266 int fd = open(filename, flags);
268 fprintf(stderr, "error opening %s: %s (%d)\n", filename,
276 fprintf(stderr, "error writing to %s: %s (%d)\n", filename,
287 static bool writeStr(const char* filename, const char* str) argument
289 return _writeStr(filename, st
293 appendStr(const char* filename, const char* str) argument
326 setKernelOptionEnable(const char* filename, bool enable) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp158 static void dump_dev_files(const char *title, const char *driverpath, const char *filename) argument
173 snprintf(path, sizeof(path), "%s/%s/%s", driverpath, de->d_name, filename);
946 " -d: append date to filename (requires -o)\n"
947 " -p: capture screenshot to filename.png (requires -o)\n"
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp109 status_t KeyCharacterMap::load(const String8& filename, argument
114 status_t status = Tokenizer::open(filename, &tokenizer);
116 ALOGE("Error %d opening key character map file %s.", status, filename.string());
124 status_t KeyCharacterMap::loadContents(const String8& filename, const char* contents, argument
129 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer);
H A DKeyLayoutMap.cpp52 status_t KeyLayoutMap::load(const String8& filename, sp<KeyLayoutMap>* outMap) { argument
56 status_t status = Tokenizer::open(filename, &tokenizer);
58 ALOGE("Error %d opening key layout map file %s.", status, filename.string());
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());
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp189 void egl_cache_t::setCacheFilename(const char* filename) { argument
191 mFilename = filename;
/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));

Completed in 490 milliseconds

1234