/external/libchrome/sandbox/linux/services/ |
namespace_sandbox_unittest.cc | 228 struct sigaction action = {}; local 229 action.sa_handler = &ExitSuccessfully; 230 PCHECK(sigaction(SIGUSR1, &action, nullptr) == 0);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidMultiTouchHandler.java | 32 final int action = event.getAction() & MotionEvent.ACTION_MASK;
local 42 switch (action) {
106 private void logAction (int action, int pointer) {
108 if (action == MotionEvent.ACTION_DOWN)
110 else if (action == MotionEvent.ACTION_POINTER_DOWN)
112 else if (action == MotionEvent.ACTION_UP)
114 else if (action == MotionEvent.ACTION_POINTER_UP)
116 else if (action == MotionEvent.ACTION_OUTSIDE)
118 else if (action == MotionEvent.ACTION_CANCEL)
120 else if (action == MotionEvent.ACTION_MOVE) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
MultiTouchFilter.java | 16 final int action = event.getAction(); local 17 final int actualEvent = action & MotionEvent.ACTION_MASK;
|
/external/skia/platform_tools/android/tests/ |
makefile_writer_tests.py | 245 action='store_true') variable
|
/external/skia/tests/ |
TDPQueueTest.cpp | 121 unsigned action = random.nextULessThan(3); local 122 switch (action) {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothPairingHelper.java | 36 String action = intent.getAction(); local 37 Log.d("Bluetooth pairing intent received: " + action); 39 if(action.equals(BluetoothDevice.ACTION_PAIRING_REQUEST)) { 41 Log.d("Processing Action Paring Request with type " + type); 49 else if(action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_REQUEST)) { 51 Log.d("Processing Action Connection Access Request type " + type);
|
/external/strace/ |
seccomp.c | 119 unsigned int action = SECCOMP_RET_ACTION & filter->k; local 120 unsigned int data = filter->k & ~action; 122 printxval(seccomp_ret_action, action, "SECCOMP_RET_???");
|
/external/v8/test/unittests/heap/ |
gc-idle-time-handler-unittest.cc | 133 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 134 EXPECT_EQ(DO_NOTHING, action.type); 145 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 146 EXPECT_EQ(DO_FULL_GC, action.type); 156 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 157 EXPECT_EQ(DO_FULL_GC, action.type); 168 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 169 EXPECT_EQ(DO_INCREMENTAL_STEP, action.type); 180 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 181 EXPECT_EQ(DO_INCREMENTAL_STEP, action.type) 188 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 198 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 207 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 216 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local 227 GCIdleTimeAction action = handler()->Compute(0, heap_state); local 237 GCIdleTimeAction action = handler()->Compute(10, heap_state); local 251 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); local [all...] |
/external/v8/tools/ |
trace-maps-processor.py | 9 action = sys.argv[1] variable 11 if action in ["help", "-h", "--help"] or len(sys.argv) != 3: 12 print("Usage: %s <action> <inputfile>, where action can be: \n" 147 if action == "plain": 152 elif action == "dot": 158 elif action == "count":
|
/external/webrtc/webrtc/test/ |
rtp_rtcp_observer.h | 33 enum Action { 42 virtual Action OnSendRtp(const uint8_t* packet, size_t length) { 46 virtual Action OnSendRtcp(const uint8_t* packet, size_t length) { 50 virtual Action OnReceiveRtp(const uint8_t* packet, size_t length) { 54 virtual Action OnReceiveRtcp(const uint8_t* packet, size_t length) { 95 RtpRtcpObserver::Action action; variable 98 action = observer_->OnSendRtp(packet, length); 100 action = observer_->OnReceiveRtp(packet, length); 103 switch (action) { 115 RtpRtcpObserver::Action action; variable [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProvider.java | 60 String action = intent.getAction(); local 61 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { 69 } else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) { 75 } else if (AppWidgetManager.ACTION_APPWIDGET_OPTIONS_CHANGED.equals(action)) { 84 } else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { 86 } else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { 88 } else if (AppWidgetManager.ACTION_APPWIDGET_RESTORED.equals(action)) {
|
/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/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrintErrorFragment.java | 46 public static PrintErrorFragment newInstance(CharSequence message, int action) { 49 arguments.putInt(EXTRA_ACTION, action); 74 final int action = getArguments().getInt(EXTRA_ACTION); local 75 switch (action) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
AccelerationClassifier.java | 45 int action = event.getActionMasked(); local 47 if (action == MotionEvent.ACTION_DOWN) {
|
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/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
AirplaneModeTile.java | 64 MetricsLogger.action(mContext, getMetricsCategory(), !mState.value);
|
ColorInversionTile.java | 84 MetricsLogger.action(mContext, getMetricsCategory(), !mState.value);
|
LocationTile.java | 82 MetricsLogger.action(mContext, getMetricsCategory(), !wasEnabled); 89 MetricsLogger.action(mContext, getMetricsCategory(), !wasEnabled);
|
NightDisplayTile.java | 54 MetricsLogger.action(mContext, getMetricsCategory(), activated);
|
RotationLockTile.java | 78 MetricsLogger.action(mContext, getMetricsCategory(), !mState.value);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NextAlarmController.java | 61 final String action = intent.getAction(); local 62 if (action.equals(Intent.ACTION_USER_SWITCHED) 63 || action.equals(AlarmManager.ACTION_NEXT_ALARM_CLOCK_CHANGED)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbDebuggingSecondaryUserActivity.java | 62 String action = intent.getAction(); local 63 if (UsbManager.ACTION_USB_STATE.equals(action)) {
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
TestAppWidgetProvider.java | 37 String action = intent.getAction(); local 40 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { 43 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { 46 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
|
/frameworks/compile/mclinker/lib/LD/ |
NamePool.cpp | 102 unsigned int action = Resolver::LastAction; local 108 m_pResolver->resolveAgain(*this, action, *old_symbol, *new_symbol, pResult);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/ |
DialogExampleFragment.java | 46 GuidedAction action = new GuidedAction.Builder() local 49 actions.add(action); 50 action = new GuidedAction.Builder() 53 actions.add(action); 57 public void onGuidedActionClicked(GuidedAction action) { 58 if (ACTION_ID_POSITIVE == action.getId()) {
|