/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalService.java | 32 protected boolean onTransact(int code, Parcel data, Parcel reply, 35 data.enforceInterface(ServiceTest.SERVICE_LOCAL); 36 mReportObject = data.readStrongBinder(); 39 return super.onTransact(code, data, reply, flags); 58 Parcel data = Parcel.obtain(); local 59 data.writeInterfaceToken(ServiceTest.SERVICE_LOCAL); 60 data.writeInt(mStartCount); 63 ServiceTest.STARTED_CODE, data, null, 0); 64 data.recycle(); 76 Parcel data = Parcel.obtain() local 97 Parcel data = Parcel.obtain(); local 113 Parcel data = Parcel.obtain(); local [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SimUtilsTest.java | 29 byte[] data, data2; 36 data = IccUtils.hexStringToBytes("981062400510444868f2"); 37 assertEquals("8901260450014484862", IccUtils.bcdToString(data, 0, data.length)); 40 assertEquals("0126045001448486", IccUtils.bcdToString(data, 1, data.length - 2)); 43 data = IccUtils.hexStringToBytes("98F062400510444868f2"); 44 assertEquals("890", IccUtils.bcdToString(data, 0, data.length)); 69 data = IccUtils.hexStringToBytes("00566f696365204d61696c07918150367742f3ffffffffffff") [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_sim.c | 68 static void eap_sim_state(struct eap_sim_data *data, int state) 71 eap_sim_state_txt(data->state), 73 data->state = state; 79 struct eap_sim_data *data; local 86 data = os_zalloc(sizeof(*data)); 87 if (data == NULL) 89 data->state = START; 91 return data; 97 struct eap_sim_data *data = priv local 306 struct eap_sim_data *data = priv; local 329 struct eap_sim_data *data = priv; local 679 struct eap_sim_data *data = priv; local 727 struct eap_sim_data *data = priv; local 734 struct eap_sim_data *data = priv; local 751 struct eap_sim_data *data = priv; local 768 struct eap_sim_data *data = priv; local [all...] |
eap_tnc.c | 46 struct eap_tnc_data *data; local 48 data = os_zalloc(sizeof(*data)); 49 if (data == NULL) 51 data->state = START; 52 data->tncs = tncs_init(); 53 if (data->tncs == NULL) { 54 os_free(data); 58 data->fragment_size = 1300; 60 return data; 66 struct eap_tnc_data *data = priv; local 243 struct eap_tnc_data *data = priv; local 287 struct eap_tnc_data *data = priv; local 410 struct eap_tnc_data *data = priv; local 502 struct eap_tnc_data *data = priv; local 509 struct eap_tnc_data *data = priv; local [all...] |
eap_ttls.c | 87 static void eap_ttls_state(struct eap_ttls_data *data, int state) 90 eap_ttls_state_txt(data->state), 92 data->state = state; 145 * it. All the other pointers are pointing to the packet data, i.e., 214 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); 223 "for Phase 2 EAP data"); 234 "for Phase 2 EAP data"); 321 struct eap_ttls_data *data, size_t len) 326 if (data->ttls_version == 0) { 327 return eap_server_tls_derive_key(sm, &data->ssl 376 struct eap_ttls_data *data; local 415 struct eap_ttls_data *data = priv; local 551 struct eap_ttls_data *data = priv; local 1287 struct eap_ttls_data *data = priv; local 1311 struct eap_ttls_data *data = priv; local 1356 struct eap_ttls_data *data = priv; local 1366 struct eap_ttls_data *data = priv; local 1421 struct eap_ttls_data *data = priv; local 1449 struct eap_ttls_data *data = priv; local [all...] |
eap_fast.c | 77 struct eap_fast_data *data); 107 static void eap_fast_state(struct eap_fast_data *data, int state) 110 eap_fast_state_txt(data->state), 112 data->state = state; 117 struct eap_fast_data *data) 120 eap_fast_state(data, FAILURE); 130 struct eap_fast_data *data = ctx; local 169 if (aes_unwrap(data->pac_opaque_encr, (pac_opaque_len - 8) / 8, 237 os_free(data->identity); 238 data->identity = os_malloc(identity_len) 414 struct eap_fast_data *data; local 508 struct eap_fast_data *data = priv; local 850 struct eap_fast_data *data = priv; local 1446 struct eap_fast_data *data = priv; local 1529 struct eap_fast_data *data = priv; local 1557 struct eap_fast_data *data = priv; local 1567 struct eap_fast_data *data = priv; local 1574 struct eap_fast_data *data = priv; local 1593 struct eap_fast_data *data = priv; local 1612 struct eap_fast_data *data = priv; local [all...] |
eap_psk.c | 40 struct eap_psk_data *data; local 42 data = os_zalloc(sizeof(*data)); 43 if (data == NULL) 45 data->state = PSK_1; 46 data->id_s = (u8 *) "hostapd"; 47 data->id_s_len = 7; 49 return data; 55 struct eap_psk_data *data = priv; local 56 os_free(data->id_p) 163 struct eap_psk_data *data = priv; local 182 struct eap_psk_data *data = priv; local 417 struct eap_psk_data *data = priv; local 445 struct eap_psk_data *data = priv; local 452 struct eap_psk_data *data = priv; local 470 struct eap_psk_data *data = priv; local 488 struct eap_psk_data *data = priv; local [all...] |
ikev2.c | 22 static int ikev2_process_idr(struct ikev2_initiator_data *data, 26 void ikev2_initiator_deinit(struct ikev2_initiator_data *data) 28 ikev2_free_keys(&data->keys); 29 wpabuf_free(data->r_dh_public); 30 wpabuf_free(data->i_dh_private); 31 os_free(data->IDi); 32 os_free(data->IDr); 33 os_free(data->shared_secret); 34 wpabuf_free(data->i_sign_msg); 35 wpabuf_free(data->r_sign_msg) [all...] |
/external/oprofile/libdb/ |
db_debug.c | 17 static int check_circular_list(odb_data_t const * data) 21 unsigned char * bitmap = malloc(data->descr->current_size); 22 memset(bitmap, '\0', data->descr->current_size); 24 for (pos = 0 ; pos < data->descr->size * BUCKET_FACTOR ; ++pos) { 26 odb_index_t index = data->hash_base[pos]; 33 index = data->node_base[index].next; 39 data->descr->current_size); 41 memset(bitmap, '\0', data->descr->current_size); 43 index = data->hash_base[pos]; 50 index = data->node_base[index].next 96 odb_data_t * data = odb->data; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
ikev2.c | 22 void ikev2_responder_deinit(struct ikev2_responder_data *data) 24 ikev2_free_keys(&data->keys); 25 wpabuf_free(data->i_dh_public); 26 wpabuf_free(data->r_dh_private); 27 os_free(data->IDi); 28 os_free(data->IDr); 29 os_free(data->shared_secret); 30 wpabuf_free(data->i_sign_msg); 31 wpabuf_free(data->r_sign_msg); 32 os_free(data->key_pad) [all...] |
eap_tls.c | 35 struct eap_tls_data *data; local 45 data = os_zalloc(sizeof(*data)); 46 if (data == NULL) 49 if (eap_peer_tls_ssl_init(sm, &data->ssl, config)) { 51 eap_tls_deinit(sm, data); 67 return data; 73 struct eap_tls_data *data = priv; local 74 if (data == NULL) 76 eap_peer_tls_ssl_deinit(sm, &data->ssl) 152 struct eap_tls_data *data = priv; local 188 struct eap_tls_data *data = priv; local 200 struct eap_tls_data *data = priv; local 214 struct eap_tls_data *data = priv; local 221 struct eap_tls_data *data = priv; local 228 struct eap_tls_data *data = priv; local 247 struct eap_tls_data *data = priv; local [all...] |
/external/wpa_supplicant/ |
eap_tls.c | 35 struct eap_tls_data *data; local 44 data = os_zalloc(sizeof(*data)); 45 if (data == NULL) 48 if (eap_tls_ssl_init(sm, &data->ssl, config)) { 50 eap_tls_deinit(sm, data); 66 return data; 72 struct eap_tls_data *data = priv; local 73 if (data == NULL) 75 eap_tls_ssl_deinit(sm, &data->ssl) 150 struct eap_tls_data *data = priv; local 188 struct eap_tls_data *data = priv; local 200 struct eap_tls_data *data = priv; local 214 struct eap_tls_data *data = priv; local 221 struct eap_tls_data *data = priv; local 228 struct eap_tls_data *data = priv; local 247 struct eap_tls_data *data = priv; local [all...] |
eap_sake.c | 62 static void eap_sake_state(struct eap_sake_data *data, int state) 65 eap_sake_state_txt(data->state), 67 data->state = state; 77 struct eap_sake_data *data; local 91 data = os_zalloc(sizeof(*data)); 92 if (data == NULL) 94 data->state = IDENTITY; 97 data->peerid = os_malloc(config->nai_len); 98 if (data->peerid == NULL) 118 struct eap_sake_data *data = priv; local 382 struct eap_sake_data *data = priv; local 453 struct eap_sake_data *data = priv; local 460 struct eap_sake_data *data = priv; local 478 struct eap_sake_data *data = priv; local [all...] |
/frameworks/base/core/java/android/content/ |
ContentProviderNative.java | 69 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) 75 data.enforceInterface(IContentProvider.descriptor); 77 Uri url = Uri.CREATOR.createFromParcel(data); 80 int num = data.readInt(); 85 projection[i] = data.readString(); 90 String selection = data.readString(); 91 num = data.readInt(); 96 selectionArgs[i] = data.readString(); 100 String sortOrder = data.readString(); 102 asInterface(data.readStrongBinder()) 294 Parcel data = Parcel.obtain(); local 378 Parcel data = Parcel.obtain(); local 398 Parcel data = Parcel.obtain(); local 418 Parcel data = Parcel.obtain(); local 439 Parcel data = Parcel.obtain(); local 461 Parcel data = Parcel.obtain(); local 483 Parcel data = Parcel.obtain(); local 506 Parcel data = Parcel.obtain(); local 528 Parcel data = Parcel.obtain(); local 551 Parcel data = Parcel.obtain(); local [all...] |
/external/bluetooth/bluez/src/ |
sdp-xml.c | 45 void *data, void (*appender)(void *, const char *)) 71 appender(data, indent); 72 appender(data, "<nil/>\n"); 76 appender(data, indent); 77 appender(data, "<boolean value=\""); 78 appender(data, value->val.uint8 ? "true" : "false"); 79 appender(data, "\" />\n"); 83 appender(data, indent); 84 appender(data, "<uint8 value=\""); 86 appender(data, buf) 372 void *data; member in struct:conversion_data 756 const char *data = elem->text; local [all...] |
/external/icu4c/stubdata/ |
stubdata.c | 9 * Define initialized data that will build into a valid, but empty 10 * ICU data library. Used to bootstrap the ICU build, which has these 12 * ICU Common library depends on ICU data 13 * ICU data requires data building tools. 14 * ICU data building tools require the ICU common library. 16 * The stub data library (for which this file is the source) is sufficient 17 * for running the data building tools. 34 const void *const data; 58 { /* data format identifier * [all...] |
/external/skia/src/svg/ |
SkSVGImage.cpp | 44 const char* data = f_xlink_href.c_str(); local 45 SkASSERT(strncmp(data, "data:image/", 11) == 0); 46 data += 11; 47 SkASSERT(strncmp(data, "png;", 4) == 0 || strncmp(data, "jpeg;", 5) == 0); 48 data = strchr(data, ';'); 49 SkASSERT(strncmp(data, ";base64,", 8) == 0); 50 data += 8 [all...] |
/external/chromium/net/tools/fetch/ |
http_session.cc | 20 // Generate a 10KB sequence of data. 21 static std::string data; local 22 if (data.length() == 0) { 23 while (data.length() < (10 * 1024)) 24 data += 'a' + (rand() % 26); 31 response_info.content_length = data.length(); 33 connection->Respond(&response_info, data);
|
/external/chromium/net/url_request/ |
url_request_data_job.cc | 5 // Simple implementation of a data: protocol handler. 25 std::string* data) const { 26 // Check if data URL is valid. If not, don't bother to try to extract data. 27 // Otherwise, parse the data from the data URL. 31 return net::DataURL::Parse(url, mime_type, charset, data);
|
/frameworks/base/libs/storage/ |
IMountService.cpp | 62 Parcel data, reply; local 63 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); 64 data.writeStrongBinder(listener->asBinder()); 65 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { 78 Parcel data, reply; local 79 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); 80 data.writeStrongBinder(listener->asBinder()); 81 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { 94 Parcel data, reply; local 95 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()) 110 Parcel data, reply; local 126 Parcel data, reply; local 142 Parcel data, reply; local 159 Parcel data, reply; local 177 Parcel data, reply; local 194 Parcel data, reply; local 216 Parcel data, reply; local 234 Parcel data, reply; local 255 Parcel data, reply; local 272 Parcel data, reply; local 289 Parcel data, reply; local 308 Parcel data, reply; local 326 Parcel data, reply; local 343 Parcel data, reply; local 361 Parcel data, reply; local 379 Parcel data, reply; local 401 Parcel data, reply; local 418 Parcel data, reply; local 435 Parcel data, reply; local 455 Parcel data, reply; local 474 Parcel data, reply; local 491 Parcel data, reply; local [all...] |
/frameworks/base/media/libmedia/ |
IEffectClient.cpp | 44 Parcel data, reply; local 45 data.writeInterfaceToken(IEffectClient::getInterfaceDescriptor()); 46 data.writeInt32((uint32_t)controlGranted); 47 remote()->transact(CONTROL_STATUS_CHANGED, data, &reply, IBinder::FLAG_ONEWAY); 53 Parcel data, reply; local 54 data.writeInterfaceToken(IEffectClient::getInterfaceDescriptor()); 55 data.writeInt32((uint32_t)enabled); 56 remote()->transact(ENABLE_STATUS_CHANGED, data, &reply, IBinder::FLAG_ONEWAY); 66 Parcel data, reply; local 67 data.writeInterfaceToken(IEffectClient::getInterfaceDescriptor()) [all...] |
IMediaMetadataRetriever.cpp | 59 static void sendSchedPolicy(Parcel& data) 63 data.writeInt32(policy); 66 static void setSchedPolicy(const Parcel& data) 68 SchedPolicy policy = (SchedPolicy) data.readInt32(); 102 Parcel data, reply; local 103 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); 104 remote()->transact(DISCONNECT, data, &reply); 109 Parcel data, reply; local 110 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); 111 data.writeCString(srcUrl) 118 Parcel data, reply; local 129 Parcel data, reply; local 138 Parcel data, reply; local 147 Parcel data, reply; local 162 Parcel data, reply; local 177 Parcel data, reply; local [all...] |
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
datasets.sgml | 5 associate groups of data elements with particular memory locations 9 Datasets associate groups of data elements with particular memory locations. 10 These are useful if you need to associate data with a structure returned 13 any number of data elements with it. 17 The first form uses strings to identify the data elements associated with 28 To add data elements to a dataset use g_dataset_id_set_data(), 33 To get data elements from a dataset use g_dataset_id_get_data() and 37 To iterate over all data elements in a dataset use g_dataset_foreach() (not thread-safe). 40 To remove data elements from a dataset use g_dataset_id_remove_data() and 57 Sets the data element associated with the given #GQuark id [all...] |
/external/clearsilver/python/examples/base/ |
PassSGMLParser.py | 4 ## is just to pass the data through. Based on TestSGMLParser from sgmllib.py 13 self.data = "" 17 def handle_data(self, data): 18 self.data = self.data + data 21 data = self.data 22 if data: 23 self.data = " [all...] |
/frameworks/base/media/libstagefright/rtsp/ |
ARTPSource.cpp | 213 uint8_t *data = buffer->data() + buffer->size(); local 215 data[0] = 0x80 | 4; 216 data[1] = 206; // PSFB 217 data[2] = 0; 218 data[3] = 4; 219 data[4] = kSourceID >> 24; 220 data[5] = (kSourceID >> 16) & 0xff; 221 data[6] = (kSourceID >> 8) & 0xff; 222 data[7] = kSourceID & 0xff 251 uint8_t *data = buffer->data() + buffer->size(); local [all...] |