/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);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
AndroidManifestWriter.java | 5 * may not use this file except in compliance with the License. You may obtain a 28 import java.io.File; 90 // Prepare the output file 91 File file = new File(mOsManifestFilePath); local 92 Result result = new StreamResult(file); 94 // Write the DOM document to the file 98 sLogger.log(Level.SEVERE, "Failed to write xml file", e); 101 sLogger.log(Level.SEVERE, "Failed to write xml file", e) [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ |
HierarchyViewer.java | 5 * you may not use this file except in compliance with the License. 28 import java.io.File; 82 private static void outputPsd(String deviceName, String file) { 90 System.out.println("Capturing layers to " + file); 91 CaptureLoader.saveLayers(device, Window.FOCUSED_WINDOW, new File(file)); 126 System.out.println(" --psd [device] <file>\t Export psd and exit"); 135 System.out.println("You must specify at least an output file with --psd"); 139 String file = null; local 144 file = args[++i] [all...] |
/system/core/toolbox/ |
lsof.c | 98 // Prints out all file that have been memory mapped 101 FILE *maps; 108 char file[PATH_MAX]; local 117 file) == 4) { 118 // We don't care about non-file maps 124 "???", device, offset, inode, file); 133 // Prints out all open file descriptors
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ValueEncoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 98 /** {@code non-null;} file being written */ 99 private final DexFile file; field in class:ValueEncoder 107 * @param file {@code non-null;} file being written 110 public ValueEncoder(DexFile file, AnnotatedOutput out) { 111 if (file == null) { 112 throw new NullPointerException("file == null"); 119 this.file = file [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoDecoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 27 import static com.android.dx.dex.file.DebugInfoConstants.DBG_ADVANCE_LINE; 28 import static com.android.dx.dex.file.DebugInfoConstants.DBG_ADVANCE_PC; 29 import static com.android.dx.dex.file.DebugInfoConstants.DBG_END_LOCAL; 30 import static com.android.dx.dex.file.DebugInfoConstants.DBG_END_SEQUENCE; 31 import static com.android.dx.dex.file.DebugInfoConstants.DBG_FIRST_SPECIAL; 32 import static com.android.dx.dex.file.DebugInfoConstants.DBG_LINE_BASE; 33 import static com.android.dx.dex.file.DebugInfoConstants.DBG_LINE_RANGE; 34 import static com.android.dx.dex.file.DebugInfoConstants.DBG_RESTART_LOCAL 77 private final DexFile file; field in class:DebugInfoDecoder [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoDecoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 37 import static com.android.dx.dex.file.DebugInfoConstants.*; 66 /** dex file this debug info will be stored in */ 67 private final DexFile file; field in class:DebugInfoDecoder 93 * @param file dex file this debug info will be stored in 96 boolean isStatic, CstMethodRef ref, DexFile file) { 104 this.file = file; [all...] |
ValueEncoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 96 /** {@code non-null;} file being written */ 97 private final DexFile file; field in class:ValueEncoder 105 * @param file {@code non-null;} file being written 108 public ValueEncoder(DexFile file, AnnotatedOutput out) { 109 if (file == null) { 110 throw new NullPointerException("file == null"); 117 this.file = file [all...] |
/frameworks/base/core/java/android/os/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 29 import java.io.File; 69 * Set owner and mode of of given {@link File}. 76 public static int setPermissions(File path, int mode, int uid, int gid) { 162 // copy a file from srcFile to destFile, return true if succeed, return 164 public static boolean copyFile(File srcFile, File destFile) { 183 public static boolean copyToFile(InputStream inputStream, File destFile) { 211 * @param file The file to chec 350 final File file = files[i]; local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 5 * you may not use this file except in compliance with the License. 24 import java.io.File; 38 * a single "active" file, which is periodically rotated into historical files, 44 * enables atomic rewriting of file contents in 54 private final File mBasePath; 62 // TODO: provide method to append to active file 89 * Create a file rotator. 93 * @param rotateAgeMillis Age in milliseconds beyond which an active file 94 * may be rotated into a historical file. 95 * @param deleteAgeMillis Age in milliseconds beyond which a rotated file 115 final File file = new File( local 125 final File file = new File( local 160 final File file = new File(mBasePath, name); local 235 final File file = new File(mBasePath, name); local 295 final File file = new File(mBasePath, name); local 349 final File file = new File(mBasePath, name); local 357 final File file = new File(mBasePath, name); local [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
TrustedCertificateStore.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 61 * efficient lookup operations for CAs again based on the file naming 75 * configuration in the system/core/rootdir/init.rc file. The 93 private static final File CA_CERTS_DIR_SYSTEM; 94 private static final File CA_CERTS_DIR_ADDED; 95 private static final File CA_CERTS_DIR_DELETED; 100 CA_CERTS_DIR_SYSTEM = new File(ANDROID_ROOT + "/etc/security/cacerts"); 101 CA_CERTS_DIR_ADDED = new File(ANDROID_DATA + "/misc/keychain/cacerts-added"); 102 CA_CERTS_DIR_DELETED = new File(ANDROID_DATA + "/misc/keychain/cacerts-removed") 131 File file = fileForAlias(alias); local 149 File file; local 213 File file = fileForAlias(alias); local 441 File file = file(dir, hash, index); local 483 private File file(File dir, String hash, int index) { method in class:TrustedCertificateStore 532 File file = fileForAlias(alias); local 577 File file = file(addedDir, hash, lastTombstoneIndex); local [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
MiscFilesHandler.java | 5 * you may not use this file except in compliance with the License. 44 import java.io.File; 115 // delete the file 116 File file = new File(mAdapter.getItem(i).mFileName); local 117 if (file.isDirectory()) { 118 deleteDir(file); 120 file.delete(); 146 private boolean deleteDir(File dir) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
AttachmentsView.java | 5 * you may not use this file except in compliance with the License. 271 // Unable to get the size from the metadata cursor. Open the file and seek. 285 // if the attachment is not a content:// for example, a file:// URI 294 * Adds a local attachment by file path. 296 * @param contentUri the uri of the local file path 308 * exceeds file size limits. 336 ParcelFileDescriptor file = null; local 338 file = contentResolver.openFileDescriptor(uri, "r"); 339 size = (int) file.getStatSize(); 341 LogUtils.w(LOG_TAG, e, "Error opening file to obtain size.") [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
StorageManager.java | 5 * you may not use this file except in compliance with the License. 36 import java.io.File; 64 private final File mExternalStorageDir; 67 private final File mSystemCacheDir; 72 private final File mDownloadDataDir; 90 * from the file system and 102 * remove spurious files from the file system 131 File dir = null; 173 private synchronized void findSpace(File root, long targetBytes, int destination) 185 // is there enough space in the file system of the given param 'root' 331 File file = new File(data); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidTextEditor.java | 5 * you may not use this file except in compliance with the License. 70 * It is designed to work with a {@link TextEditor} that will display a text file. 78 /** Preference name for the current page of this file */ 194 IFile file = ((IFileEditorInput) getEditorInput()).getFile(); local 200 pageId = file.getPersistentProperty(qname); 268 IFile file = ((IFileEditorInput) getEditorInput()).getFile(); local 273 file.setPersistentProperty(qname, Integer.toString(newPageIndex)); 441 * <li> Links starting with "file:/" are simply sent to a local browser. 459 link.startsWith("file:/")) { //$NON-NLS-1$ 528 * the current file input [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/editors/ |
TraceviewEditor.java | 5 * you may not use this file except in compliance with the License. 64 import java.io.File; 76 // We do not modify the file 83 * Checks whether there given file store points to a file in the workspace. 84 * Only returns a workspace file if there's a single match. 86 * @param fileStore the file store 87 * @return the <code>IFile</code> that matches the given file store 110 // the file is part of the current workspace 123 "The original file ''%s'' has been deleted or is not accessible." 139 IFile file = workspace.getRoot().getFile(filePath); local 190 IFile file = getWorkspaceFile(destFileStore); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.reconciler.dropins_1.1.2.R36x_v20101111-1430.jar | |
org.eclipse.equinox.p2.extensionlocation_1.2.0.v20100518.jar | |