Lines Matching refs:context
181 public DevicePolicyManager getManager(Context context) {
185 mManager = (DevicePolicyManager)context.getSystemService(
195 public ComponentName getWho(Context context) {
199 mWho = new ComponentName(context, getClass());
207 * @param context The running context as per {@link #onReceive}.
210 public void onEnabled(Context context, Intent intent) {
219 * @param context The running context as per {@link #onReceive}.
224 public CharSequence onDisableRequested(Context context, Intent intent) {
233 * @param context The running context as per {@link #onReceive}.
236 public void onDisabled(Context context, Intent intent) {
245 * @param context The running context as per {@link #onReceive}.
248 public void onPasswordChanged(Context context, Intent intent) {
256 * @param context The running context as per {@link #onReceive}.
259 public void onPasswordFailed(Context context, Intent intent) {
267 * @param context The running context as per {@link #onReceive}.
270 public void onPasswordSucceeded(Context context, Intent intent) {
288 * @param context The running context as per {@link #onReceive}.
291 public void onPasswordExpiring(Context context, Intent intent) {
300 public void onReceive(Context context, Intent intent) {
303 onPasswordChanged(context, intent);
305 onPasswordFailed(context, intent);
307 onPasswordSucceeded(context, intent);
309 onEnabled(context, intent);
311 CharSequence res = onDisableRequested(context, intent);
317 onDisabled(context, intent);
319 onPasswordExpiring(context, intent);