/external/python/cpython2/Lib/ |
sched.py | 16 Events are specified by tuples (time, priority, action, argument). 19 event means calling the action function, passing it the argument 22 The action function may be an instance method so it 36 Event = namedtuple('Event', 'time, priority, action, argument') 46 def enterabs(self, time, priority, action, argument): 53 event = Event(time, priority, action, argument) 57 def enter(self, delay, priority, action, argument): 64 return self.enterabs(time, priority, action, argument) 86 (its action function is called, passing it the argument). If 90 It is legal for both the delay function and the action [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowIntentFilter.java | 21 public void __constructor__(String action) { 22 actions.add(action); 26 public void addAction(String action) { 27 actions.add(action); 46 public boolean matchAction(String action) { 47 return actions.contains(action);
|
/external/v8/src/base/debug/ |
stack_trace_android.cc | 62 struct sigaction action; local 63 memset(&action, 0, sizeof(action)); 64 action.sa_handler = SIG_IGN; 65 sigemptyset(&action.sa_mask); 66 return (sigaction(SIGPIPE, &action, NULL) == 0);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
LogWriter.java | 37 * Logs a user action. 39 void action(int category, int value, Pair<Integer, Object>... taggedData); method in interface:LogWriter 42 * Logs a user action. 44 void action(int category, boolean value, Pair<Integer, Object>... taggedData); method in interface:LogWriter 47 * Logs an user action. 49 void action(Context context, int category, Pair<Integer, Object>... taggedData); method in interface:LogWriter 52 * Logs an user action. 57 * Logs an user action. 58 * @deprecated use {@link #action(int, int, Pair[])} 61 void action(Context context, int category, int value) method in interface:LogWriter 68 void action(Context context, int category, boolean value); method in interface:LogWriter 73 void action(Context context, int category, String pkg, Pair<Integer, Object>... taggedData); method in interface:LogWriter [all...] |
EventLogWriter.java | 38 MetricsLogger.action(logMaker); 45 public void action(int category, int value, Pair<Integer, Object>... taggedData) { method in class:EventLogWriter 47 mMetricsLogger.action(category, value); 59 public void action(int category, boolean value, Pair<Integer, Object>... taggedData) { method in class:EventLogWriter 60 action(category, value ? 1 : 0, taggedData); method 63 public void action(Context context, int category, Pair<Integer, Object>... taggedData) { method in class:EventLogWriter 64 action(context, category, "", taggedData); method 73 MetricsLogger.action(logMaker); 76 /** @deprecated use {@link #action(int, int, Pair[])} */ 78 public void action(Context context, int category, int value) method in class:EventLogWriter 84 public void action(Context context, int category, boolean value) { method in class:EventLogWriter 88 public void action(Context context, int category, String pkg, method in class:EventLogWriter [all...] |
/frameworks/support/core/ktx/src/main/java/androidx/core/animation/ |
Animator.kt | 23 * Add an action which will be invoked when the animation has ended. 28 fun Animator.doOnEnd(action: (animator: Animator) -> Unit) = addListener(onEnd = action) 31 * Add an action which will be invoked when the animation has started. 36 fun Animator.doOnStart(action: (animator: Animator) -> Unit) = addListener(onStart = action) 39 * Add an action which will be invoked when the animation has been cancelled. 44 fun Animator.doOnCancel(action: (animator: Animator) -> Unit) = addListener(onCancel = action) 47 * Add an action which will be invoked when the animation has repeated [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
CharBufferSpliterator.java | 64 public void forEachRemaining(IntConsumer action) { 65 if (action == null) 72 action.accept(cb.getUnchecked(i++)); 77 public boolean tryAdvance(IntConsumer action) { 78 if (action == null) 81 action.accept(buffer.getUnchecked(index++));
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
NewVoicemailAlertViewHolder.java | 23 import com.android.dialer.voicemail.listui.error.VoicemailErrorMessage.Action; 49 void setPrimaryButton(Action action) { 51 primaryButton.setText(action.getText()); 52 primaryButton.setOnClickListener(action.getListener()); 55 void setSecondaryButton(Action action) { 57 secondaryButton.setText(action.getText()); 58 secondaryButton.setOnClickListener(action.getListener());
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestInCallServiceBroadcastReceiver.java | 51 String action = intent.getAction(); local 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)) {
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
sched.py | 16 Events are specified by tuples (time, priority, action, argument). 19 event means calling the action function, passing it the argument 22 The action function may be an instance method so it 36 Event = namedtuple('Event', 'time, priority, action, argument') 46 def enterabs(self, time, priority, action, argument): 53 event = Event(time, priority, action, argument) 57 def enter(self, delay, priority, action, argument): 64 return self.enterabs(time, priority, action, argument) 86 (its action function is called, passing it the argument). If 90 It is legal for both the delay function and the action [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
sched.py | 16 Events are specified by tuples (time, priority, action, argument). 19 event means calling the action function, passing it the argument 22 The action function may be an instance method so it 36 Event = namedtuple('Event', 'time, priority, action, argument') 46 def enterabs(self, time, priority, action, argument): 53 event = Event(time, priority, action, argument) 57 def enter(self, delay, priority, action, argument): 64 return self.enterabs(time, priority, action, argument) 86 (its action function is called, passing it the argument). If 90 It is legal for both the delay function and the action [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sched.py | 16 Events are specified by tuples (time, priority, action, argument). 19 event means calling the action function, passing it the argument 22 The action function may be an instance method so it 36 Event = namedtuple('Event', 'time, priority, action, argument') 46 def enterabs(self, time, priority, action, argument): 53 event = Event(time, priority, action, argument) 57 def enter(self, delay, priority, action, argument): 64 return self.enterabs(time, priority, action, argument) 86 (its action function is called, passing it the argument). If 90 It is legal for both the delay function and the action [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sched.py | 16 Events are specified by tuples (time, priority, action, argument). 19 event means calling the action function, passing it the argument 22 The action function may be an instance method so it 36 Event = namedtuple('Event', 'time, priority, action, argument') 46 def enterabs(self, time, priority, action, argument): 53 event = Event(time, priority, action, argument) 57 def enter(self, delay, priority, action, argument): 64 return self.enterabs(time, priority, action, argument) 86 (its action function is called, passing it the argument). If 90 It is legal for both the delay function and the action [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
argparse.py | 43 - Action -- The base class for parser actions. Typically actions are
45 the action= argument of add_argument(). However, for greater
46 customization of ArgumentParser actions, subclasses of Action may
47 be defined and passed as the action= argument.
75 'Action',
253 def add_argument(self, action):
254 if action.help is not SUPPRESS:
258 invocations = [get_invocation(action)]
259 for subaction in self._iter_indented_subactions(action):
269 self._add_item(self._format_action, [action])
[all...] |
/external/vogar/src/vogar/android/ |
DeviceRuntime.java | 27 import vogar.Action; 67 @Override public Set<Task> installActionTasks(Action action, File jar) { 69 addCreateDexJarAndPushTasks(result, action.getName(), jar, action); 73 @Override public Task executeActionTask(Action action, boolean useLargeTimeout) { 74 return new RunActionTask(run, action, useLargeTimeout); 77 @Override public VmCommandBuilder newVmCommandBuilder(Action action, File workingDirectory) [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
tsearch.c | 95 trecurse(node *root, void (*action)(const void *, VISIT, int), int level) 98 (*action)(root, leaf, level); 100 (*action)(root, preorder, level); 102 trecurse(root->left, action, level + 1); 103 (*action)(root, postorder, level); 105 trecurse(root->right, action, level + 1); 106 (*action)(root, endorder, level); 112 twalk(const void *vroot, void (*action)(const void *, VISIT, int)) 116 if (root != (node *)0 && action != (void (*)(const void *, VISIT, int))0) 117 trecurse(root, action, 0) [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
ScopedAccessMetrics.java | 104 MetricsLogger.action(activity, MetricsEvent 106 MetricsLogger.action(activity, MetricsEvent 110 MetricsLogger.action(activity, MetricsEvent 112 MetricsLogger.action(activity, MetricsEvent 116 MetricsLogger.action(activity, MetricsEvent 118 MetricsLogger.action(activity, MetricsEvent 122 MetricsLogger.action(activity, MetricsEvent 124 MetricsLogger.action(activity, MetricsEvent 128 MetricsLogger.action(activity, MetricsEvent 130 MetricsLogger.action(activity, MetricsEven [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
PickActivity.java | 143 if (mState.action == ACTION_CREATE) { 147 } else if (mState.action == ACTION_OPEN_TREE || 148 mState.action == ACTION_PICK_COPY_DESTINATION) { 152 if (mState.action == ACTION_GET_CONTENT) { 157 } else if (mState.action == ACTION_OPEN || 158 mState.action == ACTION_CREATE || 159 mState.action == ACTION_OPEN_TREE || 160 mState.action == ACTION_PICK_COPY_DESTINATION) { 172 final String action = intent.getAction(); local 173 if (Intent.ACTION_OPEN_DOCUMENT.equals(action)) { [all...] |
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/ |
SliceAction.java | 35 * Class representing an action, supports tappable icons, custom toggle icons, and default toggles. 46 public SliceAction(@NonNull PendingIntent action, @NonNull Icon actionIcon, 48 this(action, actionIcon, ICON_IMAGE, actionTitle); 56 public SliceAction(@NonNull PendingIntent action, @NonNull Icon actionIcon, 58 this(action, IconCompat.createFromIcon(actionIcon), imageMode, actionTitle); 66 public SliceAction(@NonNull PendingIntent action, @NonNull Icon actionIcon, 68 this(action, IconCompat.createFromIcon(actionIcon), actionTitle, isChecked); 74 * @param action the pending intent to invoke for this action. 75 * @param actionIcon the icon to display for this action [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
ActionTestHelpers.java | 17 package com.android.messaging.datamodel.action; 61 mActions = new ArrayList<Action>(); 64 ArrayList<Action> mActions; 65 public ArrayList<Action> getRequestsMade() { 70 public void queueBackgroundWork(final List<Action> actions) { 86 Action action; field in class:ActionTestHelpers.StubChatActionMonitor.StateTransition 89 public StateTransition(final Action action, final int from, final int to) { 90 this.action = action 125 public final Action action; field in class:ActionTestHelpers.StubActionService.StubActionServiceCallLog [all...] |
/external/autotest/cli/ |
atest.py | 10 This file figures out the topic and action from the 2 first arguments 13 It then creates a <topic>_<action> object, and calls it parses), 29 atest <topic> <action> <options> 30 atest-<topic> <action> <options> 67 action = sys.argv.pop(1) 69 if action == '-h': 70 action = 'help' 73 topic_obj.invalid_syntax('No action argument') 76 action = topic_obj.backward_compatibility(action, sys.argv [all...] |
/external/vogar/src/vogar/ |
JavaVm.java | 43 @Override public VmCommandBuilder newVmCommandBuilder(Action action, File workingDirectory) { 57 @Override public Task executeActionTask(Action action, boolean useLargeTimeout) { 58 return new RunActionTask(run, action, useLargeTimeout); 61 @Override public Set<Task> installActionTasks(Action action, File jar) { 65 @Override public Classpath getRuntimeClasspath(Action action) { 68 result.addAll(run.hostJar(action)); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SubmenuAction.java | 4 import org.eclipse.jface.action.Action; 5 import org.eclipse.jface.action.ActionContributionItem; 6 import org.eclipse.jface.action.IAction; 7 import org.eclipse.jface.action.IMenuCreator; 15 * Action which creates a submenu that is dynamically populated by subclasses 17 public abstract class SubmenuAction extends Action implements MenuListener, IMenuCreator { 66 IAction action = new Action(message, IAction.AS_PUSH_BUTTON) { local 71 action.setEnabled(false) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ |
Statement.java | 294 public void ifAssertStmt(Consumer<AssertStmt> action) { 298 public void ifBlockStmt(Consumer<BlockStmt> action) { 302 public void ifBreakStmt(Consumer<BreakStmt> action) { 306 public void ifContinueStmt(Consumer<ContinueStmt> action) { 310 public void ifDoStmt(Consumer<DoStmt> action) { 314 public void ifEmptyStmt(Consumer<EmptyStmt> action) { 318 public void ifExplicitConstructorInvocationStmt(Consumer<ExplicitConstructorInvocationStmt> action) { 322 public void ifExpressionStmt(Consumer<ExpressionStmt> action) { 326 public void ifForStmt(Consumer<ForStmt> action) { 330 public void ifForeachStmt(Consumer<ForeachStmt> action) { [all...] |
/external/python/cpython3/Lib/test/libregrtest/ |
cmdline.py | 148 group.add_argument('-h', '--help', action='help', 154 group.add_argument('--wait', action='store_true', 163 group.add_argument('-v', '--verbose', action='count', 165 group.add_argument('-w', '--verbose2', action='store_true', 167 group.add_argument('-W', '--verbose3', action='store_true', 169 group.add_argument('-q', '--quiet', action='store_true', 171 group.add_argument('-o', '--slowest', action='store_true', dest='print_slow', 173 group.add_argument('--header', action='store_true', 177 group.add_argument('-r', '--randomize', action='store_true', 186 group.add_argument('-x', '--exclude', action='store_true' [all...] |