Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
75 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
84 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
117 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
125 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
165 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
175 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
220 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
227 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
259 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DInputPort.java42 public void open() { in open() method in InputPort
43 super.open(); in open()
45 mSourcePort.open(); in open()
DOutputPort.java44 public void open() { in open() method in OutputPort
45 super.open(); in open()
47 mTargetPort.open(); in open()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc1 …rr_cannot_open_input, DiagnosticEngine::Error, "can not open input file `%0': %1", "can not open i…
2 …nnot_open_output_file, DiagnosticEngine::Fatal, "cannot open output file `%0': %1", "cannot open o…
3 …_open_search_dir, DiagnosticEngine::Warning, "can not open search directory `-L%0'", "can not open
27 DIAG(err_cannot_open_file, DiagnosticEngine::Error, "cannot open file `%0': %1.", "cannot open file…
31 …p_file, DiagnosticEngine::Error, "cannot open memory mapped file %0 from offset %1 to length %2.",…
51 DIAG(err_cannot_find_scriptfile, DiagnosticEngine::Fatal, "cannot open %0 file %1", "cannot open %0…
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java72 mDone.open(); in run()
80 mDone.open(); in run()
90 mDone.open(); in run()
128 mDone.open(); in stop()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DIfElseFilterTest.java59 Bitmap videoBitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testIfElseFilterTrue()
61 Bitmap imageBitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg")); in testIfElseFilterTrue()
90 Bitmap videoBitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testIfElseFilterFalse()
92 Bitmap imageBitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg")); in testIfElseFilterFalse()
/frameworks/base/core/java/android/net/http/
DAndroidHttpClientConnection.java76 private volatile boolean open; field in AndroidHttpClientConnection
124 this.open = true; in bind()
142 if (this.open) { in assertNotOpen()
148 if (!this.open) { in assertOpen()
155 return (this.open && this.socket != null && this.socket.isConnected()); in isOpen()
216 this.open = false; in shutdown()
224 if (!this.open) { in close()
227 this.open = false; in close()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbDeviceManager.cpp68 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAccessoryStrings()
90 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_openAccessory()
105 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_isStartRequested()
117 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAudioMode()
Dcom_android_server_PersistentDataBlockService.cpp81 int fd = open(path, O_RDONLY); in com_android_server_PersistentDataBlockService_getBlockDeviceSize()
91 int fd = open(path, O_WRONLY); in com_android_server_PersistentDataBlockService_wipe()
/frameworks/compile/mclinker/unittests/
DFileHandleTest.cpp48 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly)); in TEST_F()
66 int fd = ::open(path.native().c_str(), O_RDONLY); in TEST_F()
89 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly)); in TEST_F()
/frameworks/support/v17/leanback/
Dgeneratev4.py28 file = open('src/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r')
29 outfile = open('src/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'w')
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java94 mCamera = Camera.open(CAMERA_ID); in initializeMessageLooper()
95 startDone.open(); in initializeMessageLooper()
133 mPreviewDone.open(); in onPreviewFrame()
170 mSnapshotDone.open(); in onPictureTaken()
/frameworks/base/docs/html/guide/faq/
Dlicensingandoss.jd6 <li><a href="#mirror">Where can I find the open source components of Android?</a></li>
7 <li><a href="#timeline">When will we see more code released under open source licenses?</a></li>
11 <a name="mirror" id="mirror"></a><h2>Where can I find the open source components of Android?</h2>
/frameworks/compile/libbcc/include/bcc/Support/
DFileBase.h83 bool open();
95 return open(); in reopen()
/frameworks/compile/libbcc/lib/Support/
DFileBase.cpp72 open(); in FileBase()
81 bool FileBase::open() { in open() function in FileBase
85 mFD = ::open(mName.c_str(), mOpenFlags, 0644); in open()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc65 errno = 0; // opendir() will set errno if it failed to open directory.
99 int open(const Path& pPath, int pOFlag)
101 return ::open(pPath.native().c_str(), pOFlag);
104 int open(const Path& pPath, int pOFlag, int pPerm)
126 return ::open(pPath.native().c_str(), pOFlag, perm);
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestHandlerThread.java48 mStarted.open(); in onLooperPrepared()
91 mIdle.open();
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c79 int fileDesc = open(strKeyFilename, O_RDONLY); in FwdLockGlue_InitializeRoundKeys()
88 fileDesc = open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR); in FwdLockGlue_InitializeRoundKeys()
130 int fileDesc = open("/dev/urandom", O_RDONLY); in FwdLockGlue_GetRandomNumber()
/frameworks/base/cmds/idmap/
Dcreate.cpp17 UniquePtr<ZipFileRO> zip(ZipFileRO::open(zip_path)); in get_zip_entry_crc()
34 int fd = TEMP_FAILURE_RETRY(open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644)); in open_idmap()
142 int idmap_fd = TEMP_FAILURE_RETRY(open(idmap_path, O_RDONLY)); in is_idmap_stale_path()
/frameworks/compile/slang/tests/
Dtest.py52 f = open(filename, 'r')
68 stdout_file = open('stdout.txt', 'w+')
69 stderr_file = open('stderr.txt', 'w+')
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java217 mDeviceReady.open(); in onOpened()
240 mDeviceReady.open(); in onDisconnected()
266 mDeviceReady.open(); in onError()
/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp78 bool FileHandle::open(const sys::fs::Path& pPath, in open() function in FileHandle
89 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); in open()
91 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), (int)pPerm); in open()
/frameworks/av/media/img_utils/src/
DEndianUtils.cpp27 status_t EndianOutput::open() { in open() function in android::img_utils::EndianOutput
29 return mOutput->open(); in open()
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcExecutionEnvironment.java166 public void open() throws EeIOException { in open() method in NfcExecutionEnvironment
168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); in open()
/frameworks/base/core/jni/
Dandroid_server_Watchdog.cpp35 int stackFd = open(buf, O_RDONLY); in dumpOneStack()
67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT, in dumpKernelStacks()

12345678910>>...19