/packages/services/Car/packages/ScriptExecutor/src/ |
D | JniUtils.cpp | 138 jlongArray longArray = static_cast<jlongArray>(value.get()); in pushBundleToLuaTable() local 139 const auto kLength = env->GetArrayLength(longArray); in pushBundleToLuaTable() 144 jlong* rawLongArray = env->GetLongArrayElements(longArray, nullptr); in pushBundleToLuaTable() 153 env->ReleaseLongArrayElements(longArray, rawLongArray, JNI_ABORT); in pushBundleToLuaTable() 285 std::vector<int64_t> longArray; in convertLuaTableToBundle() local 316 longArray.push_back(lua_tointeger(lua, /* index = */ -1)); in convertLuaTableToBundle() 340 if (longArray.size() > 0) { in convertLuaTableToBundle() 341 bundleInsertionResult = bundleWrapper->putLongArray(key, longArray); in convertLuaTableToBundle()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/ |
D | AbstractAtomConverter.java | 205 long[] longArray = new long[objList.size()]; in setPersistableBundleArrayField() local 207 longArray[i] = (Long) objList.get(i); in setPersistableBundleArrayField() 209 bundle.putLongArray(name, longArray); in setPersistableBundleArrayField()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/ |
D | ArrayUtilsTest.java | 341 long[] longArray = null; in testCloneOrNull() local 342 assertThat(ArrayUtils.cloneOrNull(longArray)).isNull(); in testCloneOrNull() 344 longArray = new long[]{1L}; in testCloneOrNull() 345 assertThat(ArrayUtils.cloneOrNull(longArray)).isEqualTo(longArray); in testCloneOrNull()
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | EventMetric_e2e_test.cpp | 125 vector<int64_t> longArray = {1000L, 10002L}; in TEST_F() local 136 bucketStartTimeNs + 10 * NS_PER_SEC, intArray, longArray, floatArray, stringArray, in TEST_F() 169 EXPECT_THAT(atom.repeated_long_field(), ElementsAreArray(longArray)); in TEST_F()
|
D | GaugeMetric_e2e_push_test.cpp | 339 vector<int64_t> longArray = {1000L, 10002L}; in TEST_F() local 350 bucketStartTimeNs + 10 * NS_PER_SEC, intArray, longArray, floatArray, stringArray, in TEST_F()
|
D | CountMetric_e2e_test.cpp | 991 vector<int64_t> longArray = {1000L, 10002L}; in TEST() local 1002 bucketStartTimeNs + 10 * NS_PER_SEC, intArray, longArray, floatArray, stringArray, in TEST()
|
D | DurationMetric_e2e_test.cpp | 1597 vector<int64_t> longArray = {1000L, 10002L}; in TEST() local
|
/packages/services/Car/packages/ScriptExecutor/tests/functional/src/com/android/car/scriptexecutortest/functional/ |
D | ScriptExecutorFunctionalTest.java | 458 long[] longArray = new long[n]; in invokeScript_noLuaBufferOverflowForLargeInputArrays() local 460 longArray[i] = i; in invokeScript_noLuaBufferOverflowForLargeInputArrays() 462 previousState.putLongArray("long_array", longArray); in invokeScript_noLuaBufferOverflowForLargeInputArrays() 464 (longArray[0] + longArray[n - 1]) * n / 2; // sum of an arithmetic sequence. in invokeScript_noLuaBufferOverflowForLargeInputArrays()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 552 Long[] longArray = new Long[size]; in get() local 554 longArray[i] = propValue.getInt64Value(i); in get() 556 return (T) longArray; in get() 573 long[] longArray = new long[size]; in get() local 575 longArray[i] = propValue.getInt64Value(i); in get() 577 return (T) longArray; in get()
|
/packages/modules/StatsD/statsd/tests/ |
D | FieldValue_test.cpp | 598 vector<int64_t> longArray = {1000L, 10002L}; in TEST() local 609 12345, intArray, longArray, floatArray, stringArray, boolArray, boolArrayLength, in TEST() 631 EXPECT_THAT(atom.repeated_long_field(), ElementsAreArray(longArray)); in TEST()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | StatsPublisher.java | 313 long[] longArray = (long[]) array; in isBundleLargeData() local 314 bytes += longArray.length * Long.BYTES; in isBundleLargeData()
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | MediaParser.java | 2068 private static ByteBuffer toByteBuffer(long[] longArray) { in toByteBuffer() argument 2069 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(longArray.length * Long.BYTES); in toByteBuffer() 2070 for (long element : longArray) { in toByteBuffer()
|