/external/guava/guava-tests/test/com/google/common/collect/ |
BstPathTest.java | 37 SimplePath rootPath = new SimplePath(root, null); 38 assertFalse(rootPath.hasPrefix()); 39 assertNull(rootPath.prefixOrNull()); 41 rootPath.getPrefix(); 49 SimplePath rootPath = new SimplePath(root, null); 50 SimplePath nodePath = new SimplePath(node, rootPath); 52 assertEquals(rootPath, nodePath.prefixOrNull()); 53 assertEquals(rootPath, nodePath.getPrefix());
|
/packages/apps/OMA-DM/engine/javaplugin/api/com/android/omadm/plugin/ |
DmtPathUtils.java | 54 * @param rootPath root path. 58 public static String getSubNodeName(String rootPath, String nodePath) { 59 if (!isValidPath(rootPath) || !isValidPath(nodePath)) { 63 String prefix = rootPath + '/'; 119 * @param rootPath root path. 121 * @return true if these paths are equal or nodePath starts with rootPath. 123 public static boolean isSubPath(String rootPath, String nodePath) { 124 if (!isValidPath(rootPath) || !isValidPath(nodePath)) { 128 if (nodePath.equals(rootPath)) { 132 return nodePath.startsWith(rootPath + '/') [all...] |
IDmtSubTree.java | 58 * @param rootPath full path to the node. 62 Map<String, DmtPluginNode> getNodes(String rootPath) throws DmtException;
|
/packages/apps/OMA-DM/plugins/diagmon/com/android/omadm/plugin/diagmon/ |
DiagmonService.java | 36 String rootPath = intent.getStringExtra("rootPath"); 37 Log.d(TAG, "rootPath =" + rootPath);
|
DiagmonPlugin.java | 69 public boolean init(String rootPath, Map parameters) { 73 mRootPath = rootPath; 107 Log.i(TAG, "rootPath=" + mRootPath); 178 public Map getNodes(String rootPath) { 209 public Map<String, DmtData> getNodeMap(String rootPath) { 212 if (rootPath.equals(DIAGMON_ROOT)) { 216 if (key.startsWith(rootPath)) { 217 if ((key.substring(rootPath.length(), (rootPath.length() + 1))).equals("/")) {
|
/packages/apps/OMA-DM/plugins/devplugin/com/android/omadm/plugin/dev/ |
DevService.java | 36 String rootPath = intent.getStringExtra("rootPath"); 37 if (DBG) logd("rootPath: " + rootPath);
|
DevPlugin.java | 69 public boolean init(String rootPath, Map parameters) { 70 logd("Enter DevPlugin.init(\"" + rootPath + "\", " + parameters + "\")"); 71 mRootPath = rootPath; 87 logd("getNodeValue: rootPath=" + mRootPath + " path=" + path); 338 logd("updateLeafNode: rootPath=" + mRootPath + " path=" + path + " newValue=" + newValue); 375 public Map getNodes(String rootPath) { 376 logd("Enter DevPlugin.getNodes(\"" + rootPath + "\")");
|
/external/chromium_org/third_party/skia/include/core/ |
SkOSFile.h | 140 * Assembles rootPath and relativePath into a single path, like this: 141 * rootPath/relativePath. 142 * It is okay to call with a NULL rootPath and/or relativePath. A path 147 static SkString SkPathJoin(const char *rootPath, const char *relativePath);
|
/external/skia/include/core/ |
SkOSFile.h | 140 * Assembles rootPath and relativePath into a single path, like this: 141 * rootPath/relativePath. 142 * It is okay to call with a NULL rootPath and/or relativePath. A path 147 static SkString SkPathJoin(const char *rootPath, const char *relativePath);
|
/external/qemu/android/utils/ |
dirscanner.h | 24 /* Create a new directory scanner object from a given rootPath. 27 DirScanner* dirScanner_new ( const char* rootPath );
|
dirscanner.c | 151 dirScanner_new ( const char* rootPath ) 157 p = bufprint(p, end, "%s", rootPath);
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
FileInputType.cpp | 229 String rootPath = directoryName(files[0].path); 231 while (!files[i].path.startsWith(rootPath)) 232 rootPath = directoryName(rootPath); 234 rootPath = directoryName(rootPath); 235 ASSERT(rootPath.length()); 236 int rootLength = rootPath.length(); 237 if (rootPath[rootLength - 1] != '\\' && rootPath[rootLength - 1] != '/' [all...] |
/frameworks/base/core/jni/ |
android_app_backup_FullBackup.cpp | 69 * rootpath: prefix to be snipped from full path when encoding in tar 85 String8 rootpath(rootchars ? rootchars : ""); 104 if (path.length() < rootpath.length()) { 106 path.string(), rootpath.string()); 110 return (jint) write_tarfile(packageName, domain, rootpath, path, writer);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
ExternalStorageProvider.java | 188 final String rootPath = root.getValue().getPath(); 189 if (path.startsWith(rootPath) && (mostSpecific == null 190 || rootPath.length() > mostSpecific.getValue().getPath().length())) { 201 final String rootPath = mostSpecific.getValue().getPath(); 202 if (rootPath.equals(path)) { 204 } else if (rootPath.endsWith("/")) { 205 path = path.substring(rootPath.length()); 207 path = path.substring(rootPath.length() + 1);
|
/external/chromium_org/content/browser/fileapi/ |
sandbox_file_system_backend_unittest.cc | 210 SCOPED_TRACE(testing::Message() << "RootPath (create) #" << i << " " 230 SCOPED_TRACE(testing::Message() << "RootPath (get) #" << i << " " 270 SCOPED_TRACE(testing::Message() << "RootPath (create=false) #" << i << " " 284 SCOPED_TRACE(testing::Message() << "RootPath (incognito) #" << i << " "
|
/packages/apps/OMA-DM/engine/dmlib/plugin/hdr/ |
SyncML_PlugIn_WBXMLLog.H | 38 SyncML_PlugIn_WBXMLLog(const DmtRWPluginTree *pluginTree, CPCHAR rootPath);
|
/packages/apps/OMA-DM/engine/javaplugin/nativelib/src/ |
DmtJavaPluginTree.cc | 22 DmtJavaPluginTree::DmtJavaPluginTree(const char* rootPath, DMMap<DMString, DMString>& mapParameters) 26 Init(rootPath); 27 DmtJavaPlugin_Debug("Finish init rootPath, and begin create new instance of DmtJavaPluginManager..\n"); 28 m_pluginManager = new DmtJavaPluginManager(rootPath, mapParameters);
|
DmtJavaPluginTree.h | 29 DmtJavaPluginTree(const char* rootPath, DMMap<DMString, DMString>& mapParameters);
|
/external/eyes-free/AccessCheck/src/com/android/accessibility/ |
AccessibilityValidator.java | 73 public AccessibilityValidator(String rootPath, String androidSdkPath) { 74 mRootFilePath = new File(rootPath); 79 + rootPath);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
SimpleTempStorage.java | 44 private TempPath rootPath = null; 51 rootPath = new SimpleTempPath(System.getProperty("java.io.tmpdir")); 118 return rootPath;
|
/frameworks/base/core/java/android/app/backup/ |
BackupAgent.java | 398 String rootpath = null; local 401 rootpath = dbDir; 404 rootpath = spDir; 407 rootpath = filesDir; 410 rootpath = mainDir; 413 rootpath = efDir; 421 + " rootpath=" + rootpath); 422 FullBackup.backupToTar(getPackageName(), domain, null, rootpath, filePath, local 434 protected final void fullBackupFileTree(String packageName, String domain, String rootPath, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
RenderScriptLauncher.java | 185 String rootPath = mProject.getLocation().toOSString(); 186 int rootPathLength = rootPath.length(); 199 if (filePath.startsWith(rootPath) == false) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
ProjectState.java | 194 String rootPath = mProperties.getProperty(propName); 196 if (rootPath == null) { 200 mLibraries.add(new LibraryState(convertPath(rootPath))); 313 String rootPath = mProperties.getProperty(propName); 315 if (rootPath == null) { 321 String convertedPath = convertPath(rootPath); 628 String rootPath = mProperties.getProperty(propName); 630 if (rootPath == null) { 634 if (rootPath.equals(oldValue)) {
|
/external/chromium_org/third_party/skia/src/utils/ |
SkOSFile.cpp | 9 SkString SkOSPath::SkPathJoin(const char *rootPath, const char *relativePath) { 10 SkString result(rootPath);
|
/external/skia/src/utils/ |
SkOSFile.cpp | 9 SkString SkOSPath::SkPathJoin(const char *rootPath, const char *relativePath) { 10 SkString result(rootPath);
|