/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | MeasurementUtils.java | 24 public static long measureDirectory(String path) { argument 25 return native_measureDirectory(path); 28 private native static long native_measureDirectory(String path); argument
|
/frameworks/base/core/java/android/os/storage/ |
H A D | MountServiceListener.java | 36 * @param path The volume mount path. 42 void onStorageStateChange(String path, String oldState, String newState) { argument
|
H A D | StorageEventListener.java | 34 * @param path the filesystem path for the storage 38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
H A D | OnObbStateChangeListener.java | 80 * @param path path to the OBB file the state change has happened on 83 public void onObbStateChange(String path, int state) { argument
|
/frameworks/base/tools/aapt/tests/ |
H A D | MockCacheUpdater.h | 18 // Make sure all the directories along this path exist 19 virtual void ensureDirectoriesExist(String8 path) argument 25 virtual void deleteFile(String8 path) { argument
|
H A D | MockDirectoryWalker.h | 19 // entries. It takes a path and a map of filenames and their modification times. 24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) argument 25 : mPos(0), mBasePath(path), mData(data) { 31 virtual bool openDir(String8 path) { argument 34 return path == mBasePath; 36 virtual bool openDir(const char* path) { argument 37 String8 p(path); 79 // Base path
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | SharedLibrary.cpp | 28 SharedLibrary::SharedLibrary(const String8 &path) { argument 29 mLibHandle = dlopen(path.string(), RTLD_NOW);
|
/frameworks/base/core/jni/ |
H A D | android_os_FileUtils.cpp | 36 jint android_os_FileUtils_getFatVolumeId(JNIEnv* env, jobject clazz, jstring path) argument 38 if (path == NULL) { 42 const char *pathStr = env->GetStringUTFChars(path, NULL); 53 env->ReleaseStringUTFChars(path, pathStr);
|
H A D | android_server_Watchdog.cpp | 61 jniThrowException(env, "java/lang/IllegalArgumentException", "Null path"); 65 const char *path = env->GetStringUTFChars(pathStr, NULL); local 67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT, 97 env->ReleaseStringUTFChars(pathStr, path);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileObserverTest.java | 40 public Observer(String path) { argument 41 super(path); 44 public void onEvent(int event, String path) { argument 50 map.put("path", path); 114 Log.i("FileObserverTest", "event: " + getEventString((Integer)map.get("event")) + " path: " + map.get("path"));
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageListener.java | 34 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
/frameworks/base/libs/storage/ |
H A D | IMountServiceListener.cpp | 40 String16 path = data.readString16(); local 43 onStorageStateChanged(path, oldState, newState);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScannerClient.java | 24 public void scanFile(String path, long lastModified, long fileSize, argument
|
/frameworks/base/packages/DefaultContainerService/jni/ |
H A D | com_android_defcontainer_MeasurementUtils.cpp | 35 const char* path = env->GetStringUTFChars(directory, NULL); local 36 if (path == NULL) { 40 int dirfd = open(path, O_DIRECTORY, O_RDONLY); 42 ALOGI("error opening: %s: %s", path, strerror(errno)); 48 env->ReleaseStringUTFChars(directory, path);
|
/frameworks/base/services/java/com/android/server/ |
H A D | DiskStatsService.java | 87 private void reportFreeSpace(File path, String name, PrintWriter pw) { argument 89 StatFs statfs = new StatFs(path.getPath());
|
H A D | SerialService.java | 42 String path = mSerialPorts[i]; 43 if (new File(path).exists()) { 44 ports.add(path); 52 public ParcelFileDescriptor openSerialPort(String path) { argument 55 if (mSerialPorts[i].equals(path)) { 56 return native_open(path); 59 throw new IllegalArgumentException("Invalid serial port " + path); 62 private native ParcelFileDescriptor native_open(String path); argument
|
/frameworks/base/services/jni/ |
H A D | com_android_server_SerialService.cpp | 37 static jobject android_server_SerialService_open(JNIEnv *env, jobject thiz, jstring path) argument 39 const char *pathStr = env->GetStringUTFChars(path, NULL); 44 env->ReleaseStringUTFChars(path, pathStr); 47 env->ReleaseStringUTFChars(path, pathStr);
|
/frameworks/base/tools/aapt/ |
H A D | CacheUpdater.h | 30 // Make sure all the directories along this path exist 31 virtual void ensureDirectoriesExist(String8 path) = 0; 34 virtual void deleteFile(String8 path) = 0; 52 // Make sure all the directories along this path exist 53 virtual void ensureDirectoriesExist(String8 path) argument 55 // Check to see if we're dealing with a fully qualified path 62 // If something in the path doesn't exist, then walk the path backwards 64 if (stat(path.string(),&s) == -1) { 66 existsPath = path; 89 deleteFile(String8 path) argument [all...] |
H A D | Main.cpp | 27 * This operates in-place on the path string. 29 void convertPath(char *path) { argument 30 if (path != NULL && OS_PATH_SEPARATOR != '/') { 31 for (; *path; path++) { 32 if (*path == '/') { 33 *path = OS_PATH_SEPARATOR; 116 " -k junk path of file(s) added\n" 131 " -M specify full path to AndroidManifest.xml to include in zip\n"
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | MediaPlayerDataSource.java | 47 public MediaPlayerDataSource(String path) { argument 50 mPath = path;
|
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 153 * this method will accept leading slash in the path. 156 * @param path the path to match. * may be used as a wild card for 161 public void addURI(String authority, String path, int code) argument 168 if (path != null) { 169 String newPath = path; 171 if (path.length() > 0 && path.charAt(0) == '/') { 172 newPath = path.substring(1); 213 * Try to match against the path i [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabaseConfiguration.java | 44 * Special path used by in-memory databases. 49 * The database path. 51 public final String path; field in class:SQLiteDatabaseConfiguration 55 * This is derived from the path but is stripped to remove PII. 96 * @param path The database path. 99 public SQLiteDatabaseConfiguration(String path, int openFlags) { argument 100 if (path == null) { 101 throw new IllegalArgumentException("path must not be null."); 104 this.path 159 stripPathForLogs(String path) argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureLibraries.java | 35 public static GestureLibrary fromFile(String path) { argument 36 return fromFile(new File(path)); 39 public static GestureLibrary fromFile(File path) { argument 40 return new FileGestureLibrary(path); 54 public FileGestureLibrary(File path) { argument 55 mPath = path;
|
/frameworks/base/core/java/android/os/ |
H A D | StatFs.java | 32 * {@code path}. Upon construction, the stat of the file system will be 36 * @param path path in the desired file system to stat. 38 public StatFs(String path) { argument 39 mStat = doStat(path); 42 private static StructStatVfs doStat(String path) { argument 44 return Libcore.os.statvfs(path); 46 throw new IllegalArgumentException("Invalid path: " + path, e); 52 * the same as re-constructing the object with the same file system path, 55 restat(String path) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 52 * Open a the icon database and store the icons in the given path. 53 * @param path The directory path where the icon database will be stored. 55 public void open(String path) { argument
|