/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintFixGenerator.java | 5 * you may not use this file except in compliance with the License. 63 import java.io.File; 169 IFile file = editor.getInputFile(); local 170 if (file == null) { 175 file, document, invocationContext.getOffset()); 194 proposals.add(new SuppressProposal(file, id, false)); 195 proposals.add(new SuppressProposal(file.getProject(), id, true /* all */)); 196 proposals.add(new SuppressProposal(file, id, true /* all */)); 198 proposals.add(new ClearMarkersProposal(file, true /* all */)); 210 * Suppress the given detector, and rerun the checks on the file 232 File file = AdtUtils.getAbsolutePath(resource).toFile(); local 257 IFile file = (IFile) resource; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ExportHelper.java | 5 * you may not use this file except in compliance with the License. 59 import java.io.File; 85 * @param outputFile the file to write 91 public static void exportReleaseApk(IProject project, File outputFile, PrivateKey key, 112 if (manifestResource.getType() != IResource.FILE) { 158 // tmp file for the packaged resource file. To not disturb the incremental builders 160 File resourceFile = File.createTempFile(TEMP_PREFIX, SdkConstants.DOT_RES); 183 // tmp file for the packaged resource file [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidTypeRenameParticipant.java | 5 * you may not use this file except in compliance with the License. 91 * The class updates android manifest and the layout file 146 String.format("Invalid or missing file %1$s in project %2$s", 214 // checked and the file patterns mention XML. [c.f. SDK bug 21589] 248 // Look for the field change on the R.java class; it's a derived file 249 // and will generate file modified manually warnings. Disable it. 346 IFile file = (IFile) member; local 350 addXmlFileChanges(file, result, folderType); 360 private boolean addXmlFileChanges(IFile file, CompositeChange changes, 365 model = modelManager.getExistingModelForRead(file); [all...] |
RenameResourceParticipant.java | 5 * you may not use this file except in compliance with the License. 138 * If non null, this refactoring was initiated as a file rename of an XML file (and if 201 IFile file = (IFile) element; local 202 mProject = file.getProject(); 204 IPath path = file.getFullPath(); 207 String parentName = file.getParent().getName(); 213 mProject = file.getProject(); 214 mOldName = AdtUtils.stripAllExtensions(file.getName()); 216 mRenamedFile = file; 448 IFile file = (IFile) member; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/ |
ApplicationPackageNameRefactoring.java | 5 * you may not use this file except in compliance with the License. 201 * Make the appropriate package name changes to a resource file, 207 TextFileChange editXmlResourceFile(IFile file) { 212 sdoc = modelManager.createStructuredDocumentFor(file); 225 TextFileChange xmlChange = new TextFileChange("XML resource file edit", file); 298 TextFileChange editAndroidManifest(IFile file) { 303 sdoc = modelManager.createStructuredDocumentFor(file); 316 TextFileChange xmlChange = new TextFileChange("Make Manifest edits", file); 356 // Resolves the android namespace prefix for this file 433 IFile file = (IFile) resource; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/ |
WelcomeWizardPage.java | 5 * you may not use this file except in compliance with the License. 36 import java.io.File; 116 String defaultPath = System.getProperty("user.home") + File.separator + "android-sdks"; //$NON-NLS-1$ 160 File getPath() { 162 return new File(text.getText()); 171 String file = dialog.open(); local 177 if (file != null) { 178 mExistingDirText.setText(file); 186 String file = dialog.open(); local 187 if (file != null) 225 File file = new File(path); local 258 File file = new File(path); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
ProjectNamePage.java | 5 * you may not use this file except in compliance with the License. 61 import java.io.File; 218 File f = new File(mLocationText.getText().trim()); 325 File f = new File(existingDir); 394 (!isNewProject && !new File(sCustomLocationOsPath).isDirectory())) { 397 // TODO: Open file chooser automatically? 402 mValues.projectLocation = new File(sCustomLocationOsPath); 409 mValues.projectLocation = new File(value) 450 File file = new File(AdtPlugin.getOsSdkFolder(), OS_SDK_TOOLS_LIB_FOLDER local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
ActivityPage.java | 5 * you may not use this file except in compliance with the License. 47 import java.io.File; 55 private java.util.List<File> mTemplates; 119 java.util.List<File> templates = manager.getTemplates(CATEGORY_ACTIVITIES); 125 File current = mValues.activityValues.getTemplateLocation(); 129 File template = templates.get(i); 192 File file = new File(mValues.activityValues.getTemplateLocation(), local 193 thumb.replace('/', File.separatorChar)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RefactoringTest.java | 5 * you may not use this file except in compliance with the License. 110 if (xml == null) { // New file 119 IFile file = tf.getFile(); local 120 String contents = AdtPlugin.readFile(file); 154 IFile file = tf.getFile(); local 155 assertNotNull(file); 156 IPath path = file.getProjectRelativePath(); 161 if (xml == null) { // New file 180 // Use a diff as the golden file instead of the after 219 * Each file can be generated by the dump method in the ViewHierarchy [all...] |
/system/core/toolbox/ |
top.c | 227 FILE *file; local 240 file = fopen("/proc/stat", "r"); 241 if (!file) die("Could not open /proc/stat.\n"); 242 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &new_cpu.utime, &new_cpu.ntime, &new_cpu.stime, 244 fclose(file); 325 FILE *file; local 329 file = fopen(filename, "r"); 330 if (!file) return 1 366 FILE *file; local 393 FILE *file; local [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatLfnDirectory.java | 35 * The {@link FsDirectory} implementation for FAT file systems. This 37 * the quite complex naming system regarding the long file names (LFNs) and 38 * their corresponding 8+3 short file names. This also means that an 50 * This set is used to check if a file name is already in use in this 51 * directory. The FAT specification says that file names must be unique 94 FatFile file = entryToFile.get(entry); local 96 if (file == null) { 97 file = FatFile.get(fat, entry); 98 entryToFile.put(entry, file); 101 return file; [all...] |
/prebuilts/gradle-plugin/com/android/tools/build/builder/0.5.7/ |
builder-0.5.7.jar | |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.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 24 import java.io.File; 628 File file = new File("test.ser"); local 629 file.deleteOnExit(); 632 file)); 636 ObjectInputStream in = new ObjectInputStream(new FileInputStream(file)); [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
DescriptorsTest.java | 91 FileDescriptor file = UnittestProto.getDescriptor(); local 93 assertEquals("google/protobuf/unittest.proto", file.getName()); 94 assertEquals("protobuf_unittest", file.getPackage()); 96 assertEquals("UnittestProto", file.getOptions().getJavaOuterClassname()); 98 file.toProto().getName()); 101 file.getDependencies()); 104 assertEquals(messageType, file.getMessageTypes().get(0)); 105 assertEquals(messageType, file.findMessageTypeByName("TestAllTypes")); 106 assertNull(file.findMessageTypeByName("NoSuchType")); 107 assertNull(file.findMessageTypeByName("protobuf_unittest.TestAllTypes")) 491 FileDescriptor file = local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-launcher.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.frameworkadmin_2.0.0.v20100503.jar | |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
ClassPath.java | 38 import java.io.File; 65 * Initialize the class path using the dependencies from an odex file 68 * from the odex file 69 * @param dexFilePath The path of the dex file (used for error reporting purposes only) 70 * @param dexFile The DexFile to load - it must represents an odex file 119 * @param dexFilePath The path of the dex file (used for error reporting purposes only) 170 File file = null; local 184 file = new File(classPathDir, bootClassPathEntry) [all...] |
/frameworks/base/cmds/am/src/com/android/commands/am/ |
Am.java | 6 ** you may not use this file except in compliance with the License. 47 import java.io.File; 83 "usage: am start [-D] [-W] [-P <FILE>] [--start-profiler <FILE>]\n" + 92 " am instrument [-r] [-e <NAME> <VALUE>] [-p <FILE>] [-w]\n" + 95 " am profile start [--user <USER_ID> current] <PROCESS> <FILE>\n" + 97 " am dumpheap [--user <USER_ID> current] [-n] <PROCESS> <FILE>\n" + 118 " --start-profiler <FILE>: start profiler and send results to <FILE>\n" + 119 " -P <FILE>: like above, but profiling stops when app goes idle\n" 1002 File file = new File(heapFile); local [all...] |
/frameworks/base/core/java/android/app/ |
Instrumentation.java | 5 * you may not use this file except in compliance with the License. 48 import java.io.File; 275 * manifest file for this Instrumentation to true. 279 File file = new File(mThread.getProfileFilePath()); local 280 file.getParentFile().mkdirs(); 281 Debug.startMethodTracing(file.toString(), 8 * 1024 * 1024); [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 5 * you may not use this file except in compliance with the License. 43 import java.io.File; 60 * List of settings that are backed up are stored in the Settings.java file 71 // Versioning of the state file. Increment this version 122 // Name of the temporary file we use during full backup/restore. This is 136 // Class for capturing a network definition from the wifi supplicant config file 219 // Ingest multiple wifi config file fragments, looking for network={} blocks 337 Log.w(TAG, "Unable to read config file"); 438 // Write the data to the staging file, then emit that as our tarfile 441 File stage = new File(root, STAGE_FILE) 791 File file = new File(filename); local 827 File file = new File(filename); local 842 File file = new File(filename); local [all...] |
/frameworks/base/services/java/com/android/server/am/ |
UsageStatsService.java | 5 * you may not use this file except in compliance with the License. 47 import java.io.File; 111 // Lock to write to file. Methods suffixed by FLOCK should invoked with 118 private File mFile; 121 private File mDir; 279 mDir = new File(dir); 285 File parentDir = mDir.getParentFile(); 293 Slog.i(TAG, "Deleting old usage file: " + fList[i]); 294 (new File(parentDir, fList[i])).delete(); 301 mFile = new File(mDir, mFileLeaf) 488 File file = new File(mDir, fileName); local [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 5 * you may not use this file except in compliance with the License. 126 import java.io.File; 162 private final File mSystemDir; 163 private final File mBaseDir; 255 private static File getDefaultSystemDir() { 256 return new File(Environment.getDataDirectory(), "system"); 260 IAlarmManager alarmManager, TrustedTime time, File systemDir, 278 mBaseDir = new File(systemDir, "netstats"); 396 File file; local [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
KeyStoreTest.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 2396 File file = File.createTempFile("keystore", keyStore.getProvider().getName()); local [all...] |
/libcore/luni/src/test/java/libcore/sqlite/ |
OldDatabaseTest.java | 5 * you may not use this file except in compliance with the License. 33 import java.io.File; 120 // open non db file 122 URL file = OldDatabaseTest.class.getResource("/blob.c"); local 123 db2.open(file.getPath(), 0); 124 fail("Should not be able to open non db file"); 131 File temp = null; 141 temp = File.createTempFile("openAuxMethod", ".db"); 147 fail("Error handling temporary file "+e.getMessage()); 151 fail("Could not create temporary File"); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.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 24 import java.io.File; 627 File file = new File("test.ser"); local 628 file.deleteOnExit(); 631 file)); 635 ObjectInputStream in = new ObjectInputStream(new FileInputStream(file)); [all...] |