/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentTable.java | 5 * you may not use this file except in compliance with the License. 44 import java.io.File; 169 /** Generates a random file for storing audio data. */ 172 File dataDirectory = mContext.getDir(DATA_DIRECTORY, Context.MODE_PRIVATE); 173 File voicemailFile = File.createTempFile("voicemail", "", dataDirectory); 176 // If we are unable to create a temporary file, something went horribly wrong. 177 throw new RuntimeException("unable to create temp file", e); 203 Log.w(TAG, "No filename for uri " + uriData.getUri() + ", cannot delete file"); 206 File file = new File(filename) local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
DataExporter.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 37 * Compress all files under the app data dir into a single zip file. 52 * Compress all files under the app data dir into a single zip file, and return the content:// 53 * URI to the file, which can be read via {@link DumpFileProvider}. 57 final File outFile = getOutputFile(context, fileName); 76 /** @return long random string for a file name */ 89 throw new IllegalArgumentException(".. path specifier not allowed. Bad file name: " + 95 " files are supported. Bad file name: " + fileName); 99 private static File getOutputDirectory(Context context) [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadStorageProvider.java | 5 * you may not use this file except in compliance with the License. 43 import java.io.File; 115 final File parent = Environment.getExternalStoragePublicDirectory( 122 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); local 125 if (!file.createNewFile()) { 126 throw new IllegalStateException("Failed to touch " + file); 129 throw new IllegalStateException("Failed to touch " + file + ": " + e); 133 file.getName(), file.getName(), true, mimeType, file.getAbsolutePath(), 0L [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipProfileDb.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 59 deleteProfile(new File(mProfilesDirectory + p.getProfileName())); 65 private void deleteProfile(File file) { 66 if (file.isDirectory()) { 67 for (File child : file.listFiles()) deleteProfile(child); 69 file.delete(); 75 File f = new File(mProfilesDirectory + p.getProfileName()) [all...] |
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
AppLaunchTests.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 102 assertTrue("Cannot write in External File", isExternalStorageWritable()); 103 File root = Environment.getExternalStorageDirectory(); 105 File logsDir = new File(root, "atrace_logs"); 130 // Dump atrace info and write it to file 138 assertNotNull("Unable to get the File descriptor to standard out", 141 File file = new File(logsDir, fileName) local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/ |
stream.h | 59 FILE *file; member in struct:isl_stream 79 struct isl_stream* isl_stream_new_file(struct isl_ctx *ctx, FILE *file);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
stream.h | 59 FILE *file; member in struct:isl_stream 79 struct isl_stream* isl_stream_new_file(struct isl_ctx *ctx, FILE *file);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/CodeWarrior/ |
Standard_Suite.py | 25 Keyword argument saving_in: the file in which to save the object 266 """file permissions - the file permissions for the document """ 274 """location - the file of the document """ 275 which = 'FILE' 285 """files - Every file """ 286 want = 'file' 288 file = files variable 383 'file' : files, 388 'FILE' : _Prop_location [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/ |
Disk_Folder_File_Suite.py | 1 """Suite Disk-Folder-File Suite: Terms and Events for controlling Disks, Folders, and Files 43 """application - The Disk-Folder-File Suite host program """ 56 """properties - every property of the Disk-Folder-File Suite host program """ 65 # element 'file' as ['name', 'indx', 'rele', 'rang', 'test'] 75 """disk - A disk in the file system """ 78 """POSIX path - the POSIX file system path of the disk """ 90 """format - the file system format of this disk """ 102 """local volume - Is the media a local volume (as opposed to a file server? """ 110 """path - the file system path of the disk """ 123 # element 'file' as ['name', 'indx', 'rele', 'rang', 'test' 176 class file(aetools.ComponentItem): class in inherits:aetools.ComponentItem [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizardState.java | 5 * you may not use this file except in compliance with the License. 33 import java.io.File; 76 public File imagePath; 194 File file = TemplateManager.getTemplateLocation( local 196 if (file != null) { 197 path = file.getPath(); 203 File file = new File(path) local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
ConvertSwitchQuickFixProcessor.java | 5 * you may not use this file except in compliance with the License. 108 IResource file = compilationUnit.getResource(); local 109 if (file != null) { 112 provider.connect(file); 113 IDocument document = provider.getDocument(file); 116 file, document, errorStart); 129 AdtPlugin.log(e, "Can't validate error message in %1$s", file.getName()); 131 provider.disconnect(file);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
PreCompilerDeltaVisitor.java | 5 * you may not use this file except in compliance with the License. 66 * files is Manifest.java, or R.java. All other file changes 125 * Returns whether the manifest file was parsed/checked for error during the resource delta 207 // clean the error markers on the file. 248 // - missing R.java file 255 if (resource.getType() != IResource.FILE) { 258 IFile file = (IFile)resource; local 265 // this is the generated java file source folder. 284 // look to see if this file was generated by a processor. 286 if (handler.handleGeneratedFile(file, kind)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/ |
CommonXmlDelegate.java | 5 * you may not use this file except in compliance with the License. 57 * that will decide whether this delegate can be created for the given file input. 61 * Determines whether this delegate can handle the given file, typically 65 * @param type The {@link ResourceFolderType} of the folder containing the file, 67 * @return A new delegate that can handle that file or null. 135 IFile file = fileInput.getFile(); local 136 getEditor().setPartName(file.getName());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
FragmentMenu.java | 5 * you may not use this file except in compliance with the License. 277 * Action which brings up the "Create new XML File" wizard, pre-selected with the 289 IFile file = delegate.getEditor().getInputFile(); local 292 .setInputValidator(CyclicDependencyValidator.create(file))
|
ListViewTypeMenu.java | 5 * you may not use this file except in compliance with the License. 169 IFile file = delegate.getEditor().getInputFile(); local 172 .setInputValidator(CyclicDependencyValidator.create(file))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RefactoringAssistant.java | 5 * you may not use this file except in compliance with the License. 95 IFile file = xmlEditor.getInputFile(); local 96 if (file == null) { 185 new ExtractStringRefactoring(file, xmlEditor, textSelection))); 188 file.getProject(), resource.type, resource.name, null); 200 file, 210 file, 217 file, 224 file, 231 file, [all...] |
VisualRefactoringAction.java | 5 * you may not use this file except in compliance with the License. 107 * The file is only returned if it's a file from a project with an Android nature. 109 * At that point we do not try to analyze if the selection nor the file is suitable 119 IFile file = fi.getFile(); local 120 if (file.exists()) { 121 IProject proj = file.getProject(); 124 return file;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
RunLintAction.java | 5 * you may not use this file except in compliance with the License. 132 IFile file = AdtUtils.getActiveFile(); local 134 if (file != null && LintUtils.endsWith(file.getName(), DOT_XML)) { 135 ImageDescriptor icon = ImageDescriptor.createFromImage(provider.getImage(file)); 136 IAction fileAction = new LintMenuAction("Check Current File", icon, ACTION_RUN, 137 file);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AndroidPreferencePage.java | 5 * you may not use this file except in compliance with the License. 41 import java.io.File; 134 File file = new File(fileName); local 135 if (!file.isDirectory()) { 170 if (path != null && path.length() > 0 && new File(path).exists()) {
|
BuildPreferencePage.java | 5 * you may not use this file except in compliance with the License. 37 import java.io.File; 82 "Skip packaging and dexing until export or launch. (Speeds up automatic builds on file save)", 119 if (new File(customDebugKeystorePath).isFile()) { 122 // file does not exist. 294 File file = new File(fileName); local 295 if (file.isFile()) { 348 // file does not exist [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextAction.java | 5 * you may not use this file except in compliance with the License. 93 IFile file = getFile(); local 94 if (file == null) { 97 IProject project = file.getProject(); 126 String className = findClassName(document, file, selection.getOffset()); 276 * @param file the file, if known 283 @Nullable IFile file, 328 if (file != null && file.getName().equals(ANDROID_MANIFEST_XML)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringProposal.java | 5 * you may not use this file except in compliance with the License. 52 IFile file = AdtUtils.getActiveFile(); local 53 if (editor == null || file == null) { 62 ExtractStringRefactoring refactoring = new ExtractStringRefactoring(file, editor, 65 RefactoringWizard wizard = new ExtractStringWizard(refactoring, file.getProject());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceExplorerView.java | 5 * you may not use this file except in compliance with the License. 143 // if it's a ResourceItem, we open the first file, but only if 190 // if it is, we check if it's a file editor. 194 // from the file editor we can get the IFile object, and from it, the IProject. 195 IFile file = ((IFileEditorInput)input).getFile(); local 197 // get the file project 198 IProject project = file.getProject();
|
ResourcePreviewHelper.java | 5 * you may not use this file except in compliance with the License. 45 import java.io.File; 149 File file = new File(path); local 150 if (file.exists()) { 152 image = ImageIO.read(file);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
OpenWizardAction.java | 5 * you may not use this file except in compliance with the License. 127 Object file = Util.getAdapter(input, fileClass); local 128 if (file != null) { 129 selectionToPass = new StructuredSelection(file);
|