/frameworks/base/core/jni/ |
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/media/jni/ |
H A D | android_media_MediaScanner.cpp | 100 virtual status_t scanFile(const char* path, long long lastModified, argument 103 ALOGV("scanFile: path(%s), time(%lld), size(%lld) and isDir(%d)", 104 path, lastModified, fileSize, isDirectory); 107 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) { 195 JNIEnv *env, jobject thiz, jstring path, jobject client) 204 if (path == NULL) { 209 const char *pathStr = env->GetStringUTFChars(path, NULL); 219 env->ReleaseStringUTFChars(path, pathStr); 224 JNIEnv *env, jobject thiz, jstring path, 236 if (path 194 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument 223 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | FileFinder.cpp | 80 void SystemFileFinder::checkAndAddFile(String8 path, const struct stat* stats, argument 86 String8 ext(path.getPathExtension()); 94 fileStore.add(path,stats->st_mtime);
|
/frameworks/base/tools/aapt/tests/ |
H A D | FileFinder_test.cpp | 27 String8 path("ApiDemos"); 41 DirectoryWalker* sdw = new StringDirectoryWalker(path,data); 57 bool findStatus = FileFinder::findFiles(path,exts, testStorage, sdw);
|
/frameworks/av/media/libeffects/lvm/wrapper/ |
H A D | Android.mk | 29 $(call include-path-for, audio-effects) 58 $(call include-path-for, audio-effects)
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 44 * Open a the icon database and store the icons in the given path. 45 * @param path The directory path where the icon database will be stored. 47 public void open(String path) { argument
|
/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/include/storage/ |
H A D | IMountServiceListener.h | 30 virtual void onStorageStateChanged(const String16& path,
|
/frameworks/base/services/jni/ |
H A D | Android.mk | 28 $(call include-path-for, libhardware)/hardware \ 29 $(call include-path-for, libhardware_legacy)/hardware_legacy \
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | MediaPlayerProxy.java | 39 void setDataSource(String path) throws IllegalStateException, IOException; argument
|
H A D | SingleThreadedMediaPlayerProxy.java | 57 public synchronized void setDataSource(String path) throws IllegalStateException, IOException { argument 58 mDelegate.setDataSource(path);
|
/frameworks/native/include/utils/ |
H A D | ZipFileCRO.h | 44 extern ZipFileCRO ZipFileXRO_open(const char* path);
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 168 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument 170 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 173 return rDrmEngine.getConstraints(uniqueId, path, action); 178 DrmMetadata* DrmManager::getMetadata(int uniqueId, const String8* path) { argument 180 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 183 return rDrmEngine.getMetadata(uniqueId, path); 203 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 208 if (0 < path.length()) { 211 result = rDrmEngine.canHandle(uniqueId, path); 213 String8 extension = path 232 canHandle(int uniqueId, const String8& path) argument 269 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument 279 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument 289 checkRightsStatus(int uniqueId, const String8& path, int action) argument 321 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 332 removeRights(int uniqueId, const String8& path) argument 577 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument 605 getSupportedPlugInIdFromPath(int uniqueId, const String8& path) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 274 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, argument 276 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 817 MtpString path; local 826 path = storage->getPath(); 831 int result = mDatabase->getObjectFilePath(parent, path, length, format); 865 if (path[path.size() - 1] != '/') 866 path += "/"; 867 path += (const char *)name; 881 ALOGD("path 983 deleteRecursive(const char* path) argument 1029 deletePath(const char* path) argument 1180 MtpString path; local [all...] |
/frameworks/av/media/libnbaio/ |
H A D | Android.mk | 19 #LOCAL_C_INCLUDES += path/to/libsndfile/src
|
/frameworks/base/core/java/android/app/ |
H A D | IBackupAgent.aidl | 110 * @param domain Name of the file's semantic domain to which the 'path' argument is a 111 * relative path. e.g. FullBackup.DATABASE_TREE_TOKEN. 112 * @param path Relative path of the file within its semantic domain. 117 int type, String domain, String path, long mode, long mtime,
|
/frameworks/base/core/java/android/os/ |
H A D | SELinux.java | 62 * @param path representing the path of file object to relabel. 66 public static final native boolean setFileContext(String path, String context); argument 70 * @param path the pathname of the file object. 73 public static final native String getFileContext(String path); argument 163 * @param file The File object representing the path to be relabeled. 171 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmInfo.java | 38 // DRM scheme such as account id, path or multiple path's 65 * @param path The trigger data. 68 public DrmInfo(int infoType, String path, String mimeType) { argument 72 mData = DrmUtils.readBytes(path); 74 // As the given path is invalid,
|
/frameworks/base/graphics/jni/ |
H A D | Android.mk | 26 $(call include-path-for, corecg graphics)
|
/frameworks/base/libs/androidfw/ |
H A D | Keyboard.cpp | 109 String8 path(getPath(deviceIdentifier, name, 111 if (path.isEmpty()) { 115 status_t status = KeyLayoutMap::load(path, &keyLayoutMap); 120 keyLayoutFile.setTo(path); 126 String8 path(getPath(deviceIdentifier, name, 128 if (path.isEmpty()) { 132 status_t status = KeyCharacterMap::load(path, 138 keyCharacterMapFile.setTo(path);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | TestsListPreloaderThread.java | 39 * A relative path to the directory with the tests we want to run or particular test. 47 * The given path must be relative to the root dir. 49 * @param path 52 public TestsListPreloaderThread(String path, Message doneMsg) { argument 53 mRelativePath = path;
|
/frameworks/native/libs/utils/ |
H A D | ZipFileCRO.cpp | 22 ZipFileCRO ZipFileXRO_open(const char* path) { argument 24 if (zip->open(path) == NO_ERROR) {
|
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 95 public void onStorageStateChanged(String path, String oldState, String newState) { argument 98 mListeners.get(i).sendStorageStateChanged(path, oldState, newState); 166 changeListener.onObbStateChange(ev.path, ev.state); 181 void sendObbStateChanged(String path, int state) { argument 182 ObbStateChangedStorageEvent e = new ObbStateChangedStorageEvent(path, state); 191 public final String path; field in class:StorageManager.ObbStateChangedStorageEvent 195 public ObbStateChangedStorageEvent(String path, int state) { argument 197 this.path = path; 240 public String path; field in class:StorageManager.StorageStateChangedStorageEvent 288 sendStorageStateChanged(String path, String oldState, String newState) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | SamplingProfilerIntegration.java | 175 String path = SNAPSHOT_DIR + "/" + name + "-" + startMillis + ".snapshot"; 179 outputStream = new BufferedOutputStream(new FileOutputStream(path)); 187 Log.e(TAG, "Error writing snapshot to " + path, e); 194 new File(path).setReadable(true, false); 197 Log.i(TAG, "Wrote snapshot " + path + " in " + elapsed + "ms.");
|
/frameworks/base/media/java/android/media/ |
H A D | SoundPool.java | 147 * Load the sound from the specified path. 149 * @param path the path to the audio file 154 public int load(String path, int priority) argument 157 if (path.startsWith("http:")) 158 return _load(path, priority); 160 // try local path 163 File f = new File(path); 170 Log.e(TAG, "error loading " + path);
|