HomeSort by relevance Sort by last modified time
    Searched full:alarmservice (Results 1 - 25 of 27) sorted by null

1 2

  /development/samples/Alarm/tests/src/com/example/android/newalarm/
AlarmServiceTest.java 21 import com.example.android.newalarm.AlarmService;
24 * Test class for the Alarm sample test package. This test class tests the AlarmService
27 public class AlarmServiceTest extends ServiceTestCase<AlarmService> {
32 AlarmService mService;
40 super(AlarmService.class);
52 mStartServiceIntent = new Intent(this.getSystemContext(),AlarmService.class);
  /frameworks/base/tests/utils/SleepUtils/SleepHelper/
Android.mk 25 ../AlarmService/src/com/android/testing/alarmservice/Alarm.aidl
  /frameworks/base/tests/utils/SleepUtils/AlarmService/
AndroidManifest.xml 11 package="com.android.testing.alarmservice" >
17 <service android:name=".AlarmService"
27 <action android:name="com.android.testing.alarmservice.WAKEUP" />
Android.mk 23 src/com/android/testing/alarmservice/Alarm.aidl
  /development/samples/ApiDemos/src/com/example/android/apis/app/
AlarmService.java 40 public class AlarmService extends Activity {
49 mAlarmSender = PendingIntent.getService(AlarmService.this,
50 0, new Intent(AlarmService.this, AlarmService_Service.class), 0);
72 Toast.makeText(AlarmService.this, R.string.repeating_scheduled,
84 Toast.makeText(AlarmService.this, R.string.repeating_unscheduled,
_package.html 44 <li>{@link com.android.samples.app.AlarmService Alarm Service}
AlarmService_Service.java 39 * @see AlarmService
104 new Intent(this, AlarmService.class), 0);
_index.html 258 <dt><a href="AlarmService.html">Alarm Service</a></dt>
264 <dd> <a href="AlarmService.html">AlarmService.java</a>
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmService.java 42 public class AlarmService extends Service {
44 * AlarmActivity and AlarmService (when unbound) listen for this broadcast intent
51 * AlarmActivity and AlarmService listen for this broadcast intent so that other
56 /** A public action sent by AlarmService when the alarm has started. */
59 /** A public action sent by AlarmService when the alarm has stopped for any reason. */
97 final Intent intent = AlarmInstance.createIntent(context, AlarmService.class, instance.mId)
108 LogUtils.v("AlarmService.start with instance: " + instance.mId);
130 LogUtils.v("AlarmService.stop with instance: %s", instanceId);
146 LogUtils.i("AlarmService received intent %s", action);
153 LogUtils.i("AlarmActivity bound; AlarmService no-op")
    [all...]
AlarmActivity.java 97 case AlarmService.ALARM_SNOOZE_ACTION:
100 case AlarmService.ALARM_DISMISS_ACTION:
103 case AlarmService.ALARM_DONE_ACTION:
119 LOGGER.i("Finished binding to AlarmService");
124 LOGGER.i("Disconnected from AlarmService");
133 /** Whether the AlarmService is currently bound */
259 final IntentFilter filter = new IntentFilter(AlarmService.ALARM_DONE_ACTION);
260 filter.addAction(AlarmService.ALARM_SNOOZE_ACTION);
261 filter.addAction(AlarmService.ALARM_DISMISS_ACTION);
531 * Bind AlarmService if not yet bound
    [all...]
AlarmStateManager.java 90 * The FIRED_STATE is used when the alarm is firing. It will start the AlarmService, and wait
307 // This intent is directed to AlarmService, though the actual handling of it occurs here
309 // broadcast receiver (AlarmStateManager) and service (AlarmService) can be thwarted by the
311 // occur. To be safer, the call begins in AlarmService, which has the power to display the
313 Intent intent = AlarmInstance.createIntent(context, AlarmService.class, instance.mId);
480 AlarmService.stopAlarm(context, instance);
529 AlarmService.stopAlarm(context, instance);
623 AlarmService.stopAlarm(context, instance);
    [all...]
  /frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
WakeUpController.java 17 package com.android.testing.alarmservice;
49 (PowerManager) AlarmService.sContext.getSystemService(Context.POWER_SERVICE);
50 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "testing-alarmservice");
AlarmService.java 17 package com.android.testing.alarmservice;
24 public class AlarmService extends Service {
WakeUpCall.java 17 package com.android.testing.alarmservice;
29 public static final String WAKEUP_CALL = "com.android.testing.alarmservice.WAKEUP";
AlarmImpl.java 17 package com.android.testing.alarmservice;
27 import com.android.testing.alarmservice.Alarm.Stub;
43 Log.d(LOG_TAG, "AlarmService prepared, wake lock acquired");
Alarm.aidl 17 package com.android.testing.alarmservice;
  /development/samples/Alarm/res/values/
strings.xml 23 Repeating timer started. Starts AlarmService every 30 seconds.</string>
28 Repeating timer stopped. AlarmService will no longer be started.</string>
  /development/samples/Alarm/src/com/example/android/newalarm/
AlarmActivity.java 31 * This is the activity that controls AlarmService.
34 * timer. Every thirty seconds, the timer starts AlarmService, which then runs for 15 seconds
46 // An intent for AlarmService, to trigger it as if the Activity called startService().
62 // Create a PendingIntent to trigger a startService() for AlarmService
66 new Intent(AlarmActivity.this, AlarmService.class), // A new Service intent
99 // Sets a repeating countdown timer that triggers AlarmService
AlarmService.java 52 public class AlarmService extends Service {
54 private static final String ALARM_SERVICE_THREAD = "AlarmService";
  /frameworks/base/tests/utils/SleepUtils/
README 3 AlarmService - a service that client can bind to and perform:
  /development/samples/Alarm/tests/
_index.html 3 sample application. It tests the application's <code>AlarmService</code> service.
44 test, <code>AlarmService.java</code>. This allows the test class to access members in the
  /frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
SetAlarm.java 31 import com.android.testing.alarmservice.Alarm;
41 private static final String SERVICE_PKG = "com.android.testing.alarmservice";
  /development/samples/Alarm/
_index.html 2 This sample is a revised version of the AlarmService functionality included in the
AndroidManifest.xml 49 android:name=".AlarmService"
  /packages/apps/DeskClock/
AndroidManifest.xml 176 android:name=".alarms.AlarmService"

Completed in 473 milliseconds

1 2