/external/libchrome/base/metrics/ |
user_metrics.h | 20 // For best practices on deciding when to emit a user action, see 23 // Record that the user performed an action. 27 // "Action" here means a user-generated event: 34 // RecordAction(UserMetricsAction("my action name")); 35 // This ensures that our processing scripts can associate this action's hash 39 // Once a new recorded action is added, run 47 BASE_EXPORT void RecordAction(const UserMetricsAction& action); 50 // not automatically found by the action-processing scripts. It can be used 56 BASE_EXPORT void RecordComputedAction(const std::string& action); 58 // Called with the action string [all...] |
/external/valgrind/gdbserver_tests/ |
nlgone_return.stderr.exp | 3 (action at startup) vgdb me ...
|
nlsigvgdb.stderr.exp | 3 (action at startup) vgdb me ...
|
/frameworks/support/core/ktx/src/main/java/androidx/core/os/ |
Handler.kt | 22 * Version of [Handler.postDelayed] which re-orders the parameters, allowing the action to be 36 crossinline action: () -> Unit 38 val runnable = Runnable { action() } 48 * Version of [Handler.postAtTime] which re-orders the parameters, allowing the action to be 63 crossinline action: () -> Unit 65 val runnable = Runnable { action() }
|
/frameworks/support/navigation/common/src/test/java/androidx/navigation/ |
NavActionTest.java | 38 NavAction action = new NavAction(DESTINATION_ID); local 40 assertThat(action.getDestinationId(), is(DESTINATION_ID)); 45 NavAction action = new NavAction(DESTINATION_ID, null); local 47 assertThat(action.getDestinationId(), is(DESTINATION_ID)); 48 assertThat(action.getNavOptions(), nullValue()); 53 NavAction action = new NavAction(DESTINATION_ID); local 55 action.setNavOptions(navOptions); 57 assertThat(action.getNavOptions(), is(navOptions));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
IntentCompatUtils.java | 32 public static boolean is_ACTION_USER_INITIALIZE(final String action) { 33 return ACTION_USER_INITIALIZE != null && ACTION_USER_INITIALIZE.equals(action);
|
/frameworks/support/core/ktx/src/main/java/androidx/core/transition/ |
Transition.kt | 23 * Add an action which will be invoked when this transition has ended. 26 fun Transition.doOnEnd(action: (transition: Transition) -> Unit) { 27 addListener(onEnd = action) 31 * Add an action which will be invoked when this transition has started. 34 fun Transition.doOnStart(action: (transition: Transition) -> Unit) { 35 addListener(onStart = action) 39 * Add an action which will be invoked when this transition has been cancelled. 42 fun Transition.doOnCancel(action: (transition: Transition) -> Unit) { 43 addListener(onCancel = action) 47 * Add an action which will be invoked when this transition has resumed after a pause [all...] |
/external/skia/experimental/docs/ |
animationCommon.js | 22 var action = keyframe[i]; 23 loopOver(action, timeline); 51 var action = actions[aIndex]; 52 var hasDraw = 'draw' in action; 53 var hasRef = 'ref' in action; 56 var ref = hasRef ? action.ref : "anonymous_" + index + "_" + aIndex; 61 assert('string' == typeof(action.draw)); 62 var draw = (new Function("return " + action.draw))(); 65 if ('paint' in action) { 66 assert('string' == typeof(action.paint)) [all...] |
/external/skqp/experimental/docs/ |
animationCommon.js | 22 var action = keyframe[i]; 23 loopOver(action, timeline); 51 var action = actions[aIndex]; 52 var hasDraw = 'draw' in action; 53 var hasRef = 'ref' in action; 56 var ref = hasRef ? action.ref : "anonymous_" + index + "_" + aIndex; 61 assert('string' == typeof(action.draw)); 62 var draw = (new Function("return " + action.draw))(); 65 if ('paint' in action) { 66 assert('string' == typeof(action.paint)) [all...] |
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsForegroundActivity.java | 44 String action = intent.getStringExtra(KEY_ACTION); local 46 Log.i(TAG, "Starting " + action + " from foreground activity as request " + requestCode); 49 BatteryStatsBgVsFgActions.checkAppState(this, false, action, requestCode); 51 doAction(this, action, requestCode); 53 if (!isActionAsync(action)) { 58 private boolean isActionAsync(String action) { 59 switch (action) {
|
/external/selinux/prebuilts/bin/ |
sesearch.py | 29 parser.add_argument("--version", action="version", version=setools.__version__) 31 parser.add_argument("-v", "--verbose", action="store_true", 33 parser.add_argument("--debug", action="store_true", dest="debug", help="Enable debugging.") 36 rtypes.add_argument("-A", action="store_true", help="Search allow and allowxperm rules.") 37 rtypes.add_argument("--allow", action="append_const", 40 rtypes.add_argument("--allowxperm", action="append_const", 43 rtypes.add_argument("--auditallow", action="append_const", 46 rtypes.add_argument("--auditallowxperm", action="append_const", 49 rtypes.add_argument("--dontaudit", action="append_const", 52 rtypes.add_argument("--dontauditxperm", action="append_const" [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmInitReceiver.java | 53 final String action = intent.getAction(); local 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/apps/TV/src/com/android/tv/dvr/ui/ |
TrackedGuidedStepFragment.java | 42 public final void onGuidedActionClicked(GuidedAction action) { 43 super.onGuidedActionClicked(action); 46 getTrackerPrefix() + "-action-" + getTrackerLabelForGuidedAction(action)); 48 onTrackedGuidedActionClicked(action); 51 public String getTrackerLabelForGuidedAction(GuidedAction action) { 52 long actionId = action.getId(); 77 public abstract void onTrackedGuidedActionClicked(GuidedAction action);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestCallActivity.java | 41 * Action to exercise TelecomManager.addNewUnknownCall(). 65 final String action = intent != null ? intent.getAction() : null; local 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)) {
|
/external/autotest/server/cros/cfm/configurable_test/ |
actions_unittest.py | 39 action = actions.AssertFileDoesNotContain('/foo', ['EE', 'WW']) 42 action.execute(context) 45 action = actions.AssertFileDoesNotContain('/foo', ['EE', 'WW']) 48 self.assertRaises(AssertionError, lambda: action.execute(context)) 51 action = actions.AssertFileDoesNotContain('/foo', ['EE', 'W{3}Q+']) 54 self.assertRaises(AssertionError, lambda: action.execute(context)) 57 action = actions.RebootDut() 58 action.execute(self.context_with_mocks) 63 action = actions.RebootDut(restart_chrome_for_cfm=True) 64 action.execute(self.context_with_mocks [all...] |
/frameworks/base/core/java/com/android/internal/globalactions/ |
ActionsAdapter.java | 33 private final List<Action> mItems; 37 public ActionsAdapter(Context context, List<Action> items, 52 final Action action = mItems.get(i); local 54 if (keyguardShowing && !action.showDuringKeyguard()) { 57 if (!deviceProvisioned && !action.showBeforeProvisioning()) { 76 public Action getItem(int position) { 82 final Action action = mItems.get(i); local 83 if (keyguardShowing && !action.showDuringKeyguard()) 109 Action action = getItem(position); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
ClassifierData.java | 39 int action = event.getActionMasked(); local 40 if (action == MotionEvent.ACTION_DOWN) { 52 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL 53 || (action == MotionEvent.ACTION_POINTER_UP && i == event.getActionIndex())) { 61 int action = event.getActionMasked(); local 64 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL 65 || (action == MotionEvent.ACTION_POINTER_UP && i == event.getActionIndex())) {
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
GuidedDatePickerAction.java | 23 * Subclass of GuidedAction that can choose a date. The Action is editable by default; to make it 93 * @param action GuidedDatePickerAction to apply values. 95 protected final void applyDatePickerValues(GuidedDatePickerAction action) { 96 super.applyValues(action); 97 action.mDatePickerFormat = mDatePickerFormat; 98 action.mDate = mDate; 102 action.mMinDate = mMinDate; 103 action.mMaxDate = mMaxDate; 121 GuidedDatePickerAction action = new GuidedDatePickerAction(); local 122 applyDatePickerValues(action); [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
ClassifierData.java | 41 int action = event.getActionMasked(); local 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(); local 71 if (action == MotionEvent.ACTION_UP 72 || action == MotionEvent.ACTION_CANCEL 73 || (action == MotionEvent.ACTION_POINTER_UP && i == event.getActionIndex())) {
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
event.hpp | 18 // OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 55 typedef std::function<void (event &)> action; typedef in class:clover::event 58 action action_ok, action action_fail); 91 action action_ok; 92 action action_fail; 114 action action = [](event &){}); 135 action profile(command_queue &q, const action &action) const [all...] |
/external/strace/ |
bpf_seccomp_filter.c | 47 unsigned int action = SECCOMP_RET_ACTION_FULL & fp->k; local 48 unsigned int data = fp->k & ~action; 50 printxval(seccomp_ret_action, action, "SECCOMP_RET_???");
|
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/ |
ImsFrameworkService.java | 38 String action = intent.getAction(); local 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
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
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(); local 80 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action) || 81 ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action) || [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ListViewTypeMenu.java | 33 import org.eclipse.jface.action.Action; 34 import org.eclipse.jface.action.ActionContributionItem; 35 import org.eclipse.jface.action.IAction; 36 import org.eclipse.jface.action.Separator; 72 IAction action = new PickLayoutAction("Choose Layout...", KEY_LV_ITEM); local 73 new ActionContributionItem(action).fill(menu, -1); 84 action = new SetListTypeAction("Spinner Item", 86 new ActionContributionItem(action).fill(menu, -1); 87 action = new SetListTypeAction("Spinner Dropdown Item" [all...] |
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/playback/ |
SimplePlaybackTransportControlGlue.java | 21 import android.support.v17.leanback.widget.Action; 69 public void onActionClicked(Action action) { 70 if (shouldDispatchAction(action)) { 71 dispatchAction(action, getPrimaryActionsAdapter()); 72 dispatchAction(action, getSecondaryActionsAdapter()); 75 super.onActionClicked(action); 91 Action action = getControlsRow().getActionForKeyCode(adapter, keyEvent.getKeyCode()); local 92 if (shouldDispatchAction(action)) { [all...] |