Home
last modified time | relevance | path

Searched refs:mInfos (Results 1 – 21 of 21) sorted by relevance

/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DMemInfoReader.java38 Debug.getMemInfo(mInfos); in readMemInfo()
49 return mInfos[Debug.MEMINFO_TOTAL] * 1024; in getTotalSize()
57 return mInfos[Debug.MEMINFO_FREE] * 1024; in getFreeSize()
80 return mInfos[Debug.MEMINFO_TOTAL]; in getTotalSizeKb()
87 return mInfos[Debug.MEMINFO_FREE]; in getFreeSizeKb()
104 + mInfos[Debug.MEMINFO_CACHED] - mInfos[Debug.MEMINFO_MAPPED]; in getCachedSizeKb()
111 long size = mInfos[Debug.MEMINFO_SHMEM] + mInfos[Debug.MEMINFO_SLAB_UNRECLAIMABLE] in getKernelUsedSizeKb()
112 + mInfos[Debug.MEMINFO_VM_ALLOC_USED] + mInfos[Debug.MEMINFO_PAGE_TABLES]; in getKernelUsedSizeKb()
120 return mInfos[Debug.MEMINFO_SWAP_TOTAL]; in getSwapTotalSizeKb()
124 return mInfos[Debug.MEMINFO_SWAP_FREE]; in getSwapFreeSizeKb()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DSystemMemoryUtil.java34 long[] mInfos = new long[Debug.MEMINFO_COUNT]; in getMetrics() local
35 Debug.getMemInfo(mInfos); in getMetrics()
45 long accountedKb = mInfos[Debug.MEMINFO_FREE] in getMetrics()
46 + mInfos[Debug.MEMINFO_ZRAM_TOTAL] in getMetrics()
47 + mInfos[Debug.MEMINFO_BUFFERS] in getMetrics()
48 + mInfos[Debug.MEMINFO_ACTIVE] in getMetrics()
49 + mInfos[Debug.MEMINFO_INACTIVE] in getMetrics()
50 + mInfos[Debug.MEMINFO_UNEVICTABLE] in getMetrics()
51 + mInfos[Debug.MEMINFO_SLAB_UNRECLAIMABLE] in getMetrics()
53 + mInfos[Debug.MEMINFO_VM_ALLOC_USED] in getMetrics()
[all …]
/aosp12/packages/modules/StatsD/statsd/src/metrics/duration_helper/
H A DMaxDurationTracker.cpp41 if (mInfos.find(newKey) != mInfos.end()) { in hitGuardRail()
96 if (mInfos.find(key) == mInfos.end()) { in noteStop()
141 mInfos.erase(key); in noteStop()
146 for (auto& pair : mInfos) { in hasAccumulatingDuration()
184 for (auto it = mInfos.begin(); it != mInfos.end();) { in flushCurrentBucket()
187 it = mInfos.erase(it); in flushCurrentBucket()
230 for (auto& pair : mInfos) { in onSlicedConditionMayChange()
250 for (auto& pair : mInfos) { in onConditionChanged()
257 auto it = mInfos.find(key); in noteConditionChanged()
258 if (it == mInfos.end()) { in noteConditionChanged()
[all …]
H A DMaxDurationTracker.h73 std::unordered_map<HashableDimensionKey, DurationInfo> mInfos;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
H A DQSCarrierGroupController.java73 private final CellSignalState[] mInfos = field in QSCarrierGroupController
195 mInfos[i] = mInfos[i].changeVisibility(false);
257 mInfos[i] = new CellSignalState( in QSCarrierGroupController()
308 if (mInfos[i].visible) { in computeIsSingleCarrier()
348 if (mInfos[i].visible in handleUpdateState()
361 mInfos[0].visible && mInfos[1].visible ? View.VISIBLE : View.GONE); in handleUpdateState()
366 (mInfos[1].visible && mInfos[2].visible) in handleUpdateState()
367 || (mInfos[0].visible && mInfos[2].visible) ? View.VISIBLE : View.GONE); in handleUpdateState()
399 mInfos[slot] = mInfos[slot].changeVisibility(true); in handleUpdateCarrierInfo()
407 mInfos[i] = mInfos[i].changeVisibility(false); in handleUpdateCarrierInfo()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DAppExitInfoTracker.java1302 final int numRep = mInfos.size(); in getExitInfoLocked()
1306 results.add(mInfos.valueAt(i)); in getExitInfoLocked()
1326 list.add(mInfos.valueAt(i)); in getExitInfoLocked()
1357 mInfos.removeAt(oldestIndex); in addExitInfoLocked()
1367 mInfos.append(pid, info); in addExitInfoLocked()
1398 switch (callback.apply(mInfos.keyAt(i), mInfos.valueAt(i))) { in forEachRecordLocked()
1404 mInfos.removeAt(i); in forEachRecordLocked()
1421 list.add(mInfos.valueAt(i)); in dumpLocked()
1434 int size = mInfos.size(); in writeToProto()
1454 mInfos.put(info.getPid(), info); in readFromProto()
[all …]
/aosp12/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java177 private ArrayList<AuthInfo> mInfos; field in ChooseAccountTypeActivity.AccountArrayAdapter
182 mInfos = infos; in AccountArrayAdapter()
201 holder.text.setText(mInfos.get(position).name); in getView()
202 holder.icon.setImageDrawable(mInfos.get(position).drawable); in getView()
H A DChooseAccountActivity.java187 private AccountInfo[] mInfos; field in ChooseAccountActivity.AccountArrayAdapter
191 mInfos = infos; in AccountArrayAdapter()
210 holder.text.setText(mInfos[position].name); in getView()
211 holder.icon.setImageDrawable(mInfos[position].drawable); in getView()
/aosp12/hardware/qcom/sm8150p/gps/geofence/
H A DGeofenceAdapter.cpp219 GeofenceInfo* mInfos; in addGeofencesCommand() member
234 mInfos(infos) {} in addGeofencesCommand()
242 if (NULL == mIds || NULL == mOptions || NULL == mInfos) { in addGeofencesCommand()
247 mOptions = mOptions, mInfos = mInfos, mIds = mIds, &mApi = mApi, in addGeofencesCommand()
249 mApi.addGeofence(mIds[i], mOptions[i], mInfos[i], in addGeofencesCommand()
252 mCount = mCount, mIds = mIds, mInfos = mInfos, errs, i] in addGeofencesCommand()
259 mInfos[i]); in addGeofencesCommand()
269 delete[] mInfos; in addGeofencesCommand()
/aosp12/hardware/qcom/sm7250/gps/geofence/
H A DGeofenceAdapter.cpp215 GeofenceInfo* mInfos; in addGeofencesCommand() member
230 mInfos(infos) {} in addGeofencesCommand()
238 if (NULL == mIds || NULL == mOptions || NULL == mInfos) { in addGeofencesCommand()
243 mOptions = mOptions, mInfos = mInfos, mIds = mIds, &mApi = mApi, in addGeofencesCommand()
245 mApi.addGeofence(mIds[i], mOptions[i], mInfos[i], in addGeofencesCommand()
248 mCount = mCount, mIds = mIds, mInfos = mInfos, errs, i] in addGeofencesCommand()
255 mInfos[i]); in addGeofencesCommand()
265 delete[] mInfos; in addGeofencesCommand()
/aosp12/hardware/qcom/sm7150/gps/geofence/
H A DGeofenceAdapter.cpp219 GeofenceInfo* mInfos; in addGeofencesCommand() member
234 mInfos(infos) {} in addGeofencesCommand()
242 if (NULL == mIds || NULL == mOptions || NULL == mInfos) { in addGeofencesCommand()
247 mOptions = mOptions, mInfos = mInfos, mIds = mIds, &mApi = mApi, in addGeofencesCommand()
249 mApi.addGeofence(mIds[i], mOptions[i], mInfos[i], in addGeofencesCommand()
252 mCount = mCount, mIds = mIds, mInfos = mInfos, errs, i] in addGeofencesCommand()
259 mInfos[i]); in addGeofencesCommand()
269 delete[] mInfos; in addGeofencesCommand()
/aosp12/hardware/qcom/sm8150/gps/geofence/
H A DGeofenceAdapter.cpp218 GeofenceInfo* mInfos; in addGeofencesCommand() member
233 mInfos(infos) {} in addGeofencesCommand()
241 if (NULL == mIds || NULL == mOptions || NULL == mInfos) { in addGeofencesCommand()
246 mOptions = mOptions, mInfos = mInfos, mIds = mIds, &mApi = mApi, in addGeofencesCommand()
248 mApi.addGeofence(mIds[i], mOptions[i], mInfos[i], in addGeofencesCommand()
251 mCount = mCount, mIds = mIds, mInfos = mInfos, errs, i] in addGeofencesCommand()
258 mInfos[i]); in addGeofencesCommand()
268 delete[] mInfos; in addGeofencesCommand()
/aosp12/frameworks/av/media/codec2/vndk/
H A DC2Buffer.cpp1260 std::vector<std::shared_ptr<const C2Info>> result(mInfos.size()); in info()
1262 mInfos.begin(), mInfos.end(), result.begin(), in info()
1269 (void) mInfos.erase(info->coreIndex()); in setInfo()
1270 (void) mInfos.insert({ info->coreIndex(), info }); in setInfo()
1275 return mInfos.count(index.coreIndex()) > 0; in hasInfo()
1279 auto it = mInfos.find(index.coreIndex()); in getInfo()
1280 if (it == mInfos.end()) { in getInfo()
1287 auto it = mInfos.find(index.coreIndex()); in removeInfo()
1288 if (it == mInfos.end()) { in removeInfo()
1292 (void) mInfos.erase(it); in removeInfo()
[all …]
/aosp12/packages/apps/Camera2/src/com/android/camera/settings/
H A DCameraSettingsActivity.java148 private CameraDeviceInfo mInfos; field in CameraSettingsActivity.CameraSettingsFragment
182 mInfos = CameraAgentFactory in onCreate()
498 if (mInfos == null) { in loadSizes()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/lib/
H A DDataUsageLibTest.java63 private List<SubscriptionInfo> mInfos; field in DataUsageLibTest
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
H A DDataUsageUtilsTest.java63 private List<SubscriptionInfo> mInfos; field in DataUsageUtilsTest
/aosp12/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java1595 private List<AccessibilityNodeInfo> mInfos; field in AccessibilityInteractionController.AddNodeInfosForViewId
1599 mInfos = infos; in init()
1604 mInfos = null; in reset()
1610 mInfos.add(view.createAccessibilityNodeInfo()); in test()
/aosp12/packages/modules/StatsD/statsd/tests/metrics/
H A DMaxDurationTracker_test.cpp110 EXPECT_TRUE(tracker.mInfos.empty()); in TEST()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java3397 private final ArrayList<LauncherAppWidgetInfo> mInfos; field in Workspace.DeferredWidgetRefresh
3405 mInfos = infos; in DeferredWidgetRefresh()
3429 ArrayList<PendingAppWidgetHostView> views = new ArrayList<>(mInfos.size()); in run()
3431 if (view instanceof PendingAppWidgetHostView && mInfos.contains(info)) { in run()
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt413 Landroid/accounts/ChooseAccountActivity$AccountArrayAdapter;->mInfos:[Landroid/accounts/ChooseAccou…
433 Landroid/accounts/ChooseAccountTypeActivity$AccountArrayAdapter;->mInfos:Ljava/util/ArrayList;
62288 Landroid/view/AccessibilityInteractionController$AddNodeInfosForViewId;->mInfos:Ljava/util/List;