Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/packages/services/Car/service-builtin/src/com/android/car/evs/
DEvsHalWrapperImpl.java68 long handle = nativeCreateServiceHandle(); in init() local
80 long handle; in release() local
184 private native boolean nativeConnectToHalServiceIfNecessary(long handle); in nativeConnectToHalServiceIfNecessary()
187 private native void nativeDisconnectFromHalService(long handle); in nativeDisconnectFromHalService()
190 private native boolean nativeOpenCamera(long handle, String cameraId); in nativeOpenCamera()
193 private native void nativeCloseCamera(long handle); in nativeCloseCamera()
196 private native boolean nativeRequestToStartVideoStream(long handle); in nativeRequestToStartVideoStream()
199 private native void nativeRequestToStopVideoStream(long handle); in nativeRequestToStopVideoStream()
202 private native void nativeDoneWithFrame(long handle, int bufferId); in nativeDoneWithFrame()
205 private native void nativeTriggerBinderDied(long handle); in nativeTriggerBinderDied()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DNewOutgoingCallIntentBroadcasterTest.java132 Uri handle = Uri.parse("tel:6505551234"); in testSelfManagedCall() local
186 private void badCallActionHelper(Uri handle, int expectedCode) { in badCallActionHelper()
199 Uri handle = Uri.parse("tel:6505551234"); in testAlreadyDisconnectedCall() local
214 Uri handle = Uri.parse("tel:"); in testNoNumberSupplied() local
226 Uri handle = Uri.parse("content://com.android.contacts/data/1"); in testNoCallsPlacedWithContentUri() local
240 Uri handle = Uri.parse("tel:6505551911"); in testEmergencyCallWithNonDefaultDialer() local
273 Uri handle = Uri.parse("tel:*21*1234567#"); in testDangerousMmiCodeWithNonDefaultDialer() local
305 Uri handle = Uri.parse("tel:*12*1234567#"); in testNonDangerousMmiCodeWithNonDefaultDialer() local
326 Uri handle = Uri.parse("tel:6505551911"); in testActionCallEmergencyCall() local
334 Uri handle = Uri.parse("tel:6505551911"); in testActionEmergencyWithEmergencyNumber() local
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_avrcp_audio_track_linux.cc24 void BtifAvrcpAudioTrackStart(void* handle) {} in BtifAvrcpAudioTrackStart()
26 void BtifAvrcpAudioTrackStop(void* handle) {} in BtifAvrcpAudioTrackStop()
28 void BtifAvrcpAudioTrackDelete(void* handle) {} in BtifAvrcpAudioTrackDelete()
30 void BtifAvrcpAudioTrackPause(void* handle) {} in BtifAvrcpAudioTrackPause()
32 void BtifAvrcpSetAudioTrackGain(void* handle, float gain) {} in BtifAvrcpSetAudioTrackGain()
34 int BtifAvrcpAudioTrackWriteData(void* handle, void* audioBuffer, in BtifAvrcpAudioTrackWriteData()
/packages/modules/Bluetooth/system/hci/src/
Dpacket_fragmenter.cc53 #define HCI_ISO_SET_CONTINUATION_FLAG(handle) \ argument
55 #define HCI_ISO_SET_COMPLETE_FLAG(handle) (((handle)&0x4FFF) | (0x0002 << 12)) argument
56 #define HCI_ISO_SET_END_FRAG_FLAG(handle) (((handle)&0x4FFF) | (0x0003 << 12)) argument
57 #define HCI_ISO_SET_TIMESTAMP_FLAG(handle) (((handle)&0x3FFF) | (0x0001 << 14)) argument
59 #define HCI_ISO_GET_TS_FLAG(handle) (((handle) >> 14) & 0x0001) argument
64 #define APPLY_CONTINUATION_FLAG(handle) (((handle)&0xCFFF) | 0x1000) argument
65 #define APPLY_START_FLAG(handle) (((handle)&0xCFFF) | 0x2000) argument
67 #define GET_BOUNDARY_FLAG(handle) (((handle) >> 12) & 0x0003) argument
68 #define GET_BROADCAST_FLAG(handle) (((handle) >> 14) & 0x0003) argument
104 uint16_t handle; in fragment_and_dispatch() local
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DHandleMap.java37 public int handle = 0; field in HandleMap.Entry
46 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry()
57 int handle, in Entry()
71 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry()
79 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry()
105 int handle, in addService()
113 void addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) { in addCharacteristic()
118 void addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) { in addDescriptor()
129 void setStarted(int serverIf, int handle, boolean started) { in setStarted()
142 Entry getByHandle(int handle) { in getByHandle()
[all …]
/packages/modules/Bluetooth/system/stack/rfcomm/
Dport_api.cc286 static tPORT* get_port_from_handle(uint16_t handle) { in get_port_from_handle()
303 int RFCOMM_RemoveConnection(uint16_t handle) { in RFCOMM_RemoveConnection()
341 int RFCOMM_RemoveServer(uint16_t handle) { in RFCOMM_RemoveServer()
374 int PORT_SetEventMaskAndCallback(uint16_t handle, uint32_t mask, in PORT_SetEventMaskAndCallback()
403 int PORT_ClearKeepHandleFlag(uint16_t handle) { in PORT_ClearKeepHandleFlag()
426 int PORT_SetDataCOCallback(uint16_t handle, tPORT_DATA_CO_CALLBACK* p_port_cb) { in PORT_SetDataCOCallback()
456 int PORT_CheckConnection(uint16_t handle, RawAddress* bd_addr, in PORT_CheckConnection()
547 int PORT_SetState(uint16_t handle, tPORT_STATE* p_settings) { in PORT_SetState()
590 int PORT_GetState(uint16_t handle, tPORT_STATE* p_settings) { in PORT_GetState()
625 int PORT_FlowControl_MaxCredit(uint16_t handle, bool enable) { in PORT_FlowControl_MaxCredit()
[all …]
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_api.cc117 void BTA_AgDeregister(uint16_t handle) { in BTA_AgDeregister()
136 void BTA_AgOpen(uint16_t handle, const RawAddress& bd_addr) { in BTA_AgOpen()
155 void BTA_AgClose(uint16_t handle) { in BTA_AgClose()
175 void BTA_AgAudioOpen(uint16_t handle, tBTA_AG_PEER_CODEC disabled_codecs) { in BTA_AgAudioOpen()
194 void BTA_AgAudioClose(uint16_t handle) { in BTA_AgAudioClose()
213 void BTA_AgResult(uint16_t handle, tBTA_AG_RES result, in BTA_AgResult()
231 void BTA_AgSetCodec(uint16_t handle, tBTA_AG_PEER_CODEC codec) { in BTA_AgSetCodec()
/packages/services/Car/service/jni/evs/
DCarEvsService.cpp40 jboolean connectToHalServiceIfNecessary(JNIEnv* env, jobject thiz, jlong handle) { in connectToHalServiceIfNecessary()
66 void disconnectFromHalService(JNIEnv*, jobject, jlong handle) { in disconnectFromHalService()
80 void returnFrameBuffer(JNIEnv* /*env*/, jobject /*thiz*/, jlong handle, jint bufferId) { in returnFrameBuffer()
93 jboolean openCamera(JNIEnv* env, jobject /*thiz*/, jlong handle, jstring cameraId) { in openCamera()
114 void closeCamera(JNIEnv* /*env*/, jobject /*thiz*/, jlong handle) { in closeCamera()
126 jboolean startVideoStream(JNIEnv* /*env*/, jobject /*thiz*/, jlong handle) { in startVideoStream()
139 void stopVideoStream(JNIEnv* /*env*/, jobject /*thiz*/, jlong handle) { in stopVideoStream()
181 [[maybe_unused]] jlong handle) { in triggerBinderDied()
196 void destroyServiceHandle(JNIEnv* /*env*/, jclass /*clazz*/, jlong handle) { in destroyServiceHandle()
/packages/modules/adb/client/
Dusb_windows.cpp153 int register_new_device(usb_handle* handle) { in register_new_device()
328 int usb_write(usb_handle* handle, const void* data, int len) { in usb_write()
385 int usb_read(usb_handle* handle, void* data, int len) { in usb_read()
434 void usb_cleanup_handle(usb_handle* handle) { in usb_cleanup_handle()
452 void usb_reset(usb_handle* handle) { in usb_reset()
457 static void usb_kick_locked(usb_handle* handle) { in usb_kick_locked()
463 void usb_kick(usb_handle* handle) { in usb_kick()
473 int usb_close(usb_handle* handle) { in usb_close()
492 size_t usb_get_max_packet_size(usb_handle* handle) { in usb_get_max_packet_size()
496 int recognized_device(usb_handle* handle) { in recognized_device()
[all …]
/packages/modules/Bluetooth/system/bta/pan/
Dbta_pan_ci.cc48 void bta_pan_ci_tx_ready(uint16_t handle) { in bta_pan_ci_tx_ready()
70 void bta_pan_ci_rx_ready(uint16_t handle) { in bta_pan_ci_rx_ready()
94 void bta_pan_ci_tx_flow(uint16_t handle, bool enable) { in bta_pan_ci_tx_flow()
117 void bta_pan_ci_rx_write(uint16_t handle, const RawAddress& dst, in bta_pan_ci_rx_write()
154 void bta_pan_ci_rx_writebuf(uint16_t handle, const RawAddress& dst, in bta_pan_ci_rx_writebuf()
178 BT_HDR* bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, RawAddress& dst, in bta_pan_ci_readbuf()
/packages/modules/Bluetooth/system/test/mock/
Dmock_btif_bta_pan_co_rx.cc55 void bta_pan_co_close(uint16_t handle, uint8_t app_id) { in bta_pan_co_close()
59 void bta_pan_co_mfilt_ind(uint16_t handle, bool indication, in bta_pan_co_mfilt_ind()
66 void bta_pan_co_pfilt_ind(uint16_t handle, bool indication, in bta_pan_co_pfilt_ind()
73 void bta_pan_co_rx_flow(uint16_t handle, uint8_t app_id, bool enable) { in bta_pan_co_rx_flow()
77 void bta_pan_co_rx_path(uint16_t handle, uint8_t app_id) { in bta_pan_co_rx_path()
81 void bta_pan_co_tx_path(uint16_t handle, uint8_t app_id) { in bta_pan_co_tx_path()
Dmock_stack_hcic_hcicmds.cc118 void btsnd_hcic_add_SCO_conn(uint16_t handle, uint16_t packet_types) { in btsnd_hcic_add_SCO_conn()
122 void btsnd_hcic_auth_request(uint16_t handle) { in btsnd_hcic_auth_request()
156 void btsnd_hcic_exit_park_mode(uint16_t handle) { in btsnd_hcic_exit_park_mode()
160 void btsnd_hcic_exit_sniff_mode(uint16_t handle) { in btsnd_hcic_exit_sniff_mode()
164 void btsnd_hcic_hold_mode(uint16_t handle, uint16_t max_hold_period, in btsnd_hcic_hold_mode()
192 void btsnd_hcic_park_mode(uint16_t handle, uint16_t beacon_max_interval, in btsnd_hcic_park_mode()
208 void btsnd_hcic_read_encryption_key_size(uint16_t handle, ReadEncKeySizeCb cb) { in btsnd_hcic_read_encryption_key_size()
213 void btsnd_hcic_read_failed_contact_counter(uint16_t handle) { in btsnd_hcic_read_failed_contact_counter()
230 void btsnd_hcic_read_rmt_clk_offset(uint16_t handle) { in btsnd_hcic_read_rmt_clk_offset()
234 void btsnd_hcic_read_rssi(uint16_t handle) { in btsnd_hcic_read_rssi()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DMmiUtils.java95 private static boolean isCallForwardingMmiCode(Uri handle) { in isCallForwardingMmiCode()
113 private static boolean isTelScheme(Uri handle) { in isTelScheme()
119 private boolean isDangerousVerticalServiceCode(Uri handle) { in isDangerousVerticalServiceCode()
148 public boolean isPotentialInCallMMICode(Uri handle) { in isPotentialInCallMMICode()
161 public boolean isPotentialMMICode(Uri handle) { in isPotentialMMICode()
174 public boolean isDangerousMmiOrVerticalCode(Uri handle) { in isDangerousMmiOrVerticalCode()
DCallerInfoLookupHelper.java47 void onCallerInfoQueryComplete(Uri handle, @Nullable CallerInfo info); in onCallerInfoQueryComplete()
48 void onContactPhotoQueryComplete(Uri handle, CallerInfo info); in onContactPhotoQueryComplete()
86 public CompletableFuture<Pair<Uri, CallerInfo>> startLookup(final Uri handle) { in startLookup()
120 public void startLookup(final Uri handle, OnQueryCompleteListener listener) { in startLookup()
182 final Uri handle) { in makeCallerInfoQueryListener()
/packages/modules/Bluetooth/system/bta/jv/
Dbta_jv_api.cc206 tBTA_JV_STATUS BTA_JvDeleteRecord(uint32_t handle) { in BTA_JvDeleteRecord()
255 tBTA_JV_STATUS BTA_JvL2capClose(uint32_t handle) { in BTA_JvL2capClose()
328 tBTA_JV_STATUS BTA_JvL2capRead(uint32_t handle, uint32_t req_id, in BTA_JvL2capRead()
363 tBTA_JV_STATUS BTA_JvL2capReady(uint32_t handle, uint32_t* p_data_size) { in BTA_JvL2capReady()
393 tBTA_JV_STATUS BTA_JvL2capWrite(uint32_t handle, uint32_t req_id, BT_HDR* msg, in BTA_JvL2capWrite()
448 tBTA_JV_STATUS BTA_JvRfcommClose(uint32_t handle, uint32_t rfcomm_slot_id) { in BTA_JvRfcommClose()
509 tBTA_JV_STATUS BTA_JvRfcommStopServer(uint32_t handle, in BTA_JvRfcommStopServer()
527 uint16_t BTA_JvRfcommGetPortHdl(uint32_t handle) { in BTA_JvRfcommGetPortHdl()
548 tBTA_JV_STATUS BTA_JvRfcommWrite(uint32_t handle, uint32_t req_id) { in BTA_JvRfcommWrite()
589 tBTA_JV_STATUS BTA_JvSetPmProfile(uint32_t handle, tBTA_JV_PM_ID app_id, in BTA_JvSetPmProfile()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/bubbles/animation/
DBubbleBarViewAnimatorTest.kt75 val handle = View(context) in animateBubbleInForStashed() constant
119 val handle = View(context) in animateBubbleInForStashed_tapAnimatingBubble() constant
162 val handle = View(context) in animateBubbleInForStashed_touchTaskbarArea_whileShowing() constant
202 val handle = View(context) in animateBubbleInForStashed_touchTaskbarArea_whileHiding() constant
243 val handle = View(context) in animateBubbleInForStashed_showAnimationCanceled() constant
275 val handle = View(context) in animateToInitialState_inApp() constant
318 val handle = View(context) in animateToInitialState_inApp_autoExpanding() constant
/packages/modules/Bluetooth/system/stack/avct/
Davct_api.cc183 uint16_t AVCT_RemoveConn(uint8_t handle) { in AVCT_RemoveConn()
224 uint16_t AVCT_CreateBrowse(uint8_t handle, uint8_t role) { in AVCT_CreateBrowse()
287 uint16_t AVCT_RemoveBrowse(uint8_t handle) { in AVCT_RemoveBrowse()
318 uint16_t AVCT_GetBrowseMtu(uint8_t handle) { in AVCT_GetBrowseMtu()
340 uint16_t AVCT_GetPeerMtu(uint8_t handle) { in AVCT_GetPeerMtu()
377 uint16_t AVCT_MsgReq(uint8_t handle, uint8_t label, uint8_t cr, BT_HDR* p_msg) { in AVCT_MsgReq()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_api.cc109 static void avrc_ctrl_cback(uint8_t handle, uint8_t event, uint16_t result, in avrc_ctrl_cback()
139 void avrc_flush_cmd_q(uint8_t handle) { in avrc_flush_cmd_q()
185 void avrc_send_next_vendor_cmd(uint8_t handle) { in avrc_send_next_vendor_cmd()
223 void avrc_start_cmd_timer(uint8_t handle, uint8_t label, uint8_t msg_mask) { in avrc_start_cmd_timer()
284 static void avrc_prep_end_frag(uint8_t handle) { in avrc_prep_end_frag()
328 static uint16_t avrc_send_continue_frag(uint8_t handle, uint8_t label) { in avrc_send_continue_frag()
376 static BT_HDR* avrc_proc_vendor_command(uint8_t handle, uint8_t label, in avrc_proc_vendor_command()
475 static uint8_t avrc_proc_far_msg(uint8_t handle, uint8_t label, uint8_t cr, in avrc_proc_far_msg()
643 static void avrc_msg_cback(uint8_t handle, uint8_t label, uint8_t cr, in avrc_msg_cback()
1121 uint16_t AVRC_Close(uint8_t handle) { in AVRC_Close()
[all …]
Davrc_opt.cc108 uint16_t AVRC_UnitCmd(uint8_t handle, uint8_t label) { in AVRC_UnitCmd()
151 uint16_t AVRC_SubCmd(uint8_t handle, uint8_t label, uint8_t page) { in AVRC_SubCmd()
194 uint16_t AVRC_VendorCmd(uint8_t handle, uint8_t label, in AVRC_VendorCmd()
229 uint16_t AVRC_VendorRsp(uint8_t handle, uint8_t label, in AVRC_VendorRsp()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingSessionTest.java78 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnRangingOpened_OnOpenSuccessCalled() local
94 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnRangingOpened_OnServiceDiscoveredConnectedCalled() local
117 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnRangingOpened_CannotOpenClosedSession() local
141 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen() local
157 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnRangingClosed_OnClosedCalled() local
172 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnRangingResult_OnReportReceivedCalled() local
188 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testStart_CannotStartIfAlreadyStarted() local
205 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testStop_CannotStopIfAlreadyStopped() local
224 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testStop_CannotStopIfOpenFailed() local
244 SessionHandle handle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testCallbacks_OnlyWhenOpened() local
[all …]
/packages/apps/Dialer/java/com/android/dialer/notification/
DVoicemailChannelUtils.java82 static String getChannelId(@NonNull Context context, @Nullable PhoneAccountHandle handle) { in getChannelId()
125 private static String getChannelIdForAccount(@NonNull PhoneAccountHandle handle) { in getChannelIdForAccount()
150 PhoneAccountHandle handle = in migrateGlobalVoicemailSoundSettings() local
180 @NonNull Context context, @NonNull PhoneAccountHandle handle) { in createVoicemailChannelForAccount()
195 @NonNull PhoneAccountHandle handle) { in migrateVoicemailSoundSettings()
204 @NonNull Context context, @NonNull PhoneAccountHandle handle) { in isChannelAllowedForAccount()
/packages/modules/Bluetooth/system/stack/pan/
Dpan_main.cc95 void pan_conn_ind_cb(uint16_t handle, const RawAddress& p_bda, in pan_conn_ind_cb()
285 void pan_connect_state_cb(uint16_t handle, const RawAddress& /* rem_bda */, in pan_connect_state_cb()
380 void pan_data_buf_ind_cb(uint16_t handle, const RawAddress& src, in pan_data_buf_ind_cb()
488 void pan_tx_data_flow_cb(uint16_t handle, tBNEP_RESULT result) { in pan_tx_data_flow_cb()
516 void pan_proto_filt_ind_cb(uint16_t handle, bool indication, in pan_proto_filt_ind_cb()
550 void pan_mcast_filt_ind_cb(uint16_t handle, bool indication, in pan_mcast_filt_ind_cb()
/packages/modules/Bluetooth/system/stack/test/
Dbtm_iso_test.cc241 .WillByDefault([](uint16_t handle, uint8_t reason) { in InitIsoManager()
705 for (auto handle : volatile_test_cig_create_cmpl_evt_.conn_handles) { in TEST_F() local
855 for (auto handle : volatile_test_cig_create_cmpl_evt_.conn_handles) { in TEST_F() local
1000 for (auto& handle : volatile_test_cig_create_cmpl_evt_.conn_handles) { in TEST_F() local
1017 for (auto& handle : volatile_test_cig_create_cmpl_evt_.conn_handles) { in TEST_F() local
1032 for (auto& handle : volatile_test_cig_create_cmpl_evt_.conn_handles) { in TEST_F() local
1051 for (auto& handle : in TEST_F() local
1077 for (auto& handle : volatile_test_cig_create_cmpl_evt_.conn_handles) { in TEST_F() local
1120 for (auto& handle : volatile_test_cig_create_cmpl_evt_.conn_handles) { in TEST_F() local
1136 for (auto& handle : in TEST_F() local
[all …]
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Dgatt.proto90 uint32 handle = 1; field
102 uint32 handle = 4; field
108 uint32 handle = 1; field
115 uint32 handle = 1; field
131 uint32 handle = 2; field
137 uint32 handle = 1; field
144 uint32 handle = 2; field
150 uint32 handle = 1; field
157 uint32 handle = 2; field
202 uint32 handle = 2; field
[all …]
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase_builder.cc41 void DatabaseBuilder::AddService(uint16_t handle, uint16_t end_handle, in AddService()
58 [](Service s, uint16_t handle) { return s.end_handle < handle; }); in AddService()
72 void DatabaseBuilder::AddIncludedService(uint16_t handle, const Uuid& uuid, in AddIncludedService()
95 void DatabaseBuilder::AddCharacteristic(uint16_t handle, uint16_t value_handle, in AddCharacteristic()
118 void DatabaseBuilder::AddDescriptor(uint16_t handle, const Uuid& uuid) { in AddDescriptor()
200 uint16_t handle) { in FindDescriptorByHandle()

12345678910>>...20