/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | VoicemailUriType.java | 30 private final String path; field in class:VoicemailUriType 32 private VoicemailUriType(String path) { argument 33 this.path = path; 37 public String path() { method in class:VoicemailUriType 38 return path;
|
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/io/ |
H A D | NodeLoader.java | 40 protected abstract Node getInstanceImpl(String path) ; argument 41 protected abstract Reader getReaderImpl(String path) throws FileNotFoundException; argument 47 public static Node getInstance(String path) { argument 48 return ldr.getInstanceImpl(path); 54 public static Reader getReader(String path) throws FileNotFoundException { argument 55 return ldr.getReaderImpl(path);
|
/packages/apps/OMA-DM/engine/javaplugin/api/com/android/omadm/plugin/ |
H A D | IDmtSubTree.java | 30 * @param path path to the new node. 34 T createFromPath(String path, IDmtRootPlugin pluginRoot); argument 38 * Returns a node specified by path. 40 * @param path full path to the node. 44 DmtPluginNode getNode(String path) throws DmtException; argument 47 * Returns a node value specified by path. 49 * @param path full path t 53 getNodeValue(String path) argument 70 createInteriorNode(String path) argument 78 createLeafNode(String path, DmtData value) argument 87 renameNode(String path, String newName) argument 96 updateLeafNode(String path, DmtData newValue) argument 104 deleteNode(String path) argument [all...] |
H A D | IDmtRootPlugin.java | 22 * Returns a management object specified by path. 24 * @param path path to the management object. 27 DmtManagementObject getManagementObject(String path); argument
|
H A D | IDmtPlugin.aidl | 27 * @param rootPath the root path of the plug-in. 64 * Gets node by given path. 70 * @param path full path to the node. 73 DmtPluginNode getNode(String path); 76 * Gets node value by given path. 82 * @param path full path to the node. 85 DmtData getNodeValue(String path); 88 * Gets a set of nodes by given path [all...] |
H A D | DmtPathUtils.java | 30 * Checks whether the given path is valid or not. 32 * @param path full path. 33 * @return true if this is valid path, otherwise false. 35 public static boolean isValidPath(String path) { argument 36 return (!TextUtils.isEmpty(path)) && (".".equals(path) || path.startsWith("./")); 40 * Parses path and returns name of the end node. 42 * @param nodePath path t 135 toRelativePath(String rootPath, String path) argument 152 toAbsolutePath(String rootPath, String path) argument [all...] |
H A D | IDMClientService.aidl | 25 * Gets DM tree node value by specified path. 31 * @param path full path to the node. 35 DmtData getDMTree(String path, boolean recursive); 40 * @param path full path to the node. 49 int startClientSession(String path, String clientCert, String privateKey, 54 * @param path the path for the exec call 56 int notifyExecFinished(String path); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
H A D | UriType.java | 22 /** Returns the path associated with this URI type. */ 23 public String path(); method in interface:UriType
|
/packages/apps/OMA-DM/engine/dmlib/api/native/ |
H A D | dmtTree.hpp | 122 * Locates and return node by specified path. 127 * \param path [in] - full path to the node 135 virtual SYNCML_DM_RET_STATUS_T GetNode(CPCHAR path, PDmtNode& ptrNode )=0; 138 * Deletes a node according to the specified path 143 * \param path [in] - full path to the node 164 virtual SYNCML_DM_RET_STATUS_T DeleteNode(CPCHAR path )=0; 168 * Creates a sibling of the node specified by its URI "path". 174 * \param path [i [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | SecureSource.java | 37 public static boolean isSecurePath(String path) { argument 38 return (SECURE_ALBUM == mMatcher.match(Path.fromString(path))); 42 public MediaObject createMediaObject(Path path) { argument 43 switch (mMatcher.match(path)) { 48 return new SecureAlbum(path, mApplication, unlock); 51 return new UnlockImage(path, mApplication); 53 throw new RuntimeException("bad path: " + path);
|
H A D | ComboSource.java | 35 // The only path we accept is "/combo/{set1, set2, ...} and /combo/item/{set1, set2, ...}" 37 public MediaObject createMediaObject(Path path) { argument 38 String[] segments = path.split(); 40 throw new RuntimeException("bad path: " + path); 44 switch (mMatcher.match(path)) { 46 return new ComboAlbumSet(path, mApplication, 50 return new ComboAlbum(path,
|
H A D | CameraShortcutImage.java | 26 public CameraShortcutImage(Path path, GalleryApp application) { argument 27 super(path, application, R.drawable.placeholder_camera);
|
H A D | EmptyAlbumImage.java | 26 public EmptyAlbumImage(Path path, GalleryApp application) { argument 27 super(path, application, R.drawable.placeholder_empty);
|
H A D | MediaSource.java | 41 public abstract MediaObject createMediaObject(Path path); argument 62 public PathId(Path path, int id) { argument 63 this.path = path; 66 public Path path; field in class:MediaSource.PathId 82 obj = pid.path.getObject(); 85 obj = createMediaObject(pid.path); 87 Log.w(TAG, "cannot create media object: " + pid.path, th);
|
H A D | UnlockImage.java | 26 public UnlockImage(Path path, GalleryApp application) { argument 27 super(path, application, R.drawable.placeholder_locked);
|
H A D | DataSourceType.java | 35 Path path = set.getPath(); 36 if (MediaSetUtils.isCameraSource(path)) return TYPE_CAMERA; 38 Path prefix = path.getPrefixPath();
|
/packages/apps/OMA-DM/engine/dmlib/dmtapi/native/hdr/ |
H A D | dmtTreeImpl.hpp | 39 virtual SYNCML_DM_RET_STATUS_T GetNode( CPCHAR path, PDmtNode& ptrNode ); 41 virtual SYNCML_DM_RET_STATUS_T DeleteNode( CPCHAR path ); 43 virtual SYNCML_DM_RET_STATUS_T Clone( CPCHAR path, CPCHAR szNewNodeName ); 45 virtual SYNCML_DM_RET_STATUS_T RenameNode( CPCHAR path, CPCHAR szNewNodeName ); 47 virtual SYNCML_DM_RET_STATUS_T CreateLeafNode( CPCHAR path, PDmtNode& ptrCreatedNode, const DmtData& value ); 48 virtual SYNCML_DM_RET_STATUS_T CreateLeafNode(CPCHAR path, PDmtNode& ptrCreatedNode, const DmtData& value , BOOLEAN isESN); 50 virtual SYNCML_DM_RET_STATUS_T CreateInteriorNode( CPCHAR path, PDmtNode& ptrCreatedNode ); 52 virtual SYNCML_DM_RET_STATUS_T GetChildValuesMap( CPCHAR path, DMMap<DMString, DmtData>& mapNodes ) ; 54 virtual SYNCML_DM_RET_STATUS_T SetChildValuesMap( CPCHAR path, const DMMap<DMString, DmtData>& mapNodes ); 56 virtual SYNCML_DM_RET_STATUS_T GetChildNodeNames( CPCHAR path, DMStringVecto [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaScannerReceiver.java | 46 String path = uri.getPath(); 51 path = new File(path).getCanonicalPath(); 53 Log.e(TAG, "couldn't canonicalize " + path); 56 if (path.startsWith(legacyPath)) { 57 path = externalStoragePath + path.substring(legacyPath.length()); 60 Log.d(TAG, "action: " + action + " path: " + path); 65 path ! 79 scanFile(Context context, String path) argument [all...] |
/packages/apps/OMA-DM/engine/javaplugin/nativelib/src/ |
H A D | DmtJavaPluginTree.cc | 39 SYNCML_DM_RET_STATUS_T DmtJavaPluginTree::DeleteNode(const char* path) argument 41 DmtJavaPlugin_Debug("Inside: DmtJavaPluginTree::DeleteNode, path = %s\n", path); 48 SYNCML_DM_RET_STATUS_T res = DmtRWPluginTree::DeleteNode(path); 52 res = m_pluginManager->DeleteNode(path); 58 SYNCML_DM_RET_STATUS_T DmtJavaPluginTree::CreateInteriorNode(const char* path, PDmtNode& ptrCreatedNode) argument 60 DmtJavaPlugin_Debug("Inside: DmtJavaPluginTree::CreateInteriorNode, path = %s \n", path); 68 SYNCML_DM_RET_STATUS_T res = DmtRWPluginTree::CreateInteriorNode(path, ptrCreatedNode); 73 SYNCML_DM_RET_STATUS_T DmtJavaPluginTree::CreateInteriorNodeInternal(const char* path, argument 94 CreateLeafNode(const char* path, PDmtNode& ptrCreatedNode, const DmtData& value) argument 108 CreateLeafNode(const char* path, PDmtNode& ptrCreatedNode, const DmtData& value, BOOLEAN isESN) argument 122 CreateLeafNodeInternal(const char* path, PDmtNode& ptrCreatedNode, const DmtData& value) argument 141 CreateLeafNodeInternal(const char* path, PDmtNode& ptrCreatedNode, const DmtData& value, BOOLEAN isESN) argument 147 RenameNode(const char* path, const char* szNewNodeName) argument 196 GetNodeValueInternal(const char* path, DmtData& value) argument 210 SetNodeValueInternal(const char* path, const DmtData& value) argument [all...] |
H A D | DmtJavaPluginTree.h | 30 virtual SYNCML_DM_RET_STATUS_T DeleteNode(const char* path); 31 virtual SYNCML_DM_RET_STATUS_T CreateInteriorNode(const char* path, PDmtNode& ptrCreatedNode); 32 virtual SYNCML_DM_RET_STATUS_T CreateLeafNode(const char* path, PDmtNode& ptrCreatedNode, const DmtData& value); 33 virtual SYNCML_DM_RET_STATUS_T CreateLeafNode(const char* path, PDmtNode& ptrCreatedNode, const DmtData& value, BOOLEAN isESN); 34 virtual SYNCML_DM_RET_STATUS_T CreateInteriorNodeInternal(const char* path, PDmtNode& ptrCreatedNode, const DMStringVector& childNodeNames); 35 virtual SYNCML_DM_RET_STATUS_T CreateLeafNodeInternal(const char* path, PDmtNode& ptrCreatedNode, const DmtData& value); 36 virtual SYNCML_DM_RET_STATUS_T CreateLeafNodeInternal(const char* path, PDmtNode& ptrCreatedNode, const DmtData& value, BOOLEAN isESN); 37 virtual SYNCML_DM_RET_STATUS_T RenameNode(const char* path, const char* szNewNodeName); 38 virtual SYNCML_DM_RET_STATUS_T GetNode(const char* path, PDmtNode& ptrNode); 42 SYNCML_DM_RET_STATUS_T GetNodeValueInternal(const char* path, DmtDat [all...] |
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_persist/src/ |
H A D | SyncML_DM_Archive.cc | 30 SyncML_DM_Archive::SyncML_DM_Archive(CEnv* env, CPCHAR pURI, CPCHAR path) argument 32 m_path(path) 40 env->GetWFSFullPath(path,m_strWFSFileName); 57 SyncML_DM_Archive::getFilePath(char * path, CPCHAR ext) argument 59 DmStrcpy(path, m_strWFSFileName); 60 DmStrcat(path, ext);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | FileUtils.java | 26 public static boolean deleteRecursively(final File path) { argument 27 if (path.isDirectory()) { 28 final File[] files = path.listFiles(); 35 return path.delete();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | FileSystemUtils.java | 127 * @param path the path to get free space for, not null, not empty on Unix 129 * @throws IllegalArgumentException if the path is invalid 137 public static long freeSpace(String path) throws IOException { argument 138 return INSTANCE.freeSpaceOS(path, OS, false); 159 * @param path the path to get free space for, not null, not empty on Unix 161 * @throws IllegalArgumentException if the path is invalid 166 public static long freeSpaceKb(String path) throws IOException { argument 167 return INSTANCE.freeSpaceOS(path, O 189 freeSpaceOS(String path, int os, boolean kb) argument 216 freeSpaceWindows(String path) argument 252 parseDir(String line, String path) argument 306 freeSpaceUnix(String path, boolean kb, boolean posix) argument 363 parseBytes(String freeSpace, String path) argument [all...] |
/packages/apps/OMA-DM/engine/dmlib/plugin/src/ |
H A D | dmtPlugin.cc | 32 SYNCML_DM_RET_STATUS_T DmtAPIPluginTree::OnAdd( CPCHAR path, DmtOverlayPluginData& data ) argument 37 SYNCML_DM_RET_STATUS_T DmtAPIPluginTree::OnDelete( CPCHAR path ) 42 SYNCML_DM_RET_STATUS_T DmtAPIPluginTree::Synchronize( const char* path, DMVector<DmtOverlayPluginSyncData>& data ) argument 59 SYNCML_DM_RET_STATUS_T DmtAPIPluginTree::FindAddedNode(CPCHAR path) argument 67 if ( pathTmp == path ) 76 SYNCML_DM_RET_STATUS_T DmtAPIPluginTree::FindAddedParentNode(CPCHAR path) argument 80 if ( path == NULL) 83 DMString pStr = path; 109 SYNCML_DM_RET_STATUS_T DmtAPIPluginTree::RemoveAddedNode(CPCHAR path) argument 113 INT32 length = DmStrlen(path); 189 GetFullPath(CPCHAR path, DMString & fullPath) const argument 223 GetNode(CPCHAR path, PDmtNode& ptrNode ) argument 238 GetChildNodeNames( CPCHAR path, DMStringVector & aChildren ) argument 274 RenameNode( CPCHAR path, CPCHAR szNewNodeName ) argument 280 CreateLeafNode( CPCHAR path, PDmtNode& ptrCreatedNode, const DmtData& value ) argument 286 CreateLeafNode(CPCHAR path, PDmtNode& ptrCreatedNode, const DmtData& value , BOOLEAN isESN) argument 294 CreateInteriorNode( CPCHAR path, PDmtNode& ptrCreatedNode ) argument 300 Clone(CPCHAR path, CPCHAR szNewNodename) argument 306 GetChildValuesMap( CPCHAR path, DMMap<DMString, DmtData>& mapNodes ) argument 312 SetChildValuesMap( CPCHAR path, const DMMap<DMString, DmtData>& mapNodes ) argument 378 SetNode(CPCHAR path, PDmtNode node) argument 386 RemoveNode(CPCHAR path) argument 434 Init(PDmtPluginTree ptrTree, CPCHAR path) argument 486 Init(PDmtPluginTree ptrTree, CPCHAR path, BOOLEAN isleaf) argument 505 Init(PDmtPluginTree ptrTree, CPCHAR path, const DmtData & oData, BOOLEAN isESN) argument 548 Init(PDmtPluginTree ptrTree, CPCHAR path, const DMStringVector & childNodeNames) argument [all...] |
/packages/apps/OMA-DM/plugins/pluginhelper/com/android/omadm/pluginhelper/ |
H A D | DmtPluginFacade.java | 36 * @param path path to the base of the management object 38 GenericDmtManagementObject(String path) throws DmtException { argument 39 super(path, null); 104 public int createInteriorNode(String path) { argument 107 status = setOperationResult(mManagementObject.createInteriorNode(path)); 112 public int createLeafNode(String path, DmtData value) { argument 113 Log.d(TAG, String.format("DmtPluginFacade.createLeafNode(%s)", path)); 115 status = setOperationResult(mManagementObject.createLeafNode(path, value)); 119 public int updateLeafNode(String path, DmtDat argument 126 renameNode(String path, String newName) argument 133 deleteNode(String path) argument 140 getNode(String path) argument 152 getNodes(String path) argument 165 getNodeValue(String path) argument [all...] |