/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/compile/libbcc/tests/debuginfo/ |
H A D | llvm-lit | 7 # to determine correct path for the root of the source tree. 10 llvm_source_root = os.path.join(android_source_root, 'external', 'llvm') 11 libbcc_source_root = os.path.join(android_source_root, 'frameworks', 'compile', 15 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit')) 20 'llvm_site_config' : os.path.join(libbcc_source_root, 'test', 'debuginfo',
|
/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/support/v4/kitkat/android/support/v4/os/ |
H A D | EnvironmentCompatKitKat.java | 24 public static String getStorageState(File path) { argument 25 return Environment.getStorageState(path);
|
/frameworks/base/media/java/android/media/ |
H A D | IMediaScannerService.aidl | 28 * @param path the path to the file to be scanned. 34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); 39 * @param path the path to the file to be scanned. 43 void scanFile(String path, String mimeType);
|
H A D | MediaHTTPService.java | 35 String path) { 36 if (path.startsWith("http://") 37 || path.startsWith("https://") 38 || path.startsWith("widevine://")) { 34 createHttpServiceBinderIfNecessary( String path) argument
|
H A D | IMediaScannerListener.aidl | 28 * @param path the path to the file that has been scanned. 32 void scanCompleted(String path, in Uri uri);
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | PathTest.java | 27 Path path = new Path(); 29 final Path.FillType defaultFillType = path.getFillType(); 33 path.setFillType(fillType); 34 path.reset(); 35 assertEquals(path.getFillType(), fillType);
|
/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 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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathDestructionActivity.java | 31 * scheme in particular, because we should be able to have the Java-level path finalized 32 * without destroying the underlying native path object until we are done referencing it 64 Path path = new Path(); 65 path.moveTo(left, top); 66 path.lineTo(right, top); 67 path.lineTo(right, bottom); 68 path.lineTo(left, bottom); 69 path.close(); 70 return path; 82 Path path; [all...] |
H A D | PathsCacheActivity.java | 50 Path path = new Path(); 51 buildPath(path); 52 return path; 55 private static void buildPath(Path path) { argument 56 path.moveTo(0.0f, 0.0f); 57 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 58 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 59 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); 63 Path path = new Path(); 64 buildLargePath(path); 68 buildLargePath(Path path) argument [all...] |
H A D | TextPathActivity.java | 61 Path path = new Path(); 64 drawTextAsPath(canvas, "Hello", path); 67 drawTextAsPath(canvas, "OpenGL", path); 70 private void drawTextAsPath(Canvas canvas, String text, Path path) { argument 72 mHugePaint.getTextPath(text, 0, count, 0, 0, path); 73 path.close(); 74 canvas.drawPath(path, mHugePaint);
|
/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/graphics/java/android/graphics/ |
H A D | FontFamily.java | 61 public boolean addFont(String path) { argument 62 return nAddFont(mNativePtr, path); 65 public boolean addFontWeightStyle(String path, int weight, boolean style) { argument 66 return nAddFontWeightStyle(mNativePtr, path, weight, style); 69 public boolean addFontFromAsset(AssetManager mgr, String path) { argument 70 return nAddFontFromAsset(mNativePtr, mgr, path); 75 private static native boolean nAddFont(long nativeFamily, String path); argument 76 private static native boolean nAddFontWeightStyle(long nativeFamily, String path, argument 79 String path); 78 nAddFontFromAsset(long nativeFamily, AssetManager mgr, String path) argument
|
/frameworks/native/cmds/installd/tests/ |
H A D | installd_utils_test.cpp | 52 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/base/services/core/java/com/android/server/ |
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/tools/aapt/ |
H A D | CacheUpdater.h | 33 // Make sure all the directories along this path exist 34 virtual void ensureDirectoriesExist(String8 path) = 0; 37 virtual void deleteFile(String8 path) = 0; 55 // Make sure all the directories along this path exist 56 virtual void ensureDirectoriesExist(String8 path) argument 58 // Check to see if we're dealing with a fully qualified path 65 // If something in the path doesn't exist, then walk the path backwards 67 if (stat(path.string(),&s) == -1) { 69 existsPath = path; 92 deleteFile(String8 path) argument [all...] |
/frameworks/base/packages/Keyguard/scripts/ |
H A D | new_merge.py | 14 def executable(path): 15 return os.path.isfile(path) and os.access(path, os.X_OK) 17 path, file = os.path.split(program) 18 if path and executable(program): 21 for path in os.environ["PATH"].split(os.pathsep): 22 exe = os.path.join(path, progra [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaScanner.cpp | 69 char * path = strtok(skipList, ","); local 71 while (path) { 72 mSkipIndex[i++] = strlen(path); 73 path = strtok(NULL, ","); 82 const char *path, MediaScannerClient &client) { 83 int pathLength = strlen(path); 93 strcpy(pathBuffer, path); 109 bool MediaScanner::shouldSkipDirectory(char *path) { argument 110 if (path && mSkipList && mSkipIndex) { 111 int len = strlen(path); 81 processDirectory( const char *path, MediaScannerClient &client) argument 131 doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) argument 172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 56 Path path = new Path(); 64 path.moveTo(point[0], point[1]); 69 path.lineTo(point[0], point[1]); 74 path.lineTo(point[0], point[1]); 79 path.lineTo(point[0], point[1]); 81 path.close(); 83 return path;
|
/frameworks/compile/mclinker/unittests/ |
H A D | FileHandleTest.cpp | 46 mcld::sys::fs::Path path(TOPDIR); 47 path.append("unittests/test.txt"); 48 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly)); 63 mcld::sys::fs::Path path(TOPDIR); 64 path.append("unittests/test.txt"); 66 int fd = ::open(path.native().c_str(), O_RDONLY); 87 mcld::sys::fs::Path path(TOPDIR); 88 path.append("unittests/test.txt"); 89 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly));
|
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 43 static void appendInputDeviceConfigurationFileRelativePath(String8& path, argument 45 path.append(CONFIGURATION_FILE_DIR[type]); 51 path.append(&ch, 1); 53 path.append(CONFIGURATION_FILE_EXTENSION[type]); 89 String8 path; local 90 path.setTo(getenv("ANDROID_ROOT")); 91 path.append("/usr/"); 92 appendInputDeviceConfigurationFileRelativePath(path, name, type); 94 ALOGD("Probing for system provided input device configuration file: path='%s'", path [all...] |
/frameworks/av/media/libeffects/downmix/ |
H A D | Android.mk | 19 $(call include-path-for, audio-effects) \ 20 $(call include-path-for, audio-utils)
|