Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/av/media/libstagefright/omx/
DOMXStore.cpp54 mServiceAttributeList.reserve(serviceAttributeMap.size()); in OMXStore()
63 mRoleList.reserve(roleMap.size()); in OMXStore()
74 nodeList.reserve(rolePair.second.nodeList.size()); in OMXStore()
80 attributeList.reserve(nodePair.second.attributeList.size()); in OMXStore()
/frameworks/base/libs/hwui/tests/microbench/
DTaskManagerBench.cpp43 tasks.reserve(state.max_iterations); in BM_TaskManager_allocateTask()
56 tasks.reserve(state.max_iterations); in BM_TaskManager_enqueueTask()
74 tasks.reserve(state.max_iterations); in BM_TaskManager_enqueueRunDeleteTask()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java273 int reserve = displayWidth * displayHeight * 4 * 3 / 1024; in updateOomLevels() local
278 reserve = reserve_abs; in updateOomLevels()
282 reserve += reserve_adj; in updateOomLevels()
283 if (reserve < 0) { in updateOomLevels()
284 reserve = 0; in updateOomLevels()
297 SystemProperties.set("sys.sysctl.extra_free_kbytes", Integer.toString(reserve)); in updateOomLevels()
/frameworks/minikin/tests/stresstest/
DMultithreadTest.cpp49 text.reserve((lettersInWord + 1) * wordsInText - 1); in generateTestText()
96 threads.reserve(NUM_THREADS); in TEST()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposerBufferCache.cpp25 mBuffers.reserve(BufferQueue::NUM_BUFFER_SLOTS); in HWComposerBufferCache()
DComposerHal.cpp910 mCurrentReturnData->changedLayers.reserve(count); in parseSetChangedCompositionTypes()
911 mCurrentReturnData->compositionTypes.reserve(count); in parseSetChangedCompositionTypes()
935 mCurrentReturnData->requestedLayers.reserve(count); in parseSetDisplayRequests()
936 mCurrentReturnData->requestMasks.reserve(count); in parseSetDisplayRequests()
973 mCurrentReturnData->releasedLayers.reserve(count); in parseSetReleaseFences()
974 mCurrentReturnData->releaseFences.reserve(count); in parseSetReleaseFences()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOT.cpp105 void MipsGOT::reserve(size_t pNum) { in reserve() function in mcld::MipsGOT
124 reserve(it->m_LocalNum); in finalizeScanning()
126 reserve(it->m_GlobalNum); in finalizeScanning()
128 reserve(it->m_TLSNum); in finalizeScanning()
134 reserve(getGlobalNum() - it->m_GlobalNum); in finalizeScanning()
/frameworks/av/camera/
DICameraRecordingProxyListener.cpp146 timestamps.reserve(n); in onTransact()
147 handles.reserve(n); in onTransact()
DICameraClient.cpp192 timestamps.reserve(n); in onTransact()
193 handles.reserve(n); in onTransact()
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp132 roles.reserve(inRoleList.size()); in buildMediaCodecList()
141 nodes.reserve(inRole.nodes.size()); in buildMediaCodecList()
148 attributes.reserve(inNode.attributes.size()); in buildMediaCodecList()
/frameworks/native/opengl/libagl/
DTokenizer.h37 status_t reserve(uint32_t token);
DTokenManager.cpp28 mTokenizer.reserve(0); in TokenManager()
/frameworks/compile/mclinker/lib/MC/
DAttributeSet.cpp22 m_AttrSet.reserve(pNum); in AttributeSet()
DSearchDirs.cpp31 m_DirList.reserve(8); in SearchDirs()
37 m_DirList.reserve(8); in SearchDirs()
/frameworks/av/drm/common/
DDrmEngineBase.cpp82 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights() argument
83 return onConsumeRights(uniqueId, decryptHandle, action, reserve); in consumeRights()
/frameworks/compile/mclinker/include/mcld/Target/
DKeyEntryMap.h78 void reserve(size_t pSize) { m_Pool.reserve(pSize); } in reserve() function
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) { in consumeRights() argument
81 return mDrmManagerClientImpl->consumeRights(mUniqueId, decryptHandle, action, reserve); in consumeRights()
/frameworks/av/drm/common/include/
DDrmEngineBase.h62 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
269 int action, bool reserve) = 0;
DIDrmManagerService.h118 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
206 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp69 sorted_spans.reserve(string.value->spans.size()); in MergeSpans()
78 sorted_untranslatable_sections.reserve(string.untranslatable_sections.size()); in MergeSpans()
85 merged_spans.reserve(sorted_spans.size() + sorted_untranslatable_sections.size()); in MergeSpans()
/frameworks/rs/rsov/compiler/
DGlobalMergePass.cpp57 Tys.reserve(Globals.size()); in runOnModule()
177 Initializers.reserve(Globals.size()); in CreateInitFunction()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dbuffer_wrapper.h137 void reserve(size_type size) { buffer_.reserve(size); } in reserve() function
/frameworks/base/libs/hwui/utils/
DFatVector.h93 this->reserve(SIZE); in FatVector()
/frameworks/base/tools/streaming_proto/
Dstring_utils.cpp15 result.reserve(N); in to_camel_case()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameManager.java193 if (reserve(backing.getSize())) { in cacheBacking()
216 private boolean reserve(int size) { in reserve() method in FrameManager.PriorityBackingCache

12345