Searched defs:path (Results 1 - 25 of 317) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestBassBoostPathFromFD(SLObjectItf sl, const char* path, int16_t boostStrength, bool alwaysOn) argument
119 int fd = open(path, O_RDONLY);
128 locatorUri.URI = (SLchar *) path;
256 fprintf(stdout, "Plays the sound file designated by the given path, ");
261 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
271 fprintf(stdout, "Usage: \t%s [--always-on] path bass_boost_strength\n", programName);
H A DslesTestDecodeAac.cpp413 /* Decode an audio path by opening a file descriptor on that path */
414 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) argument
421 perror(path);
427 fprintf(stderr, "%s: not an ordinary file\n", path);
434 perror(path);
442 size_t len = strlen((const char *) path);
447 memcpy(outputPath, path, len + 1);
851 perror(path);
H A DslesTestDecodeToBuffQueue.cpp261 /* Decode an audio path by opening a file descriptor on that path */
262 void TestDecToBuffQueue( SLObjectItf sl, const char* path) argument
264 size_t len = strlen((const char *) path);
269 memcpy(outputPath, path, len + 1);
333 decUri.URI = (SLchar*)path;
H A DslesTestPlayFdPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
111 int fd = open(path, O_RDONLY);
113 perror(path);
198 fprintf(stdout, "Plays the sound file designated by the given path, ");
203 fprintf(stdout, "Usage: \t%s path offsetInBytes [sizeInBytes]\n", argv[0]);
H A DslesTestRecBuffQueue.cpp144 /* Record to an audio path by opening a file descriptor on that path */
145 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) argument
147 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 "
H A DslesTestVirtualizerPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestVirtualizerPathFromFD( SLObjectItf sl, const char* path, int16_t virtStrength, argument
120 int fd = open(path, O_RDONLY);
129 locatorUri.URI = (SLchar *) path;
258 fprintf(stdout, "Plays the sound file designated by the given path, ");
263 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
273 fprintf(stdout, "Usage: \t%s [--always-on] path virtualization_strength\n", programName);
/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 DslesTestPlayStreamType.cpp48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) argument
117 uri.URI = (SLchar*) path;
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 DslesTestPlayUri2.cpp63 void TestPlayUri( SLObjectItf sl, const char* path, const char* path2) argument
126 uri.URI = (SLchar*) path;
141 /* Create the second audio player with a different path for its data source */
H A DslesTestSlowDownUri.cpp178 void TestSlowDownUri( SLObjectItf sl, const char* path) argument
225 uri.URI = (SLchar*) path;
408 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTest_playStates.cpp48 void TestPlayUri( SLObjectItf sl, const char* path) argument
112 uri.URI = (SLchar*) path;
/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/support/v4/java/android/support/v4/os/
H A DEnvironmentCompat.java34 * Unknown storage state, such as when a path isn't backed by known storage
43 * path.
55 public static String getStorageState(File path) { argument
58 return EnvironmentCompatKitKat.getStorageState(path);
62 final String canonicalPath = path.getCanonicalPath();
70 Log.w(TAG, "Failed to resolve canonical path: " + e);
/frameworks/support/v4/kitkat/android/support/v4/os/
H A DEnvironmentCompatKitKat.java24 public static String getStorageState(File path) { argument
25 return Environment.getStorageState(path);
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebIconDatabaseAdapter.java30 public void open(String path) { argument
/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp70 // Check if a path exists and attempt to create it if it doesn't.
71 static bool ensureCacheDirExists(const char *path) { argument
72 if (access(path, R_OK | W_OK | X_OK) == 0) {
76 if (mkdir(path, 0700) == 0) {
102 // Common path is that we have not loaded this Script/library before.
176 // library fallback path. Those applications don't have a private
177 // library path, so they need to install to the system directly.
178 // Note that this is really just a testing path.
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A DhelloComputeNDK.cpp36 const char * path = env->GetStringUTFChars(pathObj, NULL); local
38 rs->init(path);
39 env->ReleaseStringUTFChars(pathObj, path);
/frameworks/rs/
H A DrsFileA3D.cpp461 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { argument
462 if (path == NULL) {
470 FILE *f = fopen(path, "rb");
477 ALOGE("Could not open file %s", path);
H A Drs_hal.h288 } path; member in struct:android::renderscript::__anon1535

Completed in 305 milliseconds

1234567891011>>