Home
last modified time | relevance | path

Searched refs:ints (Results 1 – 22 of 22) sorted by relevance

/hardware/interfaces/common/support/
DNativeHandle.cpp29 return handle.fds.empty() && handle.ints.empty(); in isAidlNativeHandleEmpty()
33 native_handle_t* to = native_handle_create(handle.fds.size(), handle.ints.size()); in fromAidl()
40 memcpy(to->data + handle.fds.size(), handle.ints.data(), handle.ints.size() * sizeof(int)); in fromAidl()
60 to.ints = std::vector<int32_t>(handle->data + handle->numFds, in toAidl()
Dtest.cpp43 ASSERT_EQ(libcutils->numInts, aidl.ints.size()); in checkEq()
46 int afd = aidl.ints.at(i); in checkEq()
56 .ints = {1, 2, 3, 4}, in makeTestAidlHandle()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp92 std::vector<int> ints(handle->data + handle->numFds, in unknownHandleFromNativeHandle() local
95 return nn::Memory::Unknown::Handle{.fds = std::move(fds), .ints = std::move(ints)}; in unknownHandleFromNativeHandle()
409 const std::vector<int32_t>& ints) { in createNativeHandleFrom() argument
412 CHECK_LE(ints.size(), kIntMax); in createNativeHandleFrom()
414 native_handle_create(static_cast<int>(fds.size()), static_cast<int>(ints.size())); in createNativeHandleFrom()
422 std::copy(ints.begin(), ints.end(), nativeHandle->data + nativeHandle->numFds); in createNativeHandleFrom()
430 const std::vector<int32_t>& ints) { in createNativeHandleFrom() argument
433 return createNativeHandleFrom(std::move(fds), ints); in createNativeHandleFrom()
438 return createNativeHandleFrom(std::move(fds), handle.ints); in createNativeHandleFrom()
451 const std::vector<int> ints = {memory.prot, lowOffsetBits, highOffsetBits}; in createHidlMemoryFrom() local
[all …]
/hardware/interfaces/common/aidl/android/hardware/common/
DNativeHandle.aidl25 int[] ints;
/hardware/interfaces/common/aidl/aidl_api/android.hardware.common/1/android/hardware/common/
DNativeHandle.aidl22 int[] ints;
/hardware/interfaces/common/aidl/aidl_api/android.hardware.common/current/android/hardware/common/
DNativeHandle.aidl38 int[] ints;
/hardware/interfaces/common/aidl/aidl_api/android.hardware.common/2/android/hardware/common/
DNativeHandle.aidl38 int[] ints;
/hardware/interfaces/graphics/bufferqueue/2.0/
Dtypes.hal80 * An "empty" fence can be an empty handle (containing no fds and no ints) or a
81 * fence with one fd that is equal to -1 and no ints.
84 * ints.
/hardware/google/gfxstream/host/tests/
DGLSnapshotPrograms_unittest.cpp150 currentVal.ints.size() > 0) { in changedStateCheck()
159 EXPECT_EQ(currentVal.ints, expectedVal.ints) in changedStateCheck()
303 val.ints.resize(glSizeof(type) / sizeof(GLint)); in getUniformValues()
304 gl->glGetUniformiv(m_program_name, location, val.ints.data()); in getUniformValues()
DGLSnapshotVertexAttributes_unittest.cpp43 .values = {.ints = {}, .floats = {0, 0, 0, 1}},
143 expected.values.ints)); in stateCheck()
270 testAttrib.values = {.ints = {}, .floats = {.1, .3}}, in TEST_F()
DGLSnapshotTesting.h32 std::vector<GLint> ints; member
/hardware/google/gfxstream/host/gl/glsnapshot/
DGLSnapshot.cpp44 std::vector<uint32_t>& store = mGlobals[name].ints; in getGlobalStateInt()
101 mGL->glActiveTexture(mGlobals[GL_ACTIVE_TEXTURE].ints[0]); in restore()
DGLSnapshot.h21 std::vector<uint32_t> ints; member
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DUtils.cpp57 .ints = handle.ints, in clone()
/hardware/interfaces/automotive/evs/aidl/vts/
DFrameHandler.cpp56 dup.ints = handle.ints; in dupNativeHandle()
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dxmlconfig.cpp80 TEST_F(xmlconfig_test, ints) in TEST_F() argument
/hardware/interfaces/camera/device/default/
DExternalCameraUtils.cpp755 result.inputBuffer.releaseFence.ints.clear(); in freeReleaseFences()
758 buf.releaseFence.ints.clear(); in freeReleaseFences()
/hardware/interfaces/camera/provider/aidl/vts/
Ddevice_cb.cpp406 if (!inputBuffer.fds.empty() && !inputBuffer.ints.empty()) { in processCaptureResultLocked()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateModel.cpp299 size += sizeof(decltype(handle.ints)::value_type) * handle.ints.size(); in sizeForBinder()
/hardware/google/gfxstream/codegen/generic-apigen/
DREADME81 int foo(int n, int *ptr); // assume that ‘data’ is in_out pointer which contains ‘n’ ints
/hardware/google/camera/common/hal/aidl_service/
Daidl_utils.cc652 return (handle.fds.size() == 0 && handle.ints.size() == 0); in IsAidlNativeHandleNull()
/hardware/interfaces/radio/1.0/
Dtypes.hal2027 // two ints, so first two values of ssInfo[] will be