/packages/apps/Nfc/src/com/android/nfc/ |
NfcBootCompletedReceiver.java | 32 String action = intent.getAction(); local 34 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
EventLogger.java | 31 * @param action the action performed 35 public static void logPermission(int action, @NonNull String name, 37 final LogMaker log = new LogMaker(action);
|
/tools/acloud/public/ |
acloud_common.py | 52 action="store_true", 57 action="store_true",
|
/external/selinux/python/semanage/ |
semanage | 79 class CheckRole(argparse.Action): 103 class SetExportFile(argparse.Action): 116 class SetImportFile(argparse.Action): 159 # {action:[conflict_opts,require_opts]} 180 # {action:[conflict_opts,require_opts]} 183 handle_opts(args, login_args, args.action) 187 if args.action is "add": 189 if args.action is "modify": 191 if args.action is "delete": 193 if args.action is "list" [all...] |
/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...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_tgsi_action.c | 24 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 92 const struct lp_build_tgsi_action * action, 104 const struct lp_build_tgsi_action * action, 116 const struct lp_build_tgsi_action * action, 157 const struct lp_build_tgsi_action * action, 190 const struct lp_build_tgsi_action * action, 216 const struct lp_build_tgsi_action * action, 252 const struct lp_build_tgsi_action * action, 318 const struct lp_build_tgsi_action * action, 345 const struct lp_build_tgsi_action * action, [all...] |
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
AccessibilityNodeInfoTest.java | 56 action -> Long.bitCount(action.mSerializationFlag) != 1); 69 action -> Integer.bitCount(action.getId()) == 1 70 && action.getId() <= AccessibilityNodeInfo.LAST_LEGACY_STANDARD_ACTION 71 && action.getId() != action.mSerializationFlag); 75 + ") is different from legacy action id(0x" 97 for (AccessibilityAction action : AccessibilityAction.sStandardActions) { 99 nodeWithAction.addAction(action); [all...] |
/packages/apps/Dialer/java/com/android/incallui/ |
NotificationBroadcastReceiver.java | 40 * Intent Action used for hanging up the current call from Notification bar. This will choose 70 final String action = intent.getAction(); local 71 LogUtil.i("NotificationBroadcastReceiver.onReceive", "Broadcast from Notification: " + action); 74 if (action.equals(ACTION_ANSWER_VIDEO_INCOMING_CALL)) { 76 } else if (action.equals(ACTION_ANSWER_VOICE_INCOMING_CALL)) { 78 } else if (action.equals(ACTION_DECLINE_INCOMING_CALL)) { 82 } else if (action.equals(ACTION_HANG_UP_ONGOING_CALL)) { 84 } else if (action.equals(ACTION_ACCEPT_VIDEO_UPGRADE_REQUEST)) { 86 } else if (action.equals(ACTION_DECLINE_VIDEO_UPGRADE_REQUEST)) { 88 } else if (action.equals(ACTION_PULL_EXTERNAL_CALL)) [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
ActionPresenterSelector.java | 21 import android.support.v17.leanback.widget.Action; 30 // This class is adapted from Leanback's library, which does not support action icon with one-line 40 Action action = (Action) item; local 41 if (TextUtils.isEmpty(action.getLabel2()) && action.getIcon() == null) { 54 Action mAction; 76 Action action = (Action) item local 99 Action action = (Action) item; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
NotificationActionIntentService.java | 35 * Processes notification action {@link Intent}s that need to run off the main thread. 41 public static final String ACTION_REPLY = "com.android.mail.action.notification.REPLY"; 42 public static final String ACTION_REPLY_ALL = "com.android.mail.action.notification.REPLY_ALL"; 43 public static final String ACTION_FORWARD = "com.android.mail.action.notification.FORWARD"; 45 public static final String ACTION_MARK_READ = "com.android.mail.action.notification.MARK_READ"; 49 "com.android.mail.action.notification.ARCHIVE"; 50 public static final String ACTION_DELETE = "com.android.mail.action.notification.DELETE"; 53 * This action cancels the undo notification, and does not commit any changes. 55 public static final String ACTION_UNDO = "com.android.mail.action.notification.UNDO"; 58 * This action performs the actual destructive action 92 final String action = intent.getAction(); local [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestAttributes.java | 58 String action = "i<3; '<xmltag>'"; local 60 new CommonToken(ANTLRParser.ACTION,action),0); 61 String expecting = action; 66 ST actionST = new ST(templates, "<action>"); 67 actionST.add("action", rawTranslation); 73 String action = "int \\$n; \"\\$in string\\$\""; local 77 "@members {"+action+"}\n"+ 79 " : {"+action+"}\n" + 88 new CommonToken(ANTLRParser.ACTION,action),0) 93 String action = "$i; $i.x; $u; $u.x"; local 115 String action = "x, (*a).foo(21,33), 3.2+1, '\\\\n', "+ local 169 String action = "34, '{', \\"it's<\\", '\\"', \\"\\\\\\"\\", 19"; local 205 String action = "(*a).foo(21,33,\\",\\")"; local 230 String action = "34<50"; local 256 String action = "$foo.get(\\"ick\\");"; local 285 String action = "$foo.get(\\"ick\\"); x=3;"; local 339 String action = "x, $A.text+\\"3242\\", (*$A).foo(21,33), 3.2+1, '\\\\n', "+ local 370 String action = "$x.foo"; local 396 String action = "$x.text"; local 418 String action = "$x"; local 444 String action = "$x.i"; local 470 String action = "$b = true;"; local 498 String action = "$x.i1"; local 524 String action = "$i; $i.x; $u; $u.x"; local 572 String action = action1; local 586 String action = "$x"; local 611 String action = "$id; $f; $id.text; $id.getText(); $id.dork " + local 635 String action = "$r.x; $r.start;\\n $r.stop;\\n $r.tree; $a.x; $a.stop;"; local 679 String action = "$r.x; $r.start; $r.stop; $r.tree; $a.x; $a.stop;"; local 707 String action = "$r.x; $r.start; $r.stop; $r.tree; $a.x; $a.tree;"; local 733 String action = "$r.z"; local 760 String action = "$r.n"; local 789 String action = "$r.blort"; local 817 String action = "$r"; local 845 String action = "$a"; local 871 String action = "public void foo() { $x; }"; local 895 String action = "public void foo() { $x.y; }"; local 923 String action = "$Symbols::names.add($id.text);"; local 950 String action = "$Symbols::names.add($id.text);"; local 976 String action = "$Symbols[-1]::names.add($id.text);"; local 1004 String action = "$Symbols[0]::names.add($id.text);"; local 1032 String action = "$Symbols[3]::names.add($id.text);"; local 1060 String action = "$foo_bar::a_b;"; local 1086 String action = "$Symbols::x;"; local 1116 String action = "public void foo() {$Symbols::names.add('foo');}"; local 1143 String action = "public void foo() {$a::name;}"; local 1168 String action = "$a::n;"; local 1193 String action = "$n;"; local 1220 String action = "$a;"; \/\/ refers to stack not top of stack local 1246 String action = "$a::n;"; local 1272 String action = "$Symbols;"; local 1302 String action = "$a::n;"; \/\/ must be qualified local 1329 String action = "$a.i;"; local 1350 String action = "$a.i;"; local 1372 String action = "$a.i = 1;"; local 1394 String action = "$a;"; local 1418 String action = "$x;"; local 1489 String action = "$a.st;"; \/\/ can be qualified local 1512 String action = "$b.start;"; local 1539 String action = "$b::n;"; local 1564 String action = "$st=null;"; local 1586 String action = "$text"; local 1609 String action = "$start;"; local 1633 String action = "$ID.text;"; \/\/ must be qualified local 1666 String action = "$b.text;"; \/\/ must be qualified local 1695 String action = "$a::x"; local 1726 String action = "$Symbols::x"; local 1757 String action = "$n;"; \/\/ must be qualified local 1854 String action = "$ids.size();"; \/\/ must be qualified local 1877 String action = "$ids.size();"; \/\/ must be qualified local 1901 String action = "$ids.size();"; \/\/ must be qualified local 1925 String action = "$ids.size();"; \/\/ must be qualified local 1949 String action = "$ID; $ID.text; $ID.getText()"; local 1975 String action = "$r.start;"; local 1999 String action = "$r.start;"; local 2023 String action = "$r.start;"; local 2048 String action = "$ID.text;"; local 2072 String action = "$ID.text;"; local 2309 String action = "$i.text"; local 2332 String action = "$ID.text"; local 2355 String action = "$ID"; local 2457 String action = "$text $type $line $pos $channel $index $start $stop"; local 2479 String action = "$a $b.text $c $d.text"; local 2502 String action = "$text $type=1 $line=1 $pos=1 $channel=1 $index"; local 2592 String action = "$id.tree;"; local 2618 String action = "$ID.tree;"; local 2640 String action = "$ID;"; local 2663 String action = "$ID.text;"; local 2686 String action = "$field::x = $field.st;"; local 2711 String action = "$rule.tree = null;"; local 2734 String action = "$rule.i = 42; $i = 23;"; local 2757 String action = "$rule.stop = 0;"; local 2784 String action = "$tree = null; $st = null; $start = 0; $stop = 0; $text = 0;"; local 2824 String action = "$other.tree = null;"; local 2854 String action = "$ID.text = \\"test\\";"; local 2883 String action = "$tree.scope = localScope;"; local 2912 String action = "$a.line == $b.line"; local 2936 String action = "if ($rule::foo == \\"foo\\" || 1) { System.out.println(\\"ouch\\"); }"; local 2982 String action = "$r.x; $r.start; $r.stop"; local 3016 String action = "$text"; local 3043 String action = "int x = $b::n;"; local [all...] |
TestTemplates.java | 49 String action = "x = %foo(name={$ID.text});"; local 61 "a : ID {"+action+"}\n" + 72 new CommonToken(ANTLRParser.ACTION,action),1); 87 String action = "x = %foo();"; local 98 "a : ID {"+action+"}\n" + 109 new CommonToken(ANTLRParser.ACTION,action),1); 124 String action = "x = %({\"foo\"})(name={$ID.text});"; local 136 "a : ID {"+action+"}\n" 161 String action = "x = %{$ID.text};"; local 196 String action = "%x.y = z;"; local 232 String action = "%{foo($ID.text).getST()}.y = z;"; local 290 String action = "%x .y = z;"; local 318 String action = "%x. y = z;"; local [all...] |
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
PlaybackControlGlue.java | 26 import androidx.leanback.widget.Action; 96 public void onActionClicked(Action action) { 97 if (shouldDispatchAction(action)) { 98 dispatchAction(action); 101 super.onActionClicked(action); 107 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); local 108 if (shouldDispatchAction(action)) { 109 dispatchAction(action); [all...] |
/bionic/libc/bionic/ |
spawn.cpp | 41 enum Action { 50 Action what; 80 for (__posix_spawn_file_action* action = head; action != nullptr; action = action->next) { 81 action->Do(); 99 // set to the default action in the child process." 291 Action what, 297 __posix_spawn_file_action* action local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
ActionAdapter.java | 75 * Called when the user clicks on an action. 77 public void onActionClicked(Action action); 83 * Called when the user focuses on an action. 85 public void onActionFocused(Action action); 89 * Object listening for adapter action select/unselect events. 94 * Called when user finish selecting an action. 96 public void onActionSelect(Action action); 182 Action action = mActions.get(position); local 277 Action action = (Action) v.getTag(R.id.action_title); local 336 final Action action = (Action) v.getTag(R.id.action_title); local 350 Action action = (Action) v.getTag(R.id.action_title); local 412 final Action action = (Action) v.getTag(R.id.action_title); local [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/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
VideoPlayerActivity.java | 30 public static final String KEY_ACTION = "action"; 31 public static final String ACTION_PLAY_VIDEO = "action.play_video"; 33 "action.play_video_picture_in_picture_mode"; 47 String action = intent.getStringExtra(KEY_ACTION); local 48 Log.i(TAG, "Starting " + action + " from foreground activity."); 50 switch (action) { 59 Log.e(TAG, "Intent had invalid action " + action);
|
/cts/suite/audio_quality/test/ |
TaskSequentialTest.cpp | 26 TaskGeneric* action = NULL; local 27 mTestCase = getTaskCase(setup, action); 30 ASSERT_TRUE(action != NULL); 32 action->addChild(mSequential);
|
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/ |
BootBroadcastReceiver.java | 47 String action = intent.getAction(); local 48 Log.i(TAG, "Received action: " + action + ", user unlocked: " + UserManagerCompat 51 bootCompleted = Intent.ACTION_LOCKED_BOOT_COMPLETED.equals(action); 53 bootCompleted = Intent.ACTION_BOOT_COMPLETED.equals(action);
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/ |
BootBroadcastReceiver.java | 47 String action = intent.getAction(); local 48 Log.i(TAG, "Received action: " + action + ", user unlocked: " + UserManagerCompat 51 bootCompleted = Intent.ACTION_LOCKED_BOOT_COMPLETED.equals(action); 53 bootCompleted = Intent.ACTION_BOOT_COMPLETED.equals(action);
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiDirectBroadcastReceiver.java | 60 String action = intent.getAction(); local 61 Log.d(WiFiServiceDiscoveryActivity.TAG, action); 62 if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) { 83 .equals(action)) {
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/ |
BootBroadcastReceiver.java | 47 String action = intent.getAction(); local 48 Log.i(TAG, "Received action: " + action + ", user unlocked: " + UserManagerCompat 51 bootCompleted = Intent.ACTION_LOCKED_BOOT_COMPLETED.equals(action); 53 bootCompleted = Intent.ACTION_BOOT_COMPLETED.equals(action);
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
flags.py | 15 'browser.', action='store_true')
|
/external/dhcpcd-6.8.2/ |
if-sun.c | 110 int action) 118 if_route(const struct rt *rt, int action) 128 if_address6(const struct ipv6_addr *a, int action) 136 if_route6(const struct rt6 *rt, int action)
|
/external/droiddriver/src/io/appium/droiddriver/ |
UiDevice.java | 21 import io.appium.droiddriver.actions.Action; 42 * Executes a global action without the context of a certain UiElement. 44 * @param action The action to execute 45 * @return true if the action is successful 47 boolean perform(Action action);
|