HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 601 - 625 of 2724) sorted by null

<<21222324252627282930>>

  /ndk/tests/abcc/jni/
Abcc.cpp 5 * you may not use this file except in compliance with the License.
296 std::string file = mWorkingDir + "/compile_error"; local
297 fout.open(file.c_str(), std::fstream::out | std::fstream::app);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
FileProvider.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
39 abstract File getFile(final String path, final String extension);
60 * Create a temp file (to allow writing to that one particular file)
61 * @param file the file to create
62 * @return true if file successfully created
64 protected static boolean ensureFileExists(final File file) {
102 final File file = getFile(fileId, getExtensionFromUri(uri)); local
113 final File file = getFile(fileId, getExtensionFromUri(uri)); local
    [all...]
MediaScratchFileProvider.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
63 * Returns a uri that can be used to access a raw mms file.
65 * @return the URI for an raw mms file
69 final File file = getFileWithExtension(uri.getPath(), extension); local
70 if (!ensureFileExists(file)) {
71 LogUtil.e(TAG, "Failed to create temp file " + file.getAbsolutePath());
76 public static File getFileFromUri(final Uri uri)
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/
FileCleaningTracker.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
29 * This utility creates a background thread to handle file deletion.
30 * Each file to be deleted is registered with a handler object.
31 * When the handler object is garbage collected, the file is deleted.
63 * Track the specified file, using the provided marker, deleting the file
67 * @param file the file to be tracked, not nul
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
TestUtils.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
95 File file = File.createTempFile(prefix, suffix, context.getCacheDir()); local
96 FileOutputStream fos = new FileOutputStream(file);
99 return file.getAbsolutePath();
101 return "[Failed to write to file: " + e.getMessage() + "]";
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
OpenHelper.java 5 * you may not use this file except in compliance with the License.
36 import java.io.File;
76 final File file = getCursorFile(cursor, COLUMN_LOCAL_FILENAME); local
78 mimeType = DownloadDrmHelper.getOriginalMimeType(context, file, mimeType);
83 // PackageInstaller doesn't like content URIs, so open file
91 } else if ("file".equals(localUri.getScheme())) {
150 private static File getCursorFile(Cursor cursor, String column) {
151 return new File(cursor.getString(cursor.getColumnIndexOrThrow(column)));
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
ThreadingTest.java 5 * you may not use this file except in compliance with the License.
91 final String file = d.first.getStringField(DownloadManager.COLUMN_LOCAL_FILENAME); local
92 if (!seenFiles.add(file)) {
93 fail("Another download already claimed " + file);
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/plexus/plexus-build-api/0.0.4/
plexus-build-api-0.0.4.jar 
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
cgitb.py 119 for frame, file, lnum, func, lines, index in records:
120 if file:
121 file = os.path.abspath(file) variable
122 link = '<a href="file://%s">%s</a>' % (file, pydoc.html.escape(file))
124 file = link = '?'
135 try: return linecache.getline(file, lnum[0])
207 for frame, file, lnum, func, lines, index in records
208 file = file and os.path.abspath(file) or '?' variable
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Finder/
Files.py 19 """alias file - An alias file (created with \xd2Make Alias\xd3) """
22 """<Inheritance> - inherits some of its properties from the file class """
24 want = 'file'
33 """application file - An application's file on disk """
73 """document file - A document file """
78 class file(aetools.ComponentItem): class in inherits:aetools.ComponentItem
79 """file - A file ""
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
cgitb.py 119 for frame, file, lnum, func, lines, index in records:
120 if file:
121 file = os.path.abspath(file) variable
122 link = '<a href="file://%s">%s</a>' % (file, pydoc.html.escape(file))
124 file = link = '?'
135 try: return linecache.getline(file, lnum[0])
207 for frame, file, lnum, func, lines, index in records
208 file = file and os.path.abspath(file) or '?' variable
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ExportScreenshotAction.java 5 * you may not use this file except in compliance with the License.
29 import java.io.File;
57 File file = new File(path); local
58 if (file.exists()) {
59 MessageDialog d = new MessageDialog(null, "File Already Exists", null,
73 ImageIO.write(image, "PNG", file); //$NON-NLS-1$
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RuleLoader.java 5 * you may not use this file except in compliance with the License.
31 import java.io.File;
53 private List<Pair<File, Long>> mUserJarTimeStamps;
115 mUserJarTimeStamps = new ArrayList<Pair<File, Long>>();
119 String[] pathElements = path.split(File.pathSeparator);
122 File pathFile = new File(pathElement);
124 pathFile = new File(project.getLocation().toFile(), pathElement);
163 // TODO: Check the timestamp on the project.properties file so we can dynamically
176 for (Pair<File, Long> pair : mUserJarTimeStamps)
177 File file = pair.getFirst(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UnwrapRefactoring.java 5 * you may not use this file except in compliance with the License.
69 IFile file,
73 super(file, delegate, selection, treeSelection);
175 // (4) Check for Java R.file usages?
177 IFile file = mDelegate.getEditor().getInputFile(); local
179 if (file == null) {
222 TextFileChange change = new TextFileChange(file.getName(), file);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
LintJob.java 5 * you may not use this file except in compliance with the License.
44 import java.io.File;
98 List<File> files = new ArrayList<File>(mResources.size());
100 File file = AdtUtils.getAbsolutePath(resource).toFile(); local
101 files.add(file);
133 "Only XML & Java files are supported for single file lint", null); //$NON-NLS-1$
143 // Check single file?
RemoveUselessViewFix.java 5 * you may not use this file except in compliance with the License.
70 IFile file = (IFile) mMarker.getResource(); local
74 new UnwrapRefactoring(file, delegate, textSelection, null);
SetPropertyFix.java 5 * you may not use this file except in compliance with the License.
113 IFile file = (IFile) mMarker.getResource(); local
115 AdtPlugin.openFile(file, mSelect, true);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ExtractStringAction.java 5 * you may not use this file except in compliance with the License.
41 * http://www.eclipse.org/articles/article.php?file=Article-Unleashing-the-Power-of-Refactoring/index.html
55 * <li> TODO: extend the popup refactoring menu in a Java or Android XML file.
62 * actual resource file. By looking at the Active Window > Active Page > Active Editor we
63 * can get the {@link IEditorInput} and find the {@link ICompilationUnit} (aka Java file)
67 * us to be able to work with a selection from an Android XML file later.
156 * The file is only returned if it's a file from a project with an Android nature.
158 * At that point we do not try to analyze if the selection nor the file is suitable
168 IFile file = fi.getFile() local
    [all...]
XmlStringFileHelper.java 5 * you may not use this file except in compliance with the License.
38 * An helper utility to get IDs out of an Android XML resource file.
43 /** A temporary cache of R.string IDs defined by a given xml file. The key is the
44 * project path of the file, the data is a set of known string Ids for that file.
58 * @param project The project contain the XML file.
59 * @param xmlFileWsPath The project path of the XML file, e.g. "/res/values/strings.xml".
60 * The given file may or may not exist.
71 * file. The instance maintains an internal cache so a given file is retrieved only once
106 IFile file = (IFile) resource; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
NewProjectWizard.java 5 * you may not use this file except in compliance with the License.
33 import java.io.File;
126 File file = new File(AdtPlugin.getOsSdkFolder(), OS_SDK_TOOLS_LIB_FOLDER + File.separator local
128 if (!file.exists()) {
132 + "first. (Could not find %1$s)", file.getPath()));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/
IFolderWrapper.java 5 * you may not use this file except in compliance with the License.
100 for (IResource file : files) {
101 if (name.equals(file.getName())) {
115 IFile file = mFolder.getFile(name); local
116 return new IFileWrapper(file);
119 IFile file = mContainer.getFile(new Path(name)); local
120 return new IFileWrapper(file);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutMetadataTest.java 5 * you may not use this file except in compliance with the License.
77 IFile file = getLayoutFile(getProject(), filename); local
78 AdtPlugin.openFile(file, null);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ChangeLayoutRefactoringTest.java 5 * you may not use this file except in compliance with the License.
117 IFile file = getLayoutFile(getProject(), basename); local
118 TestContext info = setupTestContext(file, basename);
RefactoringAssistantTest.java 5 * you may not use this file except in compliance with the License.
58 IFile file = getTestDataFile(project, name, FD_RES + "/" + FD_RES_LAYOUT + "/" + name); local
61 String fileContent = AdtPlugin.readFile(file);
67 assertTrue("Caret content " + caretContext + " not found in file",
74 // Open file
77 IEditorPart editor = IDE.openEditor(page, file);
UseCompoundDrawableRefactoringTest.java 5 * you may not use this file except in compliance with the License.
98 IFile file = getLayoutFile(getProject(), basename); local
99 TestContext info = setupTestContext(file, basename);

Completed in 622 milliseconds

<<21222324252627282930>>