Home
last modified time | relevance | path

Searched refs:Array (Results 1 – 25 of 131) sorted by relevance

123456

/frameworks/native/include/ftl/
Darray_traits.h102 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/
DMarshalQueryableArray.java27 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/
DFrameValues.java19 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/
DScriptC_reduce_general_inputs.java.expect129 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/
DScriptC_reduce_general_input.java.expect156 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/
DArrayUtils.java21 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/
DMain.kt109 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/
DDumpHandlerTest.kt86 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/
DEphemeralStorage.cpp87 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/
DScriptC_reduce_general_accumulator.java.expect88 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/
DValueVisitor.h43 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);
DValueTransformer.h37 struct Array;
98 AAPT_TRANSFORM_VALUE(Array);
DResourceValues_test.cpp73 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/
DShellExecutor.java19 import java.lang.reflect.Array;
70 final T[] result = (T[]) Array.newInstance(clazz, 1); in executeBlockingForResult()
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect2723 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/
DFloatArrayToSizeFilter.java28 import java.lang.reflect.Array;
60 int size = Array.getLength(array); in onProcess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
DDumpManager.kt85 args: Array<String>, in dumpTarget()
107 fun dumpDumpables(fd: FileDescriptor, pw: PrintWriter, args: Array<String>) { in dumpDumpables()
161 args: Array<String> in dumpDumpable()
DDumpHandler.kt88 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/
DCameraMetadataTest.java52 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/
DRingBuffer.java21 import java.lang.reflect.Array;
41 mBuffer = (T[]) Array.newInstance(c, capacity); in RingBuffer()
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/
DMiscAsserts.kt31 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/
DObjectPrinter.java22 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/
DSpanSet.java22 import java.lang.reflect.Array;
56 spans = (E[]) Array.newInstance(classType, length); in init()
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect209 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/
DScriptC_reduce_general_examples.java.expect209 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!");

123456