Searched refs:JNIObject (Results 1 - 5 of 5) sorted by last modified time
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_WifiNative.cpp | 189 JNIObject<jbyteArray> ssidBytes = helper.newByteArray(len); 199 static JNIObject<jobject> createScanResult(JNIHelper &helper, wifi_scan_result *result, 202 JNIObject<jobject> scanResult = helper.createObject("android/net/wifi/ScanResult"); 205 return JNIObject<jobject>(helper, NULL); 212 return JNIObject<jobject>(helper, NULL); 226 JNIObject<jbyteArray> elements = helper.newByteArray(result->ie_length); 229 return JNIObject<jobject>(helper, NULL); 420 JNIObject<jstring> name = helper.newStringUTF(buf); 442 JNIObject<jobject> scanResult = createScanResult(helper, result, true); 478 JNIObject<jobjec [all...] |
H A D | com_android_server_wifi_nan_WifiNanNative.cpp | 66 JNIObject<jobject> data = helper.createObject( 129 JNIObject<jbyteArray> macBytes = helper.newByteArray(6); 132 JNIObject<jbyteArray> ssiBytes = helper.newByteArray(event->service_specific_info_len); 136 JNIObject<jbyteArray> mfBytes = helper.newByteArray(event->sdf_match_filter_len); 165 JNIObject<jbyteArray> macBytes = helper.newByteArray(6); 168 JNIObject<jbyteArray> msgBytes = helper.newByteArray(event->service_specific_info_len); 184 JNIObject<jbyteArray> macBytes = helper.newByteArray(6); 313 JNIObject<jstring> objStr1 = helper.getStringField(publish_data, "mServiceName"); 386 JNIObject<jstring> objStr1 = helper.getStringField(subscribe_data, "mServiceName");
|
H A D | jni_helper.cpp | 89 JNIObject<jclass> cls(*this, mEnv->GetObjectClass(obj)); 101 JNIObject<jclass> cls(*this, mEnv->GetObjectClass(obj)); 113 JNIObject<jclass> cls(*this, mEnv->GetObjectClass(obj)); 125 JNIObject<jclass> cls(*this, mEnv->GetObjectClass(obj)); 135 JNIObject<jstring> JNIHelper::getStringField(jobject obj, const char *name) 137 JNIObject<jobject> m = getObjectField(obj, name, "Ljava/lang/String;"); 140 return JNIObject<jstring>(*this, NULL); 143 return JNIObject<jstring>(*this, (jstring)m.detach()); 148 JNIObject<jclass> cls(*this, mEnv->GetObjectClass(obj)); 155 JNIObject<jobjec [all...] |
H A D | jni_helper.h | 24 class JNIObject { class in namespace:android 29 JNIObject(JNIHelper &helper, T obj); 30 JNIObject(const JNIObject<T>& rhs); 31 virtual ~JNIObject(); 51 JNIObject<T>& operator = (const JNIObject<T>& rhs) { 63 JNIObject(const JNIObject<T2>& rhs); 81 JNIObject<jstrin 145 JNIObject<T>::JNIObject(JNIHelper &helper, T obj) function in class:android::JNIObject 150 JNIObject<T>::JNIObject(const JNIObject<T>& rhs) function in class:android::JNIObject [all...] |
/frameworks/opt/net/wifi/tests/wifitests/jni/ |
H A D | wifi_nan_hal_mock.cpp | 119 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str()); 166 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str()); 183 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str()); 227 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str()); 245 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str()); 271 JNIObject < jstring > json_write_string = helper.newStringUTF(str.c_str());
|
Completed in 102 milliseconds