Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/packages/modules/Bluetooth/system/stack/include/
Dbt_types.h122 #define UINT64_TO_BE_STREAM(p, u64) \ argument
133 #define UINT32_TO_STREAM(p, u32) \ argument
140 #define UINT24_TO_STREAM(p, u24) \ argument
146 #define UINT16_TO_STREAM(p, u16) \ argument
151 #define UINT8_TO_STREAM(p, u8) \ argument
153 #define INT8_TO_STREAM(p, u8) \ argument
155 #define ARRAY16_TO_STREAM(p, a) \ argument
160 #define ARRAY8_TO_STREAM(p, a) \ argument
165 #define LAP_TO_STREAM(p, a) \ argument
171 #define ARRAY_TO_STREAM(p, a, len) \ argument
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dpointertest.cpp37 Pointer p(""); in TEST() local
43 Pointer p("/"); in TEST() local
52 Pointer p("/foo"); in TEST() local
62 Pointer p(std::string("/foo")); in TEST() local
72 Pointer p("/foo/0"); in TEST() local
85 Pointer p("/a~1b"); in TEST() local
94 Pointer p("/m~0n"); in TEST() local
103 Pointer p("/"); in TEST() local
112 Pointer p("//a"); in TEST() local
123 Pointer p("/\0\0", 3); in TEST() local
[all …]
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_msg.cc278 static void avdt_msg_bld_cfg(uint8_t** p, AvdtpSepConfig* p_cfg) { in avdt_msg_bld_cfg()
333 static void avdt_msg_bld_none(UNUSED_ATTR uint8_t** p, in avdt_msg_bld_none()
349 static void avdt_msg_bld_single(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_single()
364 static void avdt_msg_bld_setconfig_cmd(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_setconfig_cmd()
381 static void avdt_msg_bld_reconfig_cmd(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_reconfig_cmd()
400 static void avdt_msg_bld_multi(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_multi()
418 static void avdt_msg_bld_security_cmd(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_security_cmd()
434 static void avdt_msg_bld_delay_rpt(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_delay_rpt()
450 static void avdt_msg_bld_discover_rsp(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_discover_rsp()
473 static void avdt_msg_bld_svccap(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_svccap()
[all …]
Davdt_defs.h136 #define AVDT_MSG_PRS_HDR(p, lbl, pkt, msg) \ argument
143 #define AVDT_MSG_PRS_DISC(p, seid, in_use, type, tsep) \ argument
151 #define AVDT_MSG_PRS_SIG(p, sig) \ argument
156 #define AVDT_MSG_PRS_SEID(p, seid) \ argument
161 #define AVDT_MSG_PRS_PKT_TYPE(p, pkt) \ argument
166 #define AVDT_MSG_PRS_OCTET1(p, o_v, o_p, o_x, o_cc) \ argument
174 #define AVDT_MSG_PRS_RPT_OCTET1(p, o_v, o_p, o_cc) \ argument
181 #define AVDT_MSG_PRS_M_PT(p, m_pt, marker) \ argument
187 #define AVDT_MSG_BLD_HDR(p, lbl, pkt, msg) \ argument
192 #define AVDT_MSG_BLD_DISC(p, seid, in_use, type, tsep) \ argument
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/os/
DCarPerformanceManagerTest.java98 ThreadPolicyWithPriority p = new ThreadPolicyWithPriority( in testSetThreadPriority() local
110 ThreadPolicyWithPriority p = new ThreadPolicyWithPriority( in testSetThreadPriorityIllegalArgumentException() local
124 ThreadPolicyWithPriority p = new ThreadPolicyWithPriority( in testSetThreadPriorityIllegalStateException() local
138 ThreadPolicyWithPriority p = new ThreadPolicyWithPriority( in testSetThreadPriorityRemoteException() local
149 ThreadPolicyWithPriority p = new ThreadPolicyWithPriority( in testSetThreadPriorityServiceSpecificException() local
158 int[] p = new int[]{ThreadPolicyWithPriority.SCHED_FIFO, 1}; in testGetThreadPriority() local
170 int[] p = new int[]{ThreadPolicyWithPriority.SCHED_DEFAULT, 0}; in testGetThreadPriorityDefaultPolicy() local
182 int[] p = new int[]{-1, 1}; in testGetThreadPriorityInvalidPolicy() local
191 int[] p = new int[]{ThreadPolicyWithPriority.SCHED_FIFO, 0}; in testGetThreadPriorityInvalidPriority() local
/packages/modules/Bluetooth/system/stack/hcic/
Dhcicmds.cc486 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_inquiry() local
503 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_inq_cancel() local
517 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_per_inq_mode() local
536 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_per_inq() local
550 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn() local
568 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_disconnect() local
583 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_add_SCO_conn() local
599 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn_cancel() local
614 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_accept_conn() local
629 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_reject_conn() local
[all …]
Dhciblecmds.cc113 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_local_used_feat() local
126 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_random_addr() local
147 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_write_adv_params() local
168 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_read_adv_chnl_tx_power() local
181 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_adv_data() local
203 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_rsp_data() local
227 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_adv_enable() local
243 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_params() local
262 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_enable() local
286 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_create_ll_conn() local
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DIpPrefixTest.java61 IpPrefix p; in testConstructor() local
134 IpPrefix p; in testTruncation() local
234 IpPrefix p = new IpPrefix("2001:db8:f00::ace:d00d/127"); in testContainsInetAddress() local
308 IpPrefix p = new IpPrefix(new byte[4], 0); in testHashCode() local
356 IpPrefix p = new IpPrefix(ipv6bytes, 120); in testMappedAddressesAreBroken() local
367 IpPrefix p; in testParceling() local
/packages/services/Car/tests/android_car_api_test/src/com/android/car/internal/test/
DIJavaTestBinder.aidl24 TestLargeParcelable echoTestLargeParcelable(in TestLargeParcelable p); in echoTestLargeParcelable()
25 LargeParcelable echoLargeParcelable(in LargeParcelable p); in echoLargeParcelable()
26 long echoLongWithTestLargeParcelable(in TestLargeParcelable p, long v); in echoLongWithTestLargeParcelable()
27 long echoLongWithLargeParcelable(in LargeParcelable p, long v); in echoLongWithLargeParcelable()
DIStableAIDLBinderTestService.java47 public StableAIDLTestLargeParcelable echo(StableAIDLTestLargeParcelable p) { in echo()
52 public long echoWithLong(StableAIDLTestLargeParcelable p, long v) { in echoWithLong()
61 StableAIDLTestLargeParcelable p) { in echoWithCallback()
70 public static long calcByteSum(StableAIDLTestLargeParcelable p) { in calcByteSum()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
DBridgedAppsLinkPreferenceControllerTest.java74 Preference p = new Preference(mContext); in testAvailable_notGranted() local
88 Preference p = new Preference(mContext); in testAvailable_lowTargetSdk_noCustomizations() local
104 Preference p = new Preference(mContext); in testAvailable_lowTargetSdk_customizations() local
118 Preference p = new Preference(mContext); in testAvailable_highTargetSdk_noCustomizations() local
/packages/modules/Bluetooth/system/stack/btu/
Dbtu_hcif.cc221 uint8_t* p = (uint8_t*)(p_msg + 1) + p_msg->offset; in btu_hcif_process_event() local
870 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btu_hcif_send_cmd_with_cb() local
906 static void btu_hcif_inquiry_comp_evt(uint8_t* p) { in btu_hcif_inquiry_comp_evt()
924 static void btu_hcif_connection_request_evt(const uint8_t* p) { in btu_hcif_connection_request_evt()
949 static void btu_hcif_disconnection_comp_evt(uint8_t* p) { in btu_hcif_disconnection_comp_evt()
973 static void btu_hcif_authentication_comp_evt(uint8_t* p) { in btu_hcif_authentication_comp_evt()
992 static void btu_hcif_rmt_name_request_comp_evt(const uint8_t* p, in btu_hcif_rmt_name_request_comp_evt()
1053 static void btu_hcif_encryption_change_evt(uint8_t* p) { in btu_hcif_encryption_change_evt()
1086 static void btu_hcif_read_rmt_ext_features_comp_evt(uint8_t* p, in btu_hcif_read_rmt_ext_features_comp_evt()
1111 static void btu_hcif_esco_connection_comp_evt(const uint8_t* p) { in btu_hcif_esco_connection_comp_evt()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco.cc406 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; in BTM_CreateSco() local
560 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_chk_pend_unpark() local
594 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_chk_pend_rolechange() local
625 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_disc_chk_pend_for_modechange() local
657 tSCO_CONN* p = &p_sco->sco_db[0]; in btm_sco_conn_req() local
728 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_connected() local
786 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_connection_failed() local
848 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[sco_inx]; in BTM_RemoveSco() local
892 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; in BTM_RemoveSco() local
913 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; in btm_sco_removed() local
[all …]
Dbtm_ble_privacy.cc225 void btm_ble_clear_resolving_list_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_clear_resolving_list_complete()
275 void btm_ble_add_resolving_list_entry_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_add_resolving_list_entry_complete()
320 void btm_ble_remove_resolving_list_entry_complete(uint8_t* p, in btm_ble_remove_resolving_list_entry_complete()
354 void btm_ble_read_resolving_list_entry_complete(const uint8_t* p, in btm_ble_read_resolving_list_entry_complete()
398 uint8_t *p = p_params->p_param_buf, op_subcode; in btm_ble_resolving_list_vsc_op_cmpl() local
440 uint8_t* p = param; in btm_ble_remove_resolving_list_entry() local
469 uint8_t* p = param; in btm_ble_clear_resolving_list() local
502 uint8_t* p = param; in btm_ble_read_resolving_list_entry() local
520 uint8_t* p = param; in btm_ble_ble_unsupported_resolving_list_load_dev() local
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSecurityParamsTest.java105 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapCreator() local
123 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapPasspointR1R2Creator() local
141 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapPasspointR3Creator() local
161 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEnhancedOpenCreator() local
179 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testOpenCreator() local
197 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testOsenCreator() local
215 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWapiCertCreator() local
233 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWapiPskCreator() local
251 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWepCreator() local
271 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWpa3Enterprise192BitCreator() local
[all …]
/packages/services/Car/tests/android_car_api_test/test_aidl/android/car/apitest/
DIStableAIDLTestBinder.aidl23 StableAIDLTestLargeParcelable echo(in StableAIDLTestLargeParcelable p) = 0; field
26 in StableAIDLTestLargeParcelable p) = 1; in echoWithCallback()
29 long echoWithLong(in StableAIDLTestLargeParcelable p, long v) = 2; in echoWithLong()
/packages/services/Car/cpp/car_binder_lib/largeParcelable/tests/
DLargeParcelableTest.cpp46 std::unique_ptr<TestStableParcelable> p(new TestStableParcelable); in createTestStableParcelable() local
54 std::vector<TestStableParcelable> p; in createTestStableParcelableVector() local
62 void checkTestStableParcelable(const TestStableParcelable* p, size_t dataSize) { in checkTestStableParcelable()
70 void checkTestStableParcelableVector(const std::vector<TestStableParcelable>* p, size_t dataSize) { in checkTestStableParcelableVector()
78 std::unique_ptr<TestStableParcelable> p = createTestStableParcelable(dataSize); in testWrapStableAidlWriteReadPayload() local
112 std::unique_ptr<TestStableParcelable> p = createTestStableParcelable(dataSize); in TEST() local
142 std::unique_ptr<TestStableParcelable> p = createTestStableParcelable(dataSize); in testParcelableToStableLargeParcelable() local
187 std::unique_ptr<TestStableParcelable> p = createTestStableParcelable(dataSize); in testStableLargeParcelableToParcelable() local
225 std::unique_ptr<TestStableParcelable> p = createTestStableParcelable(dataSize); in testParcelableToStableLargeParcelableBackToParcelable() local
258 std::vector<TestStableParcelable> p = createTestStableParcelableVector(dataSize); in testWrapStableAidlVectorWriteReadPayload() local
[all …]
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_utils.cc475 uint8_t* p; in smp_build_pairing_cmd() local
506 uint8_t* p; in smp_build_confirm_cmd() local
531 uint8_t* p; in smp_build_rand_cmd() local
556 uint8_t* p; in smp_build_encrypt_info_cmd() local
581 uint8_t* p; in smp_build_central_id_cmd() local
607 uint8_t* p; in smp_build_identity_info_cmd() local
635 uint8_t* p; in smp_build_id_addr_cmd() local
661 uint8_t* p; in smp_build_signing_info_cmd() local
686 uint8_t* p; in smp_build_pairing_fail() local
711 uint8_t* p; in smp_build_security_request() local
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Datt_protocol.cc55 uint8_t* p; in attp_build_mtu_cmd() local
79 uint8_t* p; in attp_build_exec_write_cmd() local
108 uint8_t* p; in attp_build_err_cmd() local
141 uint8_t* p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_browse_cmd() local
165 uint8_t* p; in attp_build_read_by_type_value_cmd() local
201 uint8_t *p, i = 0; in attp_build_read_multi_cmd() local
229 uint8_t* p; in attp_build_handle_cmd() local
259 uint8_t* p; in attp_build_opcode_cmd() local
283 uint8_t *p, *pp, pair_len, *p_pair_len; in attp_build_value_cmd() local
/packages/services/Car/cpp/computepipe/runner/
DEventGenerator.cpp49 DefaultEvent DefaultEvent::generateEntryEvent(Phase p) { in generateEntryEvent()
52 DefaultEvent DefaultEvent::generateAbortEvent(Phase p) { in generateAbortEvent()
55 DefaultEvent DefaultEvent::generateTransitionCompleteEvent(Phase p) { in generateTransitionCompleteEvent()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_utils.cc301 uint8_t* p; in l2cu_build_header() local
363 uint8_t* p; in l2cu_send_peer_cmd_reject() local
404 uint8_t* p; in l2cu_send_peer_connect_req() local
457 uint8_t* p = (uint8_t*)(p_buf + 1) + L2CAP_SEND_CMD_OFFSET + in l2cu_send_peer_connect_rsp() local
482 uint8_t* p; in l2cu_reject_connection() local
516 uint8_t* p; in l2cu_send_credit_based_reconfig_req() local
568 uint8_t* p; in l2cu_send_peer_config_req() local
669 uint8_t* p; in l2cu_send_peer_config_rsp() local
759 uint8_t *p, *p_hci_len, *p_data_end; in l2cu_send_peer_config_rej() local
875 uint8_t* p; in l2cu_send_peer_disc_req() local
[all …]
Dl2c_fcr.cc129 uint8_t* p = ((uint8_t*)(p_buf + 1)) + p_buf->offset; in l2c_fcr_tx_get_fcs() local
144 uint8_t* p = ((uint8_t*)(p_buf + 1)) + p_buf->offset; in l2c_fcr_rx_get_fcs() local
293 uint8_t* p; in prepare_I_frame() local
387 uint8_t* p; in l2c_fcr_send_S_frame() local
471 uint8_t* p; in l2c_fcr_proc_pdu() local
678 uint8_t* p = (uint8_t*)(p_buf + 1) + p_buf->offset; in l2c_lcc_proc_pdu() local
1166 uint8_t* p; in do_sar_reassembly() local
1274 uint8_t* p; in retransmit_i_frames() local
1394 uint8_t* p; in l2c_fcr_get_next_xmit_sdu_seg() local
1549 uint8_t* p = (uint8_t*)(p_xmit + 1) + p_xmit->offset; in l2c_lcc_get_next_xmit_sdu_seg() local
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DParcelables.java31 public static <T extends Parcelable> void assertParcelable(T p, int flags) { in assertParcelable()
38 T p, int flags, BiPredicate<T, T> pred) { in assertParcelable() argument
44 private static <T extends Parcelable> T parcel(T p, int flags) { in parcel()
/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_utils.cc172 uint8_t *p, *p_start; in bnep_send_conn_req() local
224 uint8_t* p; in bnep_send_conn_responce() local
255 uint8_t* p; in bnepu_send_peer_our_filters() local
297 uint8_t* p; in bnepu_send_peer_our_multi_filters() local
341 uint8_t* p; in bnepu_send_peer_filter_rsp() local
372 uint8_t* p; in bnep_send_command_not_understood() local
435 uint8_t ext_bit, *p = (uint8_t*)NULL; in bnepu_build_bnep_hdr() local
500 uint8_t* p = (uint8_t*)(p_buf + 1) + p_buf->offset; in bnepu_init_hdr() local
712 uint8_t* bnep_process_control_packet(tBNEP_CONN* p_bcb, uint8_t* p, in bnep_process_control_packet()
1116 uint8_t* p; in bnepu_send_peer_multicast_filter_rsp() local
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_discovery.cc136 uint8_t *p, *p_start, *p_param_len; in sdp_snd_service_search_req() local
237 uint8_t *p, rsp_pdu; in sdp_disc_server_rsp() local
368 uint8_t* p; in sdp_copy_raw_data() local
481 uint8_t* p; in process_service_attr_rsp() local
547 uint8_t *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local
596 uint8_t* p; in process_service_search_attr_rsp() local
721 static uint8_t* save_attr_seq(tCONN_CB* p_ccb, uint8_t* p, uint8_t* p_msg_end) { in save_attr_seq()
824 static uint8_t* add_attr(uint8_t* p, uint8_t* p_end, tSDP_DISCOVERY_DB* p_db, in add_attr()

12345678910>>...23