Home
last modified time | relevance | path

Searched refs:erase (Results 1 – 25 of 529) sorted by relevance

12345678910>>...22

/frameworks/native/services/inputflinger/
DPreferStylusOverTouchBlocker.cpp52 it1 = set1.erase(it1); in intersectInPlace()
64 set1.erase(it1, set1.end()); in intersectInPlace()
79 it1 = map.erase(it1); in intersectInPlace()
91 map.erase(it1, map.end()); in intersectInPlace()
113 mCanceledDevices.erase(args.deviceId); in processMotion()
114 mLastTouchEvents.erase(args.deviceId); in processMotion()
147 mActiveStyli.erase(args.deviceId); in processMotion()
162 mCanceledDevices.erase(args.deviceId); in processMotion()
163 mLastTouchEvents.erase(args.deviceId); in processMotion()
196 mDevicesWithMixedToolType.erase(args.deviceId); in notifyDeviceReset()
[all …]
/frameworks/av/services/mediametrics/include/mediametricsservice/
DLruSet.h88 mAccessOrder.erase(it->second); // move-to-front on the chronologically ordered list. in add()
92 mMap.erase(last); in add()
107 mAccessOrder.erase(it->second); in remove()
108 mMap.erase(it); in remove()
116 mAccessOrder.erase(it->second); in check()
/frameworks/rs/script_api/
DUtilities.cpp66 s->erase(); in trimSpaces()
69 s->erase(end + 1); in trimSpaces()
73 s->erase(0, start); in trimSpaces()
83 s.erase(p, match.size()); in stringReplace()
92 s->erase(p, 1); in charRemoved()
184 s.erase(std::remove(s.begin(), s.end(), '@'), s.end()); in makeAttributeTag()
216 mIndent.erase(0, TAB_SIZE); in decreaseIndent()
DScanner.cpp151 documentation->erase(); in parseDocumentation()
159 s->erase(docStart); in parseDocumentation()
171 s.erase(optionStart); in parseArgString()
188 s.erase(nameStart); in parseArgString()
/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp56 it = map.erase(it); in eraseByValue()
77 mTimelines.erase(it); in trackListener()
111 timeline.connectionTimelines.erase(connectionIt); in trackFinishedEvent()
138 timeline.connectionTimelines.erase(connectionIt); in trackGraphicsLatency()
159 mTimelines.erase(it); in reportAndPruneMatureRecords()
160 mEventTimes.erase(mEventTimes.begin()); in reportAndPruneMatureRecords()
DAnrTracker.cpp34 void AnrTracker::erase(nsecs_t timeoutTime, const sp<IBinder>& token) { in erase() function in android::inputdispatcher::AnrTracker
38 mAnrTimeouts.erase(it); in erase()
45 it = mAnrTimeouts.erase(it); in eraseToken()
/frameworks/av/media/libstagefright/rtsp/
DAH263Assembler.cpp67 it = queue->erase(it); in addPacket()
99 queue->erase(queue->begin()); in addPacket()
113 queue->erase(queue->begin()); in addPacket()
121 queue->erase(queue->begin()); in addPacket()
129 queue->erase(queue->begin()); in addPacket()
146 queue->erase(queue->begin()); in addPacket()
DAAMRAssembler.cpp115 it = queue->erase(it); in addPacket()
137 queue->erase(queue->begin()); in addPacket()
154 queue->erase(queue->begin()); in addPacket()
168 queue->erase(queue->begin()); in addPacket()
195 queue->erase(queue->begin()); in addPacket()
215 queue->erase(queue->begin()); in addPacket()
DAMPEG2TSAssembler.cpp68 it = queue->erase(it); in addPacket()
90 queue->erase(queue->begin()); in addPacket()
102 queue->erase(queue->begin()); in addPacket()
DAMPEG4ElementaryAssembler.cpp229 it = queue->erase(it); in addPacket()
262 queue->erase(queue->begin()); in addPacket()
270 queue->erase(queue->begin()); in addPacket()
356 queue->erase(queue->begin()); in addPacket()
370 queue->erase(queue->begin()); in addPacket()
375 queue->erase(queue->begin()); in addPacket()
394 queue->erase(queue->begin()); in addPacket()
DARawAudioAssembler.cpp68 it = queue->erase(it); in addPacket()
90 queue->erase(queue->begin()); in addPacket()
102 queue->erase(queue->begin()); in addPacket()
/frameworks/av/media/module/bufferpool/1.0/
DAccessor.cpp40 mAccessors.erase(connectionId); in remove()
44 mConnectionToCookie.erase(it); in remove()
47 cit->second.erase(connectionId); in remove()
49 mCookieToConnections.erase(cit); in remove()
86 mAccessors.erase(accessorIt); in serviceDied()
88 mConnectionToCookie.erase(*conIt); in serviceDied()
90 mCookieToConnections.erase(it); in serviceDied()
DAccessorImpl.cpp107 bool erase(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in erase() function
111 if (iter->second.erase(value) > 0) { in erase()
115 mapOfSet->erase(iter); in erase()
278 bool deleted = erase(&mUsingBuffers, connectionId, bufferId); in handleReleaseBuffer()
288 erase(&mUsingConnections, bufferId, connectionId); in handleReleaseBuffer()
298 mCompletedTransactions.erase(completed); in handleTransferTo()
353 bool deleted = erase(&mPendingTransactions, message.connectionId, in handleTransferResult()
369 mTransactions.erase(found); in handleTransferResult()
427 bool deleted = erase(&mUsingConnections, bufferId, connectionId); in handleClose()
439 mUsingBuffers.erase(buffers); in handleClose()
[all …]
/frameworks/native/libs/binder/
DPersistableBundle.cpp87 size_t num_erased = (map).erase(key); \
158 size_t PersistableBundle::erase(const String16& key) { in erase() function in android::os::PersistableBundle
169 return mPersistableBundleMap.erase(key); in erase()
173 erase(key); in putBoolean()
178 erase(key); in putInt()
183 erase(key); in putLong()
188 erase(key); in putDouble()
193 erase(key); in putString()
198 erase(key); in putBooleanVector()
203 erase(key); in putIntVector()
[all …]
/frameworks/native/libs/ftl/
Dsmall_map_test.cpp338 EXPECT_FALSE(map.erase(0)); // Key not found. in TEST()
340 EXPECT_TRUE(map.erase(2)); in TEST()
343 EXPECT_TRUE(map.erase(1)); in TEST()
346 EXPECT_TRUE(map.erase(4)); in TEST()
349 EXPECT_TRUE(map.erase(3)); in TEST()
350 EXPECT_FALSE(map.erase(3)); // Key not found. in TEST()
360 EXPECT_FALSE(map.erase(0)); // Key not found. in TEST()
362 EXPECT_TRUE(map.erase(2)); in TEST()
365 EXPECT_TRUE(map.erase(1)); in TEST()
368 EXPECT_TRUE(map.erase(4)); in TEST()
[all …]
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DInputBufferManager.cpp147 mTrackedBufferCache.erase(bufferId); in _unregisterFrameData()
151 frameIndex2BufferIds.erase(findFrameIndex); in _unregisterFrameData()
153 mTrackedBuffersMap.erase(findListener); in _unregisterFrameData()
165 deathNotifications.indices.erase(findFrameIndex); in _unregisterFrameData()
208 mTrackedBufferCache.erase(bufferId); in _unregisterFrameData()
213 mTrackedBuffersMap.erase(findListener); in _unregisterFrameData()
216 mDeathNotifications.erase(listener); in _unregisterFrameData()
299 bufferIds.erase(findBufferId); in _onBufferDestroyed()
301 frameIndex2BufferIds.erase(findFrameIndex); in _onBufferDestroyed()
303 mTrackedBuffersMap.erase(findListener); in _onBufferDestroyed()
[all …]
/frameworks/av/media/module/bufferpool/2.0/
DAccessor.cpp40 mAccessors.erase(connectionId); in remove()
44 mConnectionToCookie.erase(it); in remove()
47 cit->second.erase(connectionId); in remove()
49 mCookieToConnections.erase(cit); in remove()
86 mAccessors.erase(accessorIt); in serviceDied()
88 mConnectionToCookie.erase(*conIt); in serviceDied()
90 mCookieToConnections.erase(it); in serviceDied()
DAccessorImpl.cpp119 bool erase(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in erase() function
123 if (iter->second.erase(value) > 0) { in erase()
127 mapOfSet->erase(iter); in erase()
343 mAcks.erase(conId); in onClose()
344 mObservers.erase(conId); in onClose()
374 it = mPendings.erase(it); in onBufferInvalidated()
456 bool deleted = erase(&mUsingBuffers, connectionId, bufferId); in handleReleaseBuffer()
468 mBuffers.erase(iter); in handleReleaseBuffer()
473 erase(&mUsingConnections, bufferId, connectionId); in handleReleaseBuffer()
483 mCompletedTransactions.erase(completed); in handleTransferTo()
[all …]
DObserver.cpp39 mClients.erase(it); in onMessage()
53 it = mClients.erase(it); in addClient()
64 mClients.erase(connectionId); in delClient()
/frameworks/native/services/inputflinger/tests/
DAnrTracker_test.cpp65 tracker.erase(1, nullptr); in TEST()
129 tracker.erase(2, token2); in TEST()
150 tracker.erase(2, nullptr); in TEST()
155 tracker.erase(1, sp<BBinder>::make()); in TEST()
160 tracker.erase(2, sp<BBinder>::make()); in TEST()
/frameworks/av/media/libaudiousecasevalidation/
DUsecaseLookup.cpp43 m_streams.erase(streamId); in removeStream()
48 it = m_tracks.erase(it); in removeStream()
78 m_tracks.erase(portId); in removeTrack()
/frameworks/compile/mclinker/lib/MC/
DMCLDDirectory.cpp28 Directory::m_Path.native().erase(Directory::m_Path.native().begin()); in MCLDDirectory()
42 Directory::m_Path.native().erase(Directory::m_Path.native().begin()); in MCLDDirectory()
56 Directory::m_Path.native().erase(Directory::m_Path.native().begin()); in MCLDDirectory()
70 Directory::m_Path.native().erase(Directory::m_Path.native().begin()); in assign()
/frameworks/base/libs/hwui/
DRootRenderNode.cpp131 it = mRunningVDAnimators.erase(it); in runVectorDrawableAnimators()
145 it = mPausedVDAnimators.erase(it); in runVectorDrawableAnimators()
160 it = mRunningVDAnimators.erase(it); in runVectorDrawableAnimators()
174 it = mPausedVDAnimators.erase(it); in runVectorDrawableAnimators()
198 it = mPausedVDAnimators.erase(it); in trimPausedVDAnimators()
/frameworks/av/media/module/libmediatranscoding/
DTranscodingUidPolicy.cpp118 stateIt->second.erase(uid); in unregisterMonitorUid()
120 mStateUidMap.erase(stateIt); in unregisterMonitorUid()
123 mUidStateMap.erase(it); in unregisterMonitorUid()
159 mStateUidMap[it->second].erase(uid); in onUidStateChanged()
/frameworks/native/services/surfaceflinger/FrontEnd/
DSwapErase.h31 vec.erase(vec.end() - 1); in swapErase()
44 vec.erase(vec.end() - 1); in swapErase()

12345678910>>...22