Searched defs:path (Results 151 - 175 of 317) sorted by relevance

1234567891011>>

/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbService.java269 public void setMassStorageBackingFile(String path) { argument
272 mDeviceManager.setMassStorageBackingFile(path);
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncRS.java160 public void loadA3DFile(String path) { argument
161 FileA3D model = FileA3D.createFromFile(mRS, path);
163 initTextAllocation(path);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java118 void loadModel(String path) { argument
121 mSceneManager.loadModel(path, mLoadedCallback);
/frameworks/base/tools/aapt/
H A DPackage.cpp386 const char* path = pathName.string(); local
387 if (strcasecmp(path + pos, str) == 0) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DFontFamily_Delegate.java189 /*package*/ static Font loadFont(String path) { argument
190 if (path.startsWith(SYSTEM_FONTS) ) {
191 String relativePath = path.substring(SYSTEM_FONTS.length());
197 if (path.endsWith(".otf") && e instanceof FontFormatException) {
246 /*package*/ static boolean nAddFont(long nativeFamily, final String path) { argument
253 delegate.addFont(path);
258 return delegate.addFont(path);
264 /*package*/ static boolean nAddFontWeightStyle(long nativeFamily, final String path, argument
272 delegate.addFont(path, weight, isItalic);
277 return delegate.addFont(path, weigh
283 nAddFontFromAsset(long nativeFamily, AssetManager mgr, String path) argument
299 addFont(@onNull String path) argument
303 addFont(@onNull String path, int weight, boolean isItalic) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java174 public static Map<String, String> loadProperties(File path) { argument
178 p.load(new FileInputStream(path));
188 public static Map<String, Map<String, Integer>> getEnumMap(File path) { argument
192 xmlPullParser.setInput(new FileInputStream(path), null);
/frameworks/base/tools/split-select/
H A DMain.cpp40 "split-select --target <config> --base <path/to/apk> [--split <path/to/apk> [...]]\n"
41 "split-select --generate --base <path/to/apk> [--split <path/to/apk> [...]]\n"
46 " --base <path/to/apk> Specifies the base APK, from which all Split APKs must be based off.\n"
47 " --split <path/to/apk> Includes a Split APK in the selection process.\n"
101 fprintf(stdout, " {\n \"path\": \"%s\",\n \"rules\": %s\n }",
122 static bool getAppInfo(const String8& path, AppInfo& outInfo) { argument
127 if (!assetManager.addAssetPath(path, &cookie)) {
205 static Vector<SplitDescription> extractSplitDescriptionsFromApk(const String8& path) { argument
[all...]
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c429 char path[MAXPATH]; local
488 sprintf(path, "%s%s%s", drive, dir, f.ff_name);
489 s = path;
/frameworks/compile/mclinker/include/mcld/MC/
H A DInput.h70 const sys::fs::Path& path() const function in class:mcld::Input
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h100 const sys::fs::Path& path() const function in class:mcld::FileHandle
/frameworks/native/cmds/installd/
H A Dinstalld.h84 #define PKG_PATH_MAX 256 /* max size of any path we use */
89 char* path; member in struct:__anon1168
135 int create_pkg_path_in_dir(char path[PKG_PATH_MAX],
140 int create_pkg_path(char path[PKG_PATH_MAX],
145 int create_user_path(char path[PKG_PATH_MAX],
148 int create_user_media_path(char path[PKG_PATH_MAX], userid_t userid);
150 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid);
152 int create_move_path(char path[PKG_PATH_MAX],
159 int create_cache_path(char path[PKG_PATH_MAX], const char *src,
182 int validate_system_app_path(const char* path);
[all...]
/frameworks/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp52 android_app_dir.path = TEST_APP_DIR;
55 android_app_private_dir.path = TEST_APP_PRIVATE_DIR;
58 android_data_dir.path = TEST_DATA_DIR;
61 android_asec_dir.path = TEST_ASEC_DIR;
67 android_system_dirs.dirs[0].path = TEST_SYSTEM_DIR1;
70 android_system_dirs.dirs[1].path = TEST_SYSTEM_DIR2;
83 << badprefix1 << " should be allowed as a valid path";
87 << badprefix2 << " should be allowed as a valid path";
91 << badprefix3 << " should be allowed as a valid path";
95 << badprefix4 << " should be allowed as a valid path";
309 char path[PKG_PATH_MAX]; local
327 char path[PKG_PATH_MAX]; local
340 char path[PKG_PATH_MAX]; local
353 char path[PKG_PATH_MAX]; local
363 char path[PKG_PATH_MAX]; local
373 char path[PKG_PATH_MAX]; local
387 char path[PKG_PATH_MAX]; local
397 char path[PKG_PATH_MAX]; local
407 char path[PKG_PATH_MAX]; local
417 char path[PKG_PATH_MAX]; local
424 char path[PKG_PATH_MAX]; local
[all...]
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp164 static void* load_wrapper(const char* path) { argument
165 void* so = dlopen(path, RTLD_NOW | RTLD_LOCAL);
166 ALOGE_IF(!so, "dlopen(\"%s\") failed: %s", path, dlerror());
/frameworks/rs/
H A DrsFileA3D.cpp461 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { argument
462 if (path == NULL) {
470 FILE *f = fopen(path, "rb");
477 ALOGE("Could not open file %s", path);
/frameworks/wilhelm/tests/examples/
H A DslesTestRecBuffQueue.cpp144 /* Record to an audio path by opening a file descriptor on that path */
145 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) argument
147 gFp = fopen(path, "w");
H A DslesTestSendToPresetReverb.cpp72 /* Play an audio path and feed a global reverb */
73 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, argument
172 locatorUri.URI = (SLchar *) path;
178 int fd = open(path, O_RDONLY);
180 perror(path);
335 fprintf(stdout, "Plays the sound file designated by the given path, ");
340 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
362 fprintf(stdout, "Usage: \t%s [--always-on] [--fd] [--loop] path preset directLevel "
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp163 void TestPlayUri( SLObjectItf sl, const char* path) argument
227 uri.URI = (SLchar*) path;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp127 void TestGetPositionUri( SLObjectItf sl, const char* path) argument
183 uri.URI = (SLchar*) path;
324 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestLoopUri.cpp122 void TestLoopUri( SLObjectItf sl, const char* path) argument
170 uri.URI = (SLchar*) path;
299 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestManyPlayers.cpp131 void TestSetup(const char* path) { argument
160 //uri = { SL_DATALOCATOR_URI /*locatorType*/, (SLchar*) path /*URI*/ };
164 uri.URI = (SLchar*) path;
189 fprintf(stdout, "TestSetup(%s) completed\n", path);
319 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestPlayUri.cpp125 void TestPlayUri( SLObjectItf sl, const char* path) argument
176 uri.URI = (SLchar*) path;
333 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestSlowDownUri.cpp178 void TestSlowDownUri( SLObjectItf sl, const char* path) argument
225 uri.URI = (SLchar*) path;
408 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]);
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp99 void TestPlayUri( SLObjectItf sl, const char* path) argument
150 uri.URI = (SLchar*) path;
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp180 void TestPlayStream( SLObjectItf sl, const char* path) argument
208 file = fopen(path, "rb");
391 fprintf(stdout, "Usage: %s path \n", argv[0]);
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp102 int uniqueId, const String8* path, const int action) {
104 return mDrmManager->getConstraints(uniqueId, path, action);
107 DrmMetadata* DrmManagerService::getMetadata(int uniqueId, const String8* path) { argument
109 return mDrmManager->getMetadata(uniqueId, path);
112 bool DrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument
114 return mDrmManager->canHandle(uniqueId, path, mimeType);
134 String8 DrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
136 return mDrmManager->getOriginalMimeType(uniqueId, path, fd);
140 int uniqueId, const String8& path, const String8& mimeType) {
142 return mDrmManager->getDrmObjectType(uniqueId, path, mimeTyp
101 getConstraints( int uniqueId, const String8* path, const int action) argument
139 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
145 checkRightsStatus( int uniqueId, const String8& path, int action) argument
169 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
176 removeRights(int uniqueId, const String8& path) argument
[all...]

Completed in 621 milliseconds

1234567891011>>