/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 158 int uniqueId, const String8* path, const int action) { 164 data.writeString8(*path); 190 DrmMetadata* BpDrmManagerService::getMetadata(int uniqueId, const String8* path) { argument 197 data.writeString8(*path); 220 bool BpDrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 227 data.writeString8(path); 370 String8 BpDrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 376 data.writeString8(path); 388 int uniqueId, const String8& path, const String8& mimeType) { 394 data.writeString8(path); 157 getConstraints( int uniqueId, const String8* path, const int action) argument 387 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument 402 checkRightsStatus(int uniqueId, const String8& path, int action) argument 450 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 468 removeRights(int uniqueId, const String8& path) argument 857 const String8 path = data.readString8(); local 891 const String8 path = data.readString8(); local 923 const String8 path = data.readString8(); local 1084 const String8 path = data.readString8(); local 1102 const String8 path = data.readString8(); local 1116 const String8 path = data.readString8(); local 1170 const String8 path = data.readString8(); local 1187 String8 path = data.readString8(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 153 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument 155 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 158 return rDrmEngine.getConstraints(uniqueId, path, action); 163 DrmMetadata* DrmManager::getMetadata(int uniqueId, const String8* path) { argument 165 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 168 return rDrmEngine.getMetadata(uniqueId, path); 173 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 178 if (0 < path.length()) { 181 result = rDrmEngine.canHandle(uniqueId, path); 183 String8 extension = path 202 canHandle(int uniqueId, const String8& path) argument 239 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument 249 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument 259 checkRightsStatus(int uniqueId, const String8& path, int action) argument 291 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 302 removeRights(int uniqueId, const String8& path) argument 547 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument 575 getSupportedPlugInIdFromPath(int uniqueId, const String8& path) argument [all...] |
H A D | DrmManagerService.cpp | 159 int uniqueId, const String8* path, const int action) { 161 return mDrmManager->getConstraints(uniqueId, path, action); 164 DrmMetadata* DrmManagerService::getMetadata(int uniqueId, const String8* path) { argument 166 return mDrmManager->getMetadata(uniqueId, path); 169 bool DrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 171 return mDrmManager->canHandle(uniqueId, path, mimeType); 191 String8 DrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 193 return mDrmManager->getOriginalMimeType(uniqueId, path, fd); 197 int uniqueId, const String8& path, const String8& mimeType) { 199 return mDrmManager->getDrmObjectType(uniqueId, path, mimeTyp 158 getConstraints( int uniqueId, const String8* path, const int action) argument 196 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument 202 checkRightsStatus( int uniqueId, const String8& path, int action) argument 226 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 233 removeRights(int uniqueId, const String8& path) argument [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 101 int uniqueId, const String8* path, const int action) { 103 if ((NULL != path) && (EMPTY_STRING != *path)) { 105 getDrmManagerService()->getConstraints(uniqueId, path, action); 110 DrmMetadata* DrmManagerClientImpl::getMetadata(int uniqueId, const String8* path) { argument 112 if ((NULL != path) && (EMPTY_STRING != *path)) { 113 drmMetadata = getDrmManagerService()->getMetadata(uniqueId, path); 119 int uniqueId, const String8& path, const String8& mimeType) { 121 if ((EMPTY_STRING != path) || (EMPTY_STRIN 100 getConstraints( int uniqueId, const String8* path, const int action) argument 118 canHandle( int uniqueId, const String8& path, const String8& mimeType) argument 151 getOriginalMimeType( int uniqueId, const String8& path, int fd) argument 160 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument 170 checkRightsStatus( int uniqueId, const String8& path, int action) argument 202 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 213 removeRights(int uniqueId, const String8& path) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument 113 if (NULL != path && 114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) { 122 DrmMetadata* FwdLockEngine::onGetMetadata(int /* uniqueId */, const String8* path) { argument 127 if (NULL != path) { 227 bool FwdLockEngine::onCanHandle(int /* uniqueId */, const String8& path) { argument 230 String8 extString = path.getPathExtension(); 267 const String8& path, 274 if (onCanHandle(uniqueId, path)) { 306 const String8& path, 266 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument 305 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& ) argument 341 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | NuMediaExtractor.cpp | 76 const char *path, 80 if (mImpl != NULL || path == NULL) { 85 DataSourceFactory::CreateFromURI(httpService, path, headers); 74 setDataSource( const sp<MediaHTTPService> &httpService, const char *path, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 133 const char *url, AString *host, unsigned *port, AString *path, 137 path->clear(); 149 path->setTo("/"); 152 path->setTo(slashPos); 234 AString host, path; local 236 if (!ParseURL(url.c_str(), &host, &port, &path, &mUser, &mPass) 132 ParseURL( const char *url, AString *host, unsigned *port, AString *path, AString *user, AString *pass) argument
|
/frameworks/av/media/libstagefright/xmlparser/ |
H A D | MediaCodecsXmlParser.cpp | 47 * \param[out] outPath Full path of the file. `outPath` will hold a valid file 123 std::string path; local 124 if (findFileInDirs(searchDirs, mainXmlName, &path)) { 125 parseTopLevelXMLFile(path.c_str(), false); 130 if (findFileInDirs(searchDirs, performanceXmlName, &path)) { 131 parseTopLevelXMLFile(path.c_str(), true); 167 void MediaCodecsXmlParser::parseXMLFile(const char *path) { argument 168 FILE *file = fopen(path, "r"); 171 ALOGW("unable to open media codecs configuration xml file: %s", path);
|
/frameworks/base/core/java/android/animation/ |
H A D | PropertyValuesHolder.java | 207 * as a multi-int setter. The values are animated along the path, with the first 213 * @param path The Path along which the values should be animated. 217 public static PropertyValuesHolder ofMultiInt(String propertyName, Path path) { argument 218 Keyframes keyframes = KeyframeSet.ofPath(path); 326 * as a multi-float setter. The values are animated along the path, with the first 332 * @param path The Path along which the values should be animated. 336 public static PropertyValuesHolder ofMultiFloat(String propertyName, Path path) { argument 337 Keyframes keyframes = KeyframeSet.ofPath(path); 424 * @param path The Path along which the values should be animated. 428 TypeConverter<PointF, ?> converter, Path path) { 427 ofObject(String propertyName, TypeConverter<PointF, ?> converter, Path path) argument 512 ofObject(Property<?, V> property, TypeConverter<PointF, V> converter, Path path) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 88 private native long loadNativeCode(String path, String funcname, MessageQueue queue, argument 157 String path = classLoader.findLibrary(libname); 159 if (path == null) { 167 mNativeHandle = loadNativeCode(path, funcname, Looper.myQueue(), 175 "Unable to load native library \"" + path + "\": " + getDlError());
|
H A D | ResourcesManager.java | 94 public final String path; field in class:ResourcesManager.ApkKey 98 ApkKey(String path, boolean sharedLib, boolean overlay) { argument 99 this.path = path; 107 result = 31 * result + this.path.hashCode(); 119 return this.path.equals(other.path) && this.sharedLib == other.sharedLib 167 * given filesystem path. Typically used when unmounting a storage device to 170 public void invalidatePath(String path) { argument 175 if (key.isPathReferenced(path)) { 306 overlayPathToIdmapPath(String path) argument 310 loadApkAssets(String path, boolean sharedLib, boolean overlay) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackup.java | 94 String linkdomain, String rootpath, String path, FullBackupDataOutput output); 143 * to a location that is writeable by the caller, preferably using an absolute path. 314 * Represents a path attribute specified in an <include /> rule along with optional 315 * transport flags required from the transport to include file(s) under that path as 326 public PathWithRequiredFlags(String path, int requiredFlags) { argument 327 mPath = path; 494 parser.getAttributeValue(null, "path")); 568 Log.v(TAG_XML_PARSER, " path: " + includeData.getPath() 579 Log.v(TAG_XML_PARSER, " path: " + excludeData.getPath() 673 * @return The canonical path o 93 backupToTar(String packageName, String domain, String linkdomain, String rootpath, String path, FullBackupDataOutput output) argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | VolumeInfo.java | 160 public String path; field in class:VolumeInfo 185 path = parcel.readString(); 291 return (path != null) ? new File(path) : null; 299 if (path == null) { 302 return new File(path); 304 return new File(path, Integer.toString(userId)); 316 // TODO: plumb through cleaner path from vold 317 return new File(path.replace("/storage/", "/mnt/media_rw/")); 455 pw.printPair("path", pat [all...] |
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextClassifierImpl.java | 464 /** Returns null if the path did not point to a compatible model. */ 465 static @Nullable ModelFile fromPath(String path) { argument 466 final File file = new File(path); 483 return new ModelFile(path, file.getName(), version, supportedLocales, 491 /** The absolute path to the model file. */ 553 return String.format(Locale.US, "ModelFile { path=%s name=%s version=%d locales=%s }", 557 private ModelFile(String path, String name, int version, List<Locale> supportedLocales, argument 559 mPath = path;
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | FileSystemProvider.java | 169 LinkedList<String> path = new LinkedList<>(); 171 path.addFirst(getDocIdForFile(doc)); 176 return path; 303 final String path = oldVisibleFile.getAbsolutePath(); 307 new String[]{path, path}); 342 // path prefix match. Logic borrowed from MtpDatabase. 344 final String path = visibleFile.getAbsolutePath() + "/"; 347 new String[]{path + "%", Integer.toString(path 594 onEvent(int event, String path) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 69 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local 71 SkASSERT(dst && path && clip); 72 bool result = dst->setPath(*path, *clip); 86 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local 87 bool result = region->getBoundaryPath(path);
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 375 * @param path Path to the content from which you are retrieving DRM constraints. 382 public ContentValues getConstraints(String path, int action) { argument 383 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { 384 throw new IllegalArgumentException("Given usage or path is invalid/null"); 386 return _getConstraints(mUniqueId, path, action); 392 * @param path Path to the content from which you are retrieving metadata information. 397 public ContentValues getMetadata(String path) { argument 398 if (null == path || path 484 canHandle(String path, String mimeType) argument 571 getDrmObjectType(String path, String mimeType) argument 609 getOriginalMimeType(String path) argument 658 checkRightsStatus(String path) argument 685 checkRightsStatus(String path, int action) argument 715 removeRights(String path) argument 885 _getConstraints(int uniqueId, String path, int usage) argument 887 _getMetadata(int uniqueId, String path) argument 889 _canHandle(int uniqueId, String path, String mimeType) argument 898 _getDrmObjectType(int uniqueId, String path, String mimeType) argument 900 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument 902 _checkRightsStatus(int uniqueId, String path, int action) argument 904 _removeRights(int uniqueId, String path) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Icon.java | 387 Log.w(TAG, "Unable to load image from path: " + uri, e); 700 * Create an Icon pointing to an image file specified by path. 702 * @param path A path to a file that contains compressed bitmap data of 705 public static Icon createWithFilePath(String path) { argument 706 if (path == null) { 710 rep.mString1 = path;
|
/frameworks/base/libs/hwui/ |
H A D | RecordedOp.h | 291 PathOp(BASE_PARAMS, const SkPath* path) : SUPER(PathOp), path(path) {} argument 292 const SkPath* path; member in struct:android::uirenderer::PathOp 379 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, 384 , path(path) 390 const SkPath* path; member in struct:android::uirenderer::TextOnPathOp 378 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) argument
|
H A D | SkiaCanvasProxy.cpp | 72 SkPath path; local 74 path.moveTo(pts[i]); 75 path.lineTo(pts[i + 1]); 76 this->drawPath(path, strokedPaint); 77 path.rewind(); 101 SkPath path; local 102 path.addRRect(roundRect); 103 mCanvas->drawPath(path, paint); 113 void SkiaCanvasProxy::onDrawPath(const SkPath& path, const SkPaint& paint) { argument 114 mCanvas->drawPath(path, pain 237 SkPath path; local 393 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& origPaint) argument 476 SkPath path; local 481 onClipPath(const SkPath& path, SkClipOp op, ClipEdgeStyle) argument [all...] |
H A D | TessellationCache.cpp | 399 const SkPath& path) { 404 PathTessellator::tessellatePath(path, &paint, matrix, *buffer); 423 SkPath path; local 424 path.addRoundRect(rect, rx, ry); 425 return tessellatePath(description, path); 398 tessellatePath(const TessellationCache::Description& description, const SkPath& path) argument
|
H A D | VectorDrawable.cpp | 49 Path::Path(const Path& path) : Node(path) { argument 50 mStagingProperties.syncProperties(path.mStagingProperties); 77 FullPath::FullPath(const FullPath& path) : Path(path) { argument 78 mStagingProperties.syncProperties(path.mStagingProperties); 89 // Trimmed path should be empty. 155 // Draw path's fill, if fill color or gradient is valid 173 // Draw path's stroke, if stroke color or Gradient is valid
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 245 ALOGW("The path for drawTextOnPath is empty or null"); 294 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path, argument 308 SkPathMeasure measure(*path, false);
|
/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 372 bool getSecureContainerPath(const String16& id, String16& path) argument 386 path = reply.readString16(); 503 bool getMountedObbPath(const String16& filename, String16& path) argument 517 path = reply.readString16();
|
/frameworks/base/media/java/android/media/ |
H A D | JetPlayer.java | 212 * Loads a .jet file from a given path. 213 * @param path the path to the .jet file, for instance "/sdcard/mygame/music.jet". 216 public boolean loadJetFile(String path) { argument 217 return native_loadJetFromFile(path);
|