Home
last modified time | relevance | path

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

123

/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()
165 handles.push_back(handle); in onTransact()
169 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()
211 handles.push_back(handle); in onTransact()
215 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/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/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/native/libs/input/
DIInputFlinger.cpp74 std::vector<InputWindowInfo> handles; in onTransact() local
76 handles.push_back(InputWindowInfo::read(data)); in onTransact()
80 setInputWindows(handles, setInputWindowsListener); in onTransact()
/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);
DICameraRecordingProxy.h90 const std::vector<native_handle_t*>& handles) = 0;
DICameraRecordingProxyListener.h45 const std::vector<native_handle_t*>& handles) = 0;
/frameworks/ml/nn/runtime/test/
DTestCompilationCaching.cpp239 void writeToCache(const hidl_vec<hidl_handle>& handles, const std::vector<uint8_t>& cache) { in writeToCache() argument
240 for (uint32_t i = 0; i < handles.size(); ++i) { in writeToCache()
241 ASSERT_EQ(handles[i]->numFds, 1); in writeToCache()
242 EXPECT_EQ(write(handles[i]->data[0], cache.data(), kCacheSize), in writeToCache()
247 void readFromCache(const hidl_vec<hidl_handle>& handles, const std::vector<uint8_t>& expected) { in readFromCache() argument
248 for (uint32_t i = 0; i < handles.size(); ++i) { in readFromCache()
249 ASSERT_EQ(handles[i]->numFds, 1); in readFromCache()
251 EXPECT_EQ(read(handles[i]->data[0], actual.data(), kCacheSize), in readFromCache()
/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()
1210 void CameraSource::releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
1212 mCameraRecordingProxy->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
1215 mCamera->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
1218 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
1264 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch() argument
1266 if (n != handles.size()) { in recordingFrameHandleCallbackTimestampBatch()
1268 __FUNCTION__, timestampsUs.size(), handles.size()); in recordingFrameHandleCallbackTimestampBatch()
[all …]
DCameraSourceTimeLapse.cpp337 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch() argument
342 recordingFrameHandleCallbackTimestamp(timestampsUs[i], handles[i]); in recordingFrameHandleCallbackTimestampBatch()
/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/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayManager.java163 String packageName, String category, Set<UserHandle> handles, boolean enabled) { in setEnabled() argument
164 for (UserHandle userHandle : handles) { in setEnabled()
167 if (!handles.contains(UserHandle.SYSTEM) && SYSTEM_USER_CATEGORIES.contains(category)) { in setEnabled()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h148 const std::vector<native_handle_t*>& handles);
223 virtual void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles);
240 const std::vector<native_handle_t*>& handles);
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp544 void CameraClient::releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
547 size_t n = handles.size(); in releaseRecordingFrameHandleBatch()
553 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
584 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
910 std::vector<native_handle_t*> handles; in handleCallbackTimestampBatch() local
912 handles.reserve(n); in handleCallbackTimestampBatch()
935 handles.push_back(handle); in handleCallbackTimestampBatch()
937 c->recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in handleCallbackTimestampBatch()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattService.java290 public void setHandles(int handles) { in setHandles() argument
291 mHandles = handles; in setHandles()
/frameworks/av/camera/include/camera/android/hardware/
DICameraClient.h50 const std::vector<native_handle_t*>& handles) = 0;
/frameworks/native/services/surfaceflinger/
DTransactionCompletedThread.cpp121 const std::deque<sp<CallbackHandle>>& handles) { in addPresentedCallbackHandles() argument
128 for (const auto& handle : handles) { in addPresentedCallbackHandles()
/frameworks/native/services/inputflinger/
DInputManager.h97 virtual void setInputWindows(const std::vector<InputWindowInfo>& handles,
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp283 jint* handles = env->GetIntArrayElements(array, 0); in getObjectList() local
286 list->push_back(handles[i]); in getObjectList()
287 env->ReleaseIntArrayElements(array, handles, 0); in getObjectList()
1092 jint* handles = env->GetIntArrayElements(array, 0); in getObjectReferences() local
1095 list->push_back(handles[i]); in getObjectReferences()
1096 env->ReleaseIntArrayElements(array, handles, 0); in getObjectReferences()
1112 jint* handles = env->GetIntArrayElements(array, 0); in setObjectReferences() local
1114 handles[i] = (*references)[i]; in setObjectReferences()
1115 env->ReleaseIntArrayElements(array, handles, 0); in setObjectReferences()
/frameworks/av/media/mtp/
DMtpServer.cpp592 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles() local
593 if (handles == NULL) in doGetObjectHandles()
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()
/frameworks/base/native/webview/loader/
DAndroid.bp18 // Loader library which handles address space reservation and relro sharing.

123