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/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/ml/nn/runtime/test/
DTestCompilationCaching.cpp191 void writeToCache(const hidl_vec<hidl_handle>& handles, const std::vector<uint8_t>& cache) { in writeToCache() argument
192 for (uint32_t i = 0; i < handles.size(); ++i) { in writeToCache()
193 ASSERT_EQ(handles[i]->numFds, 1); in writeToCache()
194 EXPECT_EQ(write(handles[i]->data[0], cache.data(), kCacheSize), in writeToCache()
199 void readFromCache(const hidl_vec<hidl_handle>& handles, const std::vector<uint8_t>& expected) { in readFromCache() argument
200 for (uint32_t i = 0; i < handles.size(); ++i) { in readFromCache()
201 ASSERT_EQ(handles[i]->numFds, 1); in readFromCache()
203 EXPECT_EQ(read(handles[i]->data[0], actual.data(), kCacheSize), in readFromCache()
/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/native/libs/input/
DIInputFlinger.cpp84 std::vector<InputWindowInfo> handles; in onTransact() local
86 handles.push_back(InputWindowInfo::read(data)); in onTransact()
90 setInputWindows(handles, setInputWindowsListener); in onTransact()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dsubprocess.cc163 HANDLE handles[2]; in Communicate() local
167 handles[handle_count++] = child_stdin_; in Communicate()
170 handles[handle_count++] = child_stdout_; in Communicate()
174 WaitForMultipleObjects(handle_count, handles, FALSE, INFINITE); in Communicate()
179 signaled_handle = handles[wait_result - WAIT_OBJECT_0]; in Communicate()
/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/
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 …]
/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/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/core/java/android/bluetooth/
DBluetoothGattService.java290 public void setHandles(int handles) { in setHandles() argument
291 mHandles = handles; in setHandles()
/frameworks/native/services/inputflinger/
DInputManager.h97 virtual void setInputWindows(const std::vector<InputWindowInfo>& handles,
/frameworks/native/services/surfaceflinger/
DTransactionCompletedThread.cpp121 const std::deque<sp<CallbackHandle>>& handles) { in addPresentedCallbackHandles() argument
128 for (const auto& handle : handles) { in addPresentedCallbackHandles()
/frameworks/base/native/webview/loader/
DAndroid.bp18 // Loader library which handles address space reservation and relro sharing.
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp288 jint* handles = env->GetIntArrayElements(array, 0); in getObjectList() local
291 list->push_back(handles[i]); in getObjectList()
292 env->ReleaseIntArrayElements(array, handles, 0); in getObjectList()
1154 jint* handles = env->GetIntArrayElements(array, 0); in getObjectReferences() local
1157 list->push_back(handles[i]); in getObjectReferences()
1158 env->ReleaseIntArrayElements(array, handles, 0); in getObjectReferences()
1174 jint* handles = env->GetIntArrayElements(array, 0); in setObjectReferences() local
1176 handles[i] = (*references)[i]; in setObjectReferences()
1177 env->ReleaseIntArrayElements(array, handles, 0); in setObjectReferences()
/frameworks/av/media/mtp/
DMtpServer.cpp590 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles() local
591 if (handles == NULL) in doGetObjectHandles()
593 mData.putAUInt32(handles); in doGetObjectHandles()
594 delete handles; in doGetObjectHandles()
630 MtpObjectHandleList* handles = mDatabase->getObjectReferences(handle); in doGetObjectReferences() local
631 if (handles) { in doGetObjectReferences()
632 mData.putAUInt32(handles); in doGetObjectReferences()
633 delete handles; in doGetObjectReferences()

123