/frameworks/base/core/tests/coretests/src/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()
|
/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 | 649 int32_t* ints = new int32_t[numInts]; in convertTo() local 654 ints[0] = 'GB01'; in convertTo() 655 ints[1] = static_cast<int32_t>(t.attr.width); in convertTo() 656 ints[2] = static_cast<int32_t>(t.attr.height); in convertTo() 657 ints[3] = static_cast<int32_t>(t.attr.stride); in convertTo() 658 ints[4] = static_cast<int32_t>(t.attr.format); in convertTo() 665 ints[5] = layer; in convertTo() 666 ints[6] = static_cast<int32_t>(t.attr.usage); in convertTo() 667 ints[7] = static_cast<int32_t>(t.attr.id >> 32); in convertTo() 668 ints[8] = static_cast<int32_t>(t.attr.id & 0xFFFFFFFF); in convertTo() [all …]
|
/frameworks/base/core/java/android/os/ |
D | NativeHandle.java | 78 private NativeHandle(@NonNull int[] fds, @NonNull int[] ints, boolean own) { in NativeHandle() argument 79 this(createFileDescriptorArray(fds), ints, own); in NativeHandle() 87 public NativeHandle(@NonNull FileDescriptor[] fds, @NonNull int[] ints, boolean own) { in NativeHandle() argument 89 mInts = ints.clone(); in NativeHandle()
|
/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/base/media/java/android/media/ |
D | AudioProfile.java | 175 private static String toHexString(int[] ints) { in toHexString() argument 176 if (ints == null || ints.length == 0) { in toHexString() 179 return Arrays.stream(ints).mapToObj(anInt -> String.format("0x%02X", anInt)) in toHexString()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | Conversion.cpp | 208 int32_t* ints = new int32_t[numInts]; in convertTo() local 213 ints[0] = 'GBFR'; in convertTo() 214 ints[1] = static_cast<int32_t>(t.attr.width); in convertTo() 215 ints[2] = static_cast<int32_t>(t.attr.height); in convertTo() 216 ints[3] = static_cast<int32_t>(t.attr.stride); in convertTo() 217 ints[4] = static_cast<int32_t>(t.attr.format); in convertTo() 218 ints[5] = static_cast<int32_t>(t.attr.layerCount); in convertTo() 219 ints[6] = static_cast<int32_t>(t.attr.usage); in convertTo() 220 ints[7] = static_cast<int32_t>(t.attr.id >> 32); in convertTo() 221 ints[8] = static_cast<int32_t>(t.attr.id & 0xFFFFFFFF); in convertTo() [all …]
|
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 …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/mobile/ |
D | MobileIconCarrierIdOverridesTest.java | 124 private Object[] interleaveTypes(String[] strs, int[] ints) { in interleaveTypes() argument 125 assertThat(strs.length).isEqualTo(ints.length); in interleaveTypes() 134 ret[interleavedIndex] = ints[i]; in interleaveTypes()
|
/frameworks/native/libs/sensor/ |
D | ISensorServer.cpp | 198 const Vector<int32_t> &ints) { in setOperationParameter() argument 207 data.writeUint32(static_cast<uint32_t>(ints.size())); in setOperationParameter() 208 for (auto i : ints) { in setOperationParameter() 316 Vector<int32_t> ints; in onTransact() local 335 ints.resize(count); in onTransact() 336 for (auto &i : ints) { in onTransact() 340 int32_t ret = setOperationParameter(handle, type, floats, ints); in onTransact()
|
/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/base/core/java/android/text/ |
D | DynamicLayout.java | 789 int[] ints; in reflow() local 792 ints = new int[COLUMNS_ELLIPSIZE]; in reflow() 793 ints[ELLIPSIS_START] = ELLIPSIS_UNDEFINED; in reflow() 795 ints = new int[COLUMNS_NORMAL]; in reflow() 802 ints[START] = start; in reflow() 803 ints[DIR] |= reflowed.getParagraphDirection(i) << DIR_SHIFT; in reflow() 804 ints[TAB] |= reflowed.getLineContainsTab(i) ? TAB_MASK : 0; in reflow() 809 ints[TOP] = top; in reflow() 815 ints[DESCENT] = desc; in reflow() 816 ints[EXTRA] = reflowed.getLineExtra(i); in reflow() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | AidlNativeHandleUtils.java | 49 res.ints = handle.getInts().clone(); in dup()
|