/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 | 55 fbs::MessageContainerT container; in sendFlatbufferToHost() local 56 container.message.Set(std::move(message)); in sendFlatbufferToHost() 57 container.host_addr.reset(new fbs::HostAddress(hostClientId)); in sendFlatbufferToHost() 60 auto containerOffset = CreateMessageContainer(builder, &container, nullptr); in sendFlatbufferToHost() 178 fbs::MessageContainerT container; in handleMessageFromHost() local 179 fbs::GetMessageContainer(message)->UnPackTo(&container); in handleMessageFromHost() 180 uint16_t hostClientId = container.host_addr->client_id(); in handleMessageFromHost() 181 switch (container.message.type) { in handleMessageFromHost() 183 handleNanoappMessage(*container.message.AsNanoappMessage()); in handleMessageFromHost() 196 *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 | 53 std::unique_ptr<fbs::MessageContainerT> container = in decodeMessageFromChre() local 55 fbs::ChreMessageUnion &msg = container->message; in decodeMessageFromChre() 57 switch (container->message.type) { in decodeMessageFromChre() 146 const fbs::MessageContainer *container = in extractHostClientIdAndType() local 150 *hostClientId = container->host_addr()->client_id(); in extractHostClientIdAndType() 151 *messageType = container->message_type(); in extractHostClientIdAndType() 165 fbs::MessageContainer *container = fbs::GetMutableMessageContainer(message); in mutateHostClientId() local 168 container->mutable_host_addr()->mutate_client_id(hostClientId); in mutateHostClientId()
|
D | daemon_base.cc | 176 std::unique_ptr<fbs::MessageContainerT> container = in onMessageReceived() local 178 const auto *logMessage = container->message.AsLogMessage(); in onMessageReceived() 184 std::unique_ptr<fbs::MessageContainerT> container = in onMessageReceived() local 186 const auto *logMessage = container->message.AsLogMessageV2(); in onMessageReceived() 231 std::unique_ptr<fbs::MessageContainerT> container = in handleDaemonMessage() local 233 if (container->message.type != fbs::ChreMessage::LoadNanoappResponse) { in handleDaemonMessage() 236 const auto *response = container->message.AsLoadNanoappResponse(); in handleDaemonMessage()
|
/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 static_cast<const fbs::NanoappMessage *>(container->message()); in decodeMessageFromHost() 78 static_cast<const fbs::LoadNanoappRequest *>(container->message()); in decodeMessageFromHost() 93 container->message()); in decodeMessageFromHost() 102 static_cast<const fbs::TimeSyncMessage *>(container->message()); in decodeMessageFromHost() 114 container->message()); in decodeMessageFromHost() 127 static_cast<uint8_t>(container->message_type())); in decodeMessageFromHost()
|
D | host_protocol_common.cc | 53 auto container = in finalize() local 55 builder.Finish(container); in finalize()
|
/system/core/libcutils/include_outside_system/cutils/ |
D | list.h | 32 #define node_to_item(node, container, member) \ argument 33 (container *) (((char*) (node)) - offsetof(container, member))
|
/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/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 | 194 if entry.container == 'array': 415 if entry.container == 'array': 489 if entry.container == 'array':
|
D | camera_metadata_tags.mako | 36 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 | ndk_camera_metadata_tags.mako | 48 if entry.container == 'array':
|
D | HidlMetadata.mako | 23 if entry.container == 'array':
|
/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/core/fs_mgr/libsnapshot/ |
D | make_cow_from_ab_ota.cpp | 476 ExtentIter(const ContainerType& container) in ExtentIter() argument 477 : iter_(container.cbegin()), end_(container.cend()), dst_index_(0) {} in ExtentIter()
|
/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/docs/ |
D | howto.md | 216 The public key is included in the zip container of the APEX as a file entry 242 ### APK (APEX container) signing 294 [APK (APEX container) signing](#apk-apex-container_signing) sections require the
|