public interface

AlarmManagerPrivileged

masonamerica.platform.AlarmManagerPrivileged

Class Overview

A privileged extension of the existing ERROR(/com.android.server.AlarmManagerService).

Summary

Public Methods
abstract void setTime(long millis)
Set device time
abstract void setTimeZone(String tz)
Set the system time zone

Public Methods

public abstract void setTime (long millis)

Set device time

Parameters
millis long: time in milliseconds since the Epoch

public abstract void setTimeZone (String tz)

Set the system time zone

Parameters
tz String: one of the Olson ids from the list returned by TimeZone.getAvailableIDs()