Searched refs:open (Results 101 - 125 of 432) sorted by relevance

1234567891011>>

/frameworks/rs/rsov/compiler/spirit/
H A Dfile_utils.h31 fb->open(filename, std::ios::in);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java80 return ParcelFileDescriptor.open(
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSharingSupportProvider.java80 return ParcelFileDescriptor.open(
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp174 int fd = open("/sys/devices/system/cpu/kernel_max", O_RDONLY);
196 ALOGW("Can't open number of CPUs");
213 // some kernels can't open a scaling file until hot plug complete
224 fd = open(freq_path, O_RDONLY | O_CLOEXEC);
230 ALOGW("getCpukHz can't open CPU %d", cpuNum);
/frameworks/av/services/oboeservice/
H A DAAudioService.cpp67 result = serviceStream->open(request, configurationOutput);
82 result = serviceStream->open(request, configurationOutput);
H A DAAudioServiceStreamShared.cpp49 aaudio_result_t AAudioServiceStreamShared::open(const aaudio::AAudioStreamRequest &request, function in class:AAudioServiceStreamShared
52 aaudio_result_t result = AAudioServiceStreamBase::open(request, configurationOutput);
54 ALOGE("AAudioServiceStreamBase open returned %d", result);
65 ALOGE("AAudioServiceStreamShared::open(), mServiceEndPoint = %p", mServiceEndpoint);
74 ALOGE("AAudioServiceStreamShared::open(), mAudioFormat = %d, need FLOAT", mAudioFormat);
82 ALOGE("AAudioServiceStreamShared::open(), mAudioFormat = %d, need %d",
91 ALOGE("AAudioServiceStreamShared::open(), mSamplesPerFrame = %d, need %d",
109 ALOGD("AAudioServiceStreamShared::open(), mCapacityInFrames = %d", mCapacityInFrames);
H A DAAudioServiceStreamMMAP.h50 aaudio_result_t open(const aaudio::AAudioStreamRequest &request,
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java60 /* package */ boolean open(String name, ParcelFileDescriptor pfd, @NonNull Context context) { method in class:UsbDeviceConnection
65 mCloseGuard.open("close");
/frameworks/base/core/java/android/util/
H A DMemoryIntArray.java76 mCloseGuard.open("close");
87 mCloseGuard.open("close");
/frameworks/base/media/java/android/media/midi/
H A DMidiDevice.java83 mGuard.open("close");
121 mGuard.open("close");
134 * Called to open a {@link MidiInputPort} for the specified port number.
138 * A {@link MidiDeviceStatus} can be used to determine if an input port is already open.
140 * @param portNumber the number of the input port to open
141 * @return the {@link MidiInputPort} if the open is successful,
162 * Called to open a {@link MidiOutputPort} for the specified port number.
166 * @param portNumber the number of the output port to open
167 * @return the {@link MidiOutputPort} if the open is successful,
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureSource.java169 public void open(FilterContext context) { method in class:SurfaceTextureSource
251 mNewFrameAvailable.open();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestHelper.java103 mCamera = Camera.open(CAMERA_ID);
110 mCamera = Camera.open(CAMERA_ID);
/frameworks/base/packages/SystemUI/scripts/
H A Dnew_merge.py135 fin = open(inFile)
136 fout = open(outFile, "w")
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbMidiDevice.cpp52 // try to open it several times to prevent intermittent failure
55 while ((fd = open(path, O_RDWR)) < 0) {
57 ALOGE("timed out after %d tries, could not open %s", retryCounter, path);
60 ALOGW("attempt #%d, could not open %s", retryCounter, path);
97 // to support multiple subdevices we open the same file multiple times
99 int fd = open(path, O_RDWR);
101 ALOGE("open failed on %s for index %d", path, i);
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsService.aidl36 int open(int phoneId, int serviceClass, in PendingIntent incomingCallIntent,
/frameworks/av/media/libaaudio/examples/write_sine/src/
H A Dwrite_sine_callback.cpp49 result = player.open(2, 44100, AAUDIO_FORMAT_PCM_FLOAT,
52 fprintf(stderr, "ERROR - player.open() returned %d\n", result);
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp38 mFd = open(path, O_RDONLY | O_LARGEFILE);
/frameworks/av/media/mtp/
H A DMtpDevHandle.cpp84 mFd = android::base::unique_fd(TEMP_FAILURE_RETRY(open(mtp_dev_path, O_RDWR)));
/frameworks/base/core/java/android/hardware/
H A DSensorDirectChannel.java189 mCloseGuard.open("SensorDirectChannel");
/frameworks/base/core/java/android/view/
H A DInputEventSender.java68 mCloseGuard.open("dispose");
/frameworks/base/core/java/android/view/textclassifier/
H A DTextClassificationManager.java113 mLangIdFd = ParcelFileDescriptor.open(
/frameworks/base/libs/androidfw/tests/
H A DObbFile_test.cpp46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java124 mGuard.open("dispose");
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterPort.java72 public void open() { method in class:FilterPort
/frameworks/base/media/mca/
H A Dstructgen.py194 txtfile = open(filepath)
353 hfile = open(hfilepath, 'w')
357 javafile = open(javafilepath, 'w')
361 jnifile = open(jnifilepath, 'w')

Completed in 359 milliseconds

1234567891011>>