/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 368 * @param path Path to the content from which you are retrieving DRM constraints. 375 public ContentValues getConstraints(String path, int action) { argument 376 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { 377 throw new IllegalArgumentException("Given usage or path is invalid/null"); 379 return _getConstraints(mUniqueId, path, action); 385 * @param path Path to the content from which you are retrieving metadata information. 390 public ContentValues getMetadata(String path) { argument 391 if (null == path || path 477 canHandle(String path, String mimeType) argument 564 getDrmObjectType(String path, String mimeType) argument 602 getOriginalMimeType(String path) argument 651 checkRightsStatus(String path) argument 678 checkRightsStatus(String path, int action) argument 708 removeRights(String path) argument 878 _getConstraints(int uniqueId, String path, int usage) argument 880 _getMetadata(int uniqueId, String path) argument 882 _canHandle(int uniqueId, String path, String mimeType) argument 891 _getDrmObjectType(int uniqueId, String path, String mimeType) argument 893 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument 895 _checkRightsStatus(int uniqueId, String path, int action) argument 897 _removeRights(int uniqueId, String path) argument [all...] |
H A D | DrmUtils.java | 38 /* package */ static byte[] readBytes(String path) throws IOException { argument 39 File file = new File(path); 63 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument 67 if (null != path && null != data) { 69 outputStream = new FileOutputStream(path); 77 /* package */ static void removeFile(String path) throws IOException { argument 78 File file = new File(path);
|
/frameworks/base/libs/hwui/ |
H A D | PathCache.cpp | 116 return shape.path.mGenerationID == rhs.shape.path.mGenerationID; 124 bool PathCache::canDrawAsConvexPath(SkPath* path, const SkPaint* paint) { argument 126 return paint->getPathEffect() == nullptr && path->getConvexity() == SkPath::kConvex_Convexity; 129 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint, argument 131 const SkRect& bounds = path->getBounds(); 166 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, argument 175 canvas.drawPath(*path, pathPaint); 234 // If there is a pending task, the path was not added 237 ALOGE("Removing path textur 270 addTexture(const PathDescription& entry, const SkPath *path, const SkPaint* paint) argument 355 removeDeferred(const SkPath* path) argument 382 get(const SkPath* path, const SkPaint* paint) argument 413 remove(const SkPath* path, const SkPaint* paint) argument 419 precache(const SkPath* path, const SkPaint* paint) argument 472 SkPath path; local 494 SkPath path; local 515 SkPath path; local 538 SkPath path; local 565 SkPath path; local [all...] |
H A D | DisplayList.cpp | 69 const SkPath* path = pathResources[i]; local 70 if (path->unique() && Caches::hasInstance()) { 71 Caches::getInstance().pathCache.removeDeferred(path); 73 delete path;
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManager.h | 73 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 75 DrmMetadata* getMetadata(int uniqueId, const String8* path); 77 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 86 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 88 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 90 int checkRightsStatus(int uniqueId, const String8& path, int action); 98 int uniqueId, const String8& path, int action, const ActionDescription& description); 100 status_t removeRights(int uniqueId, const String8& path); 136 String8 getSupportedPlugInId(int uniqueId, const String8& path, const String8& mimeType); 140 String8 getSupportedPlugInIdFromPath(int uniqueId, const String8& path); [all...] |
/frameworks/base/tools/aapt2/flatten/ |
H A D | Archive.cpp | 48 bool startEntry(const StringPiece& path, uint32_t flags) override { 54 file::appendPath(&fullPath, path); 99 bool open(IDiagnostics* diag, const StringPiece& path) { argument 100 mFile = { fopen(path.data(), "w+b"), fclose }; 102 diag->error(DiagMessage() << "failed to open " << path << ": " << strerror(errno)); 109 bool startEntry(const StringPiece& path, uint32_t flags) override { 123 int32_t result = mWriter->StartEntry(path.data(), zipFlags); 166 const StringPiece& path) { 169 if (!writer->open(diag, path)) { 176 const StringPiece& path) { 165 createDirectoryArchiveWriter(IDiagnostics* diag, const StringPiece& path) argument 175 createZipFileArchiveWriter(IDiagnostics* diag, const StringPiece& path) argument [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/wilhelm/tests/examples/ |
H A D | Android.mk | 10 $(call include-path-for, wilhelm) \ 11 $(call include-path-for, audio-utils) 40 $(call include-path-for, wilhelm) 65 $(call include-path-for, wilhelm) \ 66 $(call include-path-for, audio-utils) 97 $(call include-path-for, wilhelm) 123 $(call include-path-for, wilhelm) 148 $(call include-path-for, wilhelm) 173 $(call include-path-for, wilhelm) 198 $(call include-path [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/include/media/ |
H A D | SharedLibrary.h | 27 SharedLibrary(const String8 &path);
|
/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/core/java/android/os/storage/ |
H A D | StorageEventListener.java | 34 * @param path the filesystem path for the storage 38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
/frameworks/base/services/core/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/wilhelm/tests/automated/ |
H A D | Android.mk | 9 $(call include-path-for, wilhelm) \ 10 $(call include-path-for, wilhelm-ut)
|
/frameworks/wilhelm/tests/listening/ |
H A D | Android.mk | 10 $(call include-path-for, wilhelm) 35 $(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/av/media/libstagefright/ |
H A D | StagefrightMediaScanner.cpp | 58 const char *path, const char *mimeType, 60 ALOGV("processFile '%s'.", path); 64 MediaScanResult result = processFileInternal(path, mimeType, client); 70 const char *path, const char * /* mimeType */, 72 const char *extension = strrchr(path, '.'); 84 int fd = open(path, O_RDONLY | O_LARGEFILE); 88 status = mRetriever->setDataSource(NULL /* httpService */, path); 57 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument 69 processFileInternal( const char *path, const char * , MediaScannerClient &client) argument
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/ |
H A D | MemoryMappedFile_Delegate.java | 54 static MemoryMappedFile mmapRO(String path) throws ErrnoException { argument 55 if (!path.startsWith(TARGET_PATH)) { 61 path = path.substring(TARGET_PATH.length()); 63 File f = new File(sRootPath, path); 109 public static void setDataDir(File path) { argument 110 sRootPath = path;
|
/frameworks/av/media/libeffects/data/ |
H A D | audio_effects.conf | 1 # List of effect libraries to load. Each library element must contain a "path" element 2 # giving the full path of the library .so file. 5 # path <lib path> 13 #path /system/lib/soundfx/libeffectproxy.so 18 #path /system/lib/soundfx/libswwrapper.so 23 #path /system/lib/soundfx/libhwwrapper.so 27 path /system/lib/soundfx/libbundlewrapper.so 30 path /system/lib/soundfx/libreverbwrapper.so 33 path /syste [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 159 * @param path the path t 163 scanFile(String path, String mimeType) argument 198 onScanCompleted(String path, Uri uri) argument [all...] |
/frameworks/native/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/wilhelm/tests/sandbox/ |
H A D | Android.mk | 10 $(call include-path-for, wilhelm) 39 $(call include-path-for, wilhelm) 66 $(call include-path-for, wilhelm) \ 67 $(call include-path-for, wilhelm-ut) 98 $(call include-path-for, wilhelm) \ 99 $(call include-path-for, wilhelm-ut) 130 $(call include-path-for, wilhelm) 157 $(call include-path-for, wilhelm) 188 $(call include-path-for, wilhelm) 219 $(call include-path [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | PathInterpolator.java | 39 * Path path = new Path(); 40 * path.lineTo(0.25f, 0.25f); 41 * path.moveTo(0.25f, 0.5f); 42 * path.lineTo(1f, 1f); 58 * @param path The <code>Path</code> to use to make the line representing the interpolator. 60 public PathInterpolator(Path path) { argument 61 initPath(path); 110 Path path = PathParser.createPathFromPathData(pathData); 111 if (path == null) { 112 throw new InflateException("The path i 157 initPath(Path path) argument [all...] |