Home
last modified time | relevance | path

Searched refs:N (Results 1 – 25 of 73) sorted by relevance

123

/hardware/libhardware/modules/camera/3_4/metadata/
Dmetadata_common.h90 template <typename T, size_t N>
93 const std::array<T, N>& val) { in UpdateMetadata()
94 return UpdateMetadata(metadata, tag, val.data(), N); in UpdateMetadata()
98 template <typename T, size_t N>
101 const ArrayVector<T, N>& val) { in UpdateMetadata()
106 template <typename T, size_t N>
109 const std::vector<std::array<T, N>>& val) { in UpdateMetadata()
111 ArrayVector<T, N> array_vector; in UpdateMetadata()
208 template <typename T, size_t N>
211 std::array<T, N>* val) { in SingleTagValue()
[all …]
Dtest_common.h64 template <typename T, size_t N>
67 const std::array<T, N>& expected) { in ExpectMetadataEq()
68 ExpectMetadataEq(metadata, tag, expected.data(), N); in ExpectMetadataEq()
72 template <typename T, size_t N>
75 const ArrayVector<T, N>& expected) { in ExpectMetadataEq()
81 template <typename T, size_t N>
84 const std::vector<std::array<T, N>>& expected) { in ExpectMetadataEq()
86 ArrayVector<T, N> array_vector; in ExpectMetadataEq()
Darray_vector.h29 template <class T, size_t N>
34 size_t num_arrays() const { return mItems.size() / N; } in num_arrays()
39 const T* operator[](int i) const { return mItems.data() + (i * N); }
40 T* operator[](int i) { return mItems.data() + (i * N); }
42 void push_back(const std::array<T, N>& values) { in push_back()
/hardware/google/av/codec2/vndk/include/
DC2ErrnoUtils.h24 template<int N> constexpr c2_status_t _c2_errno2status_impl();
32 template<int... N> struct _c2_map_errno_impl;
33 template<int E, int ... N> struct _c2_map_errno_impl<E, N...> {
38 return _c2_map_errno_impl<N...>::map(result);
48 template<int... N>
50 return _c2_map_errno_impl<N...>::map(result);
/hardware/interfaces/wifi/1.2/
DREADME-NAN.md49 * Unassigned values are specified using the <i>N/A</i> keyword. Unassigned usually means initialized
97 * MacAddress intfAddrVal = <i>N/A</i>
99 * uint32_t ouiVal = <i>N/A</i>
101 * uint8_t randomFactorForceVal = <i>N/A</i>
103 * uint8_t hopCountForceVal = <i>N/A</i>
105 * WifiChannelInMhz[2] discoveryChannelMhzVal = <i>N/A</i>
107 * bool[2] useBeaconsInBandVal = <i>N/A</i>
109 * bool[2] useSdfInBandVal = <i>N/A</i>
128 * vec<uint8_t> extendedServiceSpecificInfo = <i>N/A</i>
137 * uint32_t rangingIntervalMsec = <i>N/A</i>
[all …]
/hardware/interfaces/wifi/1.0/
DREADME-NAN.md46 * Unassigned values are specified using the <i>N/A</i> keyword. Unassigned usually means initialized
94 * MacAddress intfAddrVal = <i>N/A</i>
96 * uint32_t ouiVal = <i>N/A</i>
98 * uint8_t randomFactorForceVal = <i>N/A</i>
100 * uint8_t hopCountForceVal = <i>N/A</i>
102 * WifiChannelInMhz[2] discoveryChannelMhzVal = <i>N/A</i>
104 * bool[2] useBeaconsInBandVal = <i>N/A</i>
106 * bool[2] useSdfInBandVal = <i>N/A</i>
120 * vec<uint8_t> extendedServiceSpecificInfo = <i>N/A</i>
129 * uint32_t rangingIntervalMsec = <i>N/A</i>
[all …]
/hardware/google/av/codec2/tests/
DC2ComponentInterface_test.cpp388 const unsigned int N = validValues->size(); in getTestValues() local
389 if (N >= 2) { in getTestValues()
392 … invalidValues->emplace_back(TField((validValues->at(N - 2) + validValues->at(N - 1)) / 2)); in getTestValues()
396 invalidValues->emplace_back(TField(validValues->at(N - 1) - 1)); in getTestValues()
426 const unsigned int N = validValues->size(); in getTestValues() local
427 if (N >= 2) { in getTestValues()
430 … invalidValues->emplace_back(TField((validValues->at(N - 2) + validValues->at(N - 1)) / 2)); in getTestValues()
435 if (validValues->at(N - 1) - validValues->at(N - 2) > 1) { in getTestValues()
436 invalidValues->emplace_back(TField(validValues->at(N - 1) - 1)); in getTestValues()
DC2_test.cpp26 template<int N>
29 inline constexpr static int num() { return N; } in num()
/hardware/interfaces/authsecret/1.0/vts/functional/
DVtsHalAuthSecretV1_0TargetTest.cpp75 constexpr int N = 5; in TEST_F() local
76 for (int i = 0; i < N; ++i) { in TEST_F()
/hardware/google/av/codec2/include/
DC2ParamDef.h254 template<typename ...Args, typename U=typename S::FlexType, unsigned N> \
255 inline static std::ptr##_ptr<_Type> Alloc##Ptr(const U(&init)[N], const Args(&... args)) { \
256 return std::ptr##_ptr<_Type>(new(N) _Type(N, args..., init)); \
715 template<unsigned N>
716 inline constexpr C2ConstMemoryBlock(const T(&init)[N]) : _mData(init), _mSize(N) {}
775 template<typename T, unsigned N>
776 static void init(T(&array)[], size_t arrayLen, const T(&str)[N]) {
782 memcpy(array, str, std::min(arrayLen, (size_t)N) * sizeof(T));
818 template<unsigned N>
819 inline C2SimpleValueStruct(size_t flexCount, const T(&init)[N]) {
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonUtils.cpp109 std::vector<uint32_t> getAlignedDimensions(const std::vector<uint32_t>& dims, uint32_t N) { in getAlignedDimensions() argument
111 N, dims.size(), in getAlignedDimensions()
112 "Error: constant data dimensions " << dims.size() << " exceeds alignment of " << N); in getAlignedDimensions()
113 std::vector<uint32_t> dimensions(N - dims.size(), 1); in getAlignedDimensions()
/hardware/interfaces/keymaster/4.0/support/
DKeymaster.cpp50 template <size_t N>
51 std::ostream& operator<<(std::ostream& os, const hidl_array<uint8_t, N>& vec) { in operator <<()
54 for (size_t i = 0; i < N; ++i) os << static_cast<int>(vec[i]); in operator <<()
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_rpc_glue.c204 #define loc_apicb_prog_VER_freeresult(M,N) \ argument
205 int RPC_CALLBACK_FUNC_VERSION(loc_apicbprog_, VERSION_CONCAT(M,N), _freeresult) \
230 #define rpc_loc_api_cb_null_VER_svc(M,N) \ argument
231 bool_t RPC_CALLBACK_FUNC_VERSION(rpc_loc_api_cb_null_, VERSION_CONCAT(M,N), _svc) ( \
/hardware/interfaces/audio/2.0/
DIStreamOut.hal242 * Example: assume that N+M frames have been presented, where M is a 'small'
243 * number. Then it is permissible to return N instead of N+M, and the
244 * timestamp must correspond to N rather than N+M. The terms 'recent' and
/hardware/interfaces/audio/5.0/
DIStreamOut.hal254 * Example: assume that N+M frames have been presented, where M is a 'small'
255 * number. Then it is permissible to return N instead of N+M, and the
256 * timestamp must correspond to N rather than N+M. The terms 'recent' and
/hardware/interfaces/audio/4.0/
DIStreamOut.hal254 * Example: assume that N+M frames have been presented, where M is a 'small'
255 * number. Then it is permissible to return N instead of N+M, and the
256 * timestamp must correspond to N rather than N+M. The terms 'recent' and

123