Searched defs:path (Results 101 - 125 of 269) sorted by relevance

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 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 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/mimeUri/
H A DslesTestPlayStreamType.cpp48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) argument
117 uri.URI = (SLchar*) path;
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 DslesTest_playStates.cpp48 void TestPlayUri( SLObjectItf sl, const char* path) argument
112 uri.URI = (SLchar*) path;
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp60 status_t SimplePlayer::setDataSource(const char *path) { argument
62 msg->setString("path", path);
114 CHECK(msg->findString("path", &mPath));
H A Dcodec.cpp68 const char *path,
77 if (extractor->setDataSource(path) != OK) {
66 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface) argument
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp30 int uniqueId, const String8* path, int action) {
31 return onGetConstraints(uniqueId, path, action);
34 DrmMetadata* DrmEngineBase::getMetadata(int uniqueId, const String8* path) { argument
35 return onGetMetadata(uniqueId, path);
51 bool DrmEngineBase::canHandle(int uniqueId, const String8& path) { argument
52 return onCanHandle(uniqueId, path);
69 String8 DrmEngineBase::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
70 return onGetOriginalMimeType(uniqueId, path, fd);
73 int DrmEngineBase::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument
74 return onGetDrmObjectType(uniqueId, path, mimeTyp
29 getConstraints( int uniqueId, const String8* path, int action) argument
77 checkRightsStatus(int uniqueId, const String8& path, int action) argument
91 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
97 removeRights(int uniqueId, const String8& path) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { argument
43 return mDrmManagerClientImpl->getConstraints(mUniqueId, path, action);
46 DrmMetadata* DrmManagerClient::getMetadata(const String8* path) { argument
47 return mDrmManagerClientImpl->getMetadata(mUniqueId, path);
50 bool DrmManagerClient::canHandle(const String8& path, const String8& mimeType) { argument
51 return mDrmManagerClientImpl->canHandle(mUniqueId, path, mimeType);
67 String8 DrmManagerClient::getOriginalMimeType(const String8& path, int fd) { argument
68 return mDrmManagerClientImpl->getOriginalMimeType(mUniqueId, path, fd);
71 int DrmManagerClient::getDrmObjectType(const String8& path, const String8& mimeType) { argument
72 return mDrmManagerClientImpl->getDrmObjectType( mUniqueId, path, mimeTyp
75 checkRightsStatus(const String8& path, int action) argument
90 validateAction( const String8& path, int action, const ActionDescription& description) argument
95 removeRights(const String8& path) argument
[all...]
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp328 int JetPlayer::loadFromFile(const char* path) argument
330 ALOGV("JetPlayer::loadFromFile(): path=%s", path);
335 strncpy(mJetFilePath, path, sizeof(mJetFilePath));
337 mEasJetFileLoc->path = mJetFilePath;
363 mEasJetFileLoc->path = NULL;
466 ALOGE("JetPlayer dump: JET file=%s", mEasJetFileLoc->path);
H A Dmediarecorder.cpp261 status_t MediaRecorder::setOutputFile(const char* path) argument
263 ALOGV("setOutputFile(%s)", path);
277 status_t ret = mMediaRecorder->setOutputFile(path);
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp156 status_t MediaRecorderClient::setOutputFile(const char* path) argument
158 ALOGV("setOutputFile(%s)", path);
164 return mRecorder->setOutputFile(path);
H A DMidiFile.cpp63 mFileLocator.path = NULL;
117 const char* path, const KeyedVector<String8, String8> *) {
118 ALOGV("MidiFile::setDataSource url=%s", path);
127 mFileLocator.path = strdup(path);
390 if (mFileLocator.path) {
391 free((void*)mFileLocator.path);
392 mFileLocator.path = NULL;
116 setDataSource( const char* path, const KeyedVector<String8, String8> *) argument
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp61 const char *path, const KeyedVector<String8, String8> *headers) {
69 DataSource::CreateFromURI(path, headers);
76 if (!strncasecmp("widevine://", path, 11)) {
60 setDataSource( const char *path, const KeyedVector<String8, String8> *headers) argument
/frameworks/base/cmds/installd/
H A Dinstalld.h79 #define PKG_PATH_MAX 256 /* max size of any path we use */
87 char* path; member in struct:__anon948
133 int create_pkg_path_in_dir(char path[PKG_PATH_MAX],
138 int create_pkg_path(char path[PKG_PATH_MAX],
143 int create_persona_path(char path[PKG_PATH_MAX],
146 int create_persona_media_path(char path[PKG_PATH_MAX], userid_t userid);
148 int create_move_path(char path[PKG_PATH_MAX],
155 int create_cache_path(char path[PKG_PATH_MAX], const char *src);
175 int validate_system_app_path(const char* path);
179 int get_path_from_string(dir_rec_t* rec, const char* path);
[all...]
/frameworks/base/cmds/installd/tests/
H A Dinstalld_utils_test.cpp52 android_app_dir.path = TEST_APP_DIR;
55 android_app_private_dir.path = TEST_APP_PRIVATE_DIR;
58 android_data_dir.path = TEST_DATA_DIR;
61 android_asec_dir.path = TEST_ASEC_DIR;
67 android_system_dirs.dirs[0].path = TEST_SYSTEM_DIR1;
70 android_system_dirs.dirs[1].path = TEST_SYSTEM_DIR2;
83 << badprefix1 << " should be allowed as a valid path";
87 << badprefix2 << " should be allowed as a valid path";
91 << badprefix3 << " should be allowed as a valid path";
95 << badprefix4 << " should be allowed as a valid path";
263 char path[PKG_PATH_MAX]; local
281 char path[PKG_PATH_MAX]; local
294 char path[PKG_PATH_MAX]; local
307 char path[PKG_PATH_MAX]; local
317 char path[PKG_PATH_MAX]; local
327 char path[PKG_PATH_MAX]; local
341 char path[PKG_PATH_MAX]; local
351 char path[PKG_PATH_MAX]; local
361 char path[PKG_PATH_MAX]; local
371 char path[PKG_PATH_MAX]; local
378 char path[PKG_PATH_MAX]; local
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java370 if (DEBUG) Log.w(TAG, "Error canonicalizing path of " + file);
386 * operation. The agent is given the path to the file's original location as well
422 int type, String domain, String path, long mode, long mtime)
427 + " domain=" + domain + " relpath=" + path + " mode=" + mode
448 File outFile = new File(basePath, path);
449 if (DEBUG) Log.i(TAG, "[" + domain + " : " + path + "] mapped to " + outFile.getPath());
572 int type, String domain, String path, long mode, long mtime,
576 BackupAgent.this.onRestoreFile(data, size, type, domain, path, mode, mtime);
421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java460 * Sets the file path for USB mass storage backing file.
462 * @param path backing file path
466 public void setMassStorageBackingFile(String path) { argument
468 mService.setMassStorageBackingFile(path);
/frameworks/base/core/java/android/net/http/
H A DRequest.java62 /** The path component of this request */
104 * @param path path part of URI
111 Request(String method, HttpHost host, HttpHost proxyHost, String path, argument
118 mPath = path;
/frameworks/base/core/java/android/os/storage/
H A DStorageVolume.java28 * filesystem path where it may be mounted.
54 public StorageVolume(File path, int descriptionId, boolean primary, boolean removable, argument
57 mPath = path;
81 public static StorageVolume fromTemplate(StorageVolume template, File path, UserHandle owner) { argument
82 return new StorageVolume(path, template.mDescriptionId, template.mPrimary,
88 * Returns the mount path for the volume.
90 * @return the mount path
/frameworks/base/core/java/android/webkit/
H A DWebIconDatabaseClassic.java176 public void open(String path) { argument
177 if (path != null) {
179 File db = new File(path);
283 private static native void nativeOpen(String path); argument
/frameworks/base/core/jni/android/graphics/
H A DHarfbuzzSkia.cpp125 SkPath path; local
126 paint->getTextPath(&glyph16, sizeof(glyph16), 0, 0, &path);
127 uint32_t numPoints = path.getPoints(0, 0);
133 // Skia does let us get a single point from the path.
134 path.getPoints(points, point + 1);
/frameworks/base/core/jni/
H A Dandroid_media_JetPlayer.cpp129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) argument
141 const char *pathStr = env->GetStringUTFChars(path, NULL);
149 env->ReleaseStringUTFChars(path, pathStr);
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java35 // Not a valid path, but this came from a user's test case.
36 builder.path("//foo");
48 .path("/rss/")
141 .path("/test/")
412 String path, String query, String fragment) {
418 if (path != null) {
419 sb.append(path);
440 uriString, ssp, uri, scheme, authority, path, query, fragment);
442 uriString, ssp, uri, scheme, authority, path, query, fragment);
449 uriString, ssp, uri, scheme, authority, path, quer
411 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument
493 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument
[all...]

Completed in 493 milliseconds

1234567891011