Home
last modified time | relevance | path

Searched refs:inserted (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/mapper/gestures/
DPropertyProvider.cpp113 const auto [it, inserted] = in createIntArrayProperty()
115 LOG_ALWAYS_FATAL_IF(!inserted, "Gesture property \"%s\" already exists.", name.c_str()); in createIntArrayProperty()
122 const auto [it, inserted] = in createBoolArrayProperty()
124 LOG_ALWAYS_FATAL_IF(!inserted, "Gesture property \"%s\" already exists.", name.c_str()); in createBoolArrayProperty()
130 const auto [it, inserted] = in createRealArrayProperty()
132 LOG_ALWAYS_FATAL_IF(!inserted, "Gesture property \"%s\" already exists.", name.c_str()); in createRealArrayProperty()
138 const auto [it, inserted] = mProperties.insert(std::pair{name, GesturesProp(name, loc, init)}); in createStringProperty()
139 LOG_ALWAYS_FATAL_IF(!inserted, "Gesture property \"%s\" already exists.", name.c_str()); in createStringProperty()
/frameworks/libs/binary_translation/runtime_primitives/
Dtranslation_cache.cc89 bool inserted = translating_.insert(entry).second; in LockForTranslationUnsafe() local
90 CHECK(inserted); in LockForTranslationUnsafe()
194 auto [it, inserted] = guest_entries_.emplace( in AddUnsafe()
197 if (inserted) { in AddUnsafe()
201 *added = inserted; in AddUnsafe()
/frameworks/native/libs/renderengine/skia/
DGraphiteVkRenderEngine.cpp119 const bool inserted = context->graphiteContext()->insertRecording(insertInfo); in flushAndSubmit() local
120 LOG_ALWAYS_FATAL_IF(!inserted, in flushAndSubmit()
/frameworks/base/tools/aapt2/format/binary/
DResEntryWriter.h155 auto [it, inserted] = entry_offsets.insert({Ref{*out_entry}, offset}); in WriteItem()
156 if (inserted) { in WriteItem()
/frameworks/native/services/inputflinger/
DInputDeviceMetricsCollector.cpp340 auto [activeSourceIt, inserted] = in recordUsage()
342 if (!inserted) { in recordUsage()
358 auto [activeUidIt, inserted] = mActiveSessionsByUid.try_emplace(uid, timestamp, timestamp); in recordInteraction()
359 if (!inserted) { in recordInteraction()
/frameworks/base/cmds/idmap2/libidmap2/
DResourceMapping.cpp178 auto[iter, inserted] = target_map_.try_emplace(target_resource, ConfigMap()); in AddMapping()
180 if (!inserted && std::holds_alternative<ResourceId>(resource_value)) { in AddMapping()
/frameworks/libs/binary_translation/kernel_api/
Dopen_emulation.cc58 auto [unused_it, inserted] = fds_.insert(std::make_pair(fd, 0)); in Add()
59 if (!inserted) { in Add()
/frameworks/native/libs/input/
DInputConsumerNoResampling.cpp369 const auto [_, inserted] = in readAllMessages()
371 LOG_ALWAYS_FATAL_IF(!inserted, "Already have a consume time for seq=%" PRIu32, in readAllMessages()
467 const auto [_, inserted] = mBatchedSequenceNumbers.insert({*firstSeqForBatch, {}}); in consumeBatchedInputEvents()
468 if (!inserted) { in consumeBatchedInputEvents()
DInputConsumer.cpp240 const auto [_, inserted] = in consume()
242 LOG_ALWAYS_FATAL_IF(!inserted, "Already have a consume time for seq=%" PRIu32, in consume()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerServiceUtils.cpp167 auto [it, inserted] = map.emplace(pid, infosForPid); in getResourceInfosForEdit()
190 auto [it, inserted] = infos.emplace(clientInfo.id, info); in getResourceInfoForEdit()
DResourceTracker.cpp88 auto [it, inserted] = mMap.emplace(pid, infosForPid); in getResourceInfosForEdit()
/frameworks/base/services/core/java/com/android/server/am/
DUidObserverController.java595 boolean inserted = false; in addUid()
597 if (!inserted) { in addUid()
607 inserted = true; in addUid()
614 if (!inserted) { in addUid()
/frameworks/libs/binary_translation/native_bridge/
Dnative_bridge.cc281 auto [insert_it, inserted] = in GetExportedNamespace()
285 CHECK(inserted); in GetExportedNamespace()
/frameworks/base/tools/aapt2/
Dformats.md21 boundary, so if a previous entry ends unaligned, padding must be inserted.
/frameworks/base/libs/hwui/jni/
DTypeface.cpp312 bool inserted = fcToIndex.emplace(typeface->fFontCollection, fontCollections.size()).second; in Typeface_writeTypefaces() local
313 if (inserted) { in Typeface_writeTypefaces()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerLifecycleManager.cpp47 auto [it, inserted] = mIdToLayer.try_emplace(layer.id, References{.owner = layer}); in addLayers()
48 LLOG_ALWAYS_FATAL_WITH_TRACE_IF(!inserted, in addLayers()
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp154 if (auto [it, inserted] = in ParseFeatureFlagsParameter()
156 !inserted) { in ParseFeatureFlagsParameter()
/frameworks/native/libs/binder/
DRpcState.cpp142 auto&& [it, inserted] = mNodeForAddress.insert({RpcWireAddress::toRaw(address), in onBinderLeaving()
148 if (inserted) { in onBinderLeaving()
192 auto&& [it, inserted] = mNodeForAddress.insert({address, BinderNode{}}); in onBinderEntering()
193 LOG_ALWAYS_FATAL_IF(!inserted, "Failed to insert binder when creating proxy"); in onBinderEntering()
/frameworks/proto_logging/stats/atoms/healthfitness/api/
Dapi_extension_atoms.proto55 // Number of records being inserted/updated etc. (If any)
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.cpp258 auto [_, inserted] = mPortConfigs.insert_or_assign(id, *result); in createOrUpdatePortConfig()
259 *created = inserted; in createOrUpdatePortConfig()
1022 const auto [it, inserted] = mPorts.insert(std::make_pair(connectedPort.id, connectedPort)); in setDevicePortConnectedState()
1023 LOG_ALWAYS_FATAL_IF(!inserted, in setDevicePortConnectedState()
/frameworks/base/tools/protologtool/
DREADME.md36 …string, log level and log group name and inserted after the `ProtoLogGroup` argument. After the ha…
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp661 auto [name_to_actor_it, inserted] = in Load()
663 if (!inserted) { in Load()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp294 bool inserted = in collectAllFontFamilies() local
296 if (inserted) { in collectAllFontFamilies()
/frameworks/base/services/incremental/
DIncrementalService.cpp593 auto [it, inserted] = mMounts.try_emplace(id, nullptr); in getStorageSlotLocked()
594 if (inserted) { in getStorageSlotLocked()
1568 auto [_, inserted] = mMounts.try_emplace(storageId, ifs); in adoptMountedInstances()
1569 if (!inserted) { in adoptMountedInstances()
1756 auto [_, inserted] = mMounts.try_emplace(storageId, ifs); in mountExistingImage()
1757 if (!inserted) { in mountExistingImage()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt145 respectively, that are to be inserted. <keySize> and <valueSize> specify

12