Home
last modified time | relevance | path

Searched refs:ACTIVITY_UNLOADED (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/athena/resource_manager/
Dresource_manager_unittest.cc116 DCHECK_NE(Activity::ACTIVITY_UNLOADED, app_visible->GetCurrentState()); in TEST_F()
117 DCHECK_NE(Activity::ACTIVITY_UNLOADED, app_unloadable1->GetCurrentState()); in TEST_F()
118 DCHECK_EQ(Activity::ACTIVITY_UNLOADED, app_unloadable2->GetCurrentState()); in TEST_F()
123 DCHECK_NE(Activity::ACTIVITY_UNLOADED, app_visible->GetCurrentState()); in TEST_F()
124 DCHECK_EQ(Activity::ACTIVITY_UNLOADED, app_unloadable1->GetCurrentState()); in TEST_F()
125 DCHECK_EQ(Activity::ACTIVITY_UNLOADED, app_unloadable2->GetCurrentState()); in TEST_F()
130 DCHECK_NE(Activity::ACTIVITY_UNLOADED, app_visible->GetCurrentState()); in TEST_F()
131 DCHECK_EQ(Activity::ACTIVITY_UNLOADED, app_unloadable1->GetCurrentState()); in TEST_F()
132 DCHECK_EQ(Activity::ACTIVITY_UNLOADED, app_unloadable2->GetCurrentState()); in TEST_F()
158 DCHECK_NE(Activity::ACTIVITY_UNLOADED, app_visible->GetCurrentState()); in TEST_F()
[all …]
Dresource_manager_impl.cc378 if (state != Activity::ACTIVITY_UNLOADED && in TryToUnloadAnActivity()
391 unloadable_activities.back()->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TryToUnloadAnActivity()
396 oldest_media_activity->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TryToUnloadAnActivity()
/external/chromium_org/athena/content/
Dapp_activity.cc26 current_state_(ACTIVITY_UNLOADED), in AppActivity()
68 case ACTIVITY_UNLOADED: in SetCurrentState()
69 DCHECK_NE(ACTIVITY_UNLOADED, current_state); in SetCurrentState()
80 DCHECK(web_view_ || ACTIVITY_UNLOADED == current_state_); in GetCurrentState()
87 current_state_ != ACTIVITY_UNLOADED; in IsVisible()
181 current_state_(ACTIVITY_UNLOADED), in AppActivity()
Dapp_activity_unittest.cc56 if (state == ACTIVITY_UNLOADED) in SetCurrentState()
287 app_activity->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TEST_F()
300 EXPECT_EQ(Activity::ACTIVITY_UNLOADED, activity_proxy->GetCurrentState()); in TEST_F()
330 app_activity2a->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TEST_F()
331 app_activity2b->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TEST_F()
372 app_activity1->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TEST_F()
375 app_activity2->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TEST_F()
378 app_activity3->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TEST_F()
392 EXPECT_EQ(Activity::ACTIVITY_UNLOADED, activity_proxy->GetCurrentState()); in TEST_F()
416 app_activity->SetCurrentState(Activity::ACTIVITY_UNLOADED); in TEST_F()
Dweb_activity.cc416 current_state_(ACTIVITY_UNLOADED), in WebActivity()
424 current_state_(ACTIVITY_UNLOADED), in WebActivity()
469 case ACTIVITY_UNLOADED: in SetCurrentState()
470 DCHECK_NE(ACTIVITY_UNLOADED, current_state_); in SetCurrentState()
485 current_state_ == ACTIVITY_UNLOADED); in GetCurrentState()
492 current_state_ != ACTIVITY_UNLOADED; in IsVisible()
643 DCHECK_EQ(ACTIVITY_UNLOADED, current_state_); in ReloadAndObserve()
Dapp_activity_proxy.cc44 return ACTIVITY_UNLOADED; in GetCurrentState()
Dapp_activity_registry.cc76 if ((*it)->GetCurrentState() != Activity::ACTIVITY_UNLOADED) in Unload()
/external/chromium_org/athena/activity/public/
Dactivity.h56 ACTIVITY_UNLOADED enumerator
/external/chromium_org/athena/test/
Dsample_activity.cc22 current_state_(ACTIVITY_UNLOADED) { in SampleActivity()