/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | ActionService.java | 17 package com.android.messaging.datamodel.action; 28 final Action action, final int requestCode, final boolean launchesAnActivity) { 29 return ActionServiceImpl.makeStartActionPendingIntent(context, action, requestCode, 34 * Start an action by posting it over the the ActionService 36 public void startAction(final Action action) { argument 37 ActionServiceImpl.startAction(action); 41 * Schedule a delayed action by posting it over the the ActionService 43 public void scheduleAction(final Action action, final int code, argument 45 ActionServiceImpl.scheduleAction(action, code, delayMs); 52 final Action action, fina 27 makeStartActionPendingIntent(final Context context, final Action action, final int requestCode, final boolean launchesAnActivity) argument 51 handleResponseFromBackgroundWorker( final Action action, final Bundle response) argument 59 handleFailureFromBackgroundWorker(final Action action, final Exception exception) argument [all...] |
H A D | ActionServiceImpl.java | 17 package com.android.messaging.datamodel.action; 47 * Start action by sending intent to the service 48 * @param action - action to start 50 protected static void startAction(final Action action) { argument 53 actionBundle.putParcelable(BUNDLE_ACTION, action); 55 action.markStart(); 60 * Schedule an action to run after specified delay using alarm manager to send pendingintent 61 * @param action - action t 65 scheduleAction(final Action action, final int requestCode, final long delayMs) argument 80 handleResponseFromBackgroundWorker(final Action action, final Bundle response) argument 96 handleFailureFromBackgroundWorker(final Action action, final Exception exception) argument 189 makeStartActionPendingIntent(final Context context, final Action action, final int requestCode, final boolean launchesAnActivity) argument 299 executeAction(final Action action) argument 315 processBackgroundResponse(final Action action, final Bundle response) argument 327 processBackgroundFailure(final Action action) argument 336 createLoggingTimer( final Action action, final String methodName) argument [all...] |
H A D | BackgroundWorkerService.java | 17 package com.android.messaging.datamodel.action; 56 * Queue a list of requests from action service to this worker 59 for (final Action action : actions) { 60 startServiceWithAction(action, 0); 72 protected static final String EXTRA_ACTION = "action"; 77 * Queue action intent to the BackgroundWorkerService after acquiring wake lock 79 private static void startServiceWithAction(final Action action, argument 82 intent.putExtra(EXTRA_ACTION, action); 121 final Action action = intent.getParcelableExtra(EXTRA_ACTION); 123 doBackgroundWork(action, attemp 138 doBackgroundWork(final Action action, final int attempt) argument [all...] |
H A D | BackgroundWorker.java | 17 package com.android.messaging.datamodel.action; 22 * Interface between action service and its workers 27 * Send list of requests from action service to a worker
|
/packages/apps/DeskClock/src/com/android/deskclock/events/ |
H A D | Events.java | 29 /** Extra describing the entity responsible for the action being performed. */ 35 * @param action resource id of event action 38 public static void sendAlarmEvent(@StringRes int action, @StringRes int label) { argument 39 sendEvent(R.string.category_alarm, action, label); 45 * @param action resource id of event action 48 public static void sendClockEvent(@StringRes int action, @StringRes int label) { argument 49 sendEvent(R.string.category_clock, action, label); 55 * @param action resourc 58 sendTimerEvent(@tringRes int action, @StringRes int label) argument 68 sendStopwatchEvent(@tringRes int action, @StringRes int label) argument 78 sendScreensaverEvent(@tringRes int action, @StringRes int label) argument 91 sendEvent(@tringRes int category, @StringRes int action, @StringRes int label) argument [all...] |
H A D | EventTracker.java | 26 * @param action indicates how the entity was altered; e.g. create, delete, fire, etc. 27 * @param label indicates where the action originated; e.g. DeskClock (UI), Intent, 30 void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label); argument
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | OnBootOrUpgradeReceiver.java | 29 final String action = intent.getAction(); 30 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 31 || Intent.ACTION_MY_PACKAGE_REPLACED.equals(action)) {
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
H A D | PointerCountClassifier.java | 36 int action = event.getActionMasked(); 38 if (action == MotionEvent.ACTION_DOWN) { 42 if (action == MotionEvent.ACTION_POINTER_DOWN) {
|
H A D | ClassifierData.java | 41 int action = event.getActionMasked(); 42 if (action == MotionEvent.ACTION_DOWN) { 58 if (action == MotionEvent.ACTION_UP 59 || action == MotionEvent.ACTION_CANCEL 60 || (action == MotionEvent.ACTION_POINTER_UP && i == event.getActionIndex())) { 68 int action = event.getActionMasked(); 71 if (action == MotionEvent.ACTION_UP 72 || action == MotionEvent.ACTION_CANCEL 73 || (action == MotionEvent.ACTION_POINTER_UP && i == event.getActionIndex())) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
H A D | PrivateCommandPerformer.java | 31 * @param action Name of the command to be performed. This must be a scoped 39 boolean performPrivateCommand(String action, Bundle data); argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | IntentCompatUtils.java | 32 public static boolean is_ACTION_USER_INITIALIZE(final String action) { argument 33 return ACTION_USER_INITIALIZE != null && ACTION_USER_INITIALIZE.equals(action);
|
/packages/services/Car/libvehiclemonitor/java/src/com/android/car/vehiclemonitor/ |
H A D | IVehicleMonitorListener.aidl | 24 void onAppViolation(int pid, int uid, int action, int violation) = 0;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmInitReceiver.java | 53 final String action = intent.getAction(); 54 LogUtils.i("AlarmInitReceiver " + action); 65 if (ACTION_BOOT_COMPLETED.equals(action)) { 69 } else if (Intent.ACTION_TIME_CHANGED.equals(action)) { 74 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 75 || Intent.ACTION_LOCALE_CHANGED.equals(action)) { 83 if (Intent.ACTION_MY_PACKAGE_REPLACED.equals(action)) {
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestCallActivity.java | 65 final String action = intent != null ? intent.getAction() : null; 67 if (ACTION_NEW_INCOMING_CALL.equals(action) && data != null) { 70 } else if (ACTION_NEW_UNKNOWN_CALL.equals(action) && data != null) { 72 } else if (ACTION_HANGUP_CALLS.equals(action)) { 74 } else if (ACTION_RTT_CALL.equals(action)) { 77 } else if (ACTION_SEND_UPGRADE_REQUEST.equals(action)) { 79 } else if (ACTION_REMOTE_RTT_UPGRADE.equals(action)) {
|
H A D | TestInCallServiceBroadcastReceiver.java | 51 String action = intent.getAction(); 52 Log.v(TAG, "onReceive: " + action); 54 if (ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE.equals(action)) { 57 } else if (ACTION_SEND_UPGRADE_RESPONSE.equals(action)) { 60 } else if (TelecomManager.ACTION_PHONE_ACCOUNT_REGISTERED.equals(action)) { 63 } else if (TelecomManager.ACTION_PHONE_ACCOUNT_UNREGISTERED.equals(action)) {
|
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/ |
H A D | ImsFrameworkService.java | 38 String action = intent.getAction(); 39 Log.d(TAG, "Service starting for intent " + action); 40 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { 44 stopSelf(); // stop service after handling the action
|
H A D | ImsFrameworkReceiver.java | 29 String action = intent.getAction(); 30 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) { 37 } else if (Intent.ACTION_SHUTDOWN.equals(action)) { 41 Log.e(TAG, "Received unknown intent: " + action);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | TelecomBroadcastIntentProcessor.java | 27 /** The action used to send SMS response for the missed call notification. */ 31 /** The action used to call a handle back for the missed call notification. */ 35 /** The action used to clear missed calls. */ 40 * The action used to answer the current incoming call displayed by 47 * The action used to reject the current incoming call displayed by 54 * The action used to proceed with a call being confirmed via 61 * The action used to cancel a call being confirmed via 78 String action = intent.getAction(); 80 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action) || 81 ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action) || [all...] |
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
H A D | LogWriter.java | 37 * Logs an user action. 39 void action(Context context, int category, Pair<Integer, Object>... taggedData); method in interface:LogWriter 42 * Logs an user action. 47 * Logs an user action. 49 void action(Context context, int category, int value); method in interface:LogWriter 52 * Logs an user action. 54 void action(Context context, int category, boolean value); method in interface:LogWriter 57 * Logs an user action. 59 void action(Context context, int category, String pkg, Pair<Integer, Object>... taggedData); method in interface:LogWriter
|
H A D | EventLogWriter.java | 35 MetricsLogger.action(logMaker); 42 public void action(Context context, int category, Pair<Integer, Object>... taggedData) { method in class:EventLogWriter 43 action(context, category, "", taggedData); 52 MetricsLogger.action(logMaker); 55 public void action(Context context, int category, int value) { method in class:EventLogWriter 56 MetricsLogger.action(context, category, Integer.toString(value)); 59 public void action(Context context, int category, boolean value) { method in class:EventLogWriter 60 MetricsLogger.action(context, category, Boolean.toString(value)); 63 public void action(Context context, int category, String pkg, method in class:EventLogWriter 66 MetricsLogger.action(contex [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
H A D | LxxActionTestsBase.java | 17 package com.android.inputmethod.keyboard.action;
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
H A D | SendStatusReceiver.java | 25 import com.android.messaging.datamodel.action.ProcessDeliveryReportAction; 26 import com.android.messaging.datamodel.action.ProcessDownloadedMmsAction; 27 import com.android.messaging.datamodel.action.ProcessSentMessageAction; 60 final String action = intent.getAction(); 62 if (MESSAGE_SENT_ACTION.equals(action)) { 70 } else if (MMS_SENT_ACTION.equals(action)) { 74 } else if (MMS_DOWNLOADED_ACTION.equals(action)) { 77 } else if (MESSAGE_DELIVERED_ACTION.equals(action)) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | ActionFragment.java | 81 public void onActionClicked(Action action) { argument 82 mBase.onActionClicked(action); 86 public void onActionFocused(Action action) { argument 87 mBase.onActionFocused(action); 91 public void onActionSelect(Action action) { argument 92 mBase.onActionSelect(action); 96 public void onActionUnselect(Action action) { argument 97 mBase.onActionUnselect(action);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | EmlTempFileDeletionService.java | 39 final String action = intent.getAction(); 40 if (Intent.ACTION_DELETE.equals(action)) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | IntentUtils.java | 35 final String action = INPUT_METHOD_SUBTYPE_SETTINGS; 36 final Intent intent = new Intent(action);
|