Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 54) 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()
194 std::vector<native_handle_t*> handles; in onTransact() local
196 handles.reserve(n); in onTransact()
214 handles.push_back(handle); in onTransact()
218 recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in onTransact()
DCamera.cpp244 const std::vector<native_handle_t*> handles) { in releaseRecordingFrameHandleBatch() argument
248 c->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
445 const std::vector<native_handle_t*>& handles) in recordingFrameHandleCallbackTimestampBatch() argument
456 proxylistener->recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in recordingFrameHandleCallbackTimestampBatch()
467 listener->postRecordingFrameHandleTimestampBatch(timestamps, handles); in recordingFrameHandleCallbackTimestampBatch()
470 releaseRecordingFrameHandleBatch(handles); in recordingFrameHandleCallbackTimestampBatch()
505 const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
507 mCamera->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
DICamera.cpp178 void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
182 uint32_t n = handles.size(); in releaseRecordingFrameHandleBatch()
184 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
190 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
422 std::vector<native_handle_t*> handles; in onTransact() local
423 handles.reserve(n); in onTransact()
425 handles.push_back(data.readNativeHandle()); in onTransact()
427 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);
181 const std::vector<native_handle_t*>& handles);
195 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/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/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()
1218 void CameraSource::releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch() argument
1220 mCameraRecordingProxy->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
1223 mCamera->releaseRecordingFrameHandleBatch(handles); in releaseRecordingFrameHandleBatch()
1226 for (auto& handle : handles) { in releaseRecordingFrameHandleBatch()
1272 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch() argument
1274 if (n != handles.size()) { in recordingFrameHandleCallbackTimestampBatch()
1276 __FUNCTION__, timestampsUs.size(), handles.size()); in recordingFrameHandleCallbackTimestampBatch()
[all …]
/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/native/services/surfaceflinger/
DTransactionCompletedThread.cpp156 const std::deque<sp<CallbackHandle>>& handles) { in finalizePendingCallbackHandles() argument
157 if (handles.empty()) { in finalizePendingCallbackHandles()
166 for (const auto& handle : handles) { in finalizePendingCallbackHandles()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattService.java290 public void setHandles(int handles) { in setHandles() argument
291 mHandles = handles; in setHandles()
/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()
939 handles.push_back(handle); in handleCallbackTimestampBatch()
941 c->recordingFrameHandleCallbackTimestampBatch(timestamps, handles); in handleCallbackTimestampBatch()
/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/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()
1098 jint* handles = env->GetIntArrayElements(array, 0); in getObjectReferences() local
1101 list->push_back(handles[i]); in getObjectReferences()
1102 env->ReleaseIntArrayElements(array, handles, 0); in getObjectReferences()
1118 jint* handles = env->GetIntArrayElements(array, 0); in setObjectReferences() local
1120 handles[i] = (*references)[i]; in setObjectReferences()
1121 env->ReleaseIntArrayElements(array, handles, 0); in setObjectReferences()
/frameworks/base/native/webview/loader/
DAndroid.bp18 // Loader library which handles address space reservation and relro sharing.
/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()

123