Searched refs:parcelData (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/jni/ |
D | LowpanCredentialTest.cpp | 29 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()
|
D | LowpanIdentityTest.cpp | 29 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()
|
D | LowpanProvisionTest.cpp | 29 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()
|
D | LowpanChannelInfoTest.cpp | 29 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()
|
D | LowpanBeaconInfoTest.cpp | 29 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/ |
D | UidRangeTest.cpp | 49 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()
|
D | UidRangeTest.h | 24 android::net::UidRange unmarshall(JNIEnv* env, jbyteArray parcelData);
|