HomeSort by relevance Sort by last modified time
    Searched refs:pathName (Results 1 - 25 of 40) sorted by null

1 2

  /development/simulator/wrapsim/
FakeDev.h 94 int wsInterceptDeviceOpen(const char* pathName, int flags);
102 int wsInterceptDeviceAccess(const char* pathName, int flags);
107 FakeDev* wsOpenDevAudio(const char* pathName, int flags);
108 FakeDev* wsOpenDevConsoleTty(const char* pathName, int flags);
109 FakeDev* wsOpenDevEvent(const char* pathName, int flags);
110 FakeDev* wsOpenDevFb(const char* pathName, int flags);
111 FakeDev* wsOpenDevLog(const char* pathName, int flags);
112 FakeDev* wsOpenDevPower(const char* pathName, int flags);
113 FakeDev* wsOpenSysPower(const char* pathName, int flags);
114 FakeDev* wsOpenDevVibrator(const char* pathName, int flags)
    [all...]
DevConsoleTty.c 45 FakeDev* wsOpenDevConsoleTty(const char* pathName, int flags)
47 FakeDev* newDev = wsCreateFakeDev(pathName);
SysPower.c 42 * Figure out who we are, based on "pathName".
44 static void configureInitialState(const char* pathName, PowerState* powerState)
46 const char* cp = pathName + strlen("/sys/power/");
58 wsLog("Warning: access to unknown power device '%s'\n", pathName);
123 FakeDev* wsOpenSysPower(const char* pathName, int flags)
125 FakeDev* newDev = wsCreateFakeDev(pathName);
134 configureInitialState(pathName, powerState);
DevVibrator.c 38 FakeDev* wsOpenDevVibrator(const char* pathName, int flags)
40 FakeDev* newDev = wsCreateFakeDev(pathName);
DevPower.c 59 * Figure out who we are, based on "pathName".
61 static void configureInitialState(const char* pathName, PowerState* powerState)
63 const char* cp = pathName + strlen("/sys/class/power_supply/");
75 wsLog("Warning: access to unknown power device '%s'\n", pathName);
158 FakeDev* wsOpenDevPower(const char* pathName, int flags)
160 FakeDev* newDev = wsCreateFakeDev(pathName);
169 configureInitialState(pathName, powerState);
DevAudio.c 28 static int configureInitialState(const char* pathName, AudioState* audioState)
103 FakeDev* wsOpenDevAudio(const char* pathName, int flags)
105 FakeDev* newDev = wsCreateFakeDev(pathName);
113 if (configureInitialState(pathName, eventState) != 0) {
Intercept.c 120 * holding an extended pathname; for best results use PATH_MAX.
156 * This works if the pathname is the first argument to the function, and
510 int access(const char* pathName, int mode)
514 int status = wsInterceptDeviceAccess(pathName, mode);
521 return _ws_access(rewritePath("access", pathBuf, pathName), mode);
528 int openCommon(const char* pathName, int flags, mode_t mode)
535 fd = wsInterceptDeviceOpen(pathName, flags);
544 fd = _ws_open(rewritePath("open", pathBuf, pathName), flags, mode);
545 CALLTRACE("open(%s, 0x%x, 0%o) = %d\n", pathName, flags, mode, fd);
547 fd = _ws_open(rewritePath("open", pathBuf, pathName), flags, 0)
    [all...]
FakeDev.c 265 int wsInterceptDeviceOpen(const char* pathName, int flags)
270 if (fnmatch(p->pathexpr, pathName, 0) == 0) {
272 FakeDev* dev = p->hook(pathName, flags);
283 wsLog("## rejecting attempt to open %s\n", pathName);
301 int wsInterceptDeviceAccess(const char *pathName, int mode)
306 if (fnmatch(p->pathexpr, pathName, 0) == 0) {
310 wsLog("## rejecting attempt to open %s\n", pathName);
DevLog.c 70 static void configureInitialState(const char* pathName, LogState* logState)
75 if (strcmp(pathName + kDevLogLen, "events") == 0) {
470 FakeDev* wsOpenDevLog(const char* pathName, int flags)
472 FakeDev* newDev = wsCreateFakeDev(pathName);
479 configureInitialState(pathName, logState);
  /dalvik/vm/
Native.c 149 * hash is on the "pathName" field.
152 char* pathName; /* absolute path to library */
172 return strcmp(pLib->pathName, name);
189 pLib, pLib->pathName, pNewLib, pNewLib->pathName);
190 return strcmp(pLib->pathName, pNewLib->pathName);
194 * Check to see if an entry with the same pathname already exists.
196 static SharedLib* findSharedLibEntry(const char* pathName)
198 u4 hash = dvmComputeUtf8Hash(pathName);
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Movie.java 49 public static Movie decodeFile(String pathName) {
52 is = new FileInputStream(pathName);
BitmapRegionDecoder.java 131 * @param pathName complete path name for the file to be decoded.
142 public static BitmapRegionDecoder newInstance(String pathName,
148 stream = new FileInputStream(pathName);
BitmapFactory.java 272 * @param pathName complete path name for the file to be decoded.
279 public static Bitmap decodeFile(String pathName, Options opts) {
283 stream = new FileInputStream(pathName);
305 * @param pathName complete path name for the file to be decoded.
308 public static Bitmap decodeFile(String pathName) {
309 return decodeFile(pathName, null);
  /dalvik/tests/068-classloader/src/
FancyLoader.java 138 String pathName = CLASS_PATH + name + ".class";
139 //System.out.println("--- Fancy: looking for " + pathName);
141 File path = new File(pathName);
147 throw new ClassNotFoundException("Not found: " + pathName);
156 throw new ClassNotFoundException("Read error: " + pathName);
  /cts/tools/host/src/com/android/cts/
TestHost.java 137 * @param pathName The path name of the zipped package.
139 public void startZippedPackage(final String pathName)
155 if (!addPackage(pathName)) {
161 String pkgName = pathName.substring(pathName
162 .lastIndexOf(File.separator) + 1, pathName.lastIndexOf("."));
174 String resultName = pathName.substring(0, pathName.lastIndexOf("."))
212 * @param pathName The path name.
215 public boolean addPackage(final String pathName) throws FileNotFoundException
    [all...]
  /sdk/ddms/app/src/com/android/ddms/
AboutDialog.java 89 String pathName = "/images/" + fileName; // $NON-NLS-1$
91 imageStream = this.getClass().getResourceAsStream(pathName);
93 //throw new NullPointerException("couldn't find " + pathName);
94 Log.w("ddms", "Couldn't load " + pathName);
102 throw new NullPointerException("couldn't load " + pathName);
  /system/core/liblog/
fake_log_device.c 177 static void configureInitialState(const char* pathName, LogState* logState)
181 logState->debugName = strdup(pathName);
184 if (strcmp(pathName + kDevLogLen, "events") == 0) {
614 static int logOpen(const char* pathName, int flags)
623 configureInitialState(pathName, logState);
641 static int (*redirectOpen)(const char *pathName, int flags) = NULL;
656 redirectOpen = (int (*)(const char *pathName, int flags))open;
667 int fakeLogOpen(const char *pathName, int flags)
672 return redirectOpen(pathName, flags);
  /external/webkit/WebCore/platform/gtk/
FileSystemGtk.cpp 180 String pathGetFileName(const String& pathName)
182 if (pathName.isEmpty())
183 return pathName;
185 char* tmpFilename = filenameFromString(pathName);
  /frameworks/base/core/java/android/os/
Debug.java 288 * This is the pathname to the sysfs file that enables and disables
450 String pathName = traceName;
451 if (pathName.charAt(0) != '/')
452 pathName = DEFAULT_TRACE_PATH_PREFIX + pathName;
453 if (!pathName.endsWith(DEFAULT_TRACE_EXTENSION))
454 pathName = pathName + DEFAULT_TRACE_EXTENSION;
456 VMDebug.startMethodTracing(pathName, bufferSize, flags);
735 * @param fileName Full pathname of output file (e.g. "/sdcard/dump.hprof")
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/sql/tests/java/sql/
TestHelper_ClassLoader.java 99 private Class<?> loadClassFromFile(String pathName, String className,
105 theFile = new File(pathName, classNameAsFile);
  /frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java 795 public static Drawable createFromPath(String pathName) {
796 if (pathName == null) {
800 Bitmap bm = BitmapFactory.decodeFile(pathName);
802 return drawableFromBitmap(null, bm, null, null, pathName);
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/
DexClassLoader.java 290 String pathName = mLibPaths[i] + fileName;
291 File test = new File(pathName);
296 return pathName;
PathClassLoader.java 419 String pathName = pathElement + fileName;
420 File test = new File(pathName);
423 return pathName;
TouchDexLoader.java 316 * Return the full pathname of the first appropriate-looking file
322 String pathName = mLibPaths[i] + fileName;
323 File test = new File(pathName);
326 return pathName;
  /libcore/luni/src/main/java/java/lang/
System.java 524 * @param pathName
529 public static void load(String pathName) {
532 smngr.checkLink(pathName);
534 Runtime.getRuntime().load(pathName, VMStack.getCallingClassLoader());

Completed in 612 milliseconds

1 2