/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 696 // create the path to the destination folder based on the 745 check_outputFilePath(const string& path) { argument 746 size_t len = path.length(); 748 if (path[i] == OS_PATH_SEPARATOR) { 749 string p = path.substr(0, i); 750 if (access(path.data(), F_OK) != 0) {
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 175 char path[255]; local 182 sprintf(path, "/proc/%d/wchan", tid); 183 if ((fd = open(path, O_RDONLY)) < 0) { 184 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); 189 printf("Failed to read '%s' (%s)\n", path, strerror(errno)); 254 int dump_file(const char *title, const char *path) { argument 255 int fd = open(path, O_RDONLY); 258 if (title) printf("------ %s (%s) ------\n", title, path); 259 printf("*** %s: %s\n", path, strerror(err)); 263 return dump_file_from_fd(title, path, f 266 dump_file_from_fd(const char *title, const char *path, int fd) argument 429 redirect_to_file(FILE *redirect, char *path, int gzip_level) argument 494 should_dump_native_traces(const char* path) argument 577 char path[PATH_MAX]; local [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.h | 329 const String8 path; member in struct:android::EventHub::Device 358 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScript.cpp | 70 // Check if a path exists and attempt to create it if it doesn't. 71 static bool ensureCacheDirExists(const char *path) { argument 72 if (access(path, R_OK | W_OK | X_OK) == 0) { 76 if (mkdir(path, 0700) == 0) { 102 // Common path is that we have not loaded this Script/library before. 176 // library fallback path. Those applications don't have a private 177 // library path, so they need to install to the system directly. 178 // Note that this is really just a testing path.
|
/frameworks/rs/ |
H A D | rs_hal.h | 288 } path; member in struct:android::renderscript::__anon1535
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 413 /* Decode an audio path by opening a file descriptor on that path */ 414 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) argument 421 perror(path); 427 fprintf(stderr, "%s: not an ordinary file\n", path); 434 perror(path); 442 size_t len = strlen((const char *) path); 447 memcpy(outputPath, path, len + 1); 851 perror(path);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | PlaybackSession.cpp | 352 const char *path) 367 if (path != NULL) { 368 mMediaPath.setTo(path); 347 PlaybackSession( const sp<ANetworkSession> &netSession, const sp<AMessage> ¬ify, const in_addr &interfaceAddr, const sp<IHDCP> &hdcp, const char *path) argument
|
H A D | WifiDisplaySource.cpp | 51 const char *path) 68 if (path != NULL) { 69 mMediaPath.setTo(path); 48 WifiDisplaySource( const sp<ANetworkSession> &netSession, const sp<IRemoteDisplayClient> &client, const char *path) argument
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 281 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, argument 283 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 878 MtpString path; local 892 path = storage->getPath(); 897 int result = mDatabase->getObjectFilePath(parent, path, length, format); 935 if (path[path.size() - 1] != '/') 936 path += "/"; 937 path += (const char *)name; 951 ALOGD("path 1059 deleteRecursive(const char* path) argument 1105 deletePath(const char* path) argument 1273 MtpString path; local [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ApplicationThreadNative.java | 470 String path = data.readString(); 473 dumpHeap(managed, path, fd); 1161 public void dumpHeap(boolean managed, String path, argument 1166 data.writeString(path);
|
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 41 * and/or path) in an Intent. It also includes a "priority" value which is 61 * itself divided into three attributes: type, scheme, authority, and path. 71 * To specify a path, you also must specify both one or more authorities and 86 * <strong>data scheme+authority+path</strong> if specified) must match 128 * Intent's data path <em>and</em> both a scheme and authority in the filter 143 private static final String PATH_STR = "path"; 219 * authority, and path. 748 * For Uris that contain a path, this kind of matching is not generally of interest, 751 * them. However, for Uris that do not contain a path, the authority and path 944 addDataPath(String path, int type) argument 949 addDataPath(PatternMatcher path) argument 994 hasDataPath(PatternMatcher path) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabase.java | 254 private SQLiteDatabase(String path, int openFlags, CursorFactory cursorFactory, argument 258 mConfigurationLocked = new SQLiteDatabaseConfiguration(path, openFlags); 661 * @param path to database file to open and/or create 668 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags) { argument 669 return openDatabase(path, factory, flags, null); 682 * @param path to database file to open and/or create 691 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags, argument 693 SQLiteDatabase db = new SQLiteDatabase(path, flags, factory, errorHandler); 706 * Equivalent to openDatabase(path, factory, CREATE_IF_NECESSARY). 708 public static SQLiteDatabase openOrCreateDatabase(String path, CursorFactor argument 715 openOrCreateDatabase(String path, CursorFactory factory, DatabaseErrorHandler errorHandler) argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 293 final Path path = mCurrentGesture.toPath(); 295 path.computeBounds(bounds, true); 297 // TODO: The path should also be scaled to fit inside this view 299 mPath.addPath(path, -bounds.left + (getWidth() - bounds.width()) / 2.0f, 311 public Path getGesturePath(Path path) { argument 312 path.set(mPath); 313 return path;
|
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 102 and a path component that begins with two slash characters. The 108 <scheme>://<authority><path>?<query> 259 * Gets the decoded path. 261 * @return the decoded path, or null if this is not a hierarchical URI 267 * Gets the encoded path. 269 * @return the encoded path, or null if this is not a hierarchical URI 309 * Gets the decoded path segments. 311 * @return decoded path segments, each without a leading or trailing '/' 316 * Gets the decoded last segment in the path. 318 * @return the decoded last segment or null if the path i 588 private PathPart path; field in class:Uri.StringUri 1140 private final PathPart path; field in class:Uri.HierarchicalUri 1144 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1322 private PathPart path; field in class:Uri.Builder 1386 path(PathPart path) argument 1402 path(String path) argument 1413 encodedPath(String path) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Process.java | 1066 public static final native void readProcLines(String path, argument 1070 public static final native int[] getPids(String path, int[] lastArray); argument
|
/frameworks/base/core/java/android/os/storage/ |
H A D | IMountService.java | 209 * Returns an array of pids with open files on the specified path. 211 public int[] getStorageUsers(String path) throws RemoteException { argument 217 _data.writeString(path); 410 * Returns the filesystem path of a mounted secure container. 558 * Gets the path to the mounted Opaque Binary Blob (OBB). 777 * Returns the filesystem path of a mounted secure container. 821 public int mkdirs(String callingPkg, String path) throws RemoteException { argument 828 _data.writeString(path); 1081 String path; 1082 path 1455 getStorageUsers(String path) argument 1635 mkdirs(String callingPkg, String path) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 86 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local 88 path->setFillType(ft); 420 // Returns a float[] with each point along the path represented by 3 floats 421 // * fractional length along the path that the point resides 424 // Note that more than one point may have the same length along the path in 429 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local 430 SkASSERT(path); 431 SkPath::Iter pathIter(*path, false); 443 int numVerbs = path->countVerbs(); 445 addMove(segmentPoints, lengths, path [all...] |
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 247 loadNativeCode_native(JNIEnv* env, jobject clazz, jstring path, jstring funcName, argument 254 const char* pathStr = env->GetStringUTFChars(path, NULL); 265 env->ReleaseStringUTFChars(path, pathStr);
|
H A D | android_database_SQLiteConnection.cpp | 82 const String8 path; member in struct:android::SQLiteConnection 87 SQLiteConnection(sqlite3* db, int openFlags, const String8& path, const String8& label) : argument 88 db(db), openFlags(openFlags), path(path), label(label), canceled(false) { } 124 String8 path(pathChars); 132 int err = sqlite3_open_v2(path.string(), &db, sqliteFlags, NULL); 162 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label);
|
H A D | android_util_Process.cpp | 960 char path[PATH_MAX]; local 962 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid); 964 int fd = open(path, O_RDONLY);
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 415 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 419 ->canHandle(uniqueId, Utility::getStringValue(env, path), 581 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 585 ->getDrmObjectType(uniqueId, Utility::getStringValue(env, path), 592 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) { 602 Utility::getStringValue(env, path), fd); 608 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) { 612 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action); 618 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) { 621 ->removeRights(uniqueId, Utility::getStringValue(env, path))); 414 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 580 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 591 android_drm_DrmManagerClient_getOriginalMimeType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) argument 607 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument 617 android_drm_DrmManagerClient_removeRights( JNIEnv* env, jobject thiz, jint uniqueId, jstring path) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 22 * It can be drawn with canvas.drawPath(path, paint), either filled or stroked 24 * text on a path. 43 * Create an empty path 50 * Create a new path, copying the contents from the src path. 52 * @param src The path to copy from when initializing the new path 67 * Clear any lines and curves from the path, making it empty. 82 * Rewinds the path: clears any lines and curves from the path bu 143 op(Path path, Op op) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 500 if (*relstart == '/') relstart++; // won't be true when path == rootpath 517 // Non-7bit-clean path also means needing pax extended format 602 // Prefix and main relative path. Path lengths have been preflighted. 612 // string in the basic name field. We can also construct the full path name 618 // [ 0 : 100 ]; file name/path 619 // [ 345 : 155 ] filename path prefix 620 // We only use the prefix area if fullname won't fit in the path 649 p += write_pax_header_entry(p, "path", fullname.string()); 832 write_text_file(const char* path, const char* data) argument 838 fd = creat(path, 066 857 compare_file(const char* path, const unsigned char* data, int len) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 169 bool DisplayListRenderer::clipPath(const SkPath* path, SkRegion::Op op) { argument 170 path = refPath(path); 171 addStateOp(new (alloc()) ClipPathOp(path, op)); 172 return StatefulBaseRenderer::clipPath(path, op); 334 status_t DisplayListRenderer::drawPath(const SkPath* path, const SkPaint* paint) { argument 335 path = refPath(path); 338 addDrawOp(new (alloc()) DrawPathOp(path, paint)); 359 const SkPath* path, floa 358 drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) argument [all...] |
H A D | FontRenderer.cpp | 709 uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path, 717 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset); 739 // a null path is OK because there are no custom kernels used 708 renderTextOnPath(const SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path, float hOffset, float vOffset, Rect* bounds, Functor* functor) argument
|