Searched defs:action (Results 26 - 50 of 282) sorted by relevance

1234567891011>>

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DActionService.java17 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 DBackgroundWorkerService.java17 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 DBugleActionToasts.java16 package com.android.messaging.datamodel.action;
35 * Shows one-time, transient notifications in response to action failures (i.e. permanent failures
42 * @param success did the action succeed
153 final UpdateDestinationBlockedAction action,
152 onUpdateDestinationBlockedAction( final UpdateDestinationBlockedAction action, final boolean success, final boolean block, final String destination) argument
H A DDumpDatabaseAction.java17 package com.android.messaging.datamodel.action;
44 final DumpDatabaseAction action = new DumpDatabaseAction();
45 action.start();
H A DFixupMessageStatusOnStartupAction.java17 package com.android.messaging.datamodel.action;
37 final FixupMessageStatusOnStartupAction action = new FixupMessageStatusOnStartupAction();
38 action.start();
H A DMarkAsReadAction.java17 package com.android.messaging.datamodel.action;
45 final MarkAsReadAction action = new MarkAsReadAction(conversationId);
46 action.start();
H A DReceiveSmsMessageAction.java17 package com.android.messaging.datamodel.action;
H A DResendMessageAction.java17 package com.android.messaging.datamodel.action;
41 final ResendMessageAction action = new ResendMessageAction(messageId);
42 action.start();
H A DUpdateMessageNotificationAction.java16 package com.android.messaging.datamodel.action;
/packages/apps/DeskClock/src/com/android/deskclock/controller/
H A DEventController.java38 void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
40 eventTracker.sendEvent(category, action, label);
/packages/apps/DeskClock/src/com/android/deskclock/events/
H A DEvents.java29 /** 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 DLogEventTracker.java34 public void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
36 LOGGER.d("[%s] [%s]", safeGetString(category), safeGetString(action));
38 LOGGER.d("[%s] [%s] [%s]", safeGetString(category), safeGetString(action),
H A DShortcutEventTracker.java48 public void sendEvent(@StringRes int category, @StringRes int action, @StringRes int label) { argument
49 final String shortcutId = UiDataModel.getUiDataModel().getShortcutId(category, action);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DOverviewButtonClickListener.java44 private void handleViewClick(View view, int action) { argument
47 .logActionOnControl(action, mControlType);
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DOverviewAccessibilityDelegate.java55 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument
57 if (action == OVERVIEW) {
60 } else if (action == WALLPAPERS) {
63 } else if (action == WIDGETS) {
66 } else if (action == SETTINGS) {
70 return super.performAccessibilityAction(host, action, args);
H A DShortcutMenuAccessibilityDelegate.java61 public boolean performAction(View host, ItemInfo item, int action) { argument
62 if (action == ADD_TO_WORKSPACE) {
87 } else if (action == DISMISS_NOTIFICATION) {
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
H A DE2eUiTestUtils.java44 public static void sendResult(String action, Context context, boolean result) { argument
45 Intent resultBroadcast = new Intent(action);
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DGetOrCreateConversationActionTest.java17 package com.android.messaging.datamodel.action;
33 import com.android.messaging.datamodel.action.ActionTestHelpers.StubActionService;
34 import com.android.messaging.datamodel.action.ActionTestHelpers.StubActionService.StubActionServiceCallLog;
35 import com.android.messaging.datamodel.action.GetOrCreateConversationAction.GetOrCreateConversationActionListener;
36 import com.android.messaging.datamodel.action.GetOrCreateConversationAction.GetOrCreateConversationActionMonitor;
79 assertEquals("Failed to start service once for action", calls.size(), 1);
80 assertTrue("Action not GetOrCreateConversationAction", calls.get(0).action instanceof
83 GetOrCreateConversationAction action = (GetOrCreateConversationAction)
84 calls.get(0).action;
86 Object result = action
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
H A DConfirmActionDialogFragment.java32 public void onActionConfirmed(String action); argument
35 public static ConfirmActionDialogFragment newInstance(CharSequence message, String action) { argument
38 arguments.putString(ARG_ACTION, action);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/
H A DErrorFragment.java56 public void onGuidedActionClicked(GuidedAction action) { argument
H A DUninstallAlertFragment.java99 public void onGuidedActionClicked(GuidedAction action) { argument
101 if (action.getId() == GuidedAction.ACTION_ID_OK) {
/packages/apps/PackageInstaller/tests/src/com/android/packageinstaller/shadows/
H A DShadowMetricsLogger.java53 public static void action(Context context, int category, String pkg) { method in class:ShadowMetricsLogger
/packages/apps/TV/src/com/android/tv/dvr/ui/
H A DDvrChannelRecordDurationOptionFragment.java88 public void onGuidedActionClicked(GuidedAction action) { argument
90 long duration = mDurations.get((int) action.getId());
H A DDvrForgetStorageErrorFragment.java72 public void onGuidedActionClicked(GuidedAction action) { argument
73 if (action.getId() != ACTION_FORGET_STORAGE) {
H A DDvrInsufficientSpaceErrorFragment.java64 public void onGuidedActionClicked(GuidedAction action) { argument
65 if (action.getId() == ACTION_OPEN_DVR) {

Completed in 424 milliseconds

1234567891011>>