/frameworks/native/include/binder/ |
IServiceManager.h | 71 const sp<IServiceManager> sm = defaultServiceManager(); local 72 if (sm != NULL) { 73 *outService = interface_cast<INTERFACE>(sm->getService(name));
|
/hardware/ril/mock-ril/src/java/com/android/internal/telephony/ |
RilChannel.java | 58 RilChannel sm = new RilChannel(); local 59 sm.open(); 61 return sm;
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_leap.c | 39 static void * eap_leap_init(struct eap_sm *sm) 48 sm->leap_done = FALSE; 53 static void eap_leap_deinit(struct eap_sm *sm, void *priv) 59 static struct wpabuf * eap_leap_process_request(struct eap_sm *sm, void *priv, 72 identity = eap_get_config_identity(sm, &identity_len); 73 password = eap_get_config_password2(sm, &password_len, &pwhash); 133 static struct wpabuf * eap_leap_process_success(struct eap_sm *sm, void *priv, 145 identity = eap_get_config_identity(sm, &identity_len); 183 static struct wpabuf * eap_leap_process_response(struct eap_sm *sm, void *priv, 196 password = eap_get_config_password2(sm, &password_len, &pwhash) [all...] |
eap_sim.c | 82 static void * eap_sim_init(struct eap_sm *sm) 85 struct eap_peer_config *config = eap_get_config(sm); 135 static void eap_sim_deinit(struct eap_sm *sm, void *priv) 148 static int eap_sim_gsm_auth(struct eap_sm *sm, struct eap_sim_data *data) 154 conf = eap_get_config(sm); 158 if (scard_gsm_auth(sm->scard_ctx, data->rand[0], 160 scard_gsm_auth(sm->scard_ctx, data->rand[1], 163 scard_gsm_auth(sm->scard_ctx, data->rand[2], 270 static void eap_sim_clear_identities(struct eap_sm *sm, 278 eap_set_anon_id(sm, NULL, 0) [all...] |
eap_aka.c | 89 static void * eap_aka_init(struct eap_sm *sm) 92 const char *phase1 = eap_get_config_phase1(sm); 93 struct eap_peer_config *config = eap_get_config(sm); 120 static void * eap_aka_prime_init(struct eap_sm *sm) 122 struct eap_aka_data *data = eap_aka_init(sm); 131 static void eap_aka_deinit(struct eap_sm *sm, void *priv) 145 static int eap_aka_umts_auth(struct eap_sm *sm, struct eap_aka_data *data) 151 conf = eap_get_config(sm); 155 return scard_umts_auth(sm->scard_ctx, data->rand, 240 static void eap_aka_clear_identities(struct eap_sm *sm, [all...] |
eap_sake.c | 65 static void eap_sake_deinit(struct eap_sm *sm, void *priv); 68 static void * eap_sake_init(struct eap_sm *sm) 74 password = eap_get_config_password(sm, &password_len); 86 identity = eap_get_config_identity(sm, &identity_len); 90 eap_sake_deinit(sm, data); 106 static void eap_sake_deinit(struct eap_sm *sm, void *priv) 141 static struct wpabuf * eap_sake_process_identity(struct eap_sm *sm, 185 static struct wpabuf * eap_sake_process_challenge(struct eap_sm *sm, 285 static struct wpabuf * eap_sake_process_confirm(struct eap_sm *sm, 361 static struct wpabuf * eap_sake_process(struct eap_sm *sm, void *priv [all...] |
/external/openssl/crypto/store/ |
store.h | 340 int STORE_method_set_initialise_function(STORE_METHOD *sm, STORE_INITIALISE_FUNC_PTR init_f); 341 int STORE_method_set_cleanup_function(STORE_METHOD *sm, STORE_CLEANUP_FUNC_PTR clean_f); 342 int STORE_method_set_generate_function(STORE_METHOD *sm, STORE_GENERATE_OBJECT_FUNC_PTR generate_f); 343 int STORE_method_set_get_function(STORE_METHOD *sm, STORE_GET_OBJECT_FUNC_PTR get_f); 344 int STORE_method_set_store_function(STORE_METHOD *sm, STORE_STORE_OBJECT_FUNC_PTR store_f); 345 int STORE_method_set_modify_function(STORE_METHOD *sm, STORE_MODIFY_OBJECT_FUNC_PTR store_f); 346 int STORE_method_set_revoke_function(STORE_METHOD *sm, STORE_HANDLE_OBJECT_FUNC_PTR revoke_f); 347 int STORE_method_set_delete_function(STORE_METHOD *sm, STORE_HANDLE_OBJECT_FUNC_PTR delete_f); 348 int STORE_method_set_list_start_function(STORE_METHOD *sm, STORE_START_OBJECT_FUNC_PTR list_start_f); 349 int STORE_method_set_list_next_function(STORE_METHOD *sm, STORE_NEXT_OBJECT_FUNC_PTR list_next_f) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_pax.c | 50 static void * eap_pax_init(struct eap_sm *sm) 68 static void eap_pax_reset(struct eap_sm *sm, void *priv) 76 static struct wpabuf * eap_pax_build_std_1(struct eap_sm *sm, 123 static struct wpabuf * eap_pax_build_std_3(struct eap_sm *sm, 170 static struct wpabuf * eap_pax_buildReq(struct eap_sm *sm, void *priv, u8 id) 176 return eap_pax_build_std_1(sm, data, id); 178 return eap_pax_build_std_3(sm, data, id); 188 static Boolean eap_pax_check(struct eap_sm *sm, void *priv, 288 static void eap_pax_process_std_2(struct eap_sm *sm, 352 if (eap_user_get(sm, (u8 *) data->cid, data->cid_len, 0) < 0) [all...] |
eap_psk.c | 38 static void * eap_psk_init(struct eap_sm *sm) 53 static void eap_psk_reset(struct eap_sm *sm, void *priv) 61 static struct wpabuf * eap_psk_build_1(struct eap_sm *sm, 96 static struct wpabuf * eap_psk_build_3(struct eap_sm *sm, 161 static struct wpabuf * eap_psk_buildReq(struct eap_sm *sm, void *priv, u8 id) 167 return eap_psk_build_1(sm, data, id); 169 return eap_psk_build_3(sm, data, id); 179 static Boolean eap_psk_check(struct eap_sm *sm, void *priv, 218 static void eap_psk_process_2(struct eap_sm *sm, 255 if (eap_user_get(sm, data->id_p, data->id_p_len, 0) < 0) [all...] |
eap_sake.c | 68 static void * eap_sake_init(struct eap_sm *sm) 94 static void eap_sake_reset(struct eap_sm *sm, void *priv) 129 static struct wpabuf * eap_sake_build_identity(struct eap_sm *sm, 160 static struct wpabuf * eap_sake_build_challenge(struct eap_sm *sm, 200 static struct wpabuf * eap_sake_build_confirm(struct eap_sm *sm, 235 static struct wpabuf * eap_sake_buildReq(struct eap_sm *sm, void *priv, u8 id) 241 return eap_sake_build_identity(sm, data, id); 243 return eap_sake_build_challenge(sm, data, id); 245 return eap_sake_build_confirm(sm, data, id); 255 static Boolean eap_sake_check(struct eap_sm *sm, void *priv [all...] |
eap_ikev2.c | 40 struct eap_sm *sm = ctx; local 45 IDr = sm->identity; 46 IDr_len = sm->identity_len; 49 if (eap_user_get(sm, IDr, IDr_len, 0) < 0 || sm->user == NULL || 50 sm->user->password == NULL) { 55 *secret_len = sm->user->password_len; 56 return sm->user->password; 88 static void * eap_ikev2_init(struct eap_sm *sm) 115 data->ikev2.cb_ctx = sm; [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_pax.c | 45 static void * eap_pax_init(struct eap_sm *sm) 63 static void eap_pax_reset(struct eap_sm *sm, void *priv) 71 static struct wpabuf * eap_pax_build_std_1(struct eap_sm *sm, 118 static struct wpabuf * eap_pax_build_std_3(struct eap_sm *sm, 165 static struct wpabuf * eap_pax_buildReq(struct eap_sm *sm, void *priv, u8 id) 171 return eap_pax_build_std_1(sm, data, id); 173 return eap_pax_build_std_3(sm, data, id); 183 static Boolean eap_pax_check(struct eap_sm *sm, void *priv, 283 static void eap_pax_process_std_2(struct eap_sm *sm, 347 if (eap_user_get(sm, (u8 *) data->cid, data->cid_len, 0) < 0) [all...] |
eap_server_psk.c | 33 static void * eap_psk_init(struct eap_sm *sm) 48 static void eap_psk_reset(struct eap_sm *sm, void *priv) 56 static struct wpabuf * eap_psk_build_1(struct eap_sm *sm, 91 static struct wpabuf * eap_psk_build_3(struct eap_sm *sm, 158 static struct wpabuf * eap_psk_buildReq(struct eap_sm *sm, void *priv, u8 id) 164 return eap_psk_build_1(sm, data, id); 166 return eap_psk_build_3(sm, data, id); 176 static Boolean eap_psk_check(struct eap_sm *sm, void *priv, 215 static void eap_psk_process_2(struct eap_sm *sm, 252 if (eap_user_get(sm, data->id_p, data->id_p_len, 0) < 0) [all...] |
eap_server_ikev2.c | 34 struct eap_sm *sm = ctx; local 39 IDr = sm->identity; 40 IDr_len = sm->identity_len; 43 if (eap_user_get(sm, IDr, IDr_len, 0) < 0 || sm->user == NULL || 44 sm->user->password == NULL) { 49 *secret_len = sm->user->password_len; 50 return sm->user->password; 82 static void * eap_ikev2_init(struct eap_sm *sm) 90 data->fragment_size = sm->fragment_size > 0 ? sm->fragment_size [all...] |
eap_server_sake.c | 63 static void * eap_sake_init(struct eap_sm *sm) 89 static void eap_sake_reset(struct eap_sm *sm, void *priv) 124 static struct wpabuf * eap_sake_build_identity(struct eap_sm *sm, 155 static struct wpabuf * eap_sake_build_challenge(struct eap_sm *sm, 195 static struct wpabuf * eap_sake_build_confirm(struct eap_sm *sm, 230 static struct wpabuf * eap_sake_buildReq(struct eap_sm *sm, void *priv, u8 id) 236 return eap_sake_build_identity(sm, data, id); 238 return eap_sake_build_challenge(sm, data, id); 240 return eap_sake_build_confirm(sm, data, id); 250 static Boolean eap_sake_check(struct eap_sm *sm, void *priv [all...] |
eap_server_tnc.c | 73 static void * eap_tnc_init(struct eap_sm *sm) 87 data->fragment_size = sm->fragment_size > 100 ? 88 sm->fragment_size - 98 : 1300; 94 static void eap_tnc_reset(struct eap_sm *sm, void *priv) 104 static struct wpabuf * eap_tnc_build_start(struct eap_sm *sm, 126 static struct wpabuf * eap_tnc_build(struct eap_sm *sm, 174 static struct wpabuf * eap_tnc_build_recommendation(struct eap_sm *sm, 196 return eap_tnc_build(sm, data); 280 static struct wpabuf * eap_tnc_buildReq(struct eap_sm *sm, void *priv, u8 id) 287 return eap_tnc_build_start(sm, data, id) [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
AsyncChannel.java | 771 SyncMessenger sm; local 774 sm = new SyncMessenger(); 775 sm.mHandlerThread = new HandlerThread("SyncHandler-" + sCount++); 776 sm.mHandlerThread.start(); 777 sm.mHandler = sm.new SyncHandler(sm.mHandlerThread.getLooper()); 778 sm.mMessenger = new Messenger(sm.mHandler); 780 sm = sStack.pop() 802 SyncMessenger sm = SyncMessenger.obtain(); local [all...] |
/frameworks/rs/ |
rsMesh.cpp | 277 Mesh *sm = new Mesh(rsc, vtxCount, idxCount); local 278 sm->incUserRef(); 281 sm->setVertexBuffer((Allocation*)vtx[i], i); 285 sm->setPrimitive((Allocation*)idx[i], (RsPrimitive)primType[i], i); 288 sm->init(); 290 return sm; 296 Mesh *sm = static_cast<Mesh *>(mv); local 297 *numVtx = sm->mHal.state.vertexBuffersCount; 301 Mesh *sm = static_cast<Mesh *>(mv); local 302 *numIdx = sm->mHal.state.primitivesCount 306 Mesh *sm = static_cast<Mesh *>(mv); local 316 Mesh *sm = static_cast<Mesh *>(mv); local [all...] |
/sdk/testapps/testSensors/src/com/android/tests/testsensors/ |
TestSensorsActivity.java | 157 SensorManager sm = (SensorManager) getSystemService(SENSOR_SERVICE); local 158 sm.registerListener(this, mSensor, SensorManager.SENSOR_DELAY_UI); 166 SensorManager sm = (SensorManager) getSystemService(SENSOR_SERVICE); local 167 sm.unregisterListener(this); 211 SensorManager sm = (SensorManager) getSystemService(SENSOR_SERVICE); local 212 List<Sensor> sensors = sm.getSensorList(Sensor.TYPE_ALL); 222 Sensor def_sens = sm.getDefaultSensor(avail_sensor.getType());
|
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_web.c | 182 static void format_wps_device_xml(struct upnp_wps_device_sm *sm, 189 iface = dl_list_first(&sm->interfaces, 305 static void web_connection_parse_get(struct upnp_wps_device_sm *sm, 320 iface = dl_list_first(&sm->interfaces, 396 format_wps_device_xml(sm, buf); 414 web_process_get_device_info(struct upnp_wps_device_sm *sm, 422 iface = dl_list_first(&sm->interfaces, 466 web_process_put_message(struct upnp_wps_device_sm *sm, char *data, 476 iface = dl_list_first(&sm->interfaces, 502 web_process_put_wlan_response(struct upnp_wps_device_sm *sm, char *data 1254 struct upnp_wps_device_sm *sm = ctx; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_tls_common.c | 25 static int eap_tls_check_blob(struct eap_sm *sm, const char **name, 33 blob = eap_get_config_blob(sm, *name + 7); 102 static int eap_tls_params_from_conf(struct eap_sm *sm, 121 if (eap_tls_check_blob(sm, ¶ms->ca_cert, ¶ms->ca_cert_blob, 123 eap_tls_check_blob(sm, ¶ms->client_cert, 126 eap_tls_check_blob(sm, ¶ms->private_key, 129 eap_tls_check_blob(sm, ¶ms->dh_file, ¶ms->dh_blob, 139 static int eap_tls_init_connection(struct eap_sm *sm, 146 data->conn = tls_connection_init(sm->ssl_ctx); 153 res = tls_connection_set_params(sm->ssl_ctx, data->conn, params) [all...] |
eap_sake.c | 70 static void eap_sake_deinit(struct eap_sm *sm, void *priv); 73 static void * eap_sake_init(struct eap_sm *sm) 79 password = eap_get_config_password(sm, &password_len); 91 identity = eap_get_config_identity(sm, &identity_len); 95 eap_sake_deinit(sm, data); 111 static void eap_sake_deinit(struct eap_sm *sm, void *priv) 146 static struct wpabuf * eap_sake_process_identity(struct eap_sm *sm, 190 static struct wpabuf * eap_sake_process_challenge(struct eap_sm *sm, 290 static struct wpabuf * eap_sake_process_confirm(struct eap_sm *sm, 366 static struct wpabuf * eap_sake_process(struct eap_sm *sm, void *priv [all...] |
/frameworks/base/services/java/com/android/server/connectivity/ |
Tethering.java | 223 TetherInterfaceSM sm = mIfaces.get(iface); 225 if (sm == null) { 226 sm = new TetherInterfaceSM(iface, mLooper, usb); 227 mIfaces.put(iface, sm); 228 sm.start(); 235 } else if (sm != null) { 236 sm.sendMessage(TetherInterfaceSM.CMD_INTERFACE_DOWN); 295 TetherInterfaceSM sm = mIfaces.get(iface); local 296 if (sm != null) { 300 sm = new TetherInterfaceSM(iface, mLooper, usb) 309 TetherInterfaceSM sm = mIfaces.get(iface); local 327 TetherInterfaceSM sm = null; local 345 TetherInterfaceSM sm = null; local 362 TetherInterfaceSM sm = null; local 394 TetherInterfaceSM sm = mIfaces.get(iface); local 675 TetherInterfaceSM sm = mIfaces.get(key); local 706 TetherInterfaceSM sm = mIfaces.get(key); local 724 TetherInterfaceSM sm = mIfaces.get(key); local 1510 TetherInterfaceSM sm = (TetherInterfaceSM)o; local [all...] |
/external/javassist/src/main/javassist/convert/ |
TransformNew.java | 73 StackMap sm local 75 if (sm != null) 76 sm.removeNew(pos);
|
/frameworks/base/cmds/system_server/library/ |
system_init.cpp | 56 sp<IServiceManager> sm = defaultServiceManager(); local 57 ALOGI("ServiceManager: %p\n", sm.get()); 60 sm->asBinder()->linkToDeath(grim, grim.get(), 0);
|