/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 86 JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, 99 if (!path) { 106 const char *tmp = env->GetStringUTFChars(path, NULL); 112 env->ReleaseStringUTFChars(path, tmp); 85 android_media_MediaMetadataRetriever_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument
|
H A D | android_media_MediaScanner.cpp | 148 virtual status_t scanFile(const char* path, long long lastModified, argument 151 ALOGV("scanFile: path(%s), time(%lld), size(%lld) and isDir(%d)", 152 path, lastModified, fileSize, isDirectory); 155 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) { 240 JNIEnv *env, jobject thiz, jstring path, jobject client) 249 if (path == NULL) { 254 const char *pathStr = env->GetStringUTFChars(path, NULL); 264 env->ReleaseStringUTFChars(path, pathStr); 269 JNIEnv *env, jobject thiz, jstring path, 281 if (path 239 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument 268 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageMeasurement.java | 376 final File path = new File(basePath, type); 377 final long size = getDirectorySize(imcs, path); 435 private static long getDirectorySize(IMediaContainerService imcs, File path) { argument 437 final long size = imcs.calculateDirectorySize(path.toString()); 438 Log.d(TAG, "getDirectorySize(" + path + ") returned " + size); 441 Log.w(TAG, "Could not read memory from default container service for " + path, e);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 65 Log.w("BitmapRegionTileSource", "getting decoder failed for path " + pathName, e); 226 public FilePathBitmapSource(String path, int previewSize) { argument 228 mPath = path;
|
/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | DeviceStorageMonitorService.java | 531 public void onEvent(int event, String path) { argument 532 EventLogTags.writeCacheFileDeleted(path);
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.h | 228 StringPool::Ref path; member in struct:aapt::FileReference 236 FileReference(const StringPool::Ref& path);
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Compile.cpp | 61 static Maybe<ResourcePathData> extractResourcePathData(const std::string& path, argument 63 std::vector<std::string> parts = util::split(path, file::sDirSep); 65 if (outError) *outError = "bad resource path"; 98 Source(path), 189 std::ifstream fin(pathData.source.path, std::ifstream::binary); 332 std::ifstream fin(pathData.source.path, std::ifstream::binary); 382 std::ifstream fin(pathData.source.path, std::ifstream::binary); 411 Maybe<android::FileMap> f = file::mmapPath(pathData.source.path, &errorStr); 472 .requiredFlag("-o", "Output path", &options.outputPath) 505 // Collect data from the path fo [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/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 71 LayerLibrary(const std::string& path) argument 72 : path_(path), dlhandle_(nullptr), refcount_(0) {} 307 void AddLayerLibrary(const std::string& path) { argument 308 LayerLibrary library(path); 384 void ForEachFileInPath(const std::string& path, Functor functor) { argument 385 size_t zip_pos = path.find("!/"); 387 ForEachFileInDir(path, functor); 389 ForEachFileInZip(path.substr(0, zip_pos), path.substr(zip_pos + 2), 396 for (const auto& path [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 261 /* Decode an audio path by opening a file descriptor on that path */ 262 void TestDecToBuffQueue( SLObjectItf sl, const char* path) argument 264 size_t len = strlen((const char *) path); 269 memcpy(outputPath, path, len + 1); 333 decUri.URI = (SLchar*)path;
|
/frameworks/av/cmds/stagefright/ |
H A D | mediafilter.cpp | 314 const char *path, 323 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { 377 // set app cache directory path 312 decode( const sp<ALooper> &looper, const char *path, const sp<Surface> &surface, bool renderSurface, bool useTimestamp, FilterType filterType) argument
|
/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 | 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...] |
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/drm/libmediadrm/ |
H A D | Drm.cpp | 216 ALOGE("Failed to load from cached library path!"); 255 bool Drm::loadLibraryForScheme(const String8 &path, const uint8_t uuid[16]) { argument 258 ssize_t index = mLibraryPathToOpenLibraryMap.indexOfKey(path); 262 index = mLibraryPathToOpenLibraryMap.add(path, NULL); 266 mLibrary = new SharedLibrary(path);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 53 static int loadEffectConfigFile(const char *path); 60 static lib_entry_t *getLibrary(const char *path); 472 int loadEffectConfigFile(const char *path) argument 477 data = load_file(path, NULL); 515 char path[PATH_MAX]; local 523 // audio_effects.conf always specifies 32 bit lib path: convert to 64 bit path if needed 524 strlcpy(path, node->value, PATH_MAX); 526 str = strstr(path, "/lib/"); 529 len = str - path; [all...] |
/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/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 97 * Return the smallest key point (where a path starts or ends) that is at least a specified 146 StrokeDescription path = paths.get(i); 147 latestEnd = Math.max(latestEnd, path.mEndTime); 162 * added to a gesture, and the total gesture duration (earliest path start time to latest 163 * path end time) may not exceed {@link GestureDescription#getMaxGestureDuration()}. 206 * @param path The path to follow. Must have exactly one contour. The bounds of the path 207 * must not be negative. The path must not be empty. If the path ha 214 StrokeDescription(@onNull Path path, @IntRange(from = 0) long startTime, @IntRange(from = 0) long duration) argument [all...] |
/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 | 96 private native long loadNativeCode(String path, String funcname, MessageQueue queue, argument 165 String path = classLoader.findLibrary(libname); 167 if (path == null) { 175 mNativeHandle = loadNativeCode(path, funcname, Looper.myQueue(), 183 "Unable to load native library \"" + path + "\": " + getDlError());
|
/frameworks/base/core/java/android/os/storage/ |
H A D | VolumeInfo.java | 159 public String path; field in class:VolumeInfo 184 path = parcel.readString(); 297 return (path != null) ? new File(path) : null; 305 if (path == null) { 308 return new File(path); 310 return new File(path, Integer.toString(userId)); 322 // TODO: plumb through cleaner path from vold 323 return new File(path.replace("/storage/", "/mnt/media_rw/")); 471 pw.printPair("path", pat [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 226 * Sets video path. 228 * @param path the path of the video. 230 public void setVideoPath(String path) { argument 231 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);
|