OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:alarmManager
(Results
1 - 4
of
4
) sorted by null
/cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java
21
import android.app.
AlarmManager
;
58
* Verify that
AlarmManager
.setTimeZone() requires permissions.
64
AlarmManager
alarmManager
= (
AlarmManager
) mContext.getSystemService(
70
alarmManager
.setTimeZone(timeZone);
71
fail("
AlarmManager
.setTimeZone() did not throw SecurityException as expected.");
/packages/apps/Calendar/src/com/android/calendar/alerts/
AlertActivity.java
25
import android.app.
AlarmManager
;
148
AlarmManager
alarmManager
=
149
(
AlarmManager
) getSystemService(Context.ALARM_SERVICE);
150
scheduleAlarm(AlertActivity.this,
alarmManager
, alarmTime);
162
* Schedules an alarm intent with the system
AlarmManager
that will notify
169
* @param manager The
AlarmManager
to use or null
172
public static void scheduleAlarm(Context context,
AlarmManager
manager, long alarmTime) {
175
manager = (
AlarmManager
) context.getSystemService(Context.ALARM_SERVICE);
182
manager.set(
AlarmManager
.RTC_WAKEUP, alarmTime, pi)
[
all
...]
/packages/apps/Email/src/com/android/email/service/
MailService.java
21
import android.app.
AlarmManager
;
158
final
AlarmManager
alarmManager
= (
AlarmManager
) getSystemService(Context.ALARM_SERVICE);
174
setWatchdog(accountId,
alarmManager
);
200
reschedule(
alarmManager
);
263
reschedule(
alarmManager
);
288
AlarmManager
alarmMgr = (
AlarmManager
)getSystemService(Context.ALARM_SERVICE);
322
private void reschedule(
AlarmManager
alarmMgr)
[
all
...]
/packages/apps/Exchange/src/com/android/exchange/
ExchangeService.java
20
import android.app.
AlarmManager
;
[
all
...]
Completed in 152 milliseconds