Lines Matching refs:path
80 public CustomMediaScannerConnectionClient(String path) {
82 mPath = path;
96 public void onScanCompleted(String path, Uri uri) {
97 if (DEBUG) { Log.d(LOG_TAG, "scan completed: " + path); }
229 final String path = request.destUri.getEncodedPath();
230 if (DEBUG) Log.d(LOG_TAG, "Reserve the path " + path);
231 if (!mReservedDestination.add(path)) {
233 String.format("The path %s is already reserved. Reject export request",
234 path));
284 final String path =
287 String.format("Cancel reservation for the path %s if appropriate", path));
288 if (!mReservedDestination.remove(path)) {
300 final String path = getAppropriateDestination(mTargetDirectory);
302 if (path != null) {
304 VCardService.MSG_SET_AVAILABLE_EXPORT_DESTINATION, 0, 0, path);
346 /* package */ synchronized void updateMediaScanner(String path) {
348 Log.d(LOG_TAG, "MediaScanner is being updated: " + path);
357 new CustomMediaScannerConnectionClient(path);
396 final String path = ((ExportProcessor)job).getRequest().destUri.getEncodedPath();
397 if (DEBUG) Log.d(LOG_TAG, "Remove reserved path " + path);
398 mReservedDestination.remove(path);
434 * @return destination path for a vCard file to be exported. null on error and mErrorReason
485 final String path =
488 if (mReservedDestination.contains(path)) {
490 Log.d(LOG_TAG, String.format("The path %s is reserved.", path));
496 final File file = new File(path);