Home
last modified time | relevance | path

Searched refs:newCount (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DKeySetHandle.java49 protected void setRefCountLPw(int newCount) { in setRefCountLPw() argument
50 mRefCount = newCount; in setRefCountLPw()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java523 int newCount = 1; in incrementUidStatLocked() local
525 newCount = mIntentsPerUid.valueAt(idx) + 1; in incrementUidStatLocked()
526 mIntentsPerUid.setValueAt(idx, newCount); in incrementUidStatLocked()
528 mIntentsPerUid.put(uid, newCount); in incrementUidStatLocked()
534 if (newCount == lowBound) { in incrementUidStatLocked()
537 } else if (newCount > lowBound && newCount <= mConstants.PENDINGINTENT_WARNING_THRESHOLD) { in incrementUidStatLocked()
547 if (newCount == mConstants.PENDINGINTENT_WARNING_THRESHOLD) { in incrementUidStatLocked()
564 final int newCount = mIntentsPerUid.valueAt(idx) - 1; in decrementUidStatLocked() local
566 if (newCount == mConstants.PENDINGINTENT_WARNING_THRESHOLD - RECENT_N) { in decrementUidStatLocked()
569 if (newCount == 0) { in decrementUidStatLocked()
[all …]
/frameworks/base/libs/hwui/
DVertexBuffer.h130 void updateIndexCount(unsigned int newCount) { in updateIndexCount() argument
131 mIndexCount = std::min(newCount, mAllocatedIndexCount); in updateIndexCount()
133 void updateVertexCount(unsigned int newCount) { in updateVertexCount() argument
134 mVertexCount = std::min(newCount, mAllocatedVertexCount); in updateVertexCount()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrame.java188 int newCount = newDims == null ? 0 : newDims.length; in resize() local
189 if (oldCount != newCount) { in resize()
191 + "Frame to " + newCount + "-dimensional Frame!"); in resize()
/frameworks/base/tools/traceinjection/test/com/android/traceinjection/
DInjectionTests.java215 final int newCount = getTraceCount(tag) - 1; in onTraceEnd() local
216 if (newCount < 0) { in onTraceEnd()
219 mTraceCountsByTag.put(tag, newCount); in onTraceEnd()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepository.kt263 val newCount = getVisibleTaskCount(displayId) in <lambda>() constant
266 if (prevCount != newCount) { in <lambda>()
278 newCount in <lambda>()
280 notifyVisibleTaskListeners(displayId, newCount) in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java208 int newCount = receivedCount + 1; in scanRawTable() local
209 if (newCount == tracker.getMessageCount()) { in scanRawTable()
217 multiPartReceivedCount.put(reference, newCount); in scanRawTable()
/frameworks/base/services/core/java/com/android/server/speech/
DSpeechRecognitionManagerServiceImpl.java264 int newCount = mSessionCountByUid.get(uid, 1) - 1; in decrementSessionCountForUidLocked() local
265 if (newCount > 0) { in decrementSessionCountForUidLocked()
266 mSessionCountByUid.put(uid, newCount); in decrementSessionCountForUidLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt231 val newCount = in getUnreadCount() constant
237 ConversationState(newCount, entry.sbn.notification) in getUnreadCount()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java289 int newCount; in handleMessage() local
292 newCount = adapter.mCache.getTemporaryMetaData().count; in handleMessage()
293 visibleWindow = adapter.getVisibleWindow(newCount); in handleMessage()
303 if (position < newCount) { in handleMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DSmsMmsAnalyticsProvider.java239 int newCount = count + 1; in updateIfEntryExistsOtherwiseInsert() local
241 values.put(SmsMmsAnalyticsTable.COUNT, newCount); in updateIfEntryExistsOtherwiseInsert()
DCallAnalyticsProvider.java245 int newCount = count + 1; in updateEntryIfExistsOrInsert() local
247 values.put(CallAnalyticsTable.COUNT, newCount); in updateEntryIfExistsOrInsert()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java2121 int newCount = mChildren.size(); in forAllRootTasks() local
2122 i -= count - newCount; in forAllRootTasks()
2123 count = newCount; in forAllRootTasks()
2219 int newCount = mChildren.size(); in forAllRootTasks() local
2220 i -= count - newCount; in forAllRootTasks()
2221 count = newCount; in forAllRootTasks()
2333 int newCount = mChildren.size(); in getRootTask() local
2334 i -= count - newCount; in getRootTask()
2335 count = newCount; in getRootTask()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp850 jsize newCount = (curCount == 0) ? 10 : (curCount*2); in android_os_Process_getPids() local
851 jintArray newArray = env->NewIntArray(newCount); in android_os_Process_getPids()
863 curCount = newCount; in android_os_Process_getPids()