/system/chre/util/include/chre/util/ |
D | heap_impl.h | 31 void siftUp(ContainerType& container, size_t index, in siftUp() argument 33 CHRE_ASSERT(index < container.size()); in siftUp() 37 if (compare(container[parent], container[current])) { in siftUp() 38 container.swap(parent, current); in siftUp() 47 void siftDown(ContainerType& container, size_t index, in siftDown() argument 49 CHRE_ASSERT(index < container.size()); in siftDown() 54 while (index < container.size() - 1) { in siftDown() 58 if (child + 1 < container.size() - 1 && in siftDown() 59 compare(container[child], container[child + 1])) { in siftDown() 65 if (child < container.size() - 1 && in siftDown() [all …]
|
D | heap.h | 39 void push_heap(ContainerType& container, const CompareFunction& compare); 50 void pop_heap(ContainerType& container, const CompareFunction& compare); 63 void remove_heap(ContainerType& container, size_t index,
|
/system/chre/platform/android/ |
D | host_link.cc | 60 fbs::MessageContainerT container; in sendFlatbufferToHost() local 61 container.message.Set(std::move(message)); in sendFlatbufferToHost() 62 container.host_addr.reset(new fbs::HostAddress(hostClientId)); in sendFlatbufferToHost() 65 auto containerOffset = CreateMessageContainer(builder, &container, nullptr); in sendFlatbufferToHost() 185 fbs::MessageContainerT container; in handleMessageFromHost() local 186 fbs::GetMessageContainer(message)->UnPackTo(&container); in handleMessageFromHost() 187 uint16_t hostClientId = container.host_addr->client_id(); in handleMessageFromHost() 188 switch (container.message.type) { in handleMessageFromHost() 190 handleNanoappMessage(*container.message.AsNanoappMessage()); in handleMessageFromHost() 203 *container.message.AsLoadNanoappRequest()); in handleMessageFromHost() [all …]
|
/system/chre/util/tests/ |
D | optional_test.cc | 161 Optional<MovableButNonCopyable> container; in TEST() local 162 EXPECT_FALSE(container.has_value()); in TEST() 164 container = std::move(transferee1); in TEST() 165 EXPECT_TRUE(container.has_value()); in TEST() 166 EXPECT_EQ(container->getValue(), kValue1); in TEST() 169 container.reset(); in TEST() 170 EXPECT_FALSE(container.has_value()); in TEST() 172 container = std::move(transferee2); in TEST() 173 EXPECT_TRUE(container.has_value()); in TEST() 174 EXPECT_EQ(container->getValue(), kValue2); in TEST()
|
/system/chre/host/common/ |
D | host_protocol_host.cc | 52 std::unique_ptr<fbs::MessageContainerT> container = in decodeMessageFromChre() local 54 fbs::ChreMessageUnion& msg = container->message; in decodeMessageFromChre() 56 switch (container->message.type) { in decodeMessageFromChre() 141 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in extractHostClientIdAndType() local 144 *hostClientId = container->host_addr()->client_id(); in extractHostClientIdAndType() 145 *messageType = container->message_type(); in extractHostClientIdAndType() 159 fbs::MessageContainer *container = fbs::GetMutableMessageContainer(message); in mutateHostClientId() local 162 container->mutable_host_addr()->mutate_client_id(hostClientId); in mutateHostClientId()
|
/system/chre/platform/shared/ |
D | host_protocol_chre.cc | 52 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in decodeMessageFromHost() local 53 uint16_t hostClientId = container->host_addr()->client_id(); in decodeMessageFromHost() 55 switch (container->message_type()) { in decodeMessageFromHost() 58 container->message()); in decodeMessageFromHost() 78 container->message()); in decodeMessageFromHost() 92 container->message()); in decodeMessageFromHost() 101 container->message()); in decodeMessageFromHost() 112 static_cast<uint8_t>(container->message_type())); in decodeMessageFromHost()
|
D | host_protocol_common.cc | 50 auto container = fbs::CreateMessageContainer( in finalize() local 52 builder.Finish(container); in finalize()
|
/system/security/keystore/ |
D | auth_token_table.cpp | 61 typename Container::iterator find_if(Container& container, Predicate pred) { in find_if() argument 62 return std::find_if(container.begin(), container.end(), pred); in find_if() 66 typename Container::iterator remove_if(Container& container, Predicate pred) { in remove_if() argument 67 return std::remove_if(container.begin(), container.end(), pred); in remove_if() 70 template <typename Container> typename Container::iterator min_element(Container& container) { in min_element() argument 71 return std::min_element(container.begin(), container.end()); in min_element()
|
/system/core/libcutils/include/cutils/ |
D | list.h | 32 #define node_to_item(node, container, member) \ argument 33 (container *) (((char*) (node)) - offsetof(container, member))
|
/system/core/libcutils/include_vndk/cutils/ |
D | list.h | 32 #define node_to_item(node, container, member) \ argument 33 (container *) (((char*) (node)) - offsetof(container, member))
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_builder.cpp | 98 std::set<std::string>* container) { in StringPointerFromContainer() argument 100 auto [iterator, _] = container->emplace(string); in StringPointerFromContainer()
|
D | trie_builder.h | 113 std::set<std::string>* container);
|
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
D | CameraActivity.java | 30 .replace(R.id.container, CameraAvgFragment.newInstance()) in onCreate()
|
D | CameraAvgFragment.java | 423 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument 425 return inflater.inflate(R.layout.fragment_camera_avg, container, false); in onCreateView()
|
/system/media/camera/docs/ |
D | metadata_template.mako | 115 % if prop.container is not None: 116 container="${prop.container}" 136 % if prop.container == 'array': 142 % elif prop.container == 'tuple':
|
D | metadata_helpers.py | 192 if entry.container == 'array': 413 if entry.container == 'array': 487 if entry.container == 'array':
|
D | html.mako | 267 % if prop.container is not None: 271 % if prop.container == 'array': 275 % elif prop.container == 'tuple':
|
D | camera_metadata_tags.mako | 36 if entry.container == 'array':
|
D | ndk_camera_metadata_tags.mako | 49 if entry.container == 'array':
|
D | HidlMetadata.mako | 23 if entry.container == 'array':
|
/system/chre/host/msm/daemon/ |
D | chre_daemon.cc | 204 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in parseAndEmitLogMessages() local 206 container->message()); in parseAndEmitLogMessages() 789 std::unique_ptr<fbs::MessageContainerT> container = in handleDaemonMessage() local 791 if (container->message.type in handleDaemonMessage() 795 const auto *response = container->message.AsLoadNanoappResponse(); in handleDaemonMessage()
|
/system/tools/hidl/ |
D | hidl-gen_y.yy | 46 void enterScope(AST* /* ast */, Scope** scope, Scope* container) { 47 CHECK(container->parent() == (*scope)); 48 *scope = container; 926 CompoundType *container = new CompoundType( 928 enterScope(ast, scope, container); 933 CompoundType *container = static_cast<CompoundType *>(*scope); 936 ast->addScopedType(container, *scope); 937 $$ = container;
|
/system/extras/boottime_tools/io_analysis/ |
D | check_file_read.py | 59 def add_if_single_block(self, container, size, offset, process_name): argument 62 offsets = container.get(process_name) 65 container[process_name] = offsets
|
/system/media/audio_utils/tests/ |
D | primitives_tests.cpp | 40 static void zeroFill(T &container) { in zeroFill() argument 41 memset(container.data(), 0, container.size() * sizeof(container[0])); in zeroFill()
|
/system/apex/apexd/ |
D | Android.bp | 9 "bugprone-sizeof-container",
|