Home
last modified time | relevance | path

Searched refs:longArray (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/
DGenericDocumentParcelTest.java113 long[] longArray = new long[] {1L, 2L, 3L}; in testGenericDocumentParcel_propertiesGeneratedCorrectly() local
115 builder.putInPropertyMap(/* name= */ "longArray", /* values= */ longArray); in testGenericDocumentParcel_propertiesGeneratedCorrectly()
123 .setLongValues(longArray) in testGenericDocumentParcel_propertiesGeneratedCorrectly()
143 long[] longArray = new long[] {1L, 2L, 3L}; in testGenericDocumentParcel_buildFromAnotherDocumentParcelCorrectly() local
146 builder.putInPropertyMap(/* name= */ "longArray", /* values= */ longArray); in testGenericDocumentParcel_buildFromAnotherDocumentParcelCorrectly()
196 long[] longArray = new long[] {1L, 2L, 3L}; in testGenericDocumentParcel_builderCanBeReused() local
199 builder.putInPropertyMap(/* name= */ "longArray", /* values= */ longArray); in testGenericDocumentParcel_builderCanBeReused()
210 .setLongValues(longArray) in testGenericDocumentParcel_builderCanBeReused()
225 long[] longArray = new long[] {1L, 2L}; in testRecreateFromParcelWithParentTypes() local
236 .putInPropertyMap("propLongs", longArray) in testRecreateFromParcelWithParentTypes()
[all …]
/packages/services/Car/packages/ScriptExecutor/src/
DJniUtils.cpp138 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/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/
DTestSafeParcelableV2.java104 public long[] longArray; field in TestSafeParcelableV2
206 @Param(id = 17) long[] longArray, in TestSafeParcelableV2()
251 this.longArray = longArray; in TestSafeParcelableV2()
DSafeParcelableTest.java1343 p2.longArray = new long[] {12L, 13L, 14L}; in testSafeParcelableFields()
1429 assertThat(readP2.longArray).isEqualTo(p2.longArray); in testSafeParcelableFields()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DAbstractAtomConverter.java205 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/
DArrayUtilsTest.java341 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/services/Car/packages/ScriptExecutor/tests/functional/src/com/android/car/scriptexecutortest/functional/
DScriptExecutorFunctionalTest.java456 long[] longArray = new long[n]; in invokeScript_noLuaBufferOverflowForLargeInputArrays() local
458 longArray[i] = i; in invokeScript_noLuaBufferOverflowForLargeInputArrays()
460 previousState.putLongArray("long_array", longArray); in invokeScript_noLuaBufferOverflowForLargeInputArrays()
462 (longArray[0] + longArray[n - 1]) * n / 2; // sum of an arithmetic sequence. in invokeScript_noLuaBufferOverflowForLargeInputArrays()
/packages/modules/StatsD/statsd/tests/e2e/
DEventMetric_e2e_test.cpp125 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()
DGaugeMetric_e2e_push_test.cpp338 vector<int64_t> longArray = {1000L, 10002L}; in TEST_F() local
349 bucketStartTimeNs + 10 * NS_PER_SEC, intArray, longArray, floatArray, stringArray, in TEST_F()
DCountMetric_e2e_test.cpp1178 vector<int64_t> longArray = {1000L, 10002L}; in TEST() local
1189 bucketStartTimeNs + 10 * NS_PER_SEC, intArray, longArray, floatArray, stringArray, in TEST()
DDurationMetric_e2e_test.cpp1600 vector<int64_t> longArray = {1000L, 10002L}; in TEST() local
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java1063 Long[] longArray = new Long[size]; in get() local
1065 longArray[i] = propValue.getInt64Value(i); in get()
1067 return (T) longArray; in get()
1084 long[] longArray = new long[size]; in get() local
1086 longArray[i] = propValue.getInt64Value(i); in get()
1088 return (T) longArray; in get()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DStatsPublisher.java313 long[] longArray = (long[]) array; in isBundleLargeData() local
314 bytes += longArray.length * Long.BYTES; in isBundleLargeData()
/packages/modules/Media/apex/framework/java/android/media/
DMediaParser.java2068 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()
/packages/modules/StatsD/statsd/tests/
DFieldValue_test.cpp887 vector<int64_t> longArray = {1000L, 10002L}; in TEST() local
898 12345, intArray, longArray, floatArray, stringArray, boolArray, boolArrayLength, in TEST()
920 EXPECT_THAT(atom.repeated_long_field(), ElementsAreArray(longArray)); in TEST()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...