Searched refs:AlarmManager (Results 1 - 9 of 9) sorted by relevance
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | AlarmManagerTest.java | 5 import android.app.AlarmManager; 26 private AlarmManager alarmManager; 32 alarmManager = (AlarmManager) activity.getSystemService(Context.ALARM_SERVICE); 43 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 52 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, 0, AlarmManager.INTERVAL_HOUR, 60 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 61 alarmManager.set(AlarmManager.ELAPSED_REALTIME, 0, PendingIntent.getActivity(activity, 0, new Intent(activity, activity.getClass()), 0)); 66 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, 0, AlarmManager [all...] |
H A D | ApplicationTest.java | 75 checkSystemService(Context.ALARM_SERVICE, android.app.AlarmManager.class);
|
/external/chromium_org/chrome/browser/extensions/api/alarms/ |
H A D | alarm_manager.cc | 40 class DefaultAlarmDelegate : public AlarmManager::Delegate { 96 // AlarmManager 98 AlarmManager::AlarmManager(Profile* profile) function in class:extensions::AlarmManager 112 AlarmManager::~AlarmManager() { 115 void AlarmManager::AddAlarm(const std::string& extension_id, 119 &AlarmManager::AddAlarmWhenReady, AsWeakPtr(), alarm, callback)); 122 void AlarmManager::GetAlarm(const std::string& extension_id, 126 &AlarmManager [all...] |
H A D | alarm_manager.h | 54 class AlarmManager class in namespace:extensions 57 public base::SupportsWeakPtr<AlarmManager> { 69 explicit AlarmManager(Profile* profile); 70 virtual ~AlarmManager(); 108 // Replaces AlarmManager's owned clock with |clock| and takes ownership of it. 112 static ProfileKeyedAPIFactory<AlarmManager>* GetFactoryInstance(); 114 // Convenience method to get the AlarmManager for a profile. 115 static AlarmManager* Get(Profile* profile); 118 friend void RunScheduleNextPoll(AlarmManager*); 125 friend class ProfileKeyedAPIFactory<AlarmManager>; [all...] |
H A D | alarms_api.cc | 123 AlarmManager::Get(GetProfile())->AddAlarm( 138 AlarmManager::Get(GetProfile()) 158 AlarmManager::Get(GetProfile())->GetAllAlarms( 183 AlarmManager::Get(GetProfile()) 199 AlarmManager::Get(GetProfile())->RemoveAllAlarms(
|
H A D | alarms_api_unittest.cc | 33 class AlarmDelegate : public AlarmManager::Delegate { 47 void RunScheduleNextPoll(AlarmManager* alarm_manager) { 57 alarm_manager_ = AlarmManager::Get(browser()->profile()); 143 AlarmManager* alarm_manager_; 152 const AlarmManager::AlarmList* alarms) { 300 const AlarmManager::AlarmList* alarms) { 399 const AlarmManager::AlarmList* alarms) { 408 ExtensionAlarmsTest* test, const AlarmManager::AlarmList* alarms) { 448 const AlarmManager::AlarmList* alarms) { 453 ExtensionAlarmsTest* test, const AlarmManager [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowAlarmManager.java | 3 import android.app.AlarmManager; 15 * Shadows the {@code android.app.AlarmManager} class. 18 @Implements(AlarmManager.class) 47 * AlarmManager's stack. 92 * parameters used in a call to {@code AlarmManager}
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | chrome_browser_main_extra_parts_profiles.cc | 233 extensions::AlarmManager::GetFactoryInstance();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
H A D | Robolectric.java | 418 public static ShadowAlarmManager shadowOf(AlarmManager instance) {
|
Completed in 247 milliseconds