Home
last modified time | relevance | path

Searched refs:scopedArray (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_os_LongArrayMultiStateCounter.cpp269 ScopedLongArrayRO scopedArray(env, jarray); in native_setValues_LongArrayContainer() local
270 const uint64_t *array = reinterpret_cast<const uint64_t *>(scopedArray.get()); in native_setValues_LongArrayContainer()
271 uint8_t size = scopedArray.size(); in native_setValues_LongArrayContainer()
280 ScopedLongArrayRW scopedArray(env, jarray); in native_getValues_LongArrayContainer() local
283 std::copy(vector->data(), vector->data() + vector->size(), scopedArray.get()); in native_getValues_LongArrayContainer()
289 ScopedLongArrayRW scopedArray(env, jarray); in native_combineValues_LongArrayContainer() local
293 uint64_t *array = reinterpret_cast<uint64_t *>(scopedArray.get()); in native_combineValues_LongArrayContainer()
294 const uint8_t size = scopedArray.size(); in native_combineValues_LongArrayContainer()
/frameworks/base/cmds/uinput/jni/
Dcom_android_commands_uinput_Device.cpp237 ScopedIntArrayRO scopedArray(env, javaArray); in toVector() local
238 size_t size = scopedArray.size(); in toVector()
241 data.push_back(static_cast<int32_t>(scopedArray[i])); in toVector()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp308 ScopedByteArrayRO scopedArray(env, javaArray); in getData() local
309 size_t size = scopedArray.size(); in getData()
312 data.push_back(static_cast<uint8_t>(scopedArray[i])); in getData()