Home | History | Annotate | Download | only in handover

Lines Matching refs:File

23 import java.io.File;
40 * milliseconds, we consider a new file transfer from the
56 // In the states below we still accept new file transfer
170 if (DBG) Log.d(TAG, "Could not get mimeType for file.");
174 // Do wait to see if there's another file coming.
206 File file = new File(uri.getPath());
207 if (file.exists()) file.delete();
299 File beamPath = new File(extRoot + "/" + BEAM_DIR);
320 File srcFile = new File(uri.getPath());
322 File dstFile = generateUniqueDestination(beamPath.getAbsolutePath(),
336 // intent to the file directly. We base this decision on the mime type
337 // of the first file; if it's media the platform can deal with,
339 // on the file.
389 boolean checkMediaStorage(File path) {
397 Log.e(TAG, "External storage not mounted, can't store file.");
426 File generateUniqueDestination(String path, String fileName) {
437 File dstFile = new File(path + File.separator + fileName);
440 dstFile = new File(path + File.separator + fileNameWithoutExtension + "-" +
447 File generateMultiplePath(String beamRoot) {
452 File newFile = new File(newPath);
457 newFile = new File(newPath);