/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 122 public void onStorageStateChanged(final String path, final String oldState, final String newState) { argument 126 onStorageStateChangedAsync(path, oldState, newState); 131 private void onStorageStateChangedAsync(String path, String oldState, String newState) { argument 133 "Media {%s} state changed from {%s} -> {%s}", path, oldState, newState));
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ScreenshotTest.java | 82 NewScreenshotObserver(String path) { argument 83 super(path, FileObserver.CREATE); 91 public void onEvent(int event, String path) { argument 92 Log.d(LOG_TAG, String.format("Detected new file added %s", path)); 94 mAddedPath = path;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardMultiUserAvatar.java | 112 protected String rewriteIconPath(String path) { argument 114 return path.replace("system", "data"); 116 return path;
|
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 160 EventHub::Device::Device(int fd, int32_t id, const String8& path, argument 163 fd(fd), id(id), path(path), identifier(identifier), 632 if (device->path == devicePath) { 667 device->id, device->path.string()); 689 device->id, device->path.string()); 771 device->path.string(), 815 device->path.string(), event->when, time, now); 818 ALOGV("Event time is ok but failed the fast path and required " 1190 ALOGV("Dropping device: id=%d, path [all...] |
H A D | EventHub.h | 308 const String8 path; member in struct:android::EventHub::Device 332 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier);
|
/frameworks/base/services/java/com/android/server/ |
H A D | BackupManagerService.java | 1496 // we will need the shared library path, so look that up and store it here 2879 String path; // subpath within the semantic domain field in class:BackupManagerService.FileMetadata 2890 sb.append(domain); sb.append(':'); sb.append(path); sb.append(','); 2972 mInfo.domain, mInfo.path, mInfo.mode, mInfo.mtime, 3193 if (info.path.equals(BACKUP_MANIFEST_FILENAME)) { 3323 + info.path); 3336 info.domain, info.path, info.mode, info.mtime, 3804 b.append(info.path); 3823 info.path = extractString(block, 345, 155); // prefix 3824 String path [all...] |
H A D | CertBlacklister.java | 57 public BlacklistObserver(String key, String name, String path, ContentResolver cr) { argument 61 mPath = path;
|
H A D | DeviceStorageMonitorService.java | 478 public void onEvent(int event, String path) { argument 479 EventLogTags.writeCacheFileDeleted(path);
|
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 | DropBoxManagerService.java | 134 * @param path to store drop box entries in 136 public DropBoxManagerService(final Context context, File path) { argument 137 mDropBoxDir = path;
|
H A D | MountService.java | 188 /** Map from path to {@link StorageVolume} */ 191 /** Map from path to state */ 340 final String path; field in class:MountService.UnmountCallBack 345 UnmountCallBack(String path, boolean force, boolean removeEncryption) { argument 347 this.path = path; 353 if (DEBUG_UNMOUNT) Slog.i(TAG, "Unmounting " + path); 354 doUnmountVolume(path, true, removeEncryption); 361 UmsEnableCallBack(String path, String method, boolean force) { argument 362 super(path, forc 375 ShutdownCallBack(String path, IMountShutdownObserver observer) argument 616 doShareUnshareVolume(String path, String method, boolean enable) argument 854 notifyVolumeStateChange(String label, String path, int oldState, int newState) argument 921 doMountVolume(String path) argument 985 doUnmountVolume(String path, boolean force, boolean removeEncryption) argument 1027 doFormatVolume(String path) argument 1043 doGetVolumeShared(String path, String method) argument 1512 mountVolume(String path) argument 1519 unmountVolume(String path, boolean force, boolean removeEncryption) argument 1541 formatVolume(String path) argument 1548 getStorageUsers(String path) argument [all...] |
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 54 return native_open(path); 57 private native ParcelFileDescriptor native_open(String path); argument
|
H A D | SystemBackupAgent.java | 126 int type, String domain, String path, long mode, long mtime) 128 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path); 136 if (path.equals(WALLPAPER_INFO_FILENAME)) { 139 } else if (path.equals(WALLPAPER_IMAGE_FILENAME)) { 147 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]"); 125 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
|
H A D | WallpaperManagerService.java | 129 public void onEvent(int event, String path) { argument 130 if (path == null) { 140 File changedFile = new File(mWallpaperDir, path);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 3105 public synchronized void onEvent(int event, String path) { notify(); } 4974 // <path-permission> below removes this ability 4978 // check if target holds any <path-permission> that match uri 4981 final String path = uri.getPath(); 4986 if (pp.match(path)) { 4991 + ": match=" + pp.match(path) 5005 + ": match=" + pp.match(path) 5020 // <path-permission> above 5176 + " does not allow granting of permission to path of Uri " 13941 private void stopProfilerLocked(ProcessRecord proc, String path, in argument 13972 profileControl(String process, int userId, boolean start, String path, ParcelFileDescriptor fd, int profileType) argument 14068 dumpHeap(String process, int userId, boolean managed, String path, ParcelFileDescriptor fd) argument [all...] |
H A D | ProcessList.java | 223 private void writeFile(String path, String data) { argument 226 fos = new FileOutputStream(path); 229 Slog.w(ActivityManagerService.TAG, "Unable to write " + path);
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 1047 * path has been dexed. 1049 String bootClassPath = System.getProperty("java.boot.class.path"); 1060 Slog.w(TAG, "Boot class path not found: " + paths[i]); 1105 String path = libPath.getPath(); 1107 if (libFiles.contains(path)) { 1111 if (!path.endsWith(".apk") && !path.endsWith(".jar")) { 1115 if (dalvik.system.DexFile.isDexOptNeeded(path)) { 1116 mInstaller.dexopt(path, Process.SYSTEM_UID, true); 1120 Slog.w(TAG, "Jar not found: " + path); 5478 AppDirObserver(String path, int mask, boolean isrom) argument 5484 onEvent(int event, String path) argument 10123 createNewUserLILPw(int userHandle, File path) argument [all...] |
H A D | Settings.java | 370 Slog.w(PackageManagerService.TAG, "Trying to update system app code path from " 373 // Just a change in the code path is not an issue, but 379 * native library path over the one stored in the 529 // Update code path if needed 531 Slog.w(PackageManagerService.TAG, "Code path for pkg : " + p.pkg.packageName + 536 //Update resource path if needed 538 Slog.w(PackageManagerService.TAG, "Resource path for pkg : " + p.pkg.packageName + 543 // Update the native library path if needed 1351 // Avoid any application that has a space in its path 1361 // dataPath - path t 2331 createNewUserLILPw(Installer installer, int userHandle, File path) argument [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 797 public void setMassStorageBackingFile(String path) { argument 798 if (path == null) path = ""; 800 FileUtils.stringToFile(MASS_STORAGE_FILE_PATH, path);
|
H A D | UsbService.java | 236 public void setMassStorageBackingFile(String path) { argument 239 mDeviceManager.setMassStorageBackingFile(path);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_BatteryService.cpp | 136 static int readFromFile(const char* path, char* buf, size_t size) argument 138 if (!path) 140 int fd = open(path, O_RDONLY, 0); 142 ALOGE("Could not open '%s'", path); 159 static void setBooleanField(JNIEnv* env, jobject obj, const char* path, jfieldID fieldID) argument 165 if (readFromFile(path, buf, SIZE) > 0) { 173 static void setIntField(JNIEnv* env, jobject obj, const char* path, jfieldID fieldID) argument 179 if (readFromFile(path, buf, SIZE) > 0) { 185 static void setVoltageField(JNIEnv* env, jobject obj, const char* path, jfieldID fieldID) argument 191 if (readFromFile(path, bu 233 char path[PATH_MAX]; local [all...] |
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/services/tests/servicestests/src/com/android/server/ |
H A D | MountServiceTests.java | 62 private String path; field in class:MountServiceTests.ObbObserver 68 public void onObbStateChange(String path, int state) { argument 69 Log.d(TAG, "Received message. path=" + path + ", state=" + state); 71 this.path = path; 80 return path; 89 this.path = null; 224 assertTrue("OBB mounted path should be a directory", 241 assertNull("OBB's mounted path shoul [all...] |
/frameworks/base/test-runner/src/junit/runner/ |
H A D | TestCaseClassLoader.java | 25 /** scanned class path */ 39 * Constructs a TestCaseLoader. It scans the class path 43 this(System.getProperty("java.class.path")); 47 * Constructs a TestCaseLoader. It scans the class path 56 String separator= System.getProperty("path.separator"); 113 String path= (String) fPathItems.elementAt(i); 115 if (isJar(path)) { 116 data= loadJarData(path, fileName); 118 data= loadFileData(path, fileName); 132 private byte[] loadFileData(String path, Strin argument 157 loadJarData(String path, String fileName) argument [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 71 * @param path The path being requested (e.g. "/index.html"). 79 boolean secure, String path, int outerLoop, int innerLoop, 102 "GET https://" + host + path + " HTTP/1.1"); 105 writer.println("GET https://" + host + path + " HTTP/1.1\r"); 180 private void fetch(String host, int port, boolean secure, String path, argument 183 fetch(clientFactory, host, port, secure, path, outerLoop, innerLoop, 78 fetch(SSLSocketFactory socketFactory, String host, int port, boolean secure, String path, int outerLoop, int innerLoop, int delay, int timeout) argument
|