/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
BinaryXMLMultiPageEditorPart.java | 5 * you may not use this file except in compliance with the License. 30 import java.io.File; 33 * The XML editor is an editor that open Android xml files from the android.jar file 35 * The editor checks if the file is contained in jar and is so, 37 * corresponding file from Android SDK. 67 File file = new File(filePath.toOSString()); local 68 if (!(file.isFile())) { 74 new FileStorage(file)); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
ExportEditor.java | 5 * you may not use this file except in compliance with the License. 52 * single source file. 83 IFile file = fileInput.getFile(); local 84 setPartName(String.format("%1$s", file.getName()));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ShowWithinMenu.java | 32 IFile file = graphicalEditor.getEditedFile(); local 34 IProject project = file.getProject(); 36 final List<Reference> includedBy = finder.getIncludedBy(file);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
OverviewExportPart.java | 5 * you may not use this file except in compliance with the License. 111 * Returns the project of the edited file. 117 IFile file = fileInput.getFile(); local 118 return file.getProject();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
ValuesTreePage.java | 5 * you may not use this file except in compliance with the License. 56 IFile file = mEditor.getInputFile(); local 57 if (file != null) { 58 IContainer parent = file.getParent(); 105 "List of all resources elements in this XML file.");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
ExtractStringFix.java | 5 * you may not use this file except in compliance with the License. 65 IFile file = (IFile) mMarker.getResource(); local 69 new ExtractStringRefactoring(file, editorPart, selection); 70 RefactoringWizard wizard = new ExtractStringWizard(refactoring, file.getProject());
|
UseCompoundDrawableDetectorFix.java | 5 * you may not use this file except in compliance with the License. 79 IFile file = (IFile) mMarker.getResource(); local 83 new UseCompoundDrawableRefactoring(file, delegate, textSelection, null);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
FinalPage.java | 5 * you may not use this file except in compliance with the License. 29 import java.io.File; 79 Multimap<FileStatus, File> fileStatusMap = mStatus.getFileStatus(); 80 Collection<File> files = fileStatusMap.values(); 83 for (File file : files) { 84 sb.append("\n").append(file.getAbsolutePath()); 100 sb.append("and select the following file:").append("\n\t"); 102 File bGradle = new File( [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
ImportProjectWizard.java | 5 * you may not use this file except in compliance with the License. 32 import java.io.File; 74 File file = new File(AdtPlugin.getOsSdkFolder(), OS_SDK_TOOLS_LIB_FOLDER + File.separator local 76 if (!file.exists()) { 80 + "first. (Could not find %1$s)", file.getPath()));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapRefactoringTest.java | 5 * you may not use this file except in compliance with the License. 44 IFile file = getLayoutFile(getProject(), basename); local 45 TestContext info = setupTestContext(file, basename);
|
WrapInRefactoringTest.java | 5 * you may not use this file except in compliance with the License. 48 IFile file = getLayoutFile(getProject(), basename); local 49 TestContext info = setupTestContext(file, basename);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
Mocks.java | 5 * you may not use this file except in compliance with the License. 126 IFile file = createNiceMock(IFile.class); local 127 expect(file.getName()).andReturn(fileName).anyTimes(); 128 expect(file.getLocation()).andReturn(new Path(fileName)).anyTimes(); 129 replay(file); 130 return file; 143 IFolder file = createNiceMock(IFolder.class); local 144 expect(file.getName()).andReturn(name).anyTimes(); 145 // expect(file.getLocation()).andReturn(new Path(name)).anyTimes(); 146 expect(file.members()).andReturn(members).anyTimes() [all...] |
/system/vold/ |
Process.cpp | 5 * you may not use this file except in compliance with the License. 104 // append the file name, after truncating to parent directory 129 FILE *file; local 133 file = fopen(buffer, "r"); 134 if (!file) 137 while (fgets(buffer, sizeof(buffer), file)) { 145 fclose(file); 150 fclose(file); 200 SLOGE("Process %s (%d) has open file %s", name, pid, openfile) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/ |
SuidFilesActivity.java | 5 * you may not use this file except in compliance with the License. 40 import java.io.File; 115 mFindSuidFilesTask.execute(new File("/")); 121 File file = mAdapter.getItem(position); local 122 String message = getMessage(file); 124 .setTitle(file.getName()) 129 private String getMessage(File file) { 131 if (FileUtils.getFileStatus(file.getAbsolutePath(), status, true)) 161 File file = getItem(position); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_ThumbnailsTest.java | 5 * you may not use this file except in compliance with the License. 37 import java.io.File; 113 assertTrue("thumbnail file does not exist", new File(path).exists()); 117 assertFalse("thumbnail file should no longer exist", new File(path).exists()); 125 File file = new File(Environment.getExternalStorageDirectory(), "testVideo.3gp"); local 128 "_data=?", new String[] { file.getAbsolutePath() }) [all...] |
/cts/tools/signature-tools/test/signature/converter/doclet/ |
DocletTestConverter.java | 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
49 separator = System.getProperty("file.separator");
88 File file = new File(directory, filename + ".java");
local 89 File parent = file.getParentFile();
92 FileWriter wr = new FileWriter(file);
98 File file = new File(sourcepath); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
CodeItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 42 * {@code dex} file. 45 /** file alignment of this class, in bytes */ 116 public void addContents(DexFile file) { 117 MixedItemSection byteData = file.getByteData(); 118 TypeIdsSection typeIds = file.getTypeIds(); 133 file.internIfAppropriate(c); 193 final DexFile file = addedTo.getFile(); local 202 IndexedItem item = file.findItemOrNull(cst) [all...] |
MixedItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 34 * A section of a {@code .dex} file which consists of a sequence of 79 * Constructs an instance. The file offset is initially unknown. 83 * @param file {@code non-null;} file that this instance is part of 88 public MixedItemSection(String name, DexFile file, int alignment, 90 super(name, file, alignment); 128 * Writes the portion of the file header that refers to this instance. 264 DexFile file = getFile() local 334 DexFile file = getFile(); local [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
CodeItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 33 * {@code dex} file. 36 /** file alignment of this class, in bytes */ 107 public void addContents(DexFile file) { 108 MixedItemSection byteData = file.getByteData(); 109 TypeIdsSection typeIds = file.getTypeIds(); 124 file.internIfAppropriate(c); 184 final DexFile file = addedTo.getFile(); local 193 IndexedItem item = file.findItemOrNull(cst) [all...] |
MixedItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 33 * A section of a {@code .dex} file which consists of a sequence of 78 * Constructs an instance. The file offset is initially unknown. 82 * @param file {@code non-null;} file that this instance is part of 87 public MixedItemSection(String name, DexFile file, int alignment, 89 super(name, file, alignment); 127 * Writes the portion of the file header that refers to this instance. 263 DexFile file = getFile() local 333 DexFile file = getFile(); local [all...] |
ValueEncoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 97 /** {@code non-null;} file being written */ 98 private final DexFile file; field in class:ValueEncoder 106 * @param file {@code non-null;} file being written 109 public ValueEncoder(DexFile file, AnnotatedOutput out) { 110 if (file == null) { 111 throw new NullPointerException("file == null"); 118 this.file = file [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ExternalStorage.java | 5 * you may not use this file except in compliance with the License. 39 import java.io.File; 102 "File getExternalFilesDir", 185 File path = Environment.getExternalStoragePublicDirectory( 187 File file = new File(path, "DemoPicture.jpg"); local 194 // resource into the external file. Note that this code does 199 OutputStream os = new FileOutputStream(file); 206 // Tell the media scanner about the new file so that it i 229 File file = new File(path, "DemoPicture.jpg"); local 240 File file = new File(path, "DemoPicture.jpg"); local 254 File file = new File(path, "DemoPicture.jpg"); local 293 File file = new File(path, "DemoPicture.jpg"); local 305 File file = new File(path, "DemoPicture.jpg"); local 316 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); local 341 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); local 350 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); local [all...] |
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
RobotSpeakTtsService.java | 5 * use this file except in compliance with the License. You may obtain a copy of 137 InputStream file = getAssets().open(lang + "-" + loadCountry + ".freq"); local 138 newFrequenciesMap = buildFrequencyMap(file); 139 file.close();
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
CodeItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 42 * {@code dex} file. 45 /** file alignment of this class, in bytes */ 116 public void addContents(DexFile file) { 117 MixedItemSection byteData = file.getByteData(); 118 TypeIdsSection typeIds = file.getTypeIds(); 133 file.internIfAppropriate(c); 193 final DexFile file = addedTo.getFile(); local 202 IndexedItem item = file.findItemOrNull(cst) [all...] |
MixedItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 34 * A section of a {@code .dex} file which consists of a sequence of 79 * Constructs an instance. The file offset is initially unknown. 83 * @param file {@code non-null;} file that this instance is part of 88 public MixedItemSection(String name, DexFile file, int alignment, 90 super(name, file, alignment); 128 * Writes the portion of the file header that refers to this instance. 264 DexFile file = getFile() local 334 DexFile file = getFile(); local [all...] |