Home
last modified time | relevance | path

Searched refs:handles1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/camera/ndk/ndk_vendor/impl/
Dutils.cpp169 bool areWindowNativeHandlesEqual(hidl_vec<hidl_handle> handles1, hidl_vec<hidl_handle> handles2) { in areWindowNativeHandlesEqual() argument
170 if (handles1.size() != handles2.size()) { in areWindowNativeHandlesEqual()
173 for (int i = 0; i < handles1.size(); i++) { in areWindowNativeHandlesEqual()
174 if (!isWindowNativeHandleEqual(handles1[i], handles2[i])) { in areWindowNativeHandlesEqual()
181 bool areWindowNativeHandlesLessThan(hidl_vec<hidl_handle> handles1, hidl_vec<hidl_handle>handles2) { in areWindowNativeHandlesLessThan() argument
182 if (handles1.size() != handles2.size()) { in areWindowNativeHandlesLessThan()
183 return handles1.size() < handles2.size(); in areWindowNativeHandlesLessThan()
185 for (int i = 0; i < handles1.size(); i++) { in areWindowNativeHandlesLessThan()
186 const native_handle_t *handle1 = handles1[i].getNativeHandle(); in areWindowNativeHandlesLessThan()
Dutils.h51 bool areWindowNativeHandlesEqual(hidl_vec<hidl_handle> handles1, hidl_vec<hidl_handle>handles2);
53 bool areWindowNativeHandlesLessThan(hidl_vec<hidl_handle> handles1, hidl_vec<hidl_handle>handles2);