Home
last modified time | relevance | path

Searched refs:mAppItem (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java87 private AppItem mAppItem; field in AppDataUsage
106 mAppItem = (args != null) ? (AppItem) args.getParcelable(ARG_APP_ITEM) : null; in onCreate()
118 if (mAppItem == null) { in onCreate()
126 mAppItem = new AppItem(uid); in onCreate()
127 mAppItem.addUid(uid); in onCreate()
130 for (int i = 0; i < mAppItem.uids.size(); i++) { in onCreate()
131 addUid(mAppItem.uids.keyAt(i)); in onCreate()
135 final List<Integer> uidList = getAppUidList(mAppItem.uids); in onCreate()
140 if (mAppItem.key > 0) { in onCreate()
141 if ((!isSimHardwareVisible(mContext)) || !UserHandle.isApp(mAppItem.key)) { in onCreate()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsagePreferenceTest.java49 private AppItem mAppItem; field in AppDataUsagePreferenceTest
57 mAppItem = new AppItem(123); in setUp()
65 when(mUidDetailProvider.getUidDetail(mAppItem.key, false /* blocking */)) in createPref_hasCachedUidDetail_shouldSetAppInfo()
68 mPreference = new AppDataUsagePreference(RuntimeEnvironment.application, mAppItem, in createPref_hasCachedUidDetail_shouldSetAppInfo()
77 when(mUidDetailProvider.getUidDetail(mAppItem.key, true /* blocking */)) in createPref_noCachedUidDetail_shouldSetAppInfo()
80 mPreference = new AppDataUsagePreference(RuntimeEnvironment.application, mAppItem, in createPref_noCachedUidDetail_shouldSetAppInfo()
89 when(mUidDetailProvider.getUidDetail(mAppItem.key, true /* blocking */)) in createPref_progressBarShouldSetPercentageContentDescription()
91 mPreference = new AppDataUsagePreference(RuntimeEnvironment.application, mAppItem, in createPref_progressBarShouldSetPercentageContentDescription()