/libcore/ojluni/src/main/java/java/util/ |
Iterator.java | 82 * {@link UnsupportedOperationException} and performs no other action. 97 * Performs the given action for each remaining element until all elements 98 * have been processed or the action throws an exception. Actions are 100 * Exceptions thrown by the action are relayed to the caller. 106 * action.accept(next()); 109 * @param action The action to be performed for each element 110 * @throws NullPointerException if the specified action is null 113 default void forEachRemaining(Consumer<? super E> action) { 114 Objects.requireNonNull(action); [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
load_media_unittest.py | 24 action = LoadMediaAction(selector='#video_1', timeout_in_seconds=0.1, 26 action.WillRunAction(self._tab) 27 action.RunAction(self._tab) 33 action = LoadMediaAction(timeout_in_seconds=5) 34 action.WillRunAction(self._tab) 35 action.RunAction(self._tab) 42 action = LoadMediaAction(selector='#audio_1', timeout_in_seconds=5) 43 action.WillRunAction(self._tab) 44 action.RunAction(self._tab) 51 action = LoadMediaAction(selector='all', timeout_in_seconds=5 [all...] |
/frameworks/base/core/java/android/view/ |
HandlerActionQueue.java | 34 public void post(Runnable action) { 35 postDelayed(action, 0); 38 public void postDelayed(Runnable action, long delayMillis) { 39 final HandlerAction handlerAction = new HandlerAction(action, delayMillis); 50 public void removeCallbacks(Runnable action) { 57 if (actions[i].matches(action)) { 58 // Remove this action by overwriting it within 87 handler.postDelayed(handlerAction.action, handlerAction.delay); 103 return mActions[index].action; 114 final Runnable action; field in class:HandlerActionQueue.HandlerAction [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
GuidedStepAttributesTestFragment.java | 56 public void onGuidedActionClicked(GuidedAction action) { 57 super.onGuidedActionFocused(action); 58 Callback callback = sCallbacks.get(action.getId()); 60 callback.onActionClicked(this, action.getId()); 62 LAST_CLICKED_ACTION_ID = action.getId(); 67 public void onGuidedActionFocused(GuidedAction action) { 68 super.onGuidedActionFocused(action); 69 LAST_SELECTED_ACTION_ID = action.getId(); 73 public boolean onSubGuidedActionClicked(GuidedAction action) { 74 super.onSubGuidedActionClicked(action); [all...] |
/external/eigen/bench/btl/generic_bench/timers/ |
STL_perf_analyzer.hh | 26 template<class ACTION> 45 ACTION action(size); 51 action.initialize(); 58 action.initialize(); 59 action.calculate(); 66 // cout << size <<" "<<baseline_time<<" "<<calculate_time<<" "<<corrected_time<<" "<<action.nb_op_base() << endl; 68 return action.nb_op_base()/(corrected_time*1000000.0); 69 //return action.nb_op_base()/(calculate_time*1000000.0);
|
portable_perf_analyzer.hh | 27 template <class Action> 43 Action action(size); 45 // action.initialize(); 46 // time_action = time_calculate(action); 51 action.initialize(); 52 m_time_action = time_calculate(action); 58 Action _action(size); 69 action.initialize(); 70 action.calculate() [all...] |
/external/vogar/src/vogar/ |
Mode.java | 36 Task executeActionTask(Action action, boolean useLargeTimeout); 39 * Hook method called after action compilation. 41 Set<Task> installActionTasks(Action action, File jar); 45 * the given action. 47 Set<Task> cleanupTasks(Action action); 50 * Returns a VM for action execution. 56 VmCommandBuilder newVmCommandBuilder(Action action, File workingDirectory) [all...] |
/external/vogar/src/vogar/android/ |
InstallApkTask.java | 22 import vogar.Action; 33 private final Action action; field in class:InstallApkTask 37 public InstallApkTask(Run run, Action action, File jar) { 38 super("aapt and push " + action.getName()); 39 this.action = action; 53 File dex = createDex(action, jar); 54 File apk = createApk(action, dex) [all...] |
ActivityMode.java | 23 import vogar.Action; 32 * Runs an action in the context of an android.app.Activity on a device 46 @Override public Set<Task> installActionTasks(Action action, File jar) { 47 return Collections.<Task>singleton(new InstallApkTask(run, action, jar)); 50 @Override public Task executeActionTask(Action action, boolean useLargeTimeout) { 51 return new RunActivityTask(run, action, useLargeTimeout); 54 @Override public Set<Task> cleanupTasks(Action action) { [all...] |
/external/autotest/server/ |
autoserv_parser.py | 33 self.parser.add_argument('-m', action='store', type=str, 36 self.parser.add_argument('-M', action='store', type=str, 39 self.parser.add_argument('-c', action='store_true', 42 self.parser.add_argument('-s', action='store_true', 45 self.parser.add_argument('-r', action='store', type=str, 48 self.parser.add_argument('-l', action='store', type=str, 51 self.parser.add_argument('-G', action='store', type=str, 54 self.parser.add_argument('-u', action='store', type=str, 58 self.parser.add_argument('-P', action='store', type=str, 64 self.parser.add_argument('--execution-tag', action='store' [all...] |
/external/autotest/cli/ |
query_results | 15 '-C', '--columns', action='store', dest='columns', 19 parser.add_option('-w', '--where', action='store', dest='condition', 24 '--test-attribute-field', action='append', default=[], 31 parser.add_option('--test-label-field', action='append', default=[], 34 parser.add_option('--iteration-result-field', action='append', default=[], 39 parser.add_option('--machine-label-field', action='append', default=[], 42 parser.add_option('--job-keyval-field', action='append', default=[], 45 parser.add_option('--iteration-attribute-field', action='append', default=[], 50 parser.add_option('-s', '--separator', action='store', default = ' | ', 52 parser.add_option('-n', '--nocount', action='store_true', default=False [all...] |
/system/update_engine/common/ |
action_unittest.cc | 17 #include "update_engine/common/action.h" 38 // This is a simple Action class for testing. 39 class ActionTestAction : public Action<ActionTestAction> { 59 ActionTestAction action; local 61 EXPECT_FALSE(action.in_pipe()); 62 EXPECT_FALSE(action.out_pipe()); 63 EXPECT_FALSE(action.processor()); 64 EXPECT_FALSE(action.IsRunning()); 67 action_processor.EnqueueAction(&action); 68 EXPECT_EQ(&action_processor, action.processor()) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreeVisitor.cs | 50 * Visit every node in tree t and trigger an action for each node 55 * applying post action to this node. 58 public object Visit(object t, ITreeVisitorAction action) 62 if (action != null && !isNil) 64 t = action.Pre(t); // if rewritten, walk children of new t 69 Visit(child, action); 71 if (action != null && !isNil) 72 t = action.Post(t);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreeVisitor.cs | 52 * Visit every node in tree t and trigger an action for each node 57 * applying post action to this node. 60 public object Visit( object t, ITreeVisitorAction action ) 64 if ( action != null && !isNil ) 66 t = action.Pre( t ); // if rewritten, walk children of new t 71 Visit( child, action ); 73 if ( action != null && !isNil ) 74 t = action.Post( t );
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeVisitor.java | 42 /** Visit every node in tree t and trigger an action for each node 50 * Return result of applying post action to this node. 52 public Object visit(Object t, TreeVisitorAction action) { 55 if ( action!=null && !isNil ) { 56 t = action.pre(t); // if rewritten, walk children of new t 60 Object visitResult = visit(child, action); 66 if ( action!=null && !isNil ) t = action.post(t);
|
/external/pdfium/fpdfsdk/include/ |
fsdk_actionhandler.h | 24 FX_BOOL DoAction_Hide(const CPDF_Action& action, CPDFSDK_Document* pDocument); 25 FX_BOOL DoAction_SubmitForm(const CPDF_Action& action, 27 FX_BOOL DoAction_ResetForm(const CPDF_Action& action, 29 FX_BOOL DoAction_ImportData(const CPDF_Action& action, 37 FX_BOOL DoAction_DocOpen(const CPDF_Action& action, 42 FX_BOOL DoAction_Page(const CPDF_Action& action, 45 FX_BOOL DoAction_Document(const CPDF_Action& action, 49 const CPDF_Action& action, 52 FX_BOOL DoAction_Screen(const CPDF_Action& action, 56 FX_BOOL DoAction_Link(const CPDF_Action& action, CPDFSDK_Document* pDocument) [all...] |
/cts/suite/audio_quality/test/ |
TaskCaseCommon.h | 28 * Create TaskCase with setup and action as children 29 * No need to destroy setup and action 31 inline TaskCase* getTaskCase(TaskGeneric*& setup, TaskGeneric*& action) 37 action = factory.createTask(TaskGeneric::ETaskAction); 38 taskCase->addChild(action);
|
/external/droiddriver/src/io/appium/droiddriver/validators/ |
ExemptScrollActionValidator.java | 20 import io.appium.droiddriver.actions.Action; 29 public boolean isApplicable(UiElement element, Action action) { 30 return action instanceof ScrollAction; 34 public String validate(UiElement element, Action action) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/ |
RepeatAction.java | 19 /** Repeats an action a number of times or forever.
29 if (action.act(delta)) {
33 if (action != null) action.restart();
38 /** Causes the action to not repeat again. */
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
PointerCountClassifier.java | 38 int action = event.getActionMasked(); local 40 if (action == MotionEvent.ACTION_DOWN) { 44 if (action == MotionEvent.ACTION_POINTER_DOWN) {
|
/libcore/ojluni/src/main/java/java/lang/ |
Iterable.java | 54 * Performs the given action for each element of the {@code Iterable} 55 * until all elements have been processed or the action throws an 58 * is specified). Exceptions thrown by the action are relayed to the 65 * action.accept(t); 68 * @param action The action to be performed for each element 69 * @throws NullPointerException if the specified action is null 72 default void forEach(Consumer<? super T> action) { 73 Objects.requireNonNull(action); 75 action.accept(t) [all...] |
/system/bt/bta/mce/ |
bta_mce_main.c | 40 /* state machine action enumeration list */ 43 /* type for action functions */ 46 /* action function list */ 68 UINT16 action = (p_msg->event & 0x00ff); local 70 /* execute action functions */ 71 if(action < BTA_MCE_NUM_ACTIONS) 73 (*bta_mce_action[action])((tBTA_MCE_MSG*)p_msg);
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
event.hpp | 18 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 54 typedef std::function<void (clover::event &)> action; typedef in struct:_cl_event 57 action action_ok, action action_fail); 79 action action_ok; 80 action action_fail; 101 action action = [](event &){}); 129 bool trigger, action action = [](event &){}) [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
NotificationBroadcastReceiver.java | 32 * Intent Action used for hanging up the current call from Notification bar. This will 55 final String action = intent.getAction(); local 56 Log.i(this, "Broadcast from Notification: " + action); 59 if (action.equals(ACTION_ANSWER_VIDEO_INCOMING_CALL)) { 62 } else if (action.equals(ACTION_ANSWER_VOICE_INCOMING_CALL)) { 65 } else if (action.equals(ACTION_DECLINE_INCOMING_CALL)) { 67 } else if (action.equals(ACTION_HANG_UP_ONGOING_CALL)) { 69 } else if (action.equals(ACTION_ACCEPT_VIDEO_UPGRADE_REQUEST)) { 73 } else if (action.equals(ACTION_DECLINE_VIDEO_UPGRADE_REQUEST)) { 75 } else if (action.equals(ACTION_PULL_EXTERNAL_CALL)) [all...] |
/external/bison/lib/ |
fatal-signal.c | 38 These are those signals whose default action is to terminate the process 95 struct sigaction action; local 97 if (sigaction (fatal_signals[i], NULL, &action) >= 0 98 && get_handler (&action) == SIG_IGN) 113 The 'action' field is accessed from within the fatal_signal_handler(), 117 volatile action_t action; member in struct:__anon7157 156 /* Get the last registered cleanup action, in a reentrant way. */ 157 action_t action; local 163 action = actions[n].action; 183 struct sigaction action; local [all...] |