/frameworks/support/persistence/db/src/main/java/android/arch/persistence/db/ |
H A D | SimpleSQLiteQuery.java | 69 final Object arg = bindArgs[i]; 70 bind(statement, i + 1, arg); 74 private static void bind(SupportSQLiteProgram statement, int index, Object arg) { argument 76 if (arg == null) { 78 } else if (arg instanceof byte[]) { 79 statement.bindBlob(index, (byte[]) arg); 80 } else if (arg instanceof Float) { 81 statement.bindDouble(index, (Float) arg); 82 } else if (arg instanceof Double) { 83 statement.bindDouble(index, (Double) arg); [all...] |
/frameworks/av/media/libstagefright/codec2/vndk/include/util/ |
H A D | _C2MacroUtils.h | 79 // macros that convert _1, _2, _3, ... to fn(_1, arg), fn(_2, arg), fn(_3, arg), ... 80 #define _C2_MAP_64(fn, arg, head, ...) fn(head, arg), _C2_MAP_63(fn, arg, ##__VA_ARGS__) 81 #define _C2_MAP_63(fn, arg, head, ...) fn(head, arg), _C2_MAP_62(fn, arg, ##__VA_ARGS__) 82 #define _C2_MAP_62(fn, arg, hea [all...] |
/frameworks/rs/script_api/ |
H A D | rs_debug.spec | 30 arg: const char* message 31 arg: #1 a 46 arg: const char* message 47 arg: #2#1 a 56 arg: const char* message 57 arg: #2#1 a 64 arg: const char* message 65 arg: float#1 a 73 arg: const char* message 74 arg [all...] |
H A D | rs_quaternion.spec | 26 arg: rs_quaternion* q, "Destination quaternion to add to." 27 arg: const rs_quaternion* rhs, "Quaternion to add." 42 arg: rs_quaternion* q, "Quaternion to modify." 56 arg: const rs_quaternion* q0, "First quaternion." 57 arg: const rs_quaternion* q1, "Second quaternion." 69 arg: rs_matrix4x4* m, "Resulting matrix." 70 arg: const rs_quaternion* q, "Normalized quaternion." 102 arg: rs_quaternion* q, "Destination quaternion." 103 arg: float rot, "Angle to rotate by, in radians." 104 arg [all...] |
H A D | rs_atomic.spec | 37 arg: volatile int32_t* addr, "Address of the value to modify." 38 arg: int32_t value, "Amount to add." 48 arg: volatile uint32_t* addr 49 arg: uint32_t value 56 arg: volatile int32_t* addr, "Address of the value to modify." 57 arg: int32_t value, "Value to and with." 68 arg: volatile uint32_t* addr 69 arg: uint32_t value 76 arg: volatile int32_t* addr, "Address of the value to compare and replace if the test passes." 77 arg [all...] |
H A D | rs_graphics.spec | 189 arg: #1* dst 198 arg: #1 v 207 arg: #1* dst 208 arg: #1 src 216 arg: rs_allocation alloc 233 arg: rs_allocation alloc 234 arg: rs_allocation_usage_type source 242 arg: rs_allocation colorTarget 243 arg: uint slot 255 arg [all...] |
H A D | rs_math.spec | 172 arg: #2#1 v 186 arg: #2#1 v, range(-1,1) 200 arg: #2#1 v, range(-1,1) 209 arg: #2#1 v 223 arg: #2#1 v 232 arg: #2#1 v, range(-1,1) 248 arg: #2#1 v, range(-1,1) 257 arg: #2#1 v, range(-1,1) 271 arg: #2#1 v, range(-1,1) 280 arg [all...] |
H A D | rs_matrix.spec | 51 arg: const rs_matrix4x4* viewProj, "Matrix to extract planes from." 52 arg: float4* left, "Left plane." 53 arg: float4* right, "Right plane." 54 arg: float4* top, "Top plane." 55 arg: float4* bottom, "Bottom plane." 56 arg: float4* near, "Near plane." 57 arg: float4* far, "Far plane." 112 arg: const rs_matrix4x4* viewProj 113 arg: float4* left 114 arg [all...] |
H A D | rs_allocation_create.spec | 30 arg: rs_data_type data_type, "Data type of the Element" 42 arg: rs_data_type data_type, "Data type of the Element" 43 arg: uint32_t vector_width, "Vector width (either 2, 3, or 4)" 55 arg: rs_data_type data_type, "Data type of the Element" 56 arg: rs_data_kind data_kind, "Data kind of the Element" 68 arg: int32_t data_type 69 arg: int32_t data_kind 70 arg: bool isNormalized 71 arg: uint32_t vecSize 78 arg [all...] |
/frameworks/support/media-compat-test-client/tests/src/android/support/mediacompat/client/util/ |
H A D | IntentUtil.java | 39 public static void callMediaBrowserServiceMethod(int methodId, Object arg, Context context) { argument 40 Intent intent = createIntent(SERVICE_RECEIVER_COMPONENT_NAME, methodId, arg); 48 private static Intent createIntent(ComponentName componentName, int methodId, Object arg) { argument 53 if (arg instanceof String) { 54 intent.putExtra(KEY_ARGUMENT, (String) arg); 55 } else if (arg instanceof Integer) { 56 intent.putExtra(KEY_ARGUMENT, (int) arg); 57 } else if (arg instanceof Long) { 58 intent.putExtra(KEY_ARGUMENT, (long) arg); 59 } else if (arg instanceo [all...] |
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/ |
H A D | support_macros.h | 27 class_name(class_name& arg) // NOLINT, Do not implement 33 void operator=(class_name& arg) // NOLINT, Do not implement
|
/frameworks/rs/rsov/compiler/tests/ |
H A D | run-lit-tests.sh | 8 for arg in $@ ; do 9 if [[ -a "$arg" ]] ; then
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | Preconditions.java | 37 * @param arg Argument to check 40 * @return arg 44 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) { argument 45 if ((arg & flags) == 0) { 50 return arg; 57 * @param arg Argument to check 60 * @return arg 64 public static <T> T checkEquals(String argName, T arg, argument 66 if (!Objects.equals(arg, expectedValue)) { 70 argName, expectedName, arg, expectedValu 89 checkNotNull(String argName, T arg) argument 109 checkNotNull(T arg) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLLogWrapper.java | 74 private void arg(String name, String value) { method in class:GLLogWrapper 97 private void arg(String name, boolean value) { method in class:GLLogWrapper 98 arg(name, Boolean.toString(value)); 101 private void arg(String name, int value) { method in class:GLLogWrapper 102 arg(name, Integer.toString(value)); 105 private void arg(String name, float value) { method in class:GLLogWrapper 106 arg(name, Float.toString(value)); 118 private void arg(String name, int n, int[] arr, int offset) { method in class:GLLogWrapper 119 arg(name, toString(n, FORMAT_INT, arr, offset)); 122 private void arg(Strin method in class:GLLogWrapper 126 private void arg(String name, int n, float[] arr, int offset) { method in class:GLLogWrapper 230 private void arg(String name, int n, FloatBuffer buf) { method in class:GLLogWrapper 234 private void arg(String name, int n, IntBuffer buf) { method in class:GLLogWrapper 238 private void arg(String name, int n, ShortBuffer buf) { method in class:GLLogWrapper [all...] |
H A D | EGLLogWrapper.java | 50 arg("display", display); 51 arg("attrib_list", attrib_list); 52 arg("config_size", config_size); 57 arg("configs", configs); 58 arg("num_config", num_config); 67 arg("display", display); 68 arg("surface", surface); 69 arg("native_pixmap", native_pixmap); 81 arg("display", display); 82 arg("confi 397 private void arg(String name, String value) { method in class:EGLLogWrapper 420 private void arg(String name, int value) { method in class:EGLLogWrapper 424 private void arg(String name, Object object) { method in class:EGLLogWrapper 428 private void arg(String name, EGLDisplay object) { method in class:EGLLogWrapper 438 private void arg(String name, EGLContext object) { method in class:EGLLogWrapper 446 private void arg(String name, EGLSurface object) { method in class:EGLLogWrapper 479 private void arg(String name, int[] arr) { method in class:EGLLogWrapper 487 private void arg(String name, Object[] arr) { method in class:EGLLogWrapper [all...] |
/frameworks/native/cmds/lshal/ |
H A D | DebugCommand.cpp | 27 Status DebugCommand::parseArgs(const std::string &command, const Arg &arg) { argument 28 if (optind >= arg.argc) { 32 mInterfaceName = arg.argv[optind]; 34 for (; optind < arg.argc; ++optind) { 35 mOptions.push_back(arg.argv[optind]); 40 Status DebugCommand::main(const std::string &command, const Arg &arg) { argument 41 Status status = parseArgs(command, arg);
|
/frameworks/base/cmds/bu/src/com/android/commands/bu/ |
H A D | Backup.java | 54 String arg = nextArg(); 55 if (arg.equals("backup")) { 57 } else if (arg.equals("restore")) { 75 String arg; 76 while ((arg = nextArg()) != null) { 77 if (arg.startsWith("-")) { 78 if ("-apk".equals(arg)) { 80 } else if ("-noapk".equals(arg)) { 82 } else if ("-obb".equals(arg)) { 84 } else if ("-noobb".equals(arg)) { [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | macros.h | 101 #define _PDX_APPLY_BINARY_1(macro, arg, head, next, ...) \ 102 macro(arg, head) \ 103 _PDX_NEXT_FUNC(next, _PDX_APPLY_BINARY_2)(macro, arg, next, __VA_ARGS__) 106 #define _PDX_APPLY_BINARY_2(macro, arg, head, next, ...) \ 107 macro(arg, head) \ 108 _PDX_NEXT_FUNC(next, _PDX_APPLY_BINARY_1)(macro, arg, next, __VA_ARGS__) 112 #define _PDX_HANDLE_EMPTY_ARGS_BINARY(macro, arg, ...) \ 114 (macro, arg, __VA_ARGS__, ()) 117 #define PDX_FOR_EACH_BINARY(macro, arg, ...) \ 118 _PDX_EXPAND(_PDX_HANDLE_EMPTY_ARGS_BINARY(macro, arg, __VA_ARGS_ [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Flags.cpp | 34 auto func = [value](const StringPiece& arg) -> bool { 35 *value = arg.to_string(); 46 auto func = [value](const StringPiece& arg) -> bool { 47 value->push_back(arg.to_string()); 58 auto func = [value](const StringPiece& arg) -> bool { 59 *value = arg.to_string(); 70 auto func = [value](const StringPiece& arg) -> bool { 71 value->push_back(arg.to_string()); 82 auto func = [value](const StringPiece& arg) -> bool { 83 value->insert(arg 139 StringPiece arg = args[i]; local 171 *out_error << "unknown option '" << arg << "'.\\n\\n"; local [all...] |
/frameworks/base/core/java/android/security/keymaster/ |
H A D | KeymasterArguments.java | 101 KeymasterArgument arg = getArgumentByTag(tag); 102 if (arg == null) { 105 return getEnumTagValue(arg); 118 for (KeymasterArgument arg : mArguments) { 119 if (arg.tag == tag) { 120 values.add(getEnumTagValue(arg)); 130 private int getEnumTagValue(KeymasterArgument arg) { argument 131 return ((KeymasterIntArgument) arg).value; 162 KeymasterArgument arg = getArgumentByTag(tag); 163 if (arg 210 getLongTagValue(KeymasterArgument arg) argument [all...] |
/frameworks/compile/slang/lit-tests/ |
H A D | scriptc-filecheck-wrapper.sh | 18 for arg in "$@" 20 case $arg in 22 outdir="${arg#*=}" 25 filecheck="${arg#*=}" 28 lang="${arg#*=}" 31 type="${arg#*=}" 34 check_prefix="${arg}" 41 rsfile="$arg"
|
/frameworks/base/tests/net/java/android/net/apf/ |
H A D | Bpf2Apf.java | 39 private static int parseImm(String line, String arg) { argument 40 if (!arg.startsWith("#0x")) { 43 final long val_long = Long.parseLong(arg.substring(3), 16); 63 String arg = line.substring(15, Math.min(32, line.length())).trim(); 72 if (arg.equals("4*([14]&0xf)")) { 79 if (arg.equals("#pktlen")) { 86 if (arg.startsWith("#0x")) { 90 gen.addLoadImmediate(dest, parseImm(line, arg)); 93 if (arg.startsWith("M[")) { 97 int memory_slot = Integer.parseInt(arg [all...] |
/frameworks/opt/net/lowpan/command/java/com/android/commands/lowpan/ |
H A D | LowpanCtl.java | 209 String arg; 214 while ((arg = nextArg()) != null) { 215 if (arg.equals("--name")) { 218 } else if (arg.equals("-p") || arg.equals("--panid")) { 220 } else if (arg.equals("-c") || arg.equals("--channel")) { 222 } else if (arg.equals("-x") || arg.equals("--xpanid")) { 224 } else if (arg [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsService.java | 134 String arg = cmd; 136 if ("--user".equals(arg)) { 141 arg = getNextArgRequired(); 142 if ("current".equals(arg) || "cur".equals(arg)) { 145 mUser = Integer.parseInt(arg); 148 if ("get".equalsIgnoreCase(arg)) { 150 } else if ("put".equalsIgnoreCase(arg)) { 152 } else if ("delete".equalsIgnoreCase(arg)) { 154 } else if ("list".equalsIgnoreCase(arg)) { [all...] |
/frameworks/av/media/libaaudio/examples/utils/ |
H A D | AAudioArgsParser.h | 138 * @param arg 141 bool parseArg(const char *arg) { argument 143 if (arg[0] == '-') { 144 char option = arg[1]; 147 setBufferCapacity(atoi(&arg[2])); 150 setChannelCount(atoi(&arg[2])); 153 setDeviceId(atoi(&arg[2])); 156 mDurationSeconds = atoi(&arg[2]); 160 if (strlen(arg) > 2) { 161 policy = atoi(&arg[ 193 const char *arg = argv[i]; local [all...] |