Home
last modified time | relevance | path

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

/hardware/interfaces/common/support/
DNativeHandle.cpp26 native_handle_t* to = native_handle_create(handle.fds.size(), handle.ints.size()); in fromAidl()
33 memcpy(to->data + handle.fds.size(), handle.ints.data(), handle.ints.size() * sizeof(int)); in fromAidl()
53 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/utils/common/src/
DCommonUtils.cpp93 const std::vector<int32_t>& ints) { in createNativeHandleFrom() argument
95 CHECK_LE(ints.size(), kIntMax); in createNativeHandleFrom()
96 native_handle_t* nativeHandle = native_handle_create(1, static_cast<int>(ints.size())); in createNativeHandleFrom()
102 std::copy(ints.begin(), ints.end(), nativeHandle->data + 1); in createNativeHandleFrom()
119 const std::vector<int> ints = {memory.prot, lowOffsetBits, highOffsetBits}; in createHidlMemoryFrom() local
121 auto handle = NN_TRY(createNativeHandleFrom(std::move(fd), ints)); in createHidlMemoryFrom()
410 CHECK_LE(handle.ints.size(), kIntMax); in hidlHandleFromSharedHandle()
412 static_cast<int>(handle.ints.size())); in hidlHandleFromSharedHandle()
419 std::copy(handle.ints.begin(), handle.ints.end(), &nativeHandle->data[nativeHandle->numFds]); in hidlHandleFromSharedHandle()
441 std::vector<int> ints(&handle->data[handle->numFds], in sharedHandleFromNativeHandle() local
[all …]
/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/2/android/hardware/common/
DNativeHandle.aidl38 int[] ints;
/hardware/interfaces/common/aidl/aidl_api/android.hardware.common/current/android/hardware/common/
DNativeHandle.aidl38 int[] ints;
/hardware/interfaces/common/aidl/android/hardware/common/
DNativeHandle.aidl25 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/interfaces/neuralnetworks/aidl/utils/src/
DUtils.cpp56 .ints = handle.ints, in clone()
DConversions.cpp119 return Handle{.fds = std::move(fds), .ints = aidlNativeHandle.ints}; in unvalidatedConvertHelper()
629 aidlNativeHandle.ints = handle.ints; in unvalidatedConvert()
1002 if (handle->ints.size() != 0) { in unvalidatedConvertCache()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateModel.cpp270 size += sizeof(decltype(handle.ints)::value_type) * handle.ints.size(); in sizeForBinder()
/hardware/interfaces/radio/1.0/
Dtypes.hal2027 // two ints, so first two values of ssInfo[] will be