/frameworks/native/include/ftl/ |
D | array_traits.h | 102 template <template <typename, std::size_t> class Array> 105 friend bool operator==(const Array<T, N>& lhs, const Array<T, M>& rhs) { 110 friend bool operator<(const Array<T, N>& lhs, const Array<T, M>& rhs) { 115 friend bool operator>(const Array<T, N>& lhs, const Array<T, M>& rhs) { 120 friend bool operator!=(const Array<T, N>& lhs, const Array<T, M>& rhs) { 125 friend bool operator>=(const Array<T, N>& lhs, const Array<T, M>& rhs) { 130 friend bool operator<=(const Array<T, N>& lhs, const Array<T, M>& rhs) {
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 27 import java.lang.reflect.Array; 55 Array.setInt(arr, index, i); in getPrimitiveArrayFiller() 63 Array.setFloat(arr, index, i); in getPrimitiveArrayFiller() 71 Array.setLong(arr, index, i); in getPrimitiveArrayFiller() 79 Array.setDouble(arr, index, i); in getPrimitiveArrayFiller() 87 Array.setByte(arr, index, i); in getPrimitiveArrayFiller() 121 int length = Array.getLength(value); 150 array = Array.newInstance(mComponentClass, arraySize); 158 Array.set(array, i, elem); 172 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize)); [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameValues.java | 19 import java.lang.reflect.Array; 35 return Array.getLength(super.getValue()); in getCount() 54 Object[] array = (Object[])Array.newInstance(value.getClass(), 1); in getValues() 78 return Array.get(value, index); in getValueAtIndex() 128 Array.set(curValue, index, value); in setValueAtIndex()
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptC_reduce_general_inputs.java.expect | 129 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 136 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 140 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); 193 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 200 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 204 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); 257 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 264 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 268 throw new RSIllegalArgumentException("Array \"in2\" is not a multiple of 2 in length!"); 272 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
D | ScriptC_reduce_general_input.java.expect | 156 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 189 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 222 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 255 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 288 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 321 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 354 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 387 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 420 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 453 throw new RSIllegalArgumentException("Array \"in1\" is null!"); [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/util/ |
D | ArrayUtils.java | 21 import java.lang.reflect.Array; 62 result = (T[]) Array.newInstance(kind, end + 1); in appendElement() 66 result = (T[]) Array.newInstance(kind, 1); in appendElement() 101 final T[] all = (T[]) Array.newInstance(kind, totalLength); in concatElements() 120 return (T[]) Array.newInstance(kind, 0); in createEmptyArray()
|
/frameworks/base/tools/codegen/src/com/android/codegen/ |
D | Main.kt | 109 fun main(args: Array<String>) { in feature() 130 private fun handleUpdateFlag(cliArgs: Array<String>, sourceLines: List<String>): Array<String> { in handleUpdateFlag()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/ |
D | DumpHandlerTest.kt | 86 any(Array<String>::class.java)) in testDumpablesCanBeDumpedSelectively() 143 any(Array<String>::class.java)) in testNormalDump() 147 any(Array<String>::class.java)) in testNormalDump() 151 any(Array<String>::class.java)) in testNormalDump()
|
/frameworks/base/core/jni/hwbinder/ |
D | EphemeralStorage.cpp | 87 JNIEnv *env, Type ## Array arrayObj) { \ 88 Type ## Array obj = (Type ## Array)env->NewGlobalRef(arrayObj); \ 117 (Type ## Array)item.mObj, \ in DEFINE_ALLOC_VECTOR_METHODS()
|
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
D | ScriptC_reduce_general_accumulator.java.expect | 88 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 121 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 154 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 187 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 220 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 253 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 286 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 319 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 352 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 385 throw new RSIllegalArgumentException("Array \"in1\" is null!"); [all …]
|
/frameworks/base/tools/aapt2/ |
D | ValueVisitor.h | 43 virtual void Visit(Array* value) { VisitAny(value); } in Visit() 89 virtual void Visit(const Array* value) { in Visit() 133 void VisitSubValues(Array* array) { in VisitSubValues() 155 DECL_VISIT_COMPOUND_VALUE(Array);
|
D | ValueTransformer.h | 37 struct Array; 98 AAPT_TRANSFORM_VALUE(Array);
|
D | ResourceValues_test.cpp | 73 Array a; in TEST() 77 Array b; in TEST() 81 Array c; in TEST() 84 Array d; in TEST() 97 Array a; in TEST() 102 std::unique_ptr<Array> b(a.Transform(cloner)); in TEST()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | ShellExecutor.java | 19 import java.lang.reflect.Array; 70 final T[] result = (T[]) Array.newInstance(clazz, 1); in executeBlockingForResult()
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | ScriptC_reduce_general_result.java.expect | 2723 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2756 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2760 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2793 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2797 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 2830 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2863 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2867 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2900 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2904 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | FloatArrayToSizeFilter.java | 28 import java.lang.reflect.Array; 60 int size = Array.getLength(array); in onProcess()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/ |
D | DumpManager.kt | 85 args: Array<String>, in dumpTarget() 107 fun dumpDumpables(fd: FileDescriptor, pw: PrintWriter, args: Array<String>) { in dumpDumpables() 161 args: Array<String> in dumpDumpable()
|
D | DumpHandler.kt | 88 fun dump(fd: FileDescriptor, pw: PrintWriter, args: Array<String>) { in dump() 181 val services: Array<String>? = context.resources.getStringArray(resId) in dumpServiceList() 227 private fun parseArgs(args: Array<String>): ParsedArgs { in parseArgs() 302 val rawArgs: Array<String>,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraMetadataTest.java | 52 import java.lang.reflect.Array; 258 int len = Array.getLength(array); in formatArray() 261 Object elem = Array.get(array, i); in formatArray() 293 Array.getLength(expected), Array.getLength(actual)); in assertArrayEquals() 295 int len = Array.getLength(expected); in assertArrayEquals() 298 Object expectedElement = Array.get(expected, i); in assertArrayEquals() 299 Object actualElement = Array.get(actual, i); in assertArrayEquals() 317 int len = Array.getLength(array); in assertArrayContains() 320 Object actualElement = Array.get(array, i); in assertArrayContains() 1405 int readValuesLength = Array.getLength(expectedReadValues); in validateArrayMetadataReadWriteOverride() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | RingBuffer.java | 21 import java.lang.reflect.Array; 41 mBuffer = (T[]) Array.newInstance(c, capacity); in RingBuffer()
|
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/ |
D | MiscAsserts.kt | 31 fun <T> assertEmpty(ts: Array<T>) = ts.size.let { len -> in <lambda>() 39 fun <T> assertLength(expected: Int, got: Array<T>) = got.size.let { len -> in len() 77 fun assertContainsStringsExactly(actual: Array<String>, vararg expected: String) { in assertContainsStringsExactly()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | ObjectPrinter.java | 22 import java.lang.reflect.Array; 182 int length = Array.getLength(obj); in print() 192 print(builder, Array.get(obj, i), deep, maxCollectionLength); in print()
|
/frameworks/base/core/java/android/text/ |
D | SpanSet.java | 22 import java.lang.reflect.Array; 56 spans = (E[]) Array.newInstance(classType, length); in init()
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | ScriptC_reduce_general_examples_backward.java.expect | 209 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 242 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 276 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 283 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 287 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); 339 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 372 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 405 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 438 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 471 throw new RSIllegalArgumentException("Array \"in1\" is null!");
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
D | ScriptC_reduce_general_examples.java.expect | 209 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 242 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 276 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 283 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 287 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); 339 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 372 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 405 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 438 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 471 throw new RSIllegalArgumentException("Array \"in1\" is null!");
|