Searched refs:handles (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/av/media/libaaudio/tests/
H A Dtest_handle_tracker.cpp69 aaudio_handle_t handles[MAX_HANDLES]; local
77 handles[i] = tracker.put(type, &data[i]);
78 ASSERT_TRUE(handles[i] > 0);
79 found = tracker.get(type, handles[i]);
89 found = tracker.get(type, handles[i]);
94 found = tracker.remove(type, handles[2]);
97 found = tracker.get(type, handles[2]);
106 found = tracker.get(type, handles[2]);
110 handles[2] = handle;
113 found = tracker.remove(type, handles[
[all...]
/frameworks/av/camera/
H A DICameraRecordingProxyListener.cpp69 const std::vector<native_handle_t*>& handles) {
75 if (n != handles.size()) {
76 ALOGE("%s: size of timestamps(%zu) and handles(%zu) mismatch!",
77 __FUNCTION__, timestamps.size(), handles.size());
84 for (auto& handle : handles) {
91 for (auto& handle : handles) {
145 std::vector<native_handle_t*> handles; local
147 handles.reserve(n);
159 ALOGE("%s: Received a null native handle at handles[%d]",
163 handles
67 recordingFrameHandleCallbackTimestampBatch( const std::vector<nsecs_t>& timestamps, const std::vector<native_handle_t*>& handles) argument
[all...]
H A DICameraRecordingProxy.cpp87 void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { argument
91 uint32_t n = handles.size();
93 for (auto& handle : handles) {
99 for (auto& handle : handles) {
152 std::vector<native_handle_t*> handles; local
153 handles.reserve(n);
157 ALOGE("%s: Received a null native handle at handles[%d]",
161 handles.push_back(handle);
165 releaseRecordingFrameHandleBatch(handles);
H A DICameraClient.cpp98 const std::vector<native_handle_t*>& handles) {
103 if (n != handles.size()) {
104 ALOGE("%s: size of timestamps(%zu) and handles(%zu) mismatch!",
105 __FUNCTION__, timestamps.size(), handles.size());
112 for (auto& handle : handles) {
191 std::vector<native_handle_t*> handles; local
193 handles.reserve(n);
205 ALOGE("%s: Received a null native handle at handles[%d]",
209 handles.push_back(handle);
213 recordingFrameHandleCallbackTimestampBatch(timestamps, handles);
96 recordingFrameHandleCallbackTimestampBatch( const std::vector<nsecs_t>& timestamps, const std::vector<native_handle_t*>& handles) argument
[all...]
H A DCamera.cpp244 const std::vector<native_handle_t*> handles) {
248 c->releaseRecordingFrameHandleBatch(handles);
431 const std::vector<native_handle_t*>& handles)
442 proxylistener->recordingFrameHandleCallbackTimestampBatch(timestamps, handles);
453 listener->postRecordingFrameHandleTimestampBatch(timestamps, handles);
456 releaseRecordingFrameHandleBatch(handles);
491 const std::vector<native_handle_t*>& handles) {
493 mCamera->releaseRecordingFrameHandleBatch(handles);
243 releaseRecordingFrameHandleBatch( const std::vector<native_handle_t*> handles) argument
429 recordingFrameHandleCallbackTimestampBatch( const std::vector<nsecs_t>& timestamps, const std::vector<native_handle_t*>& handles) argument
490 releaseRecordingFrameHandleBatch( const std::vector<native_handle_t*>& handles) argument
H A DICamera.cpp176 void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { argument
180 uint32_t n = handles.size();
182 for (auto& handle : handles) {
188 for (auto& handle : handles) {
405 std::vector<native_handle_t*> handles; local
406 handles.reserve(n);
408 handles.push_back(data.readNativeHandle());
410 releaseRecordingFrameHandleBatch(handles);
/frameworks/av/media/libmedia/omx/1.0/
H A DWOmxObserver.cpp41 std::vector<native_handle_t*> handles(lMessages.size());
45 wrapAs(&tMessages[i], &handles[i], message);
52 for (auto& handle : handles) {
/frameworks/av/media/libstagefright/omx/1.0/
H A DWOmxObserver.cpp41 std::vector<native_handle_t*> handles(lMessages.size());
45 wrapAs(&tMessages[i], &handles[i], message);
52 for (auto& handle : handles) {
/frameworks/av/camera/include/camera/
H A DICameraRecordingProxy.h90 const std::vector<native_handle_t*>& handles) = 0;
H A DICameraRecordingProxyListener.h45 const std::vector<native_handle_t*>& handles) = 0;
H A DCamera.h49 const std::vector<native_handle_t*>& handles) = 0;
124 // release a batch of recording frame handles
126 const std::vector<native_handle_t*> handles);
178 const std::vector<native_handle_t*>& handles);
192 const std::vector<native_handle_t*>& handles);
/frameworks/av/include/camera/
H A DICameraRecordingProxy.h90 const std::vector<native_handle_t*>& handles) = 0;
H A DICameraRecordingProxyListener.h45 const std::vector<native_handle_t*>& handles) = 0;
H A DCamera.h49 const std::vector<native_handle_t*>& handles) = 0;
124 // release a batch of recording frame handles
126 const std::vector<native_handle_t*> handles);
178 const std::vector<native_handle_t*>& handles);
192 const std::vector<native_handle_t*>& handles);
/frameworks/av/camera/include/camera/android/hardware/
H A DICameraClient.h45 // Invoked to send a batch of recording frame handles with timestamp. Call
46 // ICamera::releaseRecordingFrameHandleBatch to release the frame handles.
47 // Size of timestamps and handles must match
50 const std::vector<native_handle_t*>& handles) = 0;
H A DICamera.h104 // Release a batch of recording frame handles that was received via
107 const std::vector<native_handle_t*>& handles) = 0;
/frameworks/av/include/camera/android/hardware/
H A DICameraClient.h45 // Invoked to send a batch of recording frame handles with timestamp. Call
46 // ICamera::releaseRecordingFrameHandleBatch to release the frame handles.
47 // Size of timestamps and handles must match
50 const std::vector<native_handle_t*>& handles) = 0;
H A DICamera.h104 // Release a batch of recording frame handles that was received via
107 const std::vector<native_handle_t*>& handles) = 0;
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle);
351 if (handles == null) {
355 int length = handles.length;
358 MtpObjectInfo info = device.getObjectInfo(handles[i]);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattService.java268 * Force the number of handles to reserve for this service.
272 public void setHandles(int handles) { argument
273 mHandles = handles;
/frameworks/base/services/core/java/com/android/server/camera/
H A DCameraServiceProxy.java218 // Some user handles have been added or removed, update mediaserver.
226 Set<Integer> handles = new ArraySet<>(userProfiles.length);
229 handles.add(id);
232 return handles;
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp63 const std::vector<native_handle_t*>& handles);
119 const std::vector<native_handle_t*>& handles) {
127 source->recordingFrameHandleCallbackTimestampBatch(modifiedTimestamps, handles);
1172 void CameraSource::releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { argument
1174 mCameraRecordingProxy->releaseRecordingFrameHandleBatch(handles);
1177 mCamera->releaseRecordingFrameHandleBatch(handles);
1180 for (auto& handle : handles) {
1226 const std::vector<native_handle_t*>& handles) {
1228 if (n != handles.size()) {
1229 ALOGE("%s: timestampsUs(%zu) and handles(
117 postRecordingFrameHandleTimestampBatch( const std::vector<nsecs_t>& timestamps, const std::vector<native_handle_t*>& handles) argument
1224 recordingFrameHandleCallbackTimestampBatch( const std::vector<int64_t>& timestampsUs, const std::vector<native_handle_t*>& handles) argument
1396 recordingFrameHandleCallbackTimestampBatch( const std::vector<int64_t>& timestampsUs, const std::vector<native_handle_t*>& handles) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DCameraSource.h147 const std::vector<native_handle_t*>& handles);
221 virtual void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles);
238 const std::vector<native_handle_t*>& handles);
/frameworks/av/media/libstagefright/foundation/include/
H A DCameraSource.h147 const std::vector<native_handle_t*>& handles);
221 virtual void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles);
238 const std::vector<native_handle_t*>& handles);
/frameworks/av/media/libstagefright/include/
H A DCameraSource.h147 const std::vector<native_handle_t*>& handles);
221 virtual void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles);
238 const std::vector<native_handle_t*>& handles);

Completed in 379 milliseconds

12