/hardware/interfaces/security/keymint/support/ |
D | authorization_set.cpp | 28 std::sort(data_.begin(), data_.end()); in Sort() 32 if (data_.empty()) return; in Deduplicate() 37 auto curr = data_.begin(); in Deduplicate() 39 for (; curr != data_.end(); ++prev, ++curr) { in Deduplicate() 48 std::swap(data_, result); in Deduplicate() 52 data_.insert(data_.end(), other.data_.begin(), other.data_.end()); in Union() 64 if (pos != -1 && (*i == data_[pos])) { in Subtract() 65 data_.erase(data_.begin() + pos); in Subtract() 74 return data_[at]; in operator []() 78 return data_[at]; in operator []() [all …]
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
D | confirmationui_utils.h | 83 array() : data_{} {} in array() 84 array(const T (&data)[elements]) { std::copy(data, data + elements, data_); } in array() 87 T* data() { return data_; } in data() 88 const T* data() const { return data_; } in data() 91 T* begin() { return data_; } in begin() 92 T* end() { return data_ + elements; } in end() 93 const T* begin() const { return data_; } in begin() 94 const T* end() const { return data_ + elements; } in end() 98 data_[i] = v; in fill() 103 array_type data_; [all …]
|
D | cbor.h | 82 const T* data_; 84 StringBuffer(const T* data, size_t size) : data_(data), size_(size) { 87 const T* data() const { return data_; } 199 WriteState() : data_(nullptr), size_(0), error_(Error::OK) {} 200 WriteState(uint8_t* buffer, size_t size) : data_(buffer), size_(size), error_(Error::OK) {} 202 : data_(buffer), size_(size), error_(error) {} 204 WriteState(uint8_t (&buffer)[size]) : data_(buffer), size_(size), error_(Error::OK) {} 208 ++data_; 219 data_ += offset; 226 uint8_t* data_; [all …]
|
/hardware/interfaces/wifi/1.5/default/ |
D | ringbuffer.cpp | 38 data_.push_back(input); in append() 41 size_ -= data_.front().size() * sizeof(data_.front()[0]); in append() 42 data_.pop_front(); in append() 47 return data_; in getData() 51 data_.clear(); in clear()
|
D | ringbuffer.h | 43 std::list<std::vector<uint8_t>> data_;
|
/hardware/interfaces/security/keymint/support/include/keymint_support/ |
D | authorization_set.h | 48 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet() 51 AuthorizationSet(AuthorizationSet&& other) noexcept : data_(std::move(other.data_)) {} in AuthorizationSet() 58 data_ = other.data_; 64 data_ = std::move(other.data_); 70 data_.resize(other.size()); 71 for (size_t i = 0; i < data_.size(); ++i) { 74 data_[i] = other[i]; 90 size_t size() const { return data_.size(); } in size() 100 const KeyParameter* data() const { return data_.data(); } in data() 139 auto begin() { return data_.begin(); } in begin() [all …]
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | authorization_set.h | 47 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet() 50 AuthorizationSet(AuthorizationSet&& other) noexcept : data_(std::move(other.data_)) {} in AuthorizationSet() 57 data_ = other.data_; 63 data_ = std::move(other.data_); 69 data_.resize(other.size()); 70 for (size_t i = 0; i < data_.size(); ++i) { 73 data_[i] = other[i]; 89 size_t size() const { return data_.size(); } in size() 99 const KeyParameter* data() const { return data_.data(); } in data() 138 std::vector<KeyParameter>::const_iterator begin() const { return data_.begin(); } in begin() [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | authorization_set.cpp | 94 std::sort(data_.begin(), data_.end(), keyParamLess); in Sort() 98 if (data_.empty()) return; in Deduplicate() 103 auto curr = data_.begin(); in Deduplicate() 105 for (; curr != data_.end(); ++prev, ++curr) { in Deduplicate() 114 std::swap(data_, result); in Deduplicate() 118 data_.insert(data_.end(), other.data_.begin(), other.data_.end()); in Union() 130 if (pos != -1 && keyParamEqual(*i, data_[pos])) { in Subtract() 131 data_.erase(data_.begin() + pos); in Subtract() 140 auto iter = data_.begin() + (1 + begin); in find() 142 while (iter != data_.end() && iter->tag != tag) in find() [all …]
|
D | authorization_set.h | 47 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet() 50 AuthorizationSet(AuthorizationSet&& other) : data_(std::move(other.data_)) {} in AuthorizationSet() 57 data_ = other.data_; 63 data_ = std::move(other.data_); 69 data_.resize(other.size()); 70 for (size_t i = 0; i < data_.size(); ++i) { 73 data_[i] = other[i]; 89 size_t size() const { return data_.size(); } in size() 99 const KeyParameter* data() const { return data_.data(); } in data() 138 std::vector<KeyParameter>::const_iterator begin() const { return data_.begin(); } in begin() [all …]
|
/hardware/interfaces/confirmationui/support/test/ |
D | android_cbor_test.cpp | 84 ASSERT_EQ(sizeof(testVector), size_t(state.data_ - buffer)); in TEST() 164 ASSERT_EQ(state.data_ - buffer, 1); in TEST() 168 ASSERT_EQ(state.data_ - buffer, 2); in TEST() 172 ASSERT_EQ(state.data_ - buffer, 2); in TEST() 176 ASSERT_EQ(state.data_ - buffer, 3); in TEST() 180 ASSERT_EQ(state.data_ - buffer, 3); in TEST() 184 ASSERT_EQ(state.data_ - buffer, 5); in TEST() 188 ASSERT_EQ(state.data_ - buffer, 5); in TEST() 192 ASSERT_EQ(state.data_ - buffer, 9); in TEST() 196 ASSERT_EQ(state.data_ - buffer, 9); in TEST()
|
/hardware/interfaces/keymaster/4.0/support/ |
D | authorization_set.cpp | 87 std::sort(data_.begin(), data_.end(), keyParamLess); in Sort() 91 if (data_.empty()) return; in Deduplicate() 96 auto curr = data_.begin(); in Deduplicate() 98 for (; curr != data_.end(); ++prev, ++curr) { in Deduplicate() 107 std::swap(data_, result); in Deduplicate() 111 data_.insert(data_.end(), other.data_.begin(), other.data_.end()); in Union() 123 if (pos != -1 && keyParamEqual(*i, data_[pos])) { in Subtract() 124 data_.erase(data_.begin() + pos); in Subtract() 134 for (auto& param : data_) { in Filter() 139 std::swap(data_, result); in Filter() [all …]
|
/hardware/libhardware/modules/camera/3_4/arc/ |
D | frame_buffer.cpp | 17 : data_(nullptr), in FrameBuffer() 39 data_ = buffer_.get(); in AllocatedFrameBuffer() 45 data_ = buffer_.get(); in AllocatedFrameBuffer() 54 data_ = buffer_.get(); in SetDataSize() 60 void AllocatedFrameBuffer::Reset() { memset(data_, 0, buffer_size_); } in Reset() 89 data_ = static_cast<uint8_t*>(addr); in Map() 96 if (is_mapped_ && munmap(data_, buffer_size_)) { in Unmap() 166 data_ = static_cast<uint8_t*>(addr); in Map()
|
D | frame_buffer.h | 30 uint8_t* GetData() const { return data_; } in GetData() 41 uint8_t* data_;
|
/hardware/interfaces/confirmationui/support/src/ |
D | cbor.cpp | 31 auto pos = state.data_; in writeBytes() 60 uint8_t& header = *wState.data_; in writeHeader()
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/ |
D | GenericOperation.h | 90 formattedMessageLength_ = state.data_ - formattedMessageBuffer_; in init()
|