Searched refs:mChanges (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/compat/ |
D | PlatformCompatDashboardTest.java | 88 private CompatibilityChangeInfo[] mChanges; field in PlatformCompatDashboardTest 93 mChanges = new CompatibilityChangeInfo[5]; in setUp() 94 mChanges[0] = new CompatibilityChangeInfo( in setUp() 96 mChanges[1] = new CompatibilityChangeInfo( in setUp() 98 mChanges[2] = new CompatibilityChangeInfo( in setUp() 100 mChanges[3] = new CompatibilityChangeInfo( in setUp() 102 mChanges[4] = new CompatibilityChangeInfo( in setUp() 104 when(mPlatformCompat.listUIChanges()).thenReturn(mChanges); in setUp() 148 CompatibilityChangeInfo enabledChange = mChanges[0]; in createPreferenceForChange_defaultEnabledChange_createCheckedEntry() 158 assertThat(enabledPreference.getSummary()).isEqualTo(mChanges[0].getName()); in createPreferenceForChange_defaultEnabledChange_createCheckedEntry() [all …]
|
/packages/modules/StatsD/statsd/src/packages/ |
D | UidMap.cpp | 207 mChanges.emplace_back(false, timestamp, appName, uid, versionCode, versionString, in updateApp() 212 StatsdStats::getInstance().setUidMapChanges(mChanges.size()); in updateApp() 230 if (mChanges.size() > 0) { in ensureBytesUsedBelowLimit() 232 mChanges.pop_front(); in ensureBytesUsedBelowLimit() 260 mChanges.emplace_back(true, timestamp, app, uid, 0, "", prevVersion, prevVersionString); in removeApp() 264 StatsdStats::getInstance().setUidMapChanges(mChanges.size()); in removeApp() 305 mChanges.clear(); in clearOutput() 431 for (const ChangeRecord& record : mChanges) { in appendUidMap() 507 for (auto it_changes = mChanges.begin(); it_changes != mChanges.end();) { in appendUidMap() 510 it_changes = mChanges.erase(it_changes); in appendUidMap() [all …]
|
D | UidMap.h | 196 std::list<ChangeRecord> mChanges; variable
|
/packages/apps/Settings/src/com/android/settings/development/compat/ |
D | PlatformCompatDashboard.java | 59 private CompatibilityChangeInfo[] mChanges; field in PlatformCompatDashboard 96 mChanges = getPlatformCompat().listUIChanges(); in onCreate() 131 for (CompatibilityChangeInfo change : mChanges) { in addPreferences()
|
/packages/modules/StatsD/statsd/tests/ |
D | UidMap_test.cpp | 461 ASSERT_EQ(1U, m.mChanges.size()); in TEST() 470 ASSERT_EQ(1U, m.mChanges.size()); in TEST() 474 ASSERT_EQ(2U, m.mChanges.size()); in TEST() 485 ASSERT_EQ(2U, m.mChanges.size()); in TEST() 496 ASSERT_EQ(0U, m.mChanges.size()); in TEST() 543 ASSERT_EQ(1U, m.mChanges.size()); in TEST() 549 ASSERT_EQ(1U, m.mChanges.size()); in TEST()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/ |
D | ClusterHomeManagerTest.java | 104 private int mChanges = 0; field in ClusterHomeManagerTest 204 assertThat(mChanges).isEqualTo(ClusterHomeManager.CONFIG_UI_TYPE); in testClusterSwitchUi() 234 assertThat(mChanges).isEqualTo(ClusterHomeManager.CONFIG_DISPLAY_ON_OFF in testClusterState() 482 mChanges = changes; in onClusterStateChanged()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoDataAdapter.java | 135 private final long mChanges[] = new long[IMAGE_CACHE_SIZE]; field in PhotoDataAdapter 185 Arrays.fill(mChanges, MediaObject.INVALID_DATA_VERSION); in PhotoDataAdapter() 246 if (mChanges[i + SCREEN_NAIL_MAX] != newVersion) { in fireDataChange() 247 mChanges[i + SCREEN_NAIL_MAX] = newVersion; in fireDataChange()
|