/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 33 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 41 bool onCanHandle(int uniqueId, const String8& path); 50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 52 int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 54 int onCheckRightsStatus(int uniqueId, const String8& path, int action); 62 int uniqueId, const String8& path, int action, const ActionDescription& description); 64 status_t onRemoveRights(int uniqueId, const String8& path);
|
/frameworks/av/include/drm/ |
H A D | DrmManagerClient.h | 190 * @param[in] path Path of the protected content 195 bool validateAction(const String8& path, int action, const ActionDescription& description); 215 * @param[in] path Path of the protected content 223 DrmConstraints* getConstraints(const String8* path, const int action); 228 * @param[in] path Path of the protected content 234 DrmMetadata* getMetadata(const String8* path); 237 * Check whether the given mimetype or path can be handled 239 * @param[in] path Path of the content needs to be handled 242 * True if DrmManager can handle given path or mime type. 244 bool canHandle(const String8& path, cons [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | Android.mk | 18 $(call include-path-for, audio-effects)
|
/frameworks/base/core/jni/ |
H A D | android_util_FileObserver.cpp | 79 jstring path = NULL; local 83 path = env->NewStringUTF(event->name); 86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path); 91 if (path != NULL) 93 env->DeleteLocalRef(path); 113 const char* path = env->GetStringUTFChars(pathString, NULL); local 115 res = inotify_add_watch(fd, path, mask); 117 env->ReleaseStringUTFChars(pathString, path);
|
H A D | android_os_FileUtils.cpp | 58 jint android_os_FileUtils_getFatVolumeId(JNIEnv* env, jobject clazz, jstring path) argument 60 if (path == NULL) { 64 const char *pathStr = env->GetStringUTFChars(path, NULL); 75 env->ReleaseStringUTFChars(path, pathStr);
|
/frameworks/base/include/androidfw/ |
H A D | AssetDir.h | 80 FileInfo(const String8& path) // useful for e.g. svect.indexOf argument 81 : mFileName(path), mFileType(kFileTypeUnknown) 109 void set(const String8& path, FileType type) { argument 110 mFileName = path; 115 void setFileName(const String8& path) { mFileName = path; } argument 121 void setSourceName(const String8& path) { mSourceName = path; } argument
|
/frameworks/compile/mclinker/unittests/ |
H A D | DirIteratorTest.cpp | 57 if (0 != entry.path()) 58 size = entry.path()->native().size();
|
H A D | MemoryAreaTest.cpp | 50 Path path(TOPDIR); 51 path.append("unittests/test3.txt"); 54 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly); 65 Path path(TOPDIR); 66 path.append("unittests/test2.txt"); 68 MemoryArea* area = AreaFactory->produce(path, FileHandle::ReadOnly); 80 area->handler()->open(path, FileHandle::ReadOnly); 93 Path path(TOPDIR) ; 94 path.append("unittests/test3.txt") ; 96 MemoryArea* area = AreaFactory->produce(path, FileHandl [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 350 * @param path Path to the content from which you are retrieving DRM constraints. 357 public ContentValues getConstraints(String path, int action) { argument 358 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { 359 throw new IllegalArgumentException("Given usage or path is invalid/null"); 361 return _getConstraints(mUniqueId, path, action); 367 * @param path Path to the content from which you are retrieving metadata information. 372 public ContentValues getMetadata(String path) { argument 373 if (null == path || path 459 canHandle(String path, String mimeType) argument 546 getDrmObjectType(String path, String mimeType) argument 584 getOriginalMimeType(String path) argument 633 checkRightsStatus(String path) argument 660 checkRightsStatus(String path, int action) argument 690 removeRights(String path) argument 860 _getConstraints(int uniqueId, String path, int usage) argument 862 _getMetadata(int uniqueId, String path) argument 864 _canHandle(int uniqueId, String path, String mimeType) argument 873 _getDrmObjectType(int uniqueId, String path, String mimeType) argument 875 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument 877 _checkRightsStatus(int uniqueId, String path, int action) argument 879 _removeRights(int uniqueId, String path) argument [all...] |
H A D | DrmUtils.java | 39 /* package */ static byte[] readBytes(String path) throws IOException { argument 40 File file = new File(path); 64 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument 68 if (null != path && null != data) { 70 outputStream = new FileOutputStream(path); 78 /* package */ static void removeFile(String path) throws IOException { argument 79 File file = new File(path);
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManager.h | 75 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 77 DrmMetadata* getMetadata(int uniqueId, const String8* path); 79 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 88 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 90 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 92 int checkRightsStatus(int uniqueId, const String8& path, int action); 100 int uniqueId, const String8& path, int action, const ActionDescription& description); 102 status_t removeRights(int uniqueId, const String8& path); 138 String8 getSupportedPlugInId(int uniqueId, const String8& path, const String8& mimeType); 142 String8 getSupportedPlugInIdFromPath(int uniqueId, const String8& path); [all...] |
/frameworks/base/test-runner/src/junit/runner/ |
H A D | TestCaseClassLoader.java | 25 /** scanned class path */ 39 * Constructs a TestCaseLoader. It scans the class path 43 this(System.getProperty("java.class.path")); 47 * Constructs a TestCaseLoader. It scans the class path 56 String separator= System.getProperty("path.separator"); 113 String path= (String) fPathItems.elementAt(i); 115 if (isJar(path)) { 116 data= loadJarData(path, fileName); 118 data= loadFileData(path, fileName); 132 private byte[] loadFileData(String path, Strin argument 157 loadJarData(String path, String fileName) argument [all...] |
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 30 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 D | DrmManagerClient.cpp | 42 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/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action); 39 DrmMetadata* getMetadata(int uniqueId, const String8* path); 47 bool canHandle(int uniqueId, const String8& path); 56 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 58 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 60 int checkRightsStatus(int uniqueId, const String8& path, int action); 68 int uniqueId, const String8& path, int action, const ActionDescription& description); 70 status_t removeRights(int uniqueId, const String8& path); 115 * @param[in] path Path of the protected content 124 int uniqueId, const String8* path, in [all...] |
/frameworks/av/media/libeffects/downmix/ |
H A D | Android.mk | 23 $(call include-path-for, audio-effects) \ 24 $(call include-path-for, audio-utils)
|
/frameworks/av/media/libeffects/preprocessing/ |
H A D | Android.mk | 17 $(call include-path-for, audio-effects) 19 LOCAL_C_INCLUDES += $(call include-path-for, speex)
|
/frameworks/base/services/jni/ |
H A D | com_android_server_SerialService.cpp | 37 static jobject android_server_SerialService_open(JNIEnv *env, jobject thiz, jstring path) argument 39 const char *pathStr = env->GetStringUTFChars(path, NULL); 44 env->ReleaseStringUTFChars(path, pathStr); 47 env->ReleaseStringUTFChars(path, pathStr);
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | FsUtils.java | 132 public static String getTestUrl(String path) { argument 134 if (!path.startsWith(HTTP_TESTS_PREFIX)) { 135 url = "file://" + path; 138 if (path.startsWith(HTTPS_TESTS_PREFIX)) { 140 url = "https://127.0.0.1:8443/" + path.substring(HTTP_TESTS_PREFIX.length()); 141 } else if (!path.startsWith(HTTP_LOCAL_TESTS_PREFIX) 142 && !path.startsWith(HTTP_MEDIA_TESTS_PREFIX) 143 && !path.startsWith(HTTP_WML_TESTS_PREFIX)) { 144 url = "http://127.0.0.1:8000/" + path.substring(HTTP_TESTS_PREFIX.length()); 146 url = "file://" + path; 198 getLastSegmentInPath(String path) argument [all...] |
/frameworks/compile/libbcc/runtime/make/ |
H A D | filter-inputs | 19 base = os.path.basename(file)
|
/frameworks/wilhelm/tests/listening/ |
H A D | Android.mk | 10 $(call include-path-for, wilhelm) 34 $(call include-path-for, wilhelm)
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | Android.mk | 10 $(call include-path-for, wilhelm) 36 $(call include-path-for, wilhelm) 62 $(call include-path-for, wilhelm) 88 $(call include-path-for, wilhelm) 114 $(call include-path-for, wilhelm) 140 $(call include-path-for, wilhelm) 166 $(call include-path-for, wilhelm) 192 $(call include-path-for, wilhelm)
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 86 char path[255]; local 92 sprintf(path, "/proc/%d/wchan", pid); 93 if ((fd = open(path, O_RDONLY)) < 0) { 94 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); 99 printf("Failed to read '%s' (%s)\n", path, strerror(errno)); 145 int dump_file(const char *title, const char* path) { argument 147 int fd = open(path, O_RDONLY); 150 if (title) printf("------ %s (%s) ------\n", title, path); 151 printf("*** %s: %s\n", path, strerror(err)); 156 if (title) printf("------ %s (%s", title, path); 301 redirect_to_file(FILE *redirect, char *path, int gzip_level) argument 366 should_dump_native_traces(const char* path) argument 446 char path[PATH_MAX]; local 519 play_sound(const char* path) argument [all...] |
/frameworks/base/cmds/rawbu/ |
H A D | backup.cpp | 51 const char* path; member in struct:android::special_dir 65 static int wipe (const char *path) argument 72 dir = opendir(path); 76 path, strerror(errno)); 82 strcpy(nameBuffer, path); 104 /* See if this is a path we should skip. */ 105 for (i = 0; SKIP_PATHS[i].path; i++) { 106 if (strcmp(SKIP_PATHS[i].path, nameBuffer) == 0) { 118 if (!noBackup && SKIP_PATHS[i].path != NULL) { 152 strcpy(nameBuffer, path); 236 write_header(FILE* fh, int type, const char* path, const struct stat* st) argument 438 read_header(FILE* fh, int* type, char** path, struct stat* st) argument 538 char* path = NULL; local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaScannerConnection.java | 50 public void scanCompleted(String path, Uri uri) { 53 client.onScanCompleted(path, uri); 66 * @param path the path to the file that has been scanned. 70 public void onScanCompleted(String path, Uri uri); argument 88 * @param path the path to the file that has been scanned. 92 public void onScanCompleted(String path, Uri uri); argument 156 * @param path the path t 160 scanFile(String path, String mimeType) argument 195 onScanCompleted(String path, Uri uri) argument [all...] |