Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libaaudio/tests/
Dtest_handle_tracker.cpp69 aaudio_handle_t handles[MAX_HANDLES]; in TEST() local
77 handles[i] = tracker.put(type, &data[i]); in TEST()
78 ASSERT_TRUE(handles[i] > 0); in TEST()
79 found = tracker.get(type, handles[i]); in TEST()
89 found = tracker.get(type, handles[i]); in TEST()
94 found = tracker.remove(type, handles[2]); in TEST()
97 found = tracker.get(type, handles[2]); in TEST()
106 found = tracker.get(type, handles[2]); in TEST()
110 handles[2] = handle; in TEST()
113 found = tracker.remove(type, handles[i]); in TEST()
/frameworks/av/camera/
DICameraRecordingProxyListener.cpp69 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch() argument
75 if (n != handles.size()) { in recordingFrameHandleCallbackTimestampBatch()
77 __FUNCTION__, timestamps.size(), handles.size()); in recordingFrameHandleCallbackTimestampBatch()
84 for (auto& handle : handles) { in recordingFrameHandleCallbackTimestampBatch()
91 for (auto& handle : handles) { in recordingFrameHandleCallbackTimestampBatch()
145 std::vector<native_handle_t*> handles; in onTransact() local
147 handles.reserve(n); in onTransact()
163 handles.push_back(handle); in onTransact()
167 recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in onTransact()
DICameraRecordingProxy.cpp87 void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
91 uint32_t n = handles.size(); in releaseRecordingFrameHandleBatch()
93 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
99 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
152 std::vector<native_handle_t*> handles; in onTransact() local
153 handles.reserve(n); in onTransact()
161 handles.push_back(handle); in onTransact()
165 releaseRecordingFrameHandleBatch(handles); in onTransact()
DICameraClient.cpp98 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch() argument
103 if (n != handles.size()) { in recordingFrameHandleCallbackTimestampBatch()
105 __FUNCTION__, timestamps.size(), handles.size()); in recordingFrameHandleCallbackTimestampBatch()
112 for (auto& handle : handles) { in recordingFrameHandleCallbackTimestampBatch()
191 std::vector<native_handle_t*> handles; in onTransact() local
193 handles.reserve(n); in onTransact()
209 handles.push_back(handle); in onTransact()
213 recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in onTransact()
DCamera.cpp244 const std::vector<native_handle_t*> handles) { in releaseRecordingFrameHandleBatch() argument
248 c->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
431 const std::vector<native_handle_t*>& handles) in recordingFrameHandleCallbackTimestampBatch() argument
442 proxylistener->recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in recordingFrameHandleCallbackTimestampBatch()
453 listener->postRecordingFrameHandleTimestampBatch(timestamps, handles); in recordingFrameHandleCallbackTimestampBatch()
456 releaseRecordingFrameHandleBatch(handles); in recordingFrameHandleCallbackTimestampBatch()
491 const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
493 mCamera->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
DICamera.cpp176 void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
180 uint32_t n = handles.size(); in releaseRecordingFrameHandleBatch()
182 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
188 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
405 std::vector<native_handle_t*> handles; in onTransact() local
406 handles.reserve(n); in onTransact()
408 handles.push_back(data.readNativeHandle()); in onTransact()
410 releaseRecordingFrameHandleBatch(handles); in onTransact()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxObserver.cpp41 std::vector<native_handle_t*> handles(lMessages.size()); in onMessages() local
45 wrapAs(&tMessages[i], &handles[i], message); in onMessages()
52 for (auto& handle : handles) { in onMessages()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxObserver.cpp41 std::vector<native_handle_t*> handles(lMessages.size()); in onMessages() local
45 wrapAs(&tMessages[i], &handles[i], message); in onMessages()
52 for (auto& handle : handles) { in onMessages()
/frameworks/av/camera/include/camera/
DCamera.h49 const std::vector<native_handle_t*>& handles) = 0;
126 const std::vector<native_handle_t*> handles);
178 const std::vector<native_handle_t*>& handles);
192 const std::vector<native_handle_t*>& handles);
DICameraRecordingProxyListener.h45 const std::vector<native_handle_t*>& handles) = 0;
DICameraRecordingProxy.h90 const std::vector<native_handle_t*>& handles) = 0;
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList() local
351 if (handles == null) { in getObjectList()
355 int length = handles.length; in getObjectList()
358 MtpObjectInfo info = device.getObjectInfo(handles[i]); in getObjectList()
/frameworks/av/media/libstagefright/
DCameraSource.cpp63 const std::vector<native_handle_t*>& handles);
119 const std::vector<native_handle_t*>& handles) { in postRecordingFrameHandleTimestampBatch() argument
127 source->recordingFrameHandleCallbackTimestampBatch(modifiedTimestamps, handles); in postRecordingFrameHandleTimestampBatch()
1172 void CameraSource::releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
1174 mCameraRecordingProxy->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
1177 mCamera->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
1180 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
1226 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch() argument
1228 if (n != handles.size()) { in recordingFrameHandleCallbackTimestampBatch()
1230 __FUNCTION__, timestampsUs.size(), handles.size()); in recordingFrameHandleCallbackTimestampBatch()
[all …]
DCameraSourceTimeLapse.cpp320 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch() argument
325 recordingFrameHandleCallbackTimestamp(timestampsUs[i], handles[i]); in recordingFrameHandleCallbackTimestampBatch()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java226 Set<Integer> handles = new ArraySet<>(userProfiles.length); in getEnabledUserHandles() local
229 handles.add(id); in getEnabledUserHandles()
232 return handles; in getEnabledUserHandles()
/frameworks/av/media/libstagefright/include/
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);
DCameraSourceTimeLapse.h165 const std::vector<native_handle_t*>& handles);
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattService.java272 public void setHandles(int handles) { in setHandles() argument
273 mHandles = handles; in setHandles()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp537 void CameraClient::releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
538 size_t n = handles.size(); in releaseRecordingFrameHandleBatch()
542 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
571 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
915 std::vector<native_handle_t*> handles; in handleCallbackTimestampBatch() local
917 handles.reserve(n); in handleCallbackTimestampBatch()
940 handles.push_back(handle); in handleCallbackTimestampBatch()
942 c->recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in handleCallbackTimestampBatch()
DCameraClient.h54 const std::vector<native_handle_t*>& handles);
/frameworks/av/camera/include/camera/android/hardware/
DICameraClient.h50 const std::vector<native_handle_t*>& handles) = 0;
DICamera.h107 const std::vector<native_handle_t*>& handles) = 0;
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp273 jint* handles = env->GetIntArrayElements(array, 0); in getObjectList() local
276 list->push(handles[i]); in getObjectList()
277 env->ReleaseIntArrayElements(array, handles, 0); in getObjectList()
1068 jint* handles = env->GetIntArrayElements(array, 0); in getObjectReferences() local
1071 list->push(handles[i]); in getObjectReferences()
1072 env->ReleaseIntArrayElements(array, handles, 0); in getObjectReferences()
1088 jint* handles = env->GetIntArrayElements(array, 0); in setObjectReferences() local
1090 handles[i] = (*references)[i]; in setObjectReferences()
1091 env->ReleaseIntArrayElements(array, handles, 0); in setObjectReferences()
Dandroid_mtp_MtpDevice.cpp346 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID); in android_mtp_MtpDevice_get_object_handles() local
347 if (!handles) in android_mtp_MtpDevice_get_object_handles()
350 int length = handles->size(); in android_mtp_MtpDevice_get_object_handles()
353 env->SetIntArrayRegion(array, 0, length, (const jint *)handles->array()); in android_mtp_MtpDevice_get_object_handles()
355 delete handles; in android_mtp_MtpDevice_get_object_handles()
/frameworks/av/media/mtp/
DMtpServer.cpp594 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles() local
595 mData.putAUInt32(handles); in doGetObjectHandles()
596 delete handles; in doGetObjectHandles()
632 MtpObjectHandleList* handles = mDatabase->getObjectReferences(handle); in doGetObjectReferences() local
633 if (handles) { in doGetObjectReferences()
634 mData.putAUInt32(handles); in doGetObjectReferences()
635 delete handles; in doGetObjectReferences()

12