/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 158 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument 160 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 163 return rDrmEngine.getConstraints(uniqueId, path, action); 168 DrmMetadata* DrmManager::getMetadata(int uniqueId, const String8* path) { argument 170 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 173 return rDrmEngine.getMetadata(uniqueId, path); 178 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 183 if (0 < path.length()) { 186 result = rDrmEngine.canHandle(uniqueId, path); 188 String8 extension = path 207 canHandle(int uniqueId, const String8& path) argument 244 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument 254 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument 264 checkRightsStatus(int uniqueId, const String8& path, int action) argument 296 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 307 removeRights(int uniqueId, const String8& path) argument 552 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument 580 getSupportedPlugInIdFromPath(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) { 225 bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) { argument 228 String8 extString = path.getPathExtension(); 264 const String8& path, 271 if (onCanHandle(uniqueId, path)) { 303 const String8& path, 263 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument 302 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument 312 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) argument 336 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument 357 onRemoveRights(int uniqueId, const String8& path) argument [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 51 static int loadEffectConfigFile(const char *path); 58 static lib_entry_t *getLibrary(const char *path); 463 int loadEffectConfigFile(const char *path) argument 468 data = load_file(path, NULL); 538 l->path = strndup(node->value, PATH_MAX); 550 ALOGV("getLibrary() linked library %p for path %s", l, node->value);
|
/frameworks/av/media/libmedia/ |
H A D | SoundPool.cpp | 206 int SoundPool::load(const char* path, int priority __unused) argument 208 ALOGV("load: path=%s, priority=%d", path, priority); 210 sp<Sample> sample = new Sample(++mNextSampleID, path);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Drm.cpp | 154 ALOGE("Failed to load from cached library path!"); 193 bool Drm::loadLibraryForScheme(const String8 &path, const uint8_t uuid[16]) { argument 196 ssize_t index = mLibraryPathToOpenLibraryMap.indexOfKey(path); 200 index = mLibraryPathToOpenLibraryMap.add(path, NULL); 204 mLibrary = new SharedLibrary(path);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecList.cpp | 204 void MediaCodecList::parseXMLFile(const char *path) { argument 205 FILE *file = fopen(path, "r"); 208 ALOGW("unable to open media codecs configuration xml file: %s", path);
|
/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/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 480 char path[ANIM_ENTRY_NAME_MAX]; local 490 else if (sscanf(l, " %c %d %d %s #%6s", &pathType, &count, &pause, path, color) >= 4) { 491 // ALOGD("> type=%c, count=%d, pause=%d, path=%s, color=%s", pathType, count, pause, path, color); 496 part.path = path; 527 const String8 path(entryName.getPathDir()); 531 if (path == animation.parts[j].path) {
|
/frameworks/base/core/java/android/animation/ |
H A D | PropertyValuesHolder.java | 208 * as a multi-int setter. The values are animated along the path, with the first 214 * @param path The Path along which the values should be animated. 218 public static PropertyValuesHolder ofMultiInt(String propertyName, Path path) { argument 219 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); 418 * @param path The Path along which the values should be animated. 422 TypeConverter<PointF, ?> converter, Path path) { 421 ofObject(String propertyName, TypeConverter<PointF, ?> converter, Path path) argument 494 ofObject(Property<?, V> property, TypeConverter<PointF, V> converter, Path path) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 94 private native long loadNativeCode(String path, String funcname, MessageQueue queue, argument 161 String path = null; 166 path = libraryFile.getPath(); 169 if (path == null) { 176 mNativeHandle = loadNativeCode(path, funcname, Looper.myQueue(), 182 throw new IllegalArgumentException("Unable to load native library: " + path);
|
/frameworks/base/core/java/android/os/ |
H A D | Environment.java | 365 * Writing to this path requires the 377 * This path may change between platform versions, so applications should 539 * @return Returns the File path for the directory. Note that this 549 * Returns the path for android-specific data on the SD card. 558 * Generates the raw path to an application's data 567 * Generates the raw path to an application's media 576 * Generates the raw path to an application's OBB files 585 * Generates the path to an application's files. 594 * Generates the path to an application's cache. 610 * Unknown storage state, such as when a path is 704 getStorageState(File path) argument 718 getExternalStorageState(File path) argument 755 isExternalStorageRemovable(File path) argument 786 isExternalStorageEmulated(File path) argument 859 getStorageVolume(File path) argument 893 maybeTranslateEmulatedPathToInternal(File path) argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 98 public void onStorageStateChanged(String path, String oldState, String newState) { argument 101 mListeners.get(i).sendStorageStateChanged(path, oldState, newState); 169 changeListener.onObbStateChange(ev.path, ev.state); 184 void sendObbStateChanged(String path, int state) { argument 185 ObbStateChangedStorageEvent e = new ObbStateChangedStorageEvent(path, state); 194 public final String path; field in class:StorageManager.ObbStateChangedStorageEvent 198 public ObbStateChangedStorageEvent(String path, int state) { argument 200 this.path = path; 243 public String path; field in class:StorageManager.StorageStateChangedStorageEvent 291 sendStorageStateChanged(String path, String oldState, String newState) argument 627 getStorageBytesUntilLow(File path) argument 637 getStorageLowBytes(File path) argument 654 getStorageFullBytes(File path) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 234 * Sets video path. 236 * @param path the path of the video. 238 public void setVideoPath(String path) { argument 239 setVideoURI(Uri.parse(path));
|
/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 | 361 * @param path Path to the content from which you are retrieving DRM constraints. 368 public ContentValues getConstraints(String path, int action) { argument 369 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { 370 throw new IllegalArgumentException("Given usage or path is invalid/null"); 372 return _getConstraints(mUniqueId, path, action); 378 * @param path Path to the content from which you are retrieving metadata information. 383 public ContentValues getMetadata(String path) { argument 384 if (null == path || path 470 canHandle(String path, String mimeType) argument 557 getDrmObjectType(String path, String mimeType) argument 595 getOriginalMimeType(String path) argument 644 checkRightsStatus(String path) argument 671 checkRightsStatus(String path, int action) argument 701 removeRights(String path) argument 871 _getConstraints(int uniqueId, String path, int usage) argument 873 _getMetadata(int uniqueId, String path) argument 875 _canHandle(int uniqueId, String path, String mimeType) argument 884 _getDrmObjectType(int uniqueId, String path, String mimeType) argument 886 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument 888 _checkRightsStatus(int uniqueId, String path, int action) argument 890 _removeRights(int uniqueId, String path) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | TessellationCache.cpp | 431 const SkPath& path) { 436 PathTessellator::tessellatePath(path, &paint, matrix, *buffer); 455 SkPath path; local 456 path.addRoundRect(rect, rx, ry); 457 return tessellatePath(description, path); 430 tessellatePath(const TessellationCache::Description& description, const SkPath& path) argument
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 253 ALOGW("The path for drawTextOnPath is empty or null"); 306 int numGlyphs, const SkPath* path, float hOffset, float vOffset) { 321 SkPathMeasure measure(*path, false); 305 render(const SkPaint* paint, const char *text, uint32_t start, uint32_t len, int numGlyphs, const SkPath* path, float hOffset, float vOffset) argument
|
/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 365 bool getSecureContainerPath(const String16& id, String16& path) argument 379 path = reply.readString16(); 496 bool getMountedObbPath(const String16& filename, String16& path) argument 510 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);
|
H A D | MediaFile.java | 274 public static MediaFileType getFileType(String path) { argument 275 int lastDot = path.lastIndexOf('.'); 278 return sFileTypeMap.get(path.substring(lastDot + 1).toUpperCase(Locale.ROOT)); 288 public static String getFileTitle(String path) { argument 290 int lastSlash = path.lastIndexOf('/'); 293 if (lastSlash < path.length()) { 294 path = path.substring(lastSlash); 298 int lastDot = path.lastIndexOf('.'); 300 path 310 getMimeTypeForFile(String path) argument [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 58 // path to primary storage 185 String path = subDirectories[i]; 186 mSubDirectoriesWhereArgs[j++] = path; 187 mSubDirectoriesWhereArgs[j++] = path + "/%"; 276 // check to see if the path is contained in one of our storage subdirectories 278 private boolean inStorageSubDirectory(String path) { argument 280 if (path == null) return false; 283 int pathLength = path.length(); 288 path.charAt(subdirLength) == '/' && 289 path 298 isStorageSubDirectory(String path) argument 309 inStorageRoot(String path) argument 324 beginSendObject(String path, int format, int parent, int storageId, long size, long modified) argument 375 endSendObject(String path, int handle, int format, boolean succeeded) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 266 public static int getRotationFromExif(String path) { argument 267 return getRotationFromExifHelper(path, null, 0, null, null); 279 String path, Resources res, int resId, Context context, Uri uri) { 284 if (path != null) { 285 ei.readExif(path); 278 getRotationFromExifHelper( String path, Resources res, int resId, Context context, Uri uri) argument
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | IntentFirewall.java | 564 public void onEvent(int event, String path) { argument 565 if (path.endsWith(".xml")) {
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 852 public void setMassStorageBackingFile(String path) { argument 853 if (path == null) path = ""; 855 FileUtils.stringToFile(MASS_STORAGE_FILE_PATH, path);
|