/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
ResourceHelper.java | 5 * you may not use this file except in compliance with the License. 103 import java.io.File; 184 * Is this a resource that can be defined in any file within the "values" folder? 186 * Some resource types can be defined <b>both</b> as a separate XML file as well 187 * as defined within a value XML file. This method will return true for these types 207 * Is this a resource that is defined in a file named by the resource plus the XML 210 * Some resource types can be defined <b>both</b> as a separate XML file as well as 211 * defined within a value XML file along with other properties. This method will 217 * @return true if the given resource type is stored in a file named by the resource 284 // We can create -some- file-based types - those supported by the New XML wizard 313 IFile file = project.getFile(projectPath); local 345 IFile file = (IFile) member; local 458 IFile file = project.getFile(new Path(projectPath)); local 561 File file = new File(value); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RefactoringTestBase.java | 5 * you may not use this file except in compliance with the License. 45 import java.io.File; 103 File projectDir = AdtUtils.getAbsolutePath(project).toFile(); 156 IFile file = getFile(change); local 157 if (file != null) { 159 sb.append(file.getFullPath()); 166 assertNotNull(file); 167 if (file != null) { 170 byte[] bytes = ByteStreams.toByteArray(file.getContents()); 261 protected void createTestDataDir(File dir, Object[] data) throws IOException [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.touchpoint.natives_1.0.200.v20100503a.jar | |
/build/core/ |
definitions.mk | 5 # you may not use this file except in compliance with the License. 89 # Generated class file names for Android resource. 333 ## Find various file types in a list of directories relative to $(LOCAL_PATH) 348 # $(2): the file name pattern to be passed to find as "-name". 364 ## a particular file. Returns the first match found, 368 define find-parent-file 373 $(call find-parent-file,$(patsubst %/,%,$(dir $(1))),$(2)) \ 389 ## $(call add-prebuilt-file, srcfile, [targetclass]) 392 define add-prebuilt-file 412 $(foreach f,$(2),$(call add-prebuilt-file,$f,$(1)) [all...] |
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
CommonExternalStorageTest.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 56 final File single = getContext().getExternalCacheDir(); 58 final File firstMultiple = getContext().getExternalCacheDirs()[0]; 66 final File single = getContext().getExternalFilesDir(Environment.DIRECTORY_PICTURES); 68 final File firstMultiple = getContext() 77 final File single = getContext().getObbDir(); 79 final File firstMultiple = getContext().getObbDirs()[0]; 87 final List<File> paths = getAllPackageSpecificPaths(getContext()); 88 for (File path : paths) [all...] |
/cts/hostsidetests/holo/app/src/android/holo/app/ |
HoloDeviceActivity.java | 5 * you may not use this file except in compliance with the License. 34 import java.io.File; 123 final File dir = new File(Environment.getExternalStorageDirectory(), "cts-holo-assets"); 127 final File file = new File(dir, mName + ".png"); local 130 stream = new FileOutputStream(file);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
TypefaceTest.java | 5 * you may not use this file except in compliance with the License. 28 import java.io.File; 140 Typeface.createFromFile((File)null); 145 File file = new File(obtainPath()); local 146 Typeface typeface = Typeface.createFromFile(file); 164 File dir = getContext().getFilesDir(); 166 File file = new File(dir, "test.jpg") local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecListTest.java | 5 * you may not use this file except in compliance with the License. 28 import java.io.File; 53 File file = new File(MEDIA_CODEC_XML_FILE); local 54 assertTrue("/etc/media_codecs.xml does not exist", file.exists());
|
/cts/tests/tests/mediastress/jni/ |
native-media-jni.cpp | 5 * you may not use this file except in compliance with the License. 64 ALOGE("assertion failure at file %s line %d", __FILE__, __LINE__); \ 85 // handle of the file to play 86 static FILE *file = NULL; variable 88 // has the app reached the end of the file 102 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); 166 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file); 275 // close the file 276 if (file != NULL) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_MediaTest.java | 5 * you may not use this file except in compliance with the License. 34 import java.io.File; 63 new File(path).delete(); 77 File videoFile = new File(externalVideoPath); 195 new File(externalVideoPath).delete(); 198 // check that the video file is removed when deleting the database entry 201 File videofile = new File(Environment.getExternalStorageDirectory(), "testVideo.3gp"); 229 File file = new File(Environment.getExternalStorageDirectory(), "testVideo.3gp") local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationUtils.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 172 * across many signatures and the rest of the file.
|
AnnotationsDirectoryItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 240 public void addContents(DexFile file) { 241 MixedItemSection wordData = file.getWordData(); 249 item.addContents(file); 255 item.addContents(file); 261 item.addContents(file); 284 protected void writeTo0(DexFile file, AnnotatedOutput out) { 313 item.writeTo(file, out); 323 item.writeTo(file, out) [all...] |
CatchStructs.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 117 * @param file {@code non-null;} file this instance is part of 119 public void encode(DexFile file) { 122 TypeIdsSection typeIds = file.getTypeIds(); 192 * @param file {@code non-null;} file this instance is part of 195 public void writeTo(DexFile file, AnnotatedOutput out) {
|
ClassDataItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 41 * {@code dex} file, as opposed to a random-access form. 66 * {@code null-ok;} encoded form, ready for writing to a file; set during 229 public void addContents(DexFile file) { 233 field.addContents(file); 240 field.addContents(file); 247 method.addContents(file); 254 method.addContents(file); 340 * @param file {@code non-null;} file this instance is part o [all...] |
ClassDefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 45 /** size of instances when written out to a file, in bytes */ 63 /** {@code null-ok;} source file name or {@code null} if unknown */ 87 * @param sourceFile {@code null-ok;} source file name or 130 public void addContents(DexFile file) { 131 TypeIdsSection typeIds = file.getTypeIds(); 132 MixedItemSection byteData = file.getByteData(); 133 MixedItemSection wordData = file.getWordData(); 134 MixedItemSection typeLists = file.getTypeLists() [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
ClassPathOpener.java | 5 * you may not use this file except in compliance with the License. 22 import java.io.File; 57 * Provides the file name and byte array for a class path element. 63 * @param bytes {@code non-null;} file data 79 * Informs consumer that processing of an archive file has begun. 81 * @param file {@code non-null;} archive file being processed 83 void onProcessArchiveStart(File file); 142 File file = new File(pathname) local [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationUtils.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 40 * Number of annotation types that dx may add in the dex file that were 41 * not defined in the translated class file. 175 * across many signatures and the rest of the file.
|
AnnotationsDirectoryItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 239 public void addContents(DexFile file) { 240 MixedItemSection wordData = file.getWordData(); 248 item.addContents(file); 254 item.addContents(file); 260 item.addContents(file); 283 protected void writeTo0(DexFile file, AnnotatedOutput out) { 312 item.writeTo(file, out); 322 item.writeTo(file, out) [all...] |
CatchStructs.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 114 * @param file {@code non-null;} file this instance is part of 116 public void encode(DexFile file) { 119 TypeIdsSection typeIds = file.getTypeIds(); 189 * @param file {@code non-null;} file this instance is part of 192 public void writeTo(DexFile file, AnnotatedOutput out) {
|
ClassDataItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 37 * {@code dex} file, as opposed to a random-access form. 62 * {@code null-ok;} encoded form, ready for writing to a file; set during 225 public void addContents(DexFile file) { 229 field.addContents(file); 236 field.addContents(file); 243 method.addContents(file); 250 method.addContents(file); 336 * @param file {@code non-null;} file this instance is part o [all...] |
ClassDefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 60 /** {@code null-ok;} source file name or {@code null} if unknown */ 84 * @param sourceFile {@code null-ok;} source file name or 127 public void addContents(DexFile file) { 128 TypeIdsSection typeIds = file.getTypeIds(); 129 MixedItemSection byteData = file.getByteData(); 130 MixedItemSection wordData = file.getWordData(); 131 MixedItemSection typeLists = file.getTypeLists(); 132 StringIdsSection stringIds = file.getStringIds() [all...] |
/development/apps/Development/src/com/android/development/ |
CacheAbuser.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 54 final File mBaseDir; 58 AbuseTask(File cacheDir, boolean quick) { 59 File dir = new File(cacheDir, quick ? "quick" : "slow"); 60 mBaseDir = new File(dir, Long.toString(System.currentTimeMillis())); 71 File dir = new File(mBaseDir, Long.toString(dir1num)); 72 File file = new File(dir, Long.toString(dir2num)) local [all...] |
/development/ndk/platforms/android-14/samples/native-media/jni/ |
native-media-jni.c | 5 * you may not use this file except in compliance with the License. 18 * using OpenMAX AL. See the corresponding Java source file located at: 80 // handle of the file to play 81 static FILE *file; variable 83 // has the app reached the end of the file 131 rewind(file); 166 bytesRead = fread(pBufferData, 1, BUFFER_SIZE, file); 282 bytesRead = fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file); 338 // open the file to pla [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarEntryTest.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 20 import java.io.File; 50 private File resources; 56 jarFile = new JarFile(new File(resources, jarName)); 87 assertNotNull("Jar file is null", jarFile); 103 File file = null; local 106 file = new File(resources, attJarName) 130 File file = new File(resources, jarFileName); local 154 File file = new File(resources, jarFileName); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ObjectStreamClassTest.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 20 import java.io.File; 129 File file = new File( local 131 ClassLoader loader = new URLClassLoader(new URL[] { file.toURL() },
|