Searched defs:path (Results 201 - 225 of 481) sorted by relevance

1234567891011>>

/frameworks/av/drm/common/
H A DDrmEngineBase.cpp30 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 DDrmManagerClient.cpp42 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/passthru/src/
H A DDrmPassthruPlugIn.cpp55 DrmMetadata* DrmPassthruPlugIn::onGetMetadata(int /*uniqueId*/, const String8* /*path*/) {
60 int uniqueId, const String8* /*path*/, int /*action*/) {
160 bool DrmPassthruPlugIn::onCanHandle(int /*uniqueId*/, const String8& path) { argument
161 ALOGV("DrmPassthruPlugIn::canHandle: %s ", path.string());
162 String8 extension = path.getPathExtension();
168 const String8& /*path*/, int /*fd*/) {
174 int uniqueId, const String8& /*path*/, const String8& /*mimeType*/) {
179 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& /*path*/, int /*action*/) {
198 const String8& /*path*/, int /*action*/, const ActionDescription& /*description*/) {
203 status_t DrmPassthruPlugIn::onRemoveRights(int uniqueId, const String8& /*path*/) {
[all...]
/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp99 ALOGE("Failed to load from cached library path!");
141 bool Crypto::loadLibraryForScheme(const String8 &path, const uint8_t uuid[16]) { argument
144 ssize_t index = mLibraryPathToOpenLibraryMap.indexOfKey(path);
148 index = mLibraryPathToOpenLibraryMap.add(path, NULL);
152 mLibrary = new SharedLibrary(path);
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp326 int JetPlayer::loadFromFile(const char* path) argument
328 ALOGV("JetPlayer::loadFromFile(): path=%s", path);
332 mIoWrapper = new MidiIoWrapper(path);
H A DMediaScanner.cpp69 char * path = strtok(skipList, ","); local
71 while (path) {
72 mSkipIndex[i++] = strlen(path);
73 path = strtok(NULL, ",");
82 const char *path, MediaScannerClient &client) {
83 int pathLength = strlen(path);
93 strcpy(pathBuffer, path);
109 bool MediaScanner::shouldSkipDirectory(char *path) { argument
110 if (path && mSkipList && mSkipIndex) {
111 int len = strlen(path);
81 processDirectory( const char *path, MediaScannerClient &client) argument
131 doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) argument
172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp390 status_t ConfigParsingUtils::loadConfig(const char *path, AudioPolicyConfig &config) argument
395 data = (char *)load_file(path, NULL);
414 ALOGI("loadAudioPolicyConfig() loaded %s\n", path);
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp688 status_t AudioPolicyEffects::loadAudioEffectConfig(const char *path) argument
693 data = (char *)load_file(path, NULL);
/frameworks/base/cmds/idmap/
H A Dinspect.cpp102 printe("failed to read next path: buffer not initialized\n");
106 printe("failed to read next path: end of buffer reached at pos=0x%08x\n", pos_);
170 char path[PATH_LENGTH]; local
204 err = buf.nextPath(path);
209 print_path("", "base path", "%s", path);
211 if (!am.addAssetPath(String8(path), NULL)) {
212 printe("failed to add '%s' as asset path\n", path);
216 err = buf.nextPath(path);
[all...]
H A Dscan.cpp79 String8 flatten_path(const char *path) argument
81 String16 tmp(path);
185 int parse_apk(const char *path, const char *target_package_name) argument
187 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(path));
189 ALOGW("%s: failed to open zip %s\n", __FUNCTION__, path);
/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java99 * will cause the code to take an optimized path for these constrained circumstances. Other
263 * @param path The <code>Path</code> to animate values along.
264 * @return An ObjectAnimator object that is set up to animate along <code>path</code>.
267 Path path) {
268 PathKeyframes keyframes = KeyframeSet.ofPath(path);
305 * @param path The <code>Path</code> to animate values along.
306 * @return An ObjectAnimator object that is set up to animate along <code>path</code>.
309 Property<T, Integer> yProperty, Path path) {
310 PathKeyframes keyframes = KeyframeSet.ofPath(path);
351 * @param path Th
266 ofInt(Object target, String xPropertyName, String yPropertyName, Path path) argument
308 ofInt(T target, Property<T, Integer> xProperty, Property<T, Integer> yProperty, Path path) argument
354 ofMultiInt(Object target, String propertyName, Path path) argument
465 ofFloat(Object target, String xPropertyName, String yPropertyName, Path path) argument
508 ofFloat(T target, Property<T, Float> xProperty, Property<T, Float> yProperty, Path path) argument
555 ofMultiFloat(Object target, String propertyName, Path path) argument
637 ofObject(Object target, String propertyName, @Nullable TypeConverter<PointF, ?> converter, Path path) argument
728 ofObject(T target, @NonNull Property<T, V> property, @Nullable TypeConverter<PointF, V> converter, Path path) argument
[all...]
/frameworks/base/core/java/android/os/
H A DShellCommand.java194 public ParcelFileDescriptor openOutputFileForSystem(String path) { argument
196 ParcelFileDescriptor pfd = getShellCallback().openOutputFile(path,
204 getErrPrintWriter().println("Error: Unable to open file: " + path);
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java107 final String path = codePaths.get(i);
108 apkHandles[i] = nativeOpenApk(path);
114 throw new IOException("Unable to open APK: " + path);
154 private static native long nativeOpenApk(String path); argument
272 private static void createNativeLibrarySubdir(File path) throws IOException { argument
273 if (!path.isDirectory()) {
274 path.delete();
276 if (!path.mkdir()) {
277 throw new IOException("Cannot create " + path.getPath());
281 Os.chmod(path
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygote.java165 * Lets children of the zygote inherit open file descriptors to this path.
167 native protected static void nativeAllowFileAcrossFork(String path); argument
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp25 client to be sure not to edit the path while we have an active measure
28 This costs us the copy of the path, for the sake of not allowing a bad
30 native path has been modified).
33 later changes this, and is internally safe from changes to the path, then
36 Note that we do not have a reference on the java side to the java path.
38 reference, so that the java path would not get GD'd while the measure object
43 PathMeasurePair(const SkPath& path, bool forceClosed) argument
44 : fPath(path), fMeasure(fPath, forceClosed) {}
46 SkPath fPath; // copy of the user's path
57 const SkPath* path local
70 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_JetPlayer.cpp129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) argument
142 const char *pathStr = env->GetStringUTFChars(path, NULL);
150 env->ReleaseStringUTFChars(path, pathStr);
H A Dcom_android_internal_net_NetworkStatsFactory.cpp100 jstring path, jint limitUid, jobjectArray limitIfacesObj, jint limitTag) {
101 ScopedUtfChars path8(env, path);
99 readNetworkStatsDetail(JNIEnv* env, jclass clazz, jobject stats, jstring path, jint limitUid, jobjectArray limitIfacesObj, jint limitTag) argument
/frameworks/base/core/tests/coretests/src/android/provider/
H A DMockFontProvider.java214 public static File getCopiedFile(Context context, String path) { argument
215 return new File(context.getFilesDir(), path);
/frameworks/base/libs/hwui/
H A DCanvasState.cpp210 bool CanvasState::clipPath(const SkPath* path, SkClipOp op) { argument
211 mSnapshot->clipPath(*path, op);
H A DClipArea.h95 // region and path - intersected. if either is empty, don't use
149 void clipPathWithTransform(const SkPath& path, const mat4* transform,
212 void regionFromPath(const SkPath& path, SkRegion& pathAsRegion) { argument
213 // TODO: this should not mask every path to the viewport - this makes it impossible to use
215 pathAsRegion.setPath(path, createViewportRegion());
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp115 // high contrast draw path
134 // standard draw path
184 float vOffset, const Paint& paint, const SkPath& path)
190 , path(path) {
194 canvas->drawLayoutOnPath(layout, hOffset, vOffset, paint, path, start, end);
202 const SkPath& path; member in class:android::DrawTextOnPathFunctor
205 void Canvas::drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, argument
210 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path);
217 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path);
183 DrawTextOnPathFunctor(const minikin::Layout& layout, Canvas* canvas, float hOffset, float vOffset, const Paint& paint, const SkPath& path) argument
[all...]
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp49 bool GraphicsStatsService::parseFromFile(const std::string& path, service::GraphicsStatsProto* output) { argument
51 int fd = open(path.c_str(), O_RDONLY);
57 ALOGW("Failed to open '%s', errno=%d (%s)", path.c_str(), err, strerror(err));
64 ALOGW("Failed to read '%s', bytesRead=%zd file_version=%d", path.c_str(), bytesRead,
73 ALOGW("Error reading from fd=%d, path='%s' err=%d (%s)",
74 fd, path.c_str(), input.GetErrno(), strerror(input.GetErrno()));
78 path.c_str(), output->InitializationErrorString().c_str());
186 void GraphicsStatsService::saveBuffer(const std::string& path, const std::string& package, argument
189 if (!parseFromFile(path, &statsProto)) {
200 int outFd = open(path
244 addToDump(Dump* dump, const std::string& path, const std::string& package, int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument
266 addToDump(Dump* dump, const std::string& path) argument
[all...]
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp128 const SkPaint& paint, const SkPath& path) {
130 canvas->drawTextOnPath(utf16.get(), strlen(text), 0, path, 0, 0, paint, nullptr);
127 drawUtf8ToCanvas(Canvas* canvas, const char* text, const SkPaint& paint, const SkPath& path) argument
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpDispatcherTests.cpp279 SkPath path; local
280 path.addRect(SkRect::MakeXYWH(1.5, 3.8, 100, 90));
281 PathOp op(bounds, Matrix4::identity(), nullptr, &paint, &path);
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java59 * @param path The path of the input media file.
60 * @throws IllegalArgumentException If the path is invalid.
62 public void setDataSource(String path) throws IllegalArgumentException { argument
63 if (path == null) {
67 try (FileInputStream is = new FileInputStream(path)) {

Completed in 485 milliseconds

1234567891011>>