/frameworks/base/tests/net/java/com/android/internal/util/ |
D | BitUtilsTest.java | 137 new BitPackingTestCase(0, ints()), in testBitsPacking() 138 new BitPackingTestCase(1, ints(0)), in testBitsPacking() 139 new BitPackingTestCase(2, ints(1)), in testBitsPacking() 140 new BitPackingTestCase(3, ints(0, 1)), in testBitsPacking() 141 new BitPackingTestCase(4, ints(2)), in testBitsPacking() 142 new BitPackingTestCase(6, ints(1, 2)), in testBitsPacking() 143 new BitPackingTestCase(9, ints(0, 3)), in testBitsPacking() 144 new BitPackingTestCase(~Long.MAX_VALUE, ints(63)), in testBitsPacking() 145 new BitPackingTestCase(~Long.MAX_VALUE + 1, ints(0, 63)), in testBitsPacking() 146 new BitPackingTestCase(~Long.MAX_VALUE + 2, ints(1, 63)), in testBitsPacking() [all …]
|
/frameworks/base/core/jni/ |
D | android_os_NativeHandle.cpp | 47 ScopedLocalRef<jintArray> ints(env, env->NewIntArray(numInts)); in MakeJavaNativeHandleObj() local 48 env->SetIntArrayRegion(ints.get(), 0, numInts, &(handle->data[numFds])); in MakeJavaNativeHandleObj() 51 gNativeHandleFields.constructID, fds.get(), ints.get(), false /*own*/); in MakeJavaNativeHandleObj() 67 ScopedLocalRef<jintArray> ints(env, (jintArray) env->CallObjectMethod( in MakeCppNativeHandle() local 71 const int numInts = (int) env->GetArrayLength(ints.get()); in MakeCppNativeHandle() 79 env->GetIntArrayRegion(ints.get(), 0, numInts, &(handle->data[numFds])); in MakeCppNativeHandle()
|
D | android_hardware_SensorManager.cpp | 273 jint handle, jint type, jfloatArray floats, jintArray ints) { in nativeSetOperationParameter() argument 283 if (ints != nullptr) { in nativeSetOperationParameter() 284 int32Vector.resize(_env->GetArrayLength(ints)); in nativeSetOperationParameter() 285 _env->GetIntArrayRegion(ints, 0, _env->GetArrayLength(ints), int32Vector.editArray()); in nativeSetOperationParameter()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_vertex_frame.cpp | 37 jintArray ints) { in Java_android_filterfw_core_VertexFrame_setNativeInts() argument 40 if (frame && ints) { in Java_android_filterfw_core_VertexFrame_setNativeInts() 41 jint* int_ptr = env->GetIntArrayElements(ints, NULL); in Java_android_filterfw_core_VertexFrame_setNativeInts() 42 const int length = env->GetArrayLength(ints); in Java_android_filterfw_core_VertexFrame_setNativeInts() 46 env->ReleaseIntArrayElements(ints, int_ptr, JNI_ABORT); in Java_android_filterfw_core_VertexFrame_setNativeInts()
|
D | jni_native_frame.cpp | 101 jintArray ints) { in Java_android_filterfw_core_NativeFrame_setNativeInts() argument 103 if (frame && ints) { in Java_android_filterfw_core_NativeFrame_setNativeInts() 104 jint* int_ptr = env->GetIntArrayElements(ints, NULL); in Java_android_filterfw_core_NativeFrame_setNativeInts() 105 const int length = env->GetArrayLength(ints); in Java_android_filterfw_core_NativeFrame_setNativeInts() 110 env->ReleaseIntArrayElements(ints, int_ptr, JNI_ABORT); in Java_android_filterfw_core_NativeFrame_setNativeInts()
|
D | jni_native_frame.h | 39 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 45 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints);
|
D | jni_gl_frame.cpp | 135 jintArray ints) { in Java_android_filterfw_core_GLFrame_setNativeInts() argument 137 if (frame && ints) { in Java_android_filterfw_core_GLFrame_setNativeInts() 138 jint* int_ptr = env->GetIntArrayElements(ints, NULL); in Java_android_filterfw_core_GLFrame_setNativeInts() 139 const int length = env->GetArrayLength(ints); in Java_android_filterfw_core_GLFrame_setNativeInts() 143 env->ReleaseIntArrayElements(ints, int_ptr, JNI_ABORT); in Java_android_filterfw_core_GLFrame_setNativeInts()
|
D | jni_gl_frame.h | 58 Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 64 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints);
|
D | jni_vertex_frame.h | 33 Java_android_filterfw_core_VertexFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints);
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 642 int32_t* ints = new int32_t[numInts]; in convertTo() local 647 ints[0] = 'GBFR'; in convertTo() 648 ints[1] = static_cast<int32_t>(t.attr.width); in convertTo() 649 ints[2] = static_cast<int32_t>(t.attr.height); in convertTo() 650 ints[3] = static_cast<int32_t>(t.attr.stride); in convertTo() 651 ints[4] = static_cast<int32_t>(t.attr.format); in convertTo() 652 ints[5] = static_cast<int32_t>(t.attr.layerCount); in convertTo() 653 ints[6] = static_cast<int32_t>(t.attr.usage); in convertTo() 654 ints[7] = static_cast<int32_t>(t.attr.id >> 32); in convertTo() 655 ints[8] = static_cast<int32_t>(t.attr.id & 0xFFFFFFFF); in convertTo() [all …]
|
/frameworks/base/core/java/android/os/ |
D | NativeHandle.java | 80 private NativeHandle(@NonNull int[] fds, @NonNull int[] ints, boolean own) { in NativeHandle() argument 81 this(createFileDescriptorArray(fds), ints, own); in NativeHandle() 89 public NativeHandle(@NonNull FileDescriptor[] fds, @NonNull int[] ints, boolean own) { in NativeHandle() argument 91 mInts = ints.clone(); in NativeHandle()
|
/frameworks/native/libs/sensor/ |
D | ISensorServer.cpp | 127 const Vector<int32_t> &ints) { in setOperationParameter() argument 136 data.writeUint32(static_cast<uint32_t>(ints.size())); in setOperationParameter() 137 for (auto i : ints) { in setOperationParameter() 214 Vector<int32_t> ints; in onTransact() local 222 ints.resize(data.readUint32()); in onTransact() 223 for (auto &i : ints) { in onTransact() 227 int32_t ret = setOperationParameter(handle, type, floats, ints); in onTransact()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 109 public void setInts(int[] ints) { in setInts() argument 111 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts() 113 "NativeFrame cannot hold " + ints.length + " integers. (Can only hold " + in setInts() 115 } else if (!setNativeInts(ints)) { in setInts() 248 private native boolean setNativeInts(int[] ints); in setNativeInts() argument
|
D | VertexFrame.java | 62 public void setInts(int[] ints) { in setInts() argument 64 if (!setNativeInts(ints)) { in setInts() 138 private native boolean setNativeInts(int[] ints); in setNativeInts() argument
|
D | SimpleFrame.java | 88 public void setInts(int[] ints) { in setInts() argument 90 setGenericObjectValue(ints); in setInts()
|
D | GLFrame.java | 171 public void setInts(int[] ints) { in setInts() argument 174 if (!setNativeInts(ints)) { in setInts() 384 private native boolean setNativeInts(int[] ints); in setNativeInts() argument
|
D | SerializedFrame.java | 202 public void setInts(int[] ints) { in setInts() argument 204 setGenericObjectValue(ints); in setInts()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | native_handle_wrapper.h | 76 std::vector<int> ints) { in FromFdsAndInts() argument 77 native_handle_t* handle = native_handle_create(fds.size(), ints.size()); in FromFdsAndInts() 87 memcpy(&handle->data[handle->numFds], ints.data(), in FromFdsAndInts()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.cpp | 157 int32_t* ints = new int32_t[numInts]; in convertTo() local 162 ints[0] = 'GBFR'; in convertTo() 163 ints[1] = static_cast<int32_t>(t.attr.width); in convertTo() 164 ints[2] = static_cast<int32_t>(t.attr.height); in convertTo() 165 ints[3] = static_cast<int32_t>(t.attr.stride); in convertTo() 166 ints[4] = static_cast<int32_t>(t.attr.format); in convertTo() 167 ints[5] = static_cast<int32_t>(t.attr.layerCount); in convertTo() 168 ints[6] = static_cast<int32_t>(t.attr.usage); in convertTo() 169 ints[7] = static_cast<int32_t>(t.attr.id >> 32); in convertTo() 170 ints[8] = static_cast<int32_t>(t.attr.id & 0xFFFFFFFF); in convertTo() [all …]
|
D | Conversion.cpp | 222 int32_t* ints = new int32_t[numInts]; in convertTo() local 227 ints[0] = 'GBFR'; in convertTo() 228 ints[1] = static_cast<int32_t>(t.attr.width); in convertTo() 229 ints[2] = static_cast<int32_t>(t.attr.height); in convertTo() 230 ints[3] = static_cast<int32_t>(t.attr.stride); in convertTo() 231 ints[4] = static_cast<int32_t>(t.attr.format); in convertTo() 232 ints[5] = static_cast<int32_t>(t.attr.layerCount); in convertTo() 233 ints[6] = static_cast<int32_t>(t.attr.usage); in convertTo() 234 ints[7] = static_cast<int32_t>(t.attr.id >> 32); in convertTo() 235 ints[8] = static_cast<int32_t>(t.attr.id & 0xFFFFFFFF); in convertTo() [all …]
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 646 int[] ints; in reflow() local 649 ints = new int[COLUMNS_ELLIPSIZE]; in reflow() 650 ints[ELLIPSIS_START] = ELLIPSIS_UNDEFINED; in reflow() 652 ints = new int[COLUMNS_NORMAL]; in reflow() 659 ints[START] = start; in reflow() 660 ints[DIR] |= reflowed.getParagraphDirection(i) << DIR_SHIFT; in reflow() 661 ints[TAB] |= reflowed.getLineContainsTab(i) ? TAB_MASK : 0; in reflow() 666 ints[TOP] = top; in reflow() 672 ints[DESCENT] = desc; in reflow() 673 ints[EXTRA] = reflowed.getLineExtra(i); in reflow() [all …]
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 207 EXPECT_EQ(complex.ints(0), 23); in TEST() 208 EXPECT_EQ(complex.ints(1), 101); in TEST() 209 EXPECT_EQ(complex.ints(2), -72); in TEST() 248 EXPECT_EQ(complex.ints(0), 23); in TEST() 249 EXPECT_EQ(complex.ints(1), 101); in TEST() 250 EXPECT_EQ(complex.ints(2), -72); in TEST() 274 EXPECT_EQ(beforeClear.ints(0), 32); in TEST() 275 EXPECT_EQ(beforeClear.ints(1), 15); in TEST() 284 EXPECT_EQ(afterClear.ints(0), 1076); in TEST() 307 EXPECT_EQ(complex.ints(0), UINT64_C(-123809234)); in TEST()
|
D | test.proto | 34 repeated int32 ints = 1; field
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScoringParams.java | 162 int[] ints = parser.getIntArray(key, null); in updateIntArray() local 163 if (ints == null) throw new IllegalArgumentException(); in updateIntArray() 164 if (ints.length != dest.length) throw new IllegalArgumentException(); in updateIntArray() 166 dest[i] = ints[i]; in updateIntArray()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsParcelExtTest.java | 120 private static Set<Integer> asSet(int[] ints) { in asSet() argument 121 return IntStream.of(ints).boxed().collect(Collectors.toSet()); in asSet()
|