Searched defs:path (Results 126 - 150 of 269) sorted by relevance

1234567891011

/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java145 * @param path The file name of the font data in the assets directory
148 public static Typeface createFromAsset(AssetManager mgr, String path) { argument
149 return new Typeface(nativeCreateFromAsset(mgr, path));
155 * @param path The path to the font data.
158 public static Typeface createFromFile(File path) { argument
159 return new Typeface(nativeCreateFromFile(path.getAbsolutePath()));
165 * @param path The full path to the font data.
168 public static Typeface createFromFile(String path) { argument
226 nativeCreateFromAsset(AssetManager mgr, String path) argument
227 nativeCreateFromFile(String path) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardMultiUserAvatar.java112 protected String rewriteIconPath(String path) { argument
114 return path.replace("system", "data");
116 return path;
/frameworks/base/services/java/com/android/server/
H A DDropBoxManagerService.java134 * @param path to store drop box entries in
136 public DropBoxManagerService(final Context context, File path) { argument
137 mDropBoxDir = path;
/frameworks/base/services/java/com/android/server/am/
H A DProcessList.java223 private void writeFile(String path, String data) { argument
226 fos = new FileOutputStream(path);
229 Slog.w(ActivityManagerService.TAG, "Unable to write " + path);
/frameworks/base/services/java/com/android/server/usb/
H A DUsbService.java235 public void setMassStorageBackingFile(String path) { argument
238 mDeviceManager.setMassStorageBackingFile(path);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMountServiceTests.java62 private String path; field in class:MountServiceTests.ObbObserver
68 public void onObbStateChange(String path, int state) { argument
69 Log.d(TAG, "Received message. path=" + path + ", state=" + state);
71 this.path = path;
80 return path;
89 this.path = null;
224 assertTrue("OBB mounted path should be a directory",
241 assertNull("OBB's mounted path shoul
[all...]
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncRS.java160 public void loadA3DFile(String path) { argument
161 FileA3D model = FileA3D.createFromFile(mRS, path);
163 initTextAllocation(path);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java118 void loadModel(String path) { argument
121 mSceneManager.loadModel(path, mLoadedCallback);
/frameworks/base/tools/aapt/
H A DPackage.cpp436 const char* path = pathName.string(); local
437 if (strcasecmp(path + pos, str) == 0) {
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c430 char path[MAXPATH]; local
489 sprintf(path, "%s%s%s", drive, dir, f.ff_name);
490 s = path;
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h101 const sys::fs::Path& path() const function in class:mcld::FileHandle
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DVariableSpeed.java175 public void setDataSource(String path) { argument
176 checkNotNull(path, "path");
177 innerSetDataSource(new MediaPlayerDataSource(path));
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c414 char path[PATH_MAX], tmp_path[PATH_MAX]; local
420 strlcpy(path, use_outfile, sizeof(path));
425 strlcat(path, date, sizeof(path));
428 strlcpy(screenshot_path, path, sizeof(screenshot_path));
431 strlcat(path, ".txt", sizeof(path));
432 if (do_compress) strlcat(path, ".gz", sizeof(path));
[all...]
/frameworks/rs/
H A DrsFileA3D.cpp455 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { argument
456 if (path == NULL) {
464 FILE *f = fopen(path, "rb");
471 ALOGE("Could not open file %s", path);
/frameworks/wilhelm/tests/examples/
H A DslesTestRecBuffQueue.cpp141 /* Play an audio path by opening a file descriptor on that path */
142 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) argument
144 gFp = fopen(path, "w");
H A DslesTestSendToPresetReverb.cpp72 /* Play an audio path and feed a global reverb */
73 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, argument
172 locatorUri.URI = (SLchar *) path;
178 int fd = open(path, O_RDONLY);
180 perror(path);
335 fprintf(stdout, "Plays the sound file designated by the given path, ");
340 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
362 fprintf(stdout, "Usage: \t%s [--always-on] [--fd] [--loop] path preset directLevel "
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp163 void TestPlayUri( SLObjectItf sl, const char* path) argument
227 uri.URI = (SLchar*) path;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp127 void TestGetPositionUri( SLObjectItf sl, const char* path) argument
183 uri.URI = (SLchar*) path;
324 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestLoopUri.cpp122 void TestLoopUri( SLObjectItf sl, const char* path) argument
170 uri.URI = (SLchar*) path;
299 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestManyPlayers.cpp131 void TestSetup(const char* path) { argument
160 //uri = { SL_DATALOCATOR_URI /*locatorType*/, (SLchar*) path /*URI*/ };
164 uri.URI = (SLchar*) path;
189 fprintf(stdout, "TestSetup(%s) completed\n", path);
319 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestPlayUri.cpp125 void TestPlayUri( SLObjectItf sl, const char* path) argument
176 uri.URI = (SLchar*) path;
333 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestSlowDownUri.cpp178 void TestSlowDownUri( SLObjectItf sl, const char* path) argument
225 uri.URI = (SLchar*) path;
406 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]);
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp99 void TestPlayUri( SLObjectItf sl, const char* path) argument
150 uri.URI = (SLchar*) path;
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp180 void TestPlayStream( SLObjectItf sl, const char* path) argument
208 file = fopen(path, "rb");
391 fprintf(stdout, "Usage: %s path \n", argv[0]);
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java116 * Sets the data source (file-path or http URL) to use.
118 * @param path the path of the file, or the http URL
121 public final void setDataSource(String path, Map<String, String> headers) { argument
136 setDataSource(path, keys, values);
140 String path, String[] keys, String[] values);
143 * Sets the data source (file-path or http URL) to use.
145 * @param path the path of the file, or the http URL of the stream
147 * <p>When <code>path</cod
139 setDataSource( String path, String[] keys, String[] values) argument
154 setDataSource(String path) argument
[all...]

Completed in 347 milliseconds

1234567891011