/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceScript.java | 279 private void handleEvent(String s, String[] args) { in handleEvent() argument 281 if (s.indexOf(EVENT_KEYWORD_KEY) >= 0 && args.length == 8) { in handleEvent() 284 long downTime = Long.parseLong(args[0]); in handleEvent() 285 long eventTime = Long.parseLong(args[1]); in handleEvent() 286 int action = Integer.parseInt(args[2]); in handleEvent() 287 int code = Integer.parseInt(args[3]); in handleEvent() 288 int repeat = Integer.parseInt(args[4]); in handleEvent() 289 int metaState = Integer.parseInt(args[5]); in handleEvent() 290 int device = Integer.parseInt(args[6]); in handleEvent() 291 int scancode = Integer.parseInt(args[7]); in handleEvent() [all …]
|
D | MonkeySourceNetworkViews.java | 76 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); in query() argument 203 List<String> args; in translateCommand() local 208 args = command.subList(4, command.size()); in translateCommand() 216 args = command.subList(5, command.size()); in translateCommand() 228 return getter.query(node, args); in translateCommand() 290 List<String> args) { in query() argument 291 if (args.size() == 0) { in query() 312 List<String> args) { in query() argument 313 if (args.size() == 0) { in query() 336 List<String> args) { in query() argument [all …]
|
D | MonkeyInstrumentationEvent.java | 45 Bundle args = new Bundle(); in injectEvent() local 46 args.putString("class", mTestCaseName); in injectEvent() 48 iam.startInstrumentation(cn, null, 0, args, null, null, 0, null); in injectEvent()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | MessageDialogFragment.java | 31 Bundle args = new Bundle(); in newInstance() local 32 args.putInt(ARG_MESSAGE_INT, message); in newInstance() 33 fragment.setArguments(args); in newInstance() 39 Bundle args = new Bundle(); in newInstance() local 40 args.putString(ARG_MESSAGE_STRING, message); in newInstance() 41 fragment.setArguments(args); in newInstance() 49 Bundle args = getArguments(); in onCreateDialog() local 50 if (args.containsKey(ARG_MESSAGE_INT)) { in onCreateDialog() 51 builder.setMessage(args.getInt(ARG_MESSAGE_INT)); in onCreateDialog() 52 } else if (args.containsKey(ARG_MESSAGE_STRING)) { in onCreateDialog() [all …]
|
/development/samples/browseable/FragmentTransition/src/com.example.android.fragmenttransition/ |
D | DetailFragment.java | 60 Bundle args = new Bundle(); in newInstance() local 61 args.putInt(ARG_RESOURCE_ID, resourceId); in newInstance() 62 args.putString(ARG_TITLE, title); in newInstance() 63 args.putInt(ARG_X, x); in newInstance() 64 args.putInt(ARG_Y, y); in newInstance() 65 args.putInt(ARG_WIDTH, width); in newInstance() 66 args.putInt(ARG_HEIGHT, height); in newInstance() 67 fragment.setArguments(args); in newInstance() 91 Bundle args = getArguments(); in onViewCreated() local 93 if (args != null) { in onViewCreated() [all …]
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
D | DeviceTestRunner.java | 59 public TestResult start(String[] args) throws Exception { in start() argument 62 for (int i=0; i < args.length; i++) { in start() 63 if (args[i].equals("-s")) { in start() 65 mDeviceSerial = extractArg(args, i); in start() 66 } else if (args[i].equals("-p")) { in start() 68 mTestDataPath = extractArg(args, i); in start() 71 parentArgs.add(args[i]); in start() 79 private String extractArg(String[] args, int index) { in extractArg() argument 80 if (args.length <= index) { in extractArg() 84 return args[index]; in extractArg() [all …]
|
/development/scripts/ |
D | add-accounts-sdk | 34 def RunCmd(args): argument 35 proc = subprocess.Popen(args, stdout=subprocess.PIPE) 39 print "failed: %s" % " ".join(args) 44 args = ("adb",) + adb_flags + ("shell", "/system/bin/getprop", name) 45 return RunCmd(args) 48 args = ("adb",) + adb_flags + ("shell", "/system/bin/setprop", name, value) 49 return RunCmd(args) 52 args = ("adb",) + adb_flags + ("shell", "/system/bin/ls", DB) 53 result = RunCmd(args)
|
D | add-accounts | 34 def RunCmd(args): argument 35 proc = subprocess.Popen(args, stdout=subprocess.PIPE) 39 print "failed: %s" % " ".join(args) 44 args = ("adb",) + adb_flags + ("shell", "su", "root", 46 return RunCmd(args) 49 args = ("adb",) + adb_flags + ("shell", "su", "root", 51 return RunCmd(args) 54 args = ("adb",) + adb_flags + ("shell", "su", "root", 56 result = RunCmd(args)
|
/development/tools/apkcheck/src/com/android/apkcheck/ |
D | ApkCheck.java | 58 public static void main(String[] args) { in main() argument 61 if (args.length < 2) { in main() 68 for (idx = 0; idx < args.length; idx++) { in main() 69 if (args[idx].equals("--help")) { in main() 72 } else if (args[idx].startsWith("--uses-library=")) { in main() 73 String libName = args[idx].substring(args[idx].indexOf('=')+1); in main() 82 } else if (args[idx].startsWith("--ignore-package=")) { in main() 83 String pkgName = args[idx].substring(args[idx].indexOf('=')+1); in main() 85 } else if (args[idx].equals("--warn")) { in main() 87 } else if (args[idx].equals("--no-warn")) { in main() [all …]
|
/development/ndk/sources/android/libportable/arch-mips/ |
D | open.c | 80 va_list args; in WRAP() local 81 va_start(args, flags); in WRAP() 82 mode = (mode_t) va_arg(args, int); in WRAP() 83 va_end(args); in WRAP() 95 va_list args; in WRAP() local 96 va_start(args, flags); in WRAP() 97 mode = (mode_t) va_arg(args, int); in WRAP() 98 va_end(args); in WRAP()
|
D | clone.c | 53 va_list args; in WRAP() local 90 va_start(args, arg); in WRAP() 92 parent_tidptr = va_arg(args, int*); in WRAP() 95 new_tls = va_arg(args, void*); in WRAP() 98 child_tidptr = va_arg(args, int*); in WRAP() 100 va_end(args); in WRAP()
|
D | syscall.c | 60 int i, nargs, args[MAXARGS]; in WRAP() local 610 args[i] = va_arg(ap, int); in WRAP() 614 native_number, args[0], args[1], args[2], args[3], args[4], in WRAP() 615 args[5], args[6], args[7]); in WRAP() 617 ret = REAL(syscall)(native_number, args[0], args[1], args[2], args[3], in WRAP() 618 args[4], args[5], args[6], args[7]); in WRAP()
|
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
D | SimpleTextFragment.java | 88 Bundle args = getArguments(); in processArguments() local 89 if (args.containsKey(TEXT_KEY)) { in processArguments() 90 mText = args.getString(TEXT_KEY); in processArguments() 92 } else if (args.containsKey(TEXT_ID_KEY)) { in processArguments() 93 mTextId = args.getInt(TEXT_ID_KEY); in processArguments()
|
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/ |
D | SimpleTextFragment.java | 89 Bundle args = getArguments(); in processArguments() local 90 if (args.containsKey(TEXT_KEY)) { in processArguments() 91 mText = args.getString(TEXT_KEY); in processArguments() 93 } else if (args.containsKey(TEXT_ID_KEY)) { in processArguments() 94 mTextId = args.getInt(TEXT_ID_KEY); in processArguments()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/ |
D | ContentFragment.java | 63 Bundle args = getArguments(); in onViewCreated() local 65 if (args != null) { in onViewCreated() 67 title.setText("Title: " + args.getCharSequence(KEY_TITLE)); in onViewCreated() 69 int indicatorColor = args.getInt(KEY_INDICATOR_COLOR); in onViewCreated() 74 int dividerColor = args.getInt(KEY_DIVIDER_COLOR); in onViewCreated()
|
/development/ndk/platforms/android-L/include/linux/netfilter/ |
D | x_tables.h | 109 …args...) ({ unsigned int __i; int __ret = 0; struct xt_entry_match *__m; for (__i = siz… argument 110 …args...) ({ unsigned int __i, __n; int __ret = 0; type *__entry; for (__i = 0, __n = 0;… argument 111 …XT_ENTRY_ITERATE(type, entries, size, fn, args...) XT_ENTRY_ITERATE_CONTINUE(type, entries, size… argument
|
/development/tools/idegen/src/com/android/idegen/ |
D | IntellijProject.java | 176 public static void main(String[] args) { in main() argument 177 logger.info("Args: " + Arrays.toString(args)); in main() 179 if (args.length < 3) { in main() 186 String arg = args[argIndex]; in main() 192 arg = args[argIndex]; in main() 195 String indexFile = args[argIndex++]; in main() 196 String projectPath = args[argIndex++]; in main() 199 for (int i = argIndex; i < args.length; i++) { in main() 200 moduleDirs.add(args[i]); in main()
|
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
D | CollectionDemoActivity.java | 113 Bundle args = new Bundle(); in getItem() local 114 args.putInt(DemoObjectFragment.ARG_OBJECT, i + 1); // Our object is just an integer :-P in getItem() 115 fragment.setArguments(args); in getItem() 142 Bundle args = getArguments(); in onCreateView() local 144 Integer.toString(args.getInt(ARG_OBJECT))); in onCreateView()
|
/development/samples/training/ads-and-ux/src/com/example/training/ads/ |
D | AdsCatalogActivity.java | 92 Bundle args = new Bundle(); in newInstance() local 93 args.putInt("num", num); in newInstance() 94 af.setArguments(args); in newInstance() 105 Bundle args = getArguments(); in onCreate() local 106 mNum = args != null ? args.getInt("num") : 1; in onCreate()
|
/development/ndk/platforms/android-L/include/linux/netfilter_bridge/ |
D | ebtables.h | 165 …args...) ({ unsigned int __i; int __ret = 0; struct ebt_entry_match *__match; for (__i … argument 166 …args...) ({ unsigned int __i; int __ret = 0; struct ebt_entry_watcher *__watcher; for (… argument 167 …args...) ({ unsigned int __i; int __ret = 0; struct ebt_entry *__entry; for (__i = 0; _… argument
|
/development/ndk/platforms/android-3/include/ |
D | jni.h | 586 va_list args; in NewObject() local 587 va_start(args, methodID); in NewObject() 588 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject() 589 va_end(args); in NewObject() 593 jobject NewObjectV(jclass clazz, jmethodID methodID, va_list args) in NewObjectV() 594 { return functions->NewObjectV(this, clazz, methodID, args); } in NewObjectV() 596 jobject NewObjectA(jclass clazz, jmethodID methodID, jvalue* args) in NewObjectA() 597 { return functions->NewObjectA(this, clazz, methodID, args); } in NewObjectA() 613 va_list args; \ 614 va_start(args, methodID); \ [all …]
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
D | CountingFragment.java | 38 Bundle args = new Bundle(); in newInstance() local 39 args.putInt("num", num); in newInstance() 40 f.setArguments(args); in newInstance()
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | ScreenSlidePageFragment.java | 49 Bundle args = new Bundle(); in create() local 50 args.putInt(ARG_PAGE, pageNumber); in create() 51 fragment.setArguments(args); in create()
|
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/ |
D | ArticleFragment.java | 52 Bundle args = getArguments(); in onStart() local 53 if (args != null) { in onStart() 55 updateArticleView(args.getInt(ARG_POSITION)); in onStart()
|
/development/build/tools/ |
D | mk_sources_zip.py | 51 def verbose(msg, *args): argument 55 if args: 56 msg = msg % args 91 opts, args = getopt.getopt(argv[1:], 112 if len(args) != 3: 115 p.PROPS = args[0] 116 p.DST = args[1] 117 p.SRC = args[2]
|