/packages/apps/Email/src/com/android/email/provider/ |
AttachmentProvider.java | 2 * Copyright (C) 2008 The Android Open Source Project 133 * Open an attachment file. There are two "formats" - "raw", which returns an actual file, 162 return ParcelFileDescriptor.open( 217 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY); 220 return ParcelFileDescriptor.open(
|
/pdk/apps/CameraITS/pymodules/its/ |
image.py | 1 # Copyright 2013 The Android Open Source Project 140 with open(yuv_fname, "rb") as f: 160 with open(yuv_fname, "rb") as f: 177 img = Image.open(cStringIO.StringIO(jpeg_buffer))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
config.py | 114 file = open(filename, "w") 211 file = open(out) 353 file = open(filename)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ClassBrowser.py | 85 PyShell.flist.open(self.file) 166 edit = PyShell.flist.open(self.file) 202 edit = PyShell.flist.open(self.file)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
config.py | 114 file = open(filename, "w") 211 file = open(out) 353 file = open(filename)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ClassBrowser.py | 85 PyShell.flist.open(self.file) 166 edit = PyShell.flist.open(self.file) 202 edit = PyShell.flist.open(self.file)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/editors/ |
TraceviewEditor.java | 2 * Copyright (C) 2011 The Android Open Source Project 129 if (dialog.open() == Window.CANCEL) { 164 String path = dialog.open(); 183 if (overwriteDialog.open() != Window.OK) { 224 // We try to open a file that is part of the current workspace 231 // We try to open a file that is not part of the current workspace
|
/system/core/fastbootd/ |
usb_linux_client.c | 2 * Copyright (C) 2007 The Android Open Source Project 167 usb_transport->control = open(USB_FFS_FASTBOOT_EP0, O_RDWR); 169 D(ERR, "[ %s: cannot open control endpoint: errno=%d]", USB_FFS_FASTBOOT_EP0, errno); 185 usb_transport->bulk_out = open(USB_FFS_FASTBOOT_OUT, O_RDWR); 187 D(ERR, "[ %s: cannot open bulk-out ep: errno=%d ]", USB_FFS_FASTBOOT_OUT, errno); 191 usb_transport->bulk_in = open(USB_FFS_FASTBOOT_IN, O_RDWR); 193 D(ERR, "[ %s: cannot open bulk-in ep: errno=%d ]", USB_FFS_FASTBOOT_IN, errno);
|
/art/runtime/base/unix_file/ |
fd_file.cc | 2 * Copyright (C) 2009 The Android Open Source Project 46 bool FdFile::Open(const std::string& path, int flags) { 47 return Open(path, flags, 0640); 50 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { 52 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode));
|
/art/runtime/ |
monitor_android.cc | 2 * Copyright (C) 2008 The Android Open Source Project 60 int fd = open("/proc/self/cmdline", O_RDONLY);
|
/bionic/libc/bionic/ |
dirent.cpp | 2 * Copyright (C) 2008 The Android Open Source Project 79 int fd = open(path, O_RDONLY | O_DIRECTORY);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
CANotifyOnBootActivity.java | 62 is = getAssets().open(CERT_ASSET_NAME);
|
/cts/suite/audio_quality/lib/src/ |
FileUtil.cpp | 2 * Copyright (C) 2012 The Android Open Source Project 103 mFile.open(fileName, std::ios::out | std::ios::trunc);
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaRecorderStressTest.java | 2 * Copyright (C) 2012 The Android Open Source Project 186 mCamera = Camera.open(); 188 mCamera = Camera.open(0); 286 mCamera = Camera.open(); 288 mCamera = Camera.open(0);
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 2 * Copyright (C) 2009 The Android Open Source Project 281 final ParcelFileDescriptor file = ParcelFileDescriptor.open( 295 final ParcelFileDescriptor file = ParcelFileDescriptor.open( 309 final ParcelFileDescriptor file = ParcelFileDescriptor.open( 378 pf = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE);
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebHistoryItemTest.java | 2 * Copyright (C) 2009 The Android Open Source Project 80 mIconDb.open(dbPath);
|
/cts/tools/utils/ |
android_api_description_splitter.py | 3 # Copyright 2008, The Android Open Source Project
130 fd = open(filename, "w")
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Grep.java | 2 * Copyright (C) 2011 The Android Open Source Project 102 readArray(new EncodedValueReader(dex.open(staticValuesOffset)));
|
/development/ndk/sources/android/libportable/arch-mips/ |
open.c | 2 * Copyright 2012, The Android Open Source Project 76 int WRAP(open)(const char *pathname, int flags, ...) function
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
SecureWebServer.java | 2 * Copyright 2012 The Android Open Source Project 175 bis = new BufferedInputStream(ctx.getAssets().open(EMBEDDED_IMAGE_FILENAME));
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
CheckVoiceData.java | 2 * Copyright (C) 2011 The Android Open Source Project 136 InputStream is = getAssets().open(lang + ".freq");
|
/development/testrunner/ |
android_mk.py | 4 # Copyright 2009, The Android Open Source Project 153 mk = open(mk_path)
|
/development/tools/line_endings/ |
line_endings.c | 52 fd = open(argv[i], O_RDWR); 54 fprintf(stderr, "unable to open file for read/write: %s\n", argv[i]);
|
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
NotesDbAdapter.java | 92 * Open the notes database. If it cannot be opened, try to create a new 100 public NotesDbAdapter open() throws SQLException { method in class:NotesDbAdapter
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
NotesDbAdapter.java | 92 * Open the notes database. If it cannot be opened, try to create a new 100 public NotesDbAdapter open() throws SQLException { method in class:NotesDbAdapter
|