/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...] |
H A D | rs_vector_math.spec | 43 arg: #2#1 left_vector 44 arg: #2#1 right_vector 57 arg: #2#1 left_vector 58 arg: #2#1 right_vector 68 arg: #2#1 left_vector 69 arg: #2#1 right_vector 84 arg: #2#1 left_vector 85 arg: #2#1 right_vector 95 arg: #2#1 left_vector 96 arg [all...] |
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/ |
H A D | SimpleSQLiteQuery.java | 77 final Object arg = bindArgs[i]; 78 bind(statement, i + 1, arg); 82 private static void bind(SupportSQLiteProgram statement, int index, Object arg) { argument 84 if (arg == null) { 86 } else if (arg instanceof byte[]) { 87 statement.bindBlob(index, (byte[]) arg); 88 } else if (arg instanceof Float) { 89 statement.bindDouble(index, (Float) arg); 90 } else if (arg instanceof Double) { 91 statement.bindDouble(index, (Double) arg); [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/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/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/util/ |
H A D | IntentUtil.java | 57 public static void callMediaBrowserServiceMethod(int methodId, Object arg, Context context) { argument 58 Intent intent = createIntent(SERVICE_RECEIVER_COMPONENT_NAME, methodId, arg); 69 public static void callMediaSessionMethod(int methodId, Object arg, Context context) { argument 70 Intent intent = createIntent(SERVICE_RECEIVER_COMPONENT_NAME, methodId, arg); 82 int methodId, Object arg, Context context, Parcelable token) { 83 Intent intent = createIntent(CLIENT_RECEIVER_COMPONENT_NAME, methodId, arg); 96 int methodId, Object arg, Context context, Parcelable token) { 97 Intent intent = createIntent(CLIENT_RECEIVER_COMPONENT_NAME, methodId, arg); 106 private static Intent createIntent(ComponentName componentName, int methodId, Object arg) { argument 111 if (arg instanceo 81 callMediaControllerMethod( int methodId, Object arg, Context context, Parcelable token) argument 95 callTransportControlsMethod( int methodId, Object arg, Context context, Parcelable token) argument [all...] |
/frameworks/native/cmds/lshal/ |
H A D | DebugCommand.cpp | 34 Status DebugCommand::parseArgs(const Arg &arg) { argument 35 if (optind >= arg.argc) { 41 if (std::string(arg.argv[optind]) == "-E") { 46 mInterfaceName = arg.argv[optind]; 48 for (; optind < arg.argc; ++optind) { 49 mOptions.push_back(arg.argv[optind]); 54 Status DebugCommand::main(const Arg &arg) { argument 55 Status status = parseArgs(arg);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | CommonHelpers.cpp | 34 const std::string arg = argv[i]; local 35 if (base::StartsWith(arg, "--testdata=")) { 36 SetTestDataPath(arg.substr(strlen("--testdata="))); 42 } else if (arg == "-h" || arg == "--help") {
|
/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/services/core/java/com/android/server/ |
H A D | BinderCallsStatsService.java | 58 for (final String arg : args) { 59 if ("-a".equals(arg)) { 62 } else if ("--reset".equals(arg)) { 66 } else if ("--enable-detailed-tracking".equals(arg)) { 71 } else if ("--disable-detailed-tracking".equals(arg)) { 76 } else if ("-h".equals(arg)) { 83 pw.println("Unknown option: " + arg);
|
/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/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...] |