Searched refs:open (Results 51 - 75 of 541) sorted by relevance

1234567891011>>

/frameworks/support/buildSrc/src/main/kotlin/androidx/build/checkapi/
H A DApiXmlConversionTask.kt28 open class ApiXmlConversionTask : JavaExec() {
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDeviceManager.cpp62 int fd = open(DRIVER_NAME, O_RDWR);
64 ALOGE("could not open %s", DRIVER_NAME);
84 int fd = open(DRIVER_NAME, O_RDWR);
86 ALOGE("could not open %s", DRIVER_NAME);
100 int fd = open(DRIVER_NAME, O_RDWR);
102 ALOGE("could not open %s", DRIVER_NAME);
112 int fd = open(DRIVER_NAME, O_RDWR);
114 ALOGE("could not open %s", DRIVER_NAME);
130 fd = TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP0 : FFS_MTP_EP0, O_RDWR));
132 ALOGE("could not open contro
[all...]
H A Dcom_android_server_PersistentDataBlockService.cpp82 int fd = open(path.c_str(), O_RDONLY);
96 int fd = open(path.c_str(), O_WRONLY);
/frameworks/compile/libbcc/lib/
H A DFileBase.cpp69 open();
78 bool FileBase::open() { function in class:FileBase
82 mFD = ::open(mName.c_str(), mOpenFlags, 0644);
171 // Error occurred when check the file integrity or re-open the file.
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpointShared.h41 aaudio_result_t open(const aaudio::AAudioStreamRequest &request) override;
H A DAAudioServiceEndpointCapture.cpp47 aaudio_result_t AAudioServiceEndpointCapture::open(const aaudio::AAudioStreamRequest &request) { function in class:AAudioServiceEndpointCapture
48 aaudio_result_t result = AAudioServiceEndpointShared::open(request);
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.h40 static Device* open(int32_t id, const char* name, int32_t vid, int32_t pid,
/frameworks/base/core/java/android/hardware/
H A DSerialManager.java65 * @param speed at which to open the serial port
73 port.open(pfd, speed);
76 throw new IOException("Could not open serial port " + name);
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java102 mLock.open();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java94 mCamera = Camera.open(CAMERA_ID);
95 startDone.open();
133 mPreviewDone.open();
170 mSnapshotDone.open();
/frameworks/base/tools/aapt2/tools/
H A Dpublic_attr_map.py27 with open(sys.argv[1], 'rt') as f:
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
H A DAssetView.java29 InputStream istr = context.getAssets().open("asset.png");
/frameworks/minikin/tests/perftests/
H A Dmain.cpp27 int fd = open(fn, O_RDONLY);
/frameworks/native/opengl/libs/EGL/
H A DLoader.h52 void* open(egl_connection_t* cnx);
/frameworks/support/jetifier/jetifier/source-transformer/
H A DrewriteMake.py100 with open(scriptPath, 'w') as scriptFile:
/frameworks/support/navigation/common/ktx/src/main/java/androidx/navigation/
H A DNavDestinationBuilder.kt29 open class NavDestinationBuilder<out D : NavDestination>(
78 open fun build(): D {
/frameworks/av/media/img_utils/src/
H A DEndianUtils.cpp27 status_t EndianOutput::open() { function in class:android::img_utils::EndianOutput
29 return mOutput->open();
/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.cpp46 status_t SpdifStreamOut::open( function in class:android::SpdifStreamOut
70 ALOGE("ERROR SpdifStreamOut::open() unrecognized format 0x%08X\n",
81 // Print before open() because HAL may modify customConfig.
82 ALOGI("SpdifStreamOut::open() AudioFlinger requested"
87 ALOGI("SpdifStreamOut::open() HAL configured for"
93 status_t status = AudioStreamOut::open(
99 ALOGI("SpdifStreamOut::open() status = %d", status);
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java137 * <li>Only one process may open the secure element at a time. Additionally,
153 * <p>All other NFC functionality is disabled while the NFC-EE is open
159 * @throws EeAlreadyOpenException if the NFC-EE is already open
166 public void open() throws EeIOException { method in class:NfcExecutionEnvironment
168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken);
182 * @throws IOException if the NFC-EE is already open, or some other error occurs
199 * @throws IOException if the NFC-EE is not open, or some other error occurs
207 throw new IOException("NFC Service was dead, need to re-open");
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DISipService.aidl28 void open(in SipProfile localProfile, String opPackageName);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c79 int fileDesc = open(strKeyFilename, O_RDONLY);
88 fileDesc = open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR);
130 int fileDesc = open("/dev/urandom", O_RDONLY);
/frameworks/av/media/libnblog/
H A DReportPerformance.cpp79 hfs.open(histogramName.str(), append ? std::ios::app : std::ios::trunc);
81 ALOGW("couldn't open file %s", histogramName.str().c_str());
103 ofs.open(outlierName.str(), append ? std::ios::app : std::ios::trunc);
105 ALOGW("couldn't open file %s", outlierName.str().c_str());
116 pfs.open(peakName.str(), append ? std::ios::app : std::ios::trunc);
118 ALOGW("couldn't open file %s", peakName.str().c_str());
/frameworks/base/services/core/java/com/android/server/storage/
H A DAppFuseBridge.java67 mNativeLoop, mountScope.mountId, mountScope.open().detachFd());
107 return ParcelFileDescriptor.open(
161 public abstract ParcelFileDescriptor open() throws NativeDaemonConnectorException; method in class:AppFuseBridge.MountScope
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp76 bool FileHandle::open(const sys::fs::Path& pPath, function in class:mcld::FileHandle
86 m_Handler = sys::fs::detail::open(pPath, oflag(pMode));
88 m_Handler = sys::fs::detail::open(pPath, oflag(pMode),
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCameraManager.java47 * Exception thrown by {@link #openCamera} if the open fails asynchronously.
78 * Thrown when camera device enters error state during open, or if
119 * <p>Throws {@link BlockingOpenException} when the open fails asynchronously (due to
139 * If open fails immediately.
141 * If open fails after blocking for some amount of time.
217 mDeviceReady.open();
240 mDeviceReady.open();
266 mDeviceReady.open();
292 "Timed out after %d ms while trying to open camera device %s",
315 "Failed to open camer
[all...]

Completed in 779 milliseconds

1234567891011>>