Home
last modified time | relevance | path

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

12345678910>>...28

/packages/modules/Bluetooth/system/stack/include/
Dbt_types.h78 #define UINT64_TO_BE_STREAM(p, u64) \ argument
89 #define UINT32_TO_STREAM(p, u32) \ argument
96 #define UINT24_TO_STREAM(p, u24) \ argument
102 #define UINT16_TO_STREAM(p, u16) \ argument
107 #define UINT8_TO_STREAM(p, u8) \ argument
109 #define INT8_TO_STREAM(p, u8) \ argument
111 #define ARRAY16_TO_STREAM(p, a) \ argument
116 #define ARRAY8_TO_STREAM(p, a) \ argument
121 #define LAP_TO_STREAM(p, a) \ argument
127 #define ARRAY_TO_STREAM(p, a, len) \ argument
[all …]
/packages/modules/AppSearch/framework/java/android/app/appsearch/safeparcel/
DSafeParcelWriter.java50 private static void writeHeader(Parcel p, int id, int size) { in writeHeader()
60 private static int beginVariableData(Parcel p, int id) { in beginVariableData()
71 private static void finishVariableData(Parcel p, int start) { in finishVariableData()
81 public static int beginObjectHeader(@NonNull Parcel p) { in beginObjectHeader()
86 public static void finishObjectHeader(@NonNull Parcel p, int start) { in finishObjectHeader()
91 public static void writeBoolean(@NonNull Parcel p, int id, boolean val) { in writeBoolean()
97 public static void writeBooleanObject( in writeBooleanObject()
111 public static void writeByte(@NonNull Parcel p, int id, byte val) { in writeByte()
117 public static void writeChar(@NonNull Parcel p, int id, char val) { in writeChar()
123 public static void writeShort(@NonNull Parcel p, int id, short val) { in writeShort()
[all …]
DSafeParcelReader.java45 public ParseException(@NonNull String message, @NonNull Parcel p) { in ParseException()
53 public static int readHeader(@NonNull Parcel p) { in readHeader()
63 public static int readSize(@NonNull Parcel p, int header) { in readSize()
72 public static void skipUnknownField(@NonNull Parcel p, int header) { in skipUnknownField()
77 private static void readAndEnforceSize(@NonNull Parcel p, int header, int required) { in readAndEnforceSize()
92 private static void enforceSize(@NonNull Parcel p, int header, int size, int required) { in enforceSize()
107 public static int validateObjectHeader(@NonNull Parcel p) { in validateObjectHeader()
123 public static boolean readBoolean(@NonNull Parcel p, int header) { in readBoolean()
130 public static Boolean readBooleanObject(@NonNull Parcel p, int header) { in readBooleanObject()
141 public static byte readByte(@NonNull Parcel p, int header) { in readByte()
[all …]
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_msg.cc280 static void avdt_msg_bld_cfg(uint8_t** p, AvdtpSepConfig* p_cfg) { in avdt_msg_bld_cfg()
350 static void avdt_msg_bld_single(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_single()
365 static void avdt_msg_bld_setconfig_cmd(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_setconfig_cmd()
382 static void avdt_msg_bld_reconfig_cmd(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_reconfig_cmd()
401 static void avdt_msg_bld_multi(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_multi()
419 static void avdt_msg_bld_security_cmd(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_security_cmd()
435 static void avdt_msg_bld_delay_rpt(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_delay_rpt()
451 static void avdt_msg_bld_discover_rsp(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_discover_rsp()
474 static void avdt_msg_bld_svccap(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_svccap()
494 static void avdt_msg_bld_all_svccap(uint8_t** p, tAVDT_MSG* p_msg) { in avdt_msg_bld_all_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.cc483 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_disconnect() local
498 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_add_SCO_conn() local
514 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn_cancel() local
529 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_reject_conn() local
546 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_link_key_req_reply() local
562 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_link_key_neg_reply() local
578 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_pin_code_req_reply() local
599 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_pin_code_neg_reply() local
614 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_change_conn_type() local
630 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_auth_request() local
[all …]
Dhciblecmds.cc121 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_write_adv_params() local
142 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_read_adv_chnl_tx_power() local
155 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_adv_data() local
178 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_adv_enable() local
194 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_params() local
213 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_enable() local
229 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_read_remote_feat() local
259 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_start_enc() local
277 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_ltk_req_reply() local
293 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_ltk_req_neg_reply() 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/modules/Bluetooth/system/stack/btu/
Dbtu_hcif.cc219 uint8_t* p = (uint8_t*)(p_msg + 1) + p_msg->offset; in btu_hcif_process_event() local
742 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btu_hcif_send_cmd_with_cb() local
778 static void btu_hcif_authentication_comp_evt(uint8_t* p) { in btu_hcif_authentication_comp_evt()
797 static void btu_hcif_encryption_change_evt(uint8_t* p) { in btu_hcif_encryption_change_evt()
819 static void btu_hcif_read_rmt_ext_features_comp_evt(uint8_t* p, in btu_hcif_read_rmt_ext_features_comp_evt()
844 static void btu_hcif_esco_connection_comp_evt(const uint8_t* p) { in btu_hcif_esco_connection_comp_evt()
884 static void btu_hcif_esco_connection_chg_evt(uint8_t* p) { in btu_hcif_esco_connection_chg_evt()
912 static void btu_hcif_hdl_command_complete(uint16_t opcode, uint8_t* p, in btu_hcif_hdl_command_complete()
1205 static void btu_hcif_mode_change_evt(uint8_t* p) { in btu_hcif_mode_change_evt()
1227 void btu_hcif_sec_pin_code_request(const uint8_t* p) { in btu_hcif_sec_pin_code_request()
[all …]
/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/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamPreferenceTest.java109 AudioStreamPreference p = in setAudioStreamMetadata_shouldUpdateMetadata() local
120 AudioStreamPreference p = in setAudioStreamState_shouldUpdateState() local
131 AudioStreamPreference p = in fromMetadata_shouldReturnBroadcastInfo() local
141 AudioStreamPreference p = in fromReceiveState_shouldReturnBroadcastInfo() local
157 AudioStreamPreference p = in shouldHideSecondTarget_notEncrypted() local
166 AudioStreamPreference p = in shouldShowSecondTarget_encrypted() local
/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/Wifi/framework/tests/src/android/net/wifi/
DSecurityParamsTest.java107 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapCreator() local
126 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapPasspointR1R2Creator() local
145 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEapPasspointR3Creator() local
165 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testEnhancedOpenCreator() local
183 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testOpenCreator() local
201 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testOsenCreator() local
219 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWapiCertCreator() local
237 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWapiPskCreator() local
255 SecurityParams p = SecurityParams.createSecurityParamsBySecurityType( in testWepCreator() local
275 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
141 std::unique_ptr<TestStableParcelable> p = createTestStableParcelable(dataSize); in testParcelableToStableLargeParcelable() local
186 std::unique_ptr<TestStableParcelable> p = createTestStableParcelable(dataSize); in testStableLargeParcelableToParcelable() local
224 std::unique_ptr<TestStableParcelable> p = createTestStableParcelable(dataSize); in testParcelableToStableLargeParcelableBackToParcelable() local
257 std::vector<TestStableParcelable> p = createTestStableParcelableVector(dataSize); in testWrapStableAidlVectorWriteReadPayload() local
[all …]
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_utils.cc493 uint8_t* p; in smp_build_pairing_cmd() local
524 uint8_t* p; in smp_build_confirm_cmd() local
549 uint8_t* p; in smp_build_rand_cmd() local
574 uint8_t* p; in smp_build_encrypt_info_cmd() local
598 uint8_t* p; in smp_build_central_id_cmd() local
624 uint8_t* p; in smp_build_identity_info_cmd() local
651 uint8_t* p; in smp_build_id_addr_cmd() local
678 uint8_t* p; in smp_build_signing_info_cmd() local
702 uint8_t* p; in smp_build_pairing_fail() local
727 uint8_t* p; in smp_build_security_request() local
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_privacy.cc237 void btm_ble_clear_resolving_list_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_clear_resolving_list_complete()
287 void btm_ble_add_resolving_list_entry_complete(uint8_t* p, uint16_t evt_len) { in btm_ble_add_resolving_list_entry_complete()
332 void btm_ble_remove_resolving_list_entry_complete(uint8_t* p, in btm_ble_remove_resolving_list_entry_complete()
366 void btm_ble_read_resolving_list_entry_complete(const uint8_t* p, in btm_ble_read_resolving_list_entry_complete()
410 uint8_t *p = p_params->p_param_buf, op_subcode; in btm_ble_resolving_list_vsc_op_cmpl() local
453 uint8_t* p = param; in btm_ble_remove_resolving_list_entry() local
482 uint8_t* p = param; in btm_ble_clear_resolving_list() local
518 uint8_t* p = param; in btm_ble_read_resolving_list_entry() local
536 uint8_t* p = param; in btm_ble_ble_unsupported_resolving_list_load_dev() local
/packages/modules/Bluetooth/system/stack/gatt/
Datt_protocol.cc57 uint8_t* p; in attp_build_mtu_cmd() local
81 uint8_t* p; in attp_build_exec_write_cmd() local
110 uint8_t* p; in attp_build_err_cmd() local
143 uint8_t* p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_browse_cmd() local
167 uint8_t* p; in attp_build_read_by_type_value_cmd() local
209 uint8_t* p; in attp_build_read_multi_cmd() local
238 uint8_t* p; in attp_build_handle_cmd() local
268 uint8_t* p; in attp_build_opcode_cmd() local
292 uint8_t *p, *pp, *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/AdServices/adservices/tests/cts/src/android/adservices/cts/
DMeasurementApiParamsCtsTest.java101 Parcel p = Parcel.obtain(); in testWebSourceParamsParceling() local
148 Parcel p = Parcel.obtain(); in testWebSourceRegistrationRequestParceling() local
196 Parcel p = Parcel.obtain(); in testWebTriggerParamsParceling() local
234 Parcel p = Parcel.obtain(); in testWebTriggerRegistrationRequestParceling() local
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DReportInteractionInputTest.java70 Parcel p = Parcel.obtain(); in testWriteToParcel_nonNullOptionalParameters() local
101 Parcel p = Parcel.obtain(); in testWriteToParcel_nullInputEvent() local
131 Parcel p = Parcel.obtain(); in testWriteToParcel_nullAdId() local
162 Parcel p = Parcel.obtain(); in testWriteToParcel_nullCallerSdkName() local
/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/l2cap/
Dl2c_fcr.cc130 uint8_t* p = ((uint8_t*)(p_buf + 1)) + p_buf->offset; in l2c_fcr_tx_get_fcs() local
145 uint8_t* p = ((uint8_t*)(p_buf + 1)) + p_buf->offset; in l2c_fcr_rx_get_fcs() local
294 uint8_t* p; in prepare_I_frame() local
388 uint8_t* p; in l2c_fcr_send_S_frame() local
472 uint8_t* p; in l2c_fcr_proc_pdu() local
679 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
1273 uint8_t* p; in retransmit_i_frames() local
1391 uint8_t* p; in l2c_fcr_get_next_xmit_sdu_seg() local
1546 uint8_t* p = (uint8_t*)(p_xmit + 1) + p_xmit->offset; in l2c_lcc_get_next_xmit_sdu_seg() local
[all …]

12345678910>>...28