Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java65 mDone.open(); in run()
73 mDone.open(); in run()
82 mDone.open(); in run()
103 mDone.open(); in stop()
/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/base/core/java/android/net/http/
DAndroidHttpClientConnection.java80 private volatile boolean open; field in AndroidHttpClientConnection
128 this.open = true; in bind()
146 if (this.open) { in assertNotOpen()
152 if (!this.open) { in assertOpen()
159 return (this.open && this.socket != null && this.socket.isConnected()); in isOpen()
220 this.open = false; in shutdown()
228 if (!this.open) { in close()
231 this.open = false; in close()
/frameworks/base/services/jni/
Dcom_android_server_UsbDeviceManager.cpp67 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAccessoryStrings()
89 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_openAccessory()
104 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_isStartRequested()
116 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAudioMode()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java89 mCamera = Camera.open(CAMERA_ID); in initializeMessageLooper()
90 startDone.open(); in initializeMessageLooper()
128 mPreviewDone.open(); in onPreviewFrame()
165 mSnapshotDone.open(); in onPictureTaken()
/frameworks/compile/libbcc/tools/build/
Dgen-sha1-stamp.py13 f = open(path, 'rb')
32 f = open(sys.argv[1], 'wb')
/frameworks/base/docs/html/guide/faq/
Dlicensingandoss.jd7 <li><a href="#mirror">Where can I find the open source components of Android?</a></li>
8 <li><a href="#timeline">When will we see more code released under open source licenses?</a></li>
12 <a name="mirror" id="mirror"></a><h2>Where can I find the open source components of Android?</h2>
/frameworks/compile/libbcc/lib/ExecutionEngine/
DSha1Helper.cpp55 if (file.open(filename, OpenMode::Read) < 0) { in calcFileSHA1()
87 if (file.open(filename, OpenMode::Read) < 0) { in readSHA1()
DFileHandle.cpp32 int FileHandle::open(char const *filename, OpenMode::ModeType mode) { in open() function in bcc::FileHandle
50 mFD = ::open(filename, open_flags[mode], 0644); in open()
DScript.cpp189 if (objFile.open(objPath, OpenMode::Write) < 0) { in prepareRelocatable()
274 if (objFile.open(objPath.c_str(), OpenMode::Read) < 0) { in internalLoadCache()
280 if (infoFile.open(infoPath.c_str(), OpenMode::Read) < 0) { in internalLoadCache()
413 if (objFile.open(objPath.c_str(), OpenMode::Write) >= 0 && in writeCache()
414 infoFile.open(infoPath.c_str(), OpenMode::Write) >= 0) { in writeCache()
/frameworks/base/tests/DumpRenderTree/assets/
Drun_layout_tests.py46 fp = open(os.path.abspath(filename), "r");
71 old_file = open(old_results, "r")
72 new_file = open(new_results, "r")
73 diff_file = open(diff_results, "a")
257 fp = open(results_dir + "/layout_tests_crashed.txt", "w");
Drun_reliability_tests.py59 handle = open(bugreport_filename, "w")
69 log_handle = open(raw_log, "r")
90 log_handle = open(raw_log, "w")
227 file_handle = open(crashed_file, "w")
/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/compile/slang/tests/
Dtest.py52 f = open(filename, 'r')
68 stdout_file = open('stdout.txt', 'w+')
69 stderr_file = open('stderr.txt', 'w+')
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcExecutionEnvironment.java132 public void open() throws IOException { in open() method in NfcExecutionEnvironment
134 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); in open()
/frameworks/native/cmds/dumpstate/
Dutils.c72 if ((fd = open(cmdpath, O_RDONLY)) < 0) { in for_each_pid()
92 if ((fd = open(path, O_RDONLY)) < 0) { in show_wchan()
145 int fd = open(path, O_RDONLY); in dump_file()
316 int fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in redirect_to_file()
406 int fd = open(traces_path, O_CREAT | O_WRONLY | O_TRUNC | O_NOFOLLOW, 0666); /* -rw-rw-rw- */ in dump_traces()
456 int fd = open(path, O_RDONLY); in dump_traces()
/frameworks/native/libs/utils/
DSystemClock.cpp70 fd = open("/dev/alarm", O_RDWR); in setCurrentTimeMillis()
113 int fd = open("/dev/alarm", O_RDONLY); in elapsedRealtime()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayHardwareBase.cpp75 int fd = open(kSleepFileName, O_RDONLY, 0); in waitForFbSleep()
88 int fd = open(kWakeFileName, O_RDONLY, 0); in waitForFbWake()
/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()
/frameworks/base/core/java/android/util/
DJsonWriter.java203 return open(JsonScope.EMPTY_ARRAY, "["); in beginArray()
222 return open(JsonScope.EMPTY_OBJECT, "{"); in beginObject()
238 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open() method in JsonWriter
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
DBasicNfcEeTest.java57 mEe.open(); in testSendCardManagerApdu()
76 mEe.open(); in testSendCardManagerApduMultiple()
/frameworks/base/docs/html/training/camera/
Dcameradirect.jd46 recommended way to access the camera is to open {@link android.hardware.Camera} on a separate thread
53 <p>Calling {@link android.hardware.Camera#open Camera.open()} throws an
63 mCamera = Camera.open(id);
66 Log.e(getString(R.string.app_name), "failed to open Camera");
83 legacy API and call {@link android.hardware.Camera#open open()} without an
274 Applications should release the camera immediately in onPause() (and re-open() it in
/frameworks/base/libs/androidfw/
DObbFile.cpp91 fd = ::open(filename, O_RDONLY); in readFrom()
231 fd = ::open(filename, O_WRONLY); in writeTo()
316 fd = ::open(filename, O_RDWR); in removeFrom()
/frameworks/base/media/mca/
Dstructgen.py194 txtfile = open(filepath)
353 hfile = open(hfilepath, 'w')
357 javafile = open(javafilepath, 'w')
361 jnifile = open(jnifilepath, 'w')

12345678910>>...15