/art/test/004-SignalTest/ |
signaltest.cc | 112 struct sigaction action; local 113 action.sa_sigaction = signalhandler; 114 sigfillset(&action.sa_mask); 115 sigdelset(&action.sa_mask, UNBLOCKED_SIGNAL); 116 action.sa_flags = SA_SIGINFO | SA_ONSTACK; 118 action.sa_restorer = nullptr; 121 sigaction(SIGSEGV, &action, &oldaction); 124 if (!compare_sigaction(&check, &action)) { 126 printf("action.sa_mask = %p, check.sa_mask = %p\n", 127 *reinterpret_cast<void**>(&action.sa_mask) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
CompHelperActivity.java | 82 final String action = getIntent().getAction(); local 83 if (ACTION_SET_ALWAYS_ON_VPN.equals(action)) { 89 } else if (ACTION_INSTALL_CA_CERT.equals(action)) { 91 } else if (ACTION_SET_MAXIMUM_PASSWORD_ATTEMPTS.equals(action)) {
|
/cts/hostsidetests/devicepolicy/app/WifiConfigCreator/src/com/android/cts/deviceowner/wificonfigcreator/ |
WifiConfigCreatorActivity.java | 47 String action = intent.getAction(); local 48 if (ACTION_CREATE_WIFI_CONFIG.equals(action)) { 53 } else if (ACTION_UPDATE_WIFI_CONFIG.equals(action)) { 59 } else if (ACTION_REMOVE_WIFI_CONFIG.equals(action)) { 65 Log.i(TAG, "Unknown command: " + action);
|
/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) {
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
StatsdCtsBackgroundService.java | 29 public static final String KEY_ACTION = "action"; 30 public static final String ACTION_BACKGROUND_SLEEP = "action.background_sleep"; 31 public static final String ACTION_END_IMMEDIATELY = "action.end_immediately"; 41 String action = intent.getStringExtra(KEY_ACTION); local 42 Log.i(TAG, "Starting " + action + " from background service."); 44 switch (action) { 51 Log.e(TAG, "Intent had invalid action");
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
WaitForBroadcast.java | 49 public void prepare(String action) { 53 mWaitingAction = action; 55 filter.addAction(action); 66 String action = mWaitingAction; local 68 throw new IllegalStateException("Timed out waiting for broadcast " + action);
|
/cts/tests/tests/content/src/android/content/cts/ |
ImageCaptureActivity.java | 33 public static final String ACTION_FILE_READY = "android.content.cts.action.file_ready"; 40 // Check action. 41 String action = intent.getAction(); local 42 if ((MediaStore.ACTION_IMAGE_CAPTURE.equals(action) 43 || MediaStore.ACTION_IMAGE_CAPTURE_SECURE.equals(action) 44 || MediaStore.ACTION_VIDEO_CAPTURE.equals(action))) {
|
ReadableFileReceiverActivity.java | 35 = "android.content.cts.action.CONFIRM_READ_SUCCESS"; 42 // Check action. 43 String action = intent.getAction(); local 44 if (Intent.ACTION_SEND.equals(action) 45 || Intent.ACTION_SEND_MULTIPLE.equals(action)) {
|
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
ActionsPresets.java | 93 NotificationCompat.Action action = new NotificationCompat.Action.Builder( local 100 builder.addAction(action); 117 NotificationCompat.Action action = new NotificationCompat.Action.Builder( local 124 wearableOptions.addAction(action); 136 NotificationCompat.Action phoneAction = new NotificationCompat.Action.Builder [all...] |
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/ |
TimerNotificationService.java | 51 String action = intent.getAction(); local 52 if (Constants.ACTION_SHOW_ALARM.equals(action)) { 54 } else if (Constants.ACTION_DELETE_ALARM.equals(action)) { 56 } else if (Constants.ACTION_RESTART_ALARM.equals(action)) { 59 throw new IllegalStateException("Undefined constant used: " + action);
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
ReplyToMessageIntentService.java | 60 String action = intent.getAction(); local 61 if (Constants.ACTION_REPLY.equals(action)) {
|
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
WiFiDirectBroadcastReceiver.java | 58 String action = intent.getAction(); local 59 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) { 72 } else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action)) { 82 } else if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) { 103 } else if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) {
|
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
ActionsPresets.java | 93 NotificationCompat.Action action = new NotificationCompat.Action.Builder( local 100 builder.addAction(action); 117 NotificationCompat.Action action = new NotificationCompat.Action.Builder( local 124 wearableOptions.addAction(action); 136 NotificationCompat.Action phoneAction = new NotificationCompat.Action.Builder [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/ |
TimerNotificationService.java | 51 String action = intent.getAction(); local 52 if (Constants.ACTION_SHOW_ALARM.equals(action)) { 54 } else if (Constants.ACTION_DELETE_ALARM.equals(action)) { 56 } else if (Constants.ACTION_RESTART_ALARM.equals(action)) { 59 throw new IllegalStateException("Undefined constant used: " + action);
|
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
ReplyToMessageIntentService.java | 60 String action = intent.getAction(); local 61 if (Constants.ACTION_REPLY.equals(action)) {
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
MagnificationService.java | 94 final int action = event.getAction(); local 95 if (action == KeyEvent.ACTION_UP) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LauncherShortcuts.java | 44 * media item, or action. 63 final String action = intent.getAction(); local 67 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) { 116 * triggers the desired action within your Activity. 121 // data Uri in order to display a more specific result, or a custom action in order to
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
WiFiDirectBroadcastReceiver.java | 58 String action = intent.getAction(); local 59 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) { 72 } else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action)) { 82 } else if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) { 103 } else if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) {
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
ActionsPresets.java | 93 NotificationCompat.Action action = new NotificationCompat.Action.Builder( local 100 builder.addAction(action); 117 NotificationCompat.Action action = new NotificationCompat.Action.Builder( local 124 wearableOptions.addAction(action); 136 NotificationCompat.Action phoneAction = new NotificationCompat.Action.Builder [all...] |
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/ |
TimerNotificationService.java | 51 String action = intent.getAction(); local 52 if (Constants.ACTION_SHOW_ALARM.equals(action)) { 54 } else if (Constants.ACTION_DELETE_ALARM.equals(action)) { 56 } else if (Constants.ACTION_RESTART_ALARM.equals(action)) { 59 throw new IllegalStateException("Undefined constant used: " + action);
|
/development/samples/training/notify-user/src/com/example/android/pingme/ |
PingService.java | 53 String action = intent.getAction(); local 56 if(action.equals(CommonConstants.ACTION_PING)) { 58 } else if (action.equals(CommonConstants.ACTION_SNOOZE)) { 64 } else if (action.equals(CommonConstants.ACTION_DISMISS)) { 73 // Sets up the Snooze and Dismiss action buttons that will appear in the
|
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/ |
fiptool.h | 37 int action; member in struct:image_desc
|
/external/blktrace/doc/ |
blktrace.tex | 486 & & action specifiers in section~\ref{sec:act-table} \\ \hline 578 below it in the io stack. The remap action details what exactly is 593 \emph{a} & Action, a (small) string (1 or 2 characters) -- see table below for more details \\ \hline 627 \subsubsection{\label{sec:act-table}Action Table} 674 Seeing this in action: 684 \paragraph{Default output per action} [all...] |
/external/iproute2/tc/ |
m_police.c | 12 * 2002: J Hadi Salim - Add tc action extensions syntax 61 struct tc_police p = { .action = TC_POLICE_RECLASSIFY }; 156 if (parse_action_control(&argc, &argv, &p.action, false)) 160 if (parse_action_control_slash(&argc, &argv, &p.action, 299 print_action_control(f, "action ", p->action, ""); 302 __u32 action = rta_getattr_u32(tb[TCA_POLICE_RESULT]); local 304 print_action_control(f, "/", action, " ");
|
m_vlan.c | 45 static bool has_push_attribs(int action) 47 return action == TCA_VLAN_ACT_PUSH || action == TCA_VLAN_ACT_MODIFY; 56 int action = 0; local 72 if (action) { 73 fprintf(stderr, "unexpected \"%s\" - action already specified\n", 78 action = TCA_VLAN_ACT_POP; 80 if (action) { 81 fprintf(stderr, "unexpected \"%s\" - action already specified\n", 86 action = TCA_VLAN_ACT_PUSH [all...] |