Home
last modified time | relevance | path

Searched refs:parcelData (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/jni/
DLowpanCredentialTest.cpp29 static LowpanCredential unmarshall(JNIEnv* env, jbyteArray parcelData) { in unmarshall() argument
30 const int length = env->GetArrayLength(parcelData); in unmarshall()
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
55 jbyteArray parcelData = env->NewByteArray(length); in marshall() local
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
58 return parcelData; in marshall()
DLowpanIdentityTest.cpp29 static LowpanIdentity unmarshall(JNIEnv* env, jbyteArray parcelData) { in unmarshall() argument
30 const int length = env->GetArrayLength(parcelData); in unmarshall()
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
55 jbyteArray parcelData = env->NewByteArray(length); in marshall() local
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
58 return parcelData; in marshall()
DLowpanProvisionTest.cpp29 static LowpanProvision unmarshall(JNIEnv* env, jbyteArray parcelData) { in unmarshall() argument
30 const int length = env->GetArrayLength(parcelData); in unmarshall()
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
55 jbyteArray parcelData = env->NewByteArray(length); in marshall() local
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
58 return parcelData; in marshall()
DLowpanChannelInfoTest.cpp29 static LowpanChannelInfo unmarshall(JNIEnv* env, jbyteArray parcelData) { in unmarshall() argument
30 const int length = env->GetArrayLength(parcelData); in unmarshall()
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
55 jbyteArray parcelData = env->NewByteArray(length); in marshall() local
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
58 return parcelData; in marshall()
DLowpanBeaconInfoTest.cpp29 static LowpanBeaconInfo unmarshall(JNIEnv* env, jbyteArray parcelData) { in unmarshall() argument
30 const int length = env->GetArrayLength(parcelData); in unmarshall()
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
55 jbyteArray parcelData = env->NewByteArray(length); in marshall() local
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
58 return parcelData; in marshall()
/frameworks/base/tests/net/jni/
DUidRangeTest.cpp49 UidRange unmarshall(JNIEnv* env, jbyteArray parcelData) { in unmarshall() argument
50 const int length = env->GetArrayLength(parcelData); in unmarshall()
53 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
75 jbyteArray parcelData = env->NewByteArray(length); in marshall() local
76 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
78 return parcelData; in marshall()
DUidRangeTest.h24 android::net::UidRange unmarshall(JNIEnv* env, jbyteArray parcelData);