/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-local.py | 10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile) 12 if os.path.exists(inputFile): 26 if not os.path.exists(leanback_maven_metadata_path): 35 # Get repo path 44 if not (os.path.isdir(repo_path) or os.path.isdir(support_frameworks_path)):
|
/frameworks/support/transition/base/android/support/transition/ |
H A D | ObjectAnimatorUtilsImpl.java | 26 <T> ObjectAnimator ofPointF(T target, Property<T, PointF> property, Path path); argument
|
H A D | PropertyValuesHolderUtilsImpl.java | 26 PropertyValuesHolder ofPointF(Property<?, PointF> property, Path path); argument
|
/frameworks/wilhelm/tests/automated/ |
H A D | Android.mk | 9 $(call include-path-for, wilhelm) \ 10 $(call include-path-for, wilhelm-ut)
|
/frameworks/wilhelm/tests/listening/ |
H A D | Android.mk | 10 $(call include-path-for, wilhelm) 35 $(call include-path-for, wilhelm)
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | Android.mk | 10 $(call include-path-for, wilhelm) 36 $(call include-path-for, wilhelm) 62 $(call include-path-for, wilhelm) 88 $(call include-path-for, wilhelm) 114 $(call include-path-for, wilhelm) 140 $(call include-path-for, wilhelm) 166 $(call include-path-for, wilhelm) 192 $(call include-path-for, wilhelm)
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMediaScanner.cpp | 58 const char *path, const char *mimeType, 60 ALOGV("processFile '%s'.", path); 64 MediaScanResult result = processFileInternal(path, mimeType, client); 70 const char *path, const char * /* mimeType */, 72 const char *extension = strrchr(path, '.'); 84 int fd = open(path, O_RDONLY | O_LARGEFILE); 88 status = mRetriever->setDataSource(NULL /* httpService */, path); 57 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument 69 processFileInternal( const char *path, const char * , MediaScannerClient &client) argument
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmUtils.java | 38 /* package */ static byte[] readBytes(String path) throws IOException { argument 39 File file = new File(path); 63 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument 67 if (null != path && null != data) { 69 outputStream = new FileOutputStream(path); 77 /* package */ static void removeFile(String path) throws IOException { argument 78 File file = new File(path);
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/ |
H A D | MemoryMappedFile_Delegate.java | 54 static MemoryMappedFile mmapRO(String path) throws ErrnoException { argument 55 if (!path.startsWith(TARGET_PATH)) { 61 path = path.substring(TARGET_PATH.length()); 63 File f = new File(sRootPath, path); 109 public static void setDataDir(File path) { argument 110 sRootPath = path;
|
/frameworks/native/cmds/installd/ |
H A D | CacheItem.cpp | 71 auto path = buildPath(); local 75 char *argv[] = { (char*) path.c_str(), nullptr }; 77 PLOG(WARNING) << "Failed to fts_open " << path; 121 if (truncate(path.c_str(), 0) != 0) { 122 PLOG(WARNING) << "Failed to truncate " << path; 126 if (unlink(path.c_str()) != 0) { 127 PLOG(WARNING) << "Failed to unlink " << path;
|
H A D | utils.h | 49 int create_pkg_path(char path[PKG_PATH_MAX], 92 int calculate_tree_size(const std::string& path, int64_t* size, 95 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid); 97 int create_move_path(char path[PKG_PATH_MAX], 119 int get_path_inode(const std::string& path, ino_t *inode); 124 int validate_system_app_path(const char* path); 130 int get_path_from_string(dir_rec_t* rec, const char* path); 134 int validate_apk_path(const char *path); 135 int validate_apk_path_subdirs(const char *path);
|
/frameworks/av/media/libeffects/data/ |
H A D | audio_effects.conf | 1 # List of effect libraries to load. Each library element must contain a "path" element 2 # giving the full path of the library .so file. 5 # path <lib path> 13 #path /vendor/lib/soundfx/libeffectproxy.so 18 #path /vendor/lib/soundfx/libswwrapper.so 23 #path /vendor/lib/soundfx/libhwwrapper.so 27 path /vendor/lib/soundfx/libbundlewrapper.so 30 path /vendor/lib/soundfx/libreverbwrapper.so 33 path /vendo [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaScannerConnection.java | 50 public void scanCompleted(String path, Uri uri) { 53 client.onScanCompleted(path, uri); 66 * @param path the path to the file that has been scanned. 70 public void onScanCompleted(String path, Uri uri); argument 88 * @param path the path to the file that has been scanned. 92 public void onScanCompleted(String path, Uri uri); argument 163 * @param path the path t 167 scanFile(String path, String mimeType) argument 202 onScanCompleted(String path, Uri uri) argument [all...] |
H A D | MediaScanner.java | 371 FileEntry(long rowId, String path, long lastModified, int format) { argument 373 mPath = path; 386 String path; field in class:MediaScanner.PlaylistEntry 500 public FileEntry beginFile(String path, String mimeType, long lastModified, argument 508 if (!noMedia && isNoMediaFile(path)) { 520 MediaFile.MediaFileType mediaFileType = MediaFile.getFileType(path); 530 mFileType = getFileTypeFromDrm(path); 534 FileEntry entry = makeEntryFor(path); 542 entry = new FileEntry(0, path, lastModified, 564 mPath = path; 576 scanFile(String path, long lastModified, long fileSize, boolean isDirectory, boolean noMedia) argument 583 doScanFile(String path, String mimeType, long lastModified, long fileSize, boolean isDirectory, boolean scanAlways, boolean noMedia) argument 820 processImageFile(String path) argument 1106 doesPathHaveFilename(String path, String filename) argument 1129 getFileTypeFromDrm(String path) argument 1153 isSystemSoundWithMetadata(String path) argument 1436 scanSingleFile(String path, String mimeType) argument 1459 isNoMediaFile(String path) argument 1508 isNoMediaPath(String path) argument 1550 scanMtpFile(String path, int objectHandle, int format) argument 1606 makeEntryFor(String path) argument 1737 processM3uPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument 1769 processPlsPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument 1838 processWplPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument 1939 processDirectory(String path, MediaScannerClient client) argument 1940 processFile(String path, String mimeType, MediaScannerClient client) argument [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateInternal.cpp | 92 const char* path = path_string.c_str(); local 94 dprintf(out_fd, "------ %s (%s", title.c_str(), path); 98 size_t path_len = strlen(path); 99 if ((path_len < 6 || memcmp(path, "/proc/", 6)) && 100 (path_len < 5 || memcmp(path, "/sys/", 5)) && 101 (path_len < 3 || memcmp(path, "/d/", 3)) && !fstat(fd, &st)) { 113 dprintf(out_fd, "%s: skipped on dry run\n", path); 132 dprintf(out_fd, "*** %s: select failed: %s\n", path, strerror(errno)); 137 dprintf(out_fd, "*** %s: Timed out after %.3fs\n", path, (float)elapsed / NANOS_PER_SEC); 148 dprintf(out_fd, "*** %s: Failed to read from fd: %s", path, strerro [all...] |
H A D | utils.cpp | 141 Progress::Progress(const std::string& path) : Progress(Progress::kDefaultMax, 1.1, path) { argument 149 Progress::Progress(int32_t initial_max, float growth_factor, const std::string& path) argument 156 path_(path) { 417 char path[255]; local 424 snprintf(path, sizeof(path), "/proc/%d/wchan", tid); 425 if ((fd = TEMP_FAILURE_RETRY(open(path, O_RDONLY | O_CLOEXEC))) < 0) { 426 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); 435 printf("Failed to read '%s' (%s)\n", path, strerro 484 char path[255]; local 584 DumpFile(const std::string& title, const std::string& path) argument 594 read_file_as_long(const char *path, long int *output) argument 621 dump_files(const std::string& title, const char* dir, bool (*skip)(const char* path), int (*dump_from_fd)(const char* title, const char* path, int fd)) argument 689 dump_file_from_fd(const char *title, const char *path, int fd) argument 760 create_parent_dirs(const char *path) argument 786 _redirect_to_file(FILE *redirect, char *path, int truncate_flag) argument 801 redirect_to_file(FILE *redirect, char *path) argument 805 redirect_to_existing_file(FILE *redirect, char *path) argument 818 should_dump_native_traces(const char* path) argument 917 char path[PATH_MAX]; local 1078 TakeScreenshot(const std::string& path) argument [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/rs/ |
H A D | update-prebuilts.py | 29 THIS_DIR = os.path.realpath(os.path.dirname(__name__)) 30 ANDROID_DIR = os.path.realpath(os.path.join(THIS_DIR, '../..')) 36 return os.path.join(ANDROID_DIR, *args) 116 path = 'builds/{build_branch}-{build_host}-{build_name}/{build_num}'.format( 122 url = '{}/{}/{}'.format(url_base, path, pkg_name) 125 out_file_path = os.path.join(download_dir, pkg_name) 179 download_dir = os.path.realpath('.download') 180 if os.path [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | Android.mk | 10 $(call include-path-for, wilhelm) 39 $(call include-path-for, wilhelm) 66 $(call include-path-for, wilhelm) \ 67 $(call include-path-for, wilhelm-ut) 99 $(call include-path-for, wilhelm) \ 100 $(call include-path-for, wilhelm-ut) 132 $(call include-path-for, wilhelm) 159 $(call include-path-for, wilhelm) 190 $(call include-path-for, wilhelm) 221 $(call include-path [all...] |
/frameworks/base/tools/aapt2/tools/ |
H A D | fix_resources.py | 9 import os.path namespace 32 values_directories = map(lambda f: os.path.join(res_path, f), values_directories) 36 files = map(lambda f: os.path.join(dir, f), files) 49 dirname, basename = os.path.split(file_path) 58 print >> sys.stderr, "please specify a path to a resource directory" 61 res_path = os.path.abspath(sys.argv[1])
|
/frameworks/base/core/java/android/view/animation/ |
H A D | PathInterpolator.java | 42 * Path path = new Path(); 43 * path.lineTo(0.25f, 0.25f); 44 * path.moveTo(0.25f, 0.5f); 45 * path.lineTo(1f, 1f); 62 * @param path The <code>Path</code> to use to make the line representing the interpolator. 64 public PathInterpolator(Path path) { argument 65 initPath(path); 114 Path path = PathParser.createPathFromPathData(pathData); 115 if (path == null) { 116 throw new InflateException("The path i 161 initPath(Path path) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | AccessibilityGestureDetectorTest.java | 131 /** Test recognizing path from PATH_START to PATH_START+delta. */ 133 ArrayList<PointF> path = new ArrayList<>(); 134 path.add(PATH_START); 137 fillPath(PATH_START, segmentEnd, path); 139 testPath(path, gestureId); 142 /** Test recognizing path from PATH_START to PATH_START+delta1 to PATH_START+delta2. */ 144 ArrayList<PointF> path = new ArrayList<>(); 145 path.add(PATH_START); 148 fillPath(PATH_START, startPlusDelta1, path); 151 fillPath(startPlusDelta1, startPlusDelta2, path); 157 fillPath(PointF start, PointF end, ArrayList<PointF> path) argument 175 testPath(ArrayList<PointF> path, int gestureId) 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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccFileHandler.java | 121 LoadLinearFixedContext(int efid, int recordNum, String path, Message onLoaded) { argument 126 mPath = path; 129 LoadLinearFixedContext(int efid, String path, Message onLoaded) { argument 134 mPath = path; 164 * @param path Path of the EF on the card 171 public void loadEFLinearFixed(int fileid, String path, int recordNum, Message onLoaded) { argument 172 String efPath = (path == null) ? getEFPath(fileid) : path; 219 * @param path Path of the EF on the card 225 public void getEFLinearRecordSize(int fileid, String path, Messag argument 257 loadEFLinearFixedAll(int fileid, String path, Message onLoaded) argument 354 updateEFLinearFixed(int fileid, String path, int recordNum, byte[] data, String pin2, Message onComplete) argument [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | GraphicsStatsServiceTests.cpp | 33 char path[1024]; local 34 ssize_t r = readlink("/proc/self/exe", path, 1024); 43 if (path[r] == '/') { 44 path[r] = '\0'; 45 return std::string(path); 58 std::string path = findRootPath() + "/test_saveLoad"; local 72 GraphicsStatsService::saveBuffer(path, packageName, 5, 3000, 7000, &mockData); 74 EXPECT_TRUE(GraphicsStatsService::parseFromFile(path, &loadedProto)); 76 unlink(path.c_str()); 104 std::string path local [all...] |