/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | FontFamily_Delegate.java | 219 private static Font loadFont(String path) { argument 220 if (path.startsWith(SYSTEM_FONTS) ) { 221 String relativePath = path.substring(SYSTEM_FONTS.length()); 227 if (path.endsWith(EXTENSION_OTF) && e instanceof FontFormatException) { 253 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex, argument 260 return delegate != null && delegate.addFont(path, ttcIndex, weight, italic); 311 static boolean addFont(long builderPtr, final String path, final int weight, argument 317 delegate.mPostInitRunnables.add(() -> delegate.addFont(path, weight, italic)); 320 return delegate.addFont(path, weight, italic); 326 /*package*/ static boolean nAddFontFromAssetManager(long builderPtr, AssetManager mgr, String path, argument 423 addFont(final String path, int ttcIndex, int weight, int italic) argument 432 addFont(@onNull String path) argument 436 addFont(@onNull String path, int weight, int italic) argument [all...] |
/frameworks/native/cmds/installd/tests/ |
H A D | installd_utils_test.cpp | 57 android_app_dir.path = (char*) TEST_APP_DIR; 60 android_app_private_dir.path = (char*) TEST_APP_PRIVATE_DIR; 63 android_app_ephemeral_dir.path = (char*) TEST_APP_EPHEMERAL_DIR; 66 android_data_dir.path = (char*) TEST_DATA_DIR; 69 android_asec_dir.path = (char*) TEST_ASEC_DIR; 72 android_mnt_expand_dir.path = (char*) TEST_EXPAND_DIR; 78 android_system_dirs.dirs[0].path = (char*) TEST_SYSTEM_DIR1; 81 android_system_dirs.dirs[1].path = (char*) TEST_SYSTEM_DIR2; 84 android_profiles_dir.path = (char*) TEST_PROFILE_DIR; 97 << badprefix1 << " should not be allowed as a valid path"; 323 char path[PKG_PATH_MAX]; local 343 char path[PKG_PATH_MAX]; local 356 char path[PKG_PATH_MAX]; local 369 char path[PKG_PATH_MAX]; local 382 char path[PKG_PATH_MAX]; local 392 char path[PKG_PATH_MAX]; local 399 char path[PKG_PATH_MAX]; local [all...] |
H A D | installd_service_test.cpp | 44 bool calculate_oat_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, 51 bool calculate_odex_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, 57 bool create_cache_path(char path[PKG_PATH_MAX], argument 60 // Not really a valid path but it's good enough for testing. 61 sprintf(path,"/data/dalvik-cache/%s/%s", instruction_set, src); 65 static void mkdir(const char* path, uid_t owner, gid_t group, mode_t mode) { argument 66 const char* fullPath = StringPrintf("/data/local/tmp/user/0/%s", path).c_str(); 72 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { argument 73 int fd = ::open(StringPrintf("/data/local/tmp/user/0/%s", path).c_str(), 80 static int stat_gid(const char* path) { argument 86 stat_mode(const char* path) argument [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | InputCmd.cpp | 106 sys::fs::Path path; local 112 path = script.sysroot(); 113 path.append(token->name()); 116 path.assign(token->name()); 117 if (!sys::fs::exists(path)) { 118 // 3. Search through the library search path 122 path = *p; 126 if (!sys::fs::exists(path)) 127 fatal(diag::err_cannot_open_input) << path.filename() << path; 134 const sys::fs::Path* path = NULL; local [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | BenchmarkHelpers.cpp | 27 for (const std::string& path : paths) { 28 if (!assetmanager.addAssetPath(String8(path.c_str()), nullptr /* cookie */, 30 state.SkipWithError(base::StringPrintf("Failed to load assets %s", path.c_str()).c_str());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PathInterpolatorBuilder.java | 30 public PathInterpolatorBuilder(Path path) { argument 31 initPath(path); 44 Path path = new Path(); 45 path.moveTo(0, 0); 46 path.quadTo(controlX, controlY, 1f, 1f); 47 initPath(path); 51 Path path = new Path(); 52 path.moveTo(0, 0); 53 path.cubicTo(x1, y1, x2, y2, 1f, 1f); 54 initPath(path); 57 initPath(Path path) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbMidiDevice.cpp | 45 char path[100]; local 50 snprintf(path, sizeof(path), "/dev/snd/controlC%d", card); 55 while ((fd = open(path, O_RDWR)) < 0) { 57 ALOGE("timed out after %d tries, could not open %s", retryCounter, path); 60 ALOGW("attempt #%d, could not open %s", retryCounter, path); 75 ALOGE("SNDRV_CTL_IOCTL_RAWMIDI_INFO failed, errno: %d path: %s", errno, path); 87 char path[100]; local 89 snprintf(path, sizeo [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | CsimFileHandler.java | 50 String path = getCommonIccEFPath(efid); 51 if (path == null) { 54 // the global 3g phone book path. 57 return path;
|
/frameworks/rs/tests/lldb/jni/NoDebugWaitAttach/jninodebugwaitattach/ |
H A D | jninodebugwaitattach.cpp | 33 const char * path = env->GetStringUTFChars(pathObj, nullptr); local 34 rs->init(path, RS_INIT_LOW_LATENCY | RS_INIT_WAIT_FOR_ATTACH); 35 env->ReleaseStringUTFChars(pathObj, path);
|
/frameworks/support/compat/java/android/support/v4/view/animation/ |
H A D | PathInterpolatorCompat.java | 25 * Helper for creating path-based {@link Interpolator} instances. On API 21 or newer, the 44 * @param path the {@link Path} to use to make the line representing the {@link Interpolator} 47 public static Interpolator create(Path path) { argument 49 return new PathInterpolator(path); 51 return new PathInterpolatorApi14(path);
|
/frameworks/av/include/media/ |
H A D | PluginLoader.h | 46 String8 path = pluginDir + "/" + pEntry->d_name; local 47 T *plugin = loadOne(path, entry); 70 T* loadOne(const char *path, const char *entry) { argument 71 sp<SharedLibrary> library = new SharedLibrary(String8(path)); 73 ALOGE("Failed to open plugin library %s: %s", path, 80 ALOGV("Found plugin factory entry %s in %s", entry, path);
|
H A D | mediascanner.h | 76 const char *path, const char *mimeType, MediaScannerClient &client) = 0; 79 const char *path, MediaScannerClient &client); 95 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia); 97 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, 100 bool shouldSkipDirectory(char *path); 117 virtual status_t scanFile(const char* path, long long lastModified,
|
/frameworks/av/media/libmedia/include/media/ |
H A D | PluginLoader.h | 46 String8 path = pluginDir + "/" + pEntry->d_name; local 47 T *plugin = loadOne(path, entry); 70 T* loadOne(const char *path, const char *entry) { argument 71 sp<SharedLibrary> library = new SharedLibrary(String8(path)); 73 ALOGE("Failed to open plugin library %s: %s", path, 80 ALOGV("Found plugin factory entry %s in %s", entry, path);
|
H A D | mediascanner.h | 76 const char *path, const char *mimeType, MediaScannerClient &client) = 0; 79 const char *path, MediaScannerClient &client); 95 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia); 97 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, 100 bool shouldSkipDirectory(char *path); 117 virtual status_t scanFile(const char* path, long long lastModified,
|
/frameworks/av/services/audiopolicy/enginedefault/ |
H A D | Android.mk | 27 $(call include-path-for, frameworks-av) \ 28 $(call include-path-for, audio-utils) \ 29 $(call include-path-for, bionic) \
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | NoOpDrmManagerClientImpl.h | 33 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 35 DrmMetadata* getMetadata(int uniqueId, const String8* path); 36 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 41 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 42 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 43 int checkRightsStatus(int uniqueId, const String8& path, int action); 48 int uniqueId, const String8& path, int action, const ActionDescription& description); 49 status_t removeRights(int uniqueId, const String8& path);
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 33 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 41 bool onCanHandle(int uniqueId, const String8& path); 50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 52 int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 54 int onCheckRightsStatus(int uniqueId, const String8& path, int action); 62 int uniqueId, const String8& path, int action, const ActionDescription& description); 64 status_t onRemoveRights(int uniqueId, const String8& path);
|
/frameworks/av/drm/libmediadrm/ |
H A D | SharedLibrary.cpp | 27 SharedLibrary::SharedLibrary(const String8 &path) { argument 28 mLibHandle = dlopen(path.string(), RTLD_NOW);
|
/frameworks/av/include/drm/ |
H A D | DrmManagerClient.h | 190 * @param[in] path Path of the protected content 195 bool validateAction(const String8& path, int action, const ActionDescription& description); 215 * @param[in] path Path of the protected content 223 DrmConstraints* getConstraints(const String8* path, const int action); 228 * @param[in] path Path of the protected content 234 DrmMetadata* getMetadata(const String8* path); 237 * Check whether the given mimetype or path can be handled 239 * @param[in] path Path of the content needs to be handled 242 * True if DrmManager can handle given path or mime type. 244 bool canHandle(const String8& path, cons [all...] |
/frameworks/av/media/libaaudio/examples/input_monitor/jni/ |
H A D | Android.mk | 6 $(call include-path-for, audio-utils) \ 11 # NDK recommends using this kind of relative path instead of an absolute path. 20 $(call include-path-for, audio-utils) \
|
/frameworks/av/media/libaaudio/examples/write_sine/jni/ |
H A D | Android.mk | 6 $(call include-path-for, audio-utils) \ 11 # NDK recommends using this kind of relative path instead of an absolute path. 20 $(call include-path-for, audio-utils) \
|
/frameworks/av/media/libaaudio/examples/write_sine/static/ |
H A D | Android.mk | 6 $(call include-path-for, audio-utils) \ 11 # NDK recommends using this kind of relative path instead of an absolute path. 26 $(call include-path-for, audio-utils) \
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | AssetDir.h | 81 FileInfo(const String8& path) // useful for e.g. svect.indexOf argument 82 : mFileName(path), mFileType(kFileTypeUnknown) 110 void set(const String8& path, FileType type) { argument 111 mFileName = path; 116 void setFileName(const String8& path) { mFileName = path; } argument 122 void setSourceName(const String8& path) { mSourceName = path; } argument
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
H A D | CurvedTranslateAnimation.java | 27 * Translate animation which follows a curved path. 33 public CurvedTranslateAnimation(Path path) { argument 34 mKeyframes = KeyframeSet.ofPath(path);
|
/frameworks/compile/mclinker/unittests/ |
H A D | DirIteratorTest.cpp | 52 if (0 != entry.path()) { 53 size = entry.path()->native().size();
|