Searched refs:handle (Results 1 - 25 of 69) sorted by relevance

123

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DHandleMap.java38 int handle = 0; field in class:HandleMap.Entry
47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { argument
50 this.handle = handle;
56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, argument
60 this.handle = handle;
67 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { argument
70 this.handle = handle;
76 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) argument
101 addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, boolean advertisePreferred) argument
106 addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) argument
111 addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) argument
115 setStarted(int serverIf, int handle, boolean started) argument
127 getByHandle(int handle) argument
178 addRequest(int requestId, int handle) argument
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DTelephonyUtil.java63 public static boolean shouldProcessAsEmergency(Context context, Uri handle) { argument
64 return handle != null && PhoneNumberUtils.isLocalEmergencyNumber(
65 context, handle.getSchemeSpecificPart());
H A DCallsManager.java479 Uri handle = extras.getParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS);
480 if (handle == null) {
482 handle = extras.getParcelable(TelephonyManager.EXTRA_INCOMING_NUMBER);
491 handle,
505 Uri handle = extras.getParcelable(TelecomManager.EXTRA_UNKNOWN_CALL_HANDLE);
506 Log.i(this, "addNewUnknownCall with handle: %s", Log.pii(handle));
514 handle,
542 private Call getNewOutgoingCall(Uri handle) { argument
547 if (reusedCall == null && areHandlesEqual(pendingCall.getHandle(), handle)) {
585 startOutgoingCall(Uri handle, PhoneAccountHandle phoneAccountHandle, Bundle extras) argument
681 placeOutgoingCall(Call call, Uri handle, GatewayInfo gatewayInfo, boolean speakerphoneOn, int videoState) argument
1405 isPotentialMMICode(Uri handle) argument
1422 isPotentialInCallMMICode(Uri handle) argument
[all...]
H A DCallIntentProcessor.java60 * @param intent Call intent containing data about the handle to call.
70 Uri handle = intent.getData();
71 String scheme = handle.getScheme();
72 String uriString = handle.getSchemeSpecificPart();
75 handle = Uri.fromParts(PhoneNumberUtils.isUriNumber(uriString) ?
93 Call call = callsManager.startOutgoingCall(handle, phoneAccountHandle, clientExtras);
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DCallNotificationReceiver.java75 public static void sendIncomingCallIntent(Context context, Uri handle, boolean isVideoCall) { argument
84 if (handle != null) {
85 extras.putParcelable(TestConnectionService.EXTRA_HANDLE, handle);
91 public static void addNewUnknownCall(Context context, Uri handle, Bundle extras) { argument
92 Log.i(TAG, "Adding new unknown call with handle " + handle);
101 if (handle != null) {
102 extras.putParcelable(TelecomManager.EXTRA_UNKNOWN_CALL_HANDLE, handle);
103 extras.putParcelable(TestConnectionService.EXTRA_HANDLE, handle);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndldic.c100 #define COPY_QUE(handle, src, dst) \
101 nj_memcpy(POS_TO_ADDRESS((handle), (dst)), POS_TO_ADDRESS((handle), (src)), QUE_SIZE(handle))
110 static NJ_WQUE *get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
111 static NJ_INT16 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
112 static NJ_UINT16 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
113 static NJ_INT16 que_strcmp_complete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, NJ_UINT8 multi_flg);
114 static NJ_CHAR *get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
115 static NJ_CHAR *get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT1
150 get_search_index_address(NJ_DIC_HANDLE handle, NJ_UINT8 search_pattern) argument
263 get_que_type_and_next(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
292 get_que_yomiLen_and_hyoukiLen(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
323 get_que_allHinsi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
352 get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
386 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
433 continue_cnt(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
481 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
505 que_strcmp_complete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, NJ_UINT8 multi_flg) argument
593 que_strcmp_include(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi) argument
680 get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen) argument
766 get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen) argument
1196 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag) argument
1395 search_range_by_yomi_multi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to) argument
1531 str_que_cmp(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 yomiLen, NJ_UINT16 que_id, NJ_UINT8 mode) argument
1656 calculate_hindo(NJ_DIC_HANDLE handle, NJ_INT32 freq, NJ_DIC_FREQ *dic_freq, NJ_INT16 freq_max, NJ_INT16 freq_min) argument
1838 njd_l_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle) argument
2307 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 sfrom, NJ_UINT16 sto, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag) argument
[all...]
H A Dndbdic.c112 NJ_DIC_HANDLE handle, NJ_UINT32 *ret_bottom);
585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle);
588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle);
595 bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle);
596 bit_data = BIT_NODE_AREA_DATA_LEN(loctset->loct.handle);
598 ytbl_cnt = YOMI_INDX_CNT(loctset->loct.handle);
599 y = YOMI_INDX_SIZE(loctset->loct.handle);
600 ytbl_top = YOMI_INDX_TOP_ADDR(loctset->loct.handle);
602 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle);
950 next = get_stem_next(loctset->loct.handle, stem_dat
2250 get_node_bottom(NJ_CHAR * yomi, NJ_UINT8 * now, NJ_UINT8 * node_mid, NJ_UINT8 * data_top, NJ_UINT16 bit_left, NJ_UINT16 bit_data, NJ_UINT32 top, NJ_DIC_HANDLE handle, NJ_UINT32 * ret_bottom) argument
[all...]
H A Dndfdic.c88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset;
95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) {
106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE;
120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) {
131 hindo = DATA_HINDO(STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current);
329 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current;
370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current;
373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data);
375 if (YOMI_INDX_CNT(loc->handle) == 0) {
392 len = convert_to_yomi(loc->handle, are
[all...]
H A Dndapi.c46 static NJ_INT16 njd_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
66 if (dicinfo->handle != NULL) {
76 loctset->loct.handle = dicinfo->handle;
136 if (loctset->loct.handle == NULL) {
140 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
209 if ((loctset->loct.handle == NULL) ||
215 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
337 ((loctset->loct.handle != NULL) &&
339 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
580 njd_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle) argument
839 njx_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 restore, NJ_UINT32 size) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhoneAccountRegistrationReceiver.java45 PhoneAccountHandle handle = (PhoneAccountHandle) intent.getParcelableExtra(
52 ((CallLogProvider) provider).adjustForNewPhoneAccount(handle);
/packages/apps/Dialer/src/com/android/dialer/util/
H A DTelecomUtil.java54 public static Uri getAdnUriForPhoneAccount(Context context, PhoneAccountHandle handle) { argument
57 return getTelecomManager(context).getAdnUriForPhoneAccount(handle);
66 PhoneAccountHandle handle) {
69 if (handle == null) {
72 return getTelecomManager(context).handleMmi(dialString, handle);
65 handleMmi(Context context, String dialString, PhoneAccountHandle handle) argument
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_sdp.cpp317 int handle=-1; local
319 if (!sBluetoothSdpInterface) return handle;
339 if ( (ret = sBluetoothSdpInterface->create_sdp_record(&record, &handle))
345 ALOGD("SDP Create record success - handle: %d", handle);
349 return handle;
359 int handle=-1; local
361 if (!sBluetoothSdpInterface) return handle;
379 if ( (ret = sBluetoothSdpInterface->create_sdp_record(&record, &handle))
385 ALOGD("SDP Create record success - handle
399 int handle=-1; local
442 int handle=-1; local
491 int handle = -1; local
[all...]
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeNfcTag.cpp27 static phLibNfc_Handle handle; variable
135 phLibNfc_Handle /*handle*/, phNfc_sData_t *pResBuffer, NFCSTATUS status)
182 phLibNfc_Handle handle = 0; local
194 handle = nfc_jni_get_connected_handle(e, o);
201 status = phLibNfc_Ndef_Read(handle, &nfc_jni_ndef_rw,
244 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); local
258 TRACE("Ndef Handle :0x%x\n",handle);
261 status = phLibNfc_Ndef_Write(handle, &nfc_jni_ndef_rw,nfc_jni_tag_rw_callback, (void *)&cb_data);
442 jobject o, phLibNfc_Handle handle)
459 storedHandle = handle;
441 com_android_nfc_NativeNfcTag_doConnect(JNIEnv *e, jobject o, phLibNfc_Handle handle) argument
496 com_android_nfc_NativeNfcTag_doHandleReconnect(JNIEnv*, jobject, phLibNfc_Handle handle) argument
555 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e,o); local
570 phLibNfc_Handle handle = 0; local
711 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); local
936 phLibNfc_Handle handle = 0; local
1009 phLibNfc_Handle handle = 0; local
1104 phLibNfc_Handle handle = 0; local
1155 phLibNfc_Handle handle = 0; local
[all...]
H A Dcom_android_nfc_NativeP2pDevice.cpp109 phLibNfc_Handle /*handle*/, phNfc_sData_t *pResBuffer, NFCSTATUS status)
122 phLibNfc_Handle handle = 0; local
137 handle = nfc_jni_get_p2p_device_handle(e, o);
147 status = phLibNfc_RemoteDev_Connect(handle, nfc_jni_connect_callback, (void*)&cb_data);
203 phLibNfc_Handle handle = 0; local
210 handle = nfc_jni_get_p2p_device_handle(e, o);
219 TRACE("Disconnecting from target (handle = 0x%x)", handle);
228 status = phLibNfc_RemoteDev_Disconnect(handle, NFC_DISCOVERY_CONTINUE,nfc_jni_disconnect_callback, (void *)&cb_data);
279 phLibNfc_Handle handle local
361 phLibNfc_Handle handle; local
417 phLibNfc_Handle handle = nfc_jni_get_p2p_device_handle(e, o); local
[all...]
H A Dcom_android_nfc.cpp404 * Utility to get a technology tree and a corresponding handle list from a detected tag.
417 // ISO handle is usually the second, and we prefer the ISO. Should implement
418 // a method to find the "preferred handle order" and use that instead,
422 int handle = devList[target].hTargetDev; local
429 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type);
435 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type);
437 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, type);
442 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3A, handle, type);
450 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type);
452 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, typ
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
H A DMissedCallNotifierImpl.java66 * direct reference to the CallsManager. Try to make this class simply handle the UI
150 // 1 missed call: <caller name || handle>
173 String handle = handleUri == null ? null : handleUri.getSchemeSpecificPart();
177 Log.d(this, "Add actions with number %s.", Log.piiHandle(handle));
179 if (!TextUtils.isEmpty(handle)
180 && !TextUtils.equals(handle, mContext.getString(R.string.handle_restricted))) {
200 Log.d(this, "Suppress actions. handle: %s, missedCalls: %d.", Log.piiHandle(handle),
234 String handle = call.getHandle() == null ? null : call.getHandle().getSchemeSpecificPart();
239 } else if (!TextUtils.isEmpty(handle)) {
280 createCallBackPendingIntent(Uri handle) argument
289 createSendSmsFromNotificationPendingIntent(Uri handle) argument
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_ext.h62 #define NJ_GET_DIC_TYPE_EX(type, handle) \
63 NJ_GET_DIC_TYPE((handle))
119 extern NJ_INT16 njd_l_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
120 extern NJ_INT16 njd_l_init_area(NJ_DIC_HANDLE handle);
126 extern NJ_INT16 njd_l_mld_op_commit(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
127 extern NJ_INT16 njd_l_mld_op_commit_to_top(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
128 extern NJ_INT16 njd_l_mld_op_commit_cancel(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
129 extern NJ_INT16 njd_l_mld_op_get_space(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
/packages/services/Telecomm/src/com/android/server/telecom/components/
H A DUserCallIntentProcessor.java91 Uri handle = intent.getData();
92 String scheme = handle.getScheme();
93 String uriString = handle.getSchemeSpecificPart();
96 handle = Uri.fromParts(PhoneNumberUtils.isUriNumber(uriString) ?
103 && !TelephonyUtil.shouldProcessAsEmergency(mContext, handle)) {
113 if (!canCallNonEmergency && !TelephonyUtil.shouldProcessAsEmergency(mContext, handle)) {
127 && TelephonyUtil.shouldProcessAsEmergency(mContext, handle)) {
/packages/apps/InCallUI/src/com/android/incallui/
H A DGlowPadWrapper.java95 public void onGrabbed(View v, int handle) { argument
101 public void onReleased(View v, int handle) { argument
143 public void onGrabbedStateChange(View v, int handle) { argument
/packages/apps/Nfc/nci/jni/
H A DNativeLlcpConnectionlessSocket.cpp68 jint handle = e->GetIntField(o, f); local
79 tNFA_STATUS status = NFA_P2pSendUI((tNFA_HANDLE) handle, nsap, byte_count, raw_ptr);
268 jint handle = e->GetIntField(o, f); local
270 tNFA_STATUS status = NFA_P2pDisconnect((tNFA_HANDLE) handle, FALSE);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DIngestObjectInfo.java26 public IngestObjectInfo(int handle, long dateCreated, int format, int compressedSize) { argument
27 mHandle = handle;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DCertService.java102 private void sendCerts(final UserHandle handle) { argument
109 sendBroadcastAsUser(intent, handle);
/packages/services/Telecomm/src/com/android/server/telecom/settings/
H A DEnableAccountPreferenceFragment.java91 for (PhoneAccountHandle handle : accountHandles) {
92 PhoneAccount account = mTelecomManager.getPhoneAccount(handle);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContentObserver.java578 long handle; field in class:BluetoothMapContentObserver.Event
609 public Event(String eventType, long handle, String folder, argument
612 this.handle = handle;
626 public Event(String eventType, long handle, String folder, TYPE msgType) { argument
628 this.handle = handle;
634 public Event(String eventType, long handle, String folder, TYPE msgType, argument
637 this.handle = handle;
651 Event(String eventType, long handle, String folder, TYPE msgType, String datetime, String subject, String senderName, String priority, long conversationID, String conversationName) argument
1997 setEmailMessageStatusDelete(BluetoothMapFolderElement mCurrentFolder, String uriStr, long handle, int status) argument
2096 deleteMessageMms(long handle) argument
2130 unDeleteMessageMms(long handle) argument
2179 deleteMessageSms(long handle) argument
2212 unDeleteMessageSms(long handle) argument
2265 setMessageStatusDeleted(long handle, TYPE type, BluetoothMapFolderElement mCurrentFolder, String uriStr, int statusValue) argument
2302 setMessageStatusRead(long handle, TYPE type, String uriStr, int statusValue) argument
2629 moveDraftToOutbox(long handle) argument
2639 moveMmsToFolder(long handle, ContentResolver resolver, int folder) argument
2861 writeMmsDataPart(long handle, MimePart part, int count) argument
[all...]
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelecomAccountRegistry.java76 Log.i(this, "Registered phoneAccount: %s with handle: %s",
94 // Build the Phone account handle.
325 * @param handle The {@link PhoneAccountHandle}.
328 boolean isVideoPauseSupported(PhoneAccountHandle handle) { argument
330 if (entry.getPhoneAccountHandle().equals(handle)) {
360 * @param handle The {@link PhoneAccountHandle}.
363 private boolean hasAccountEntryForPhoneAccount(PhoneAccountHandle handle) { argument
365 if (entry.getPhoneAccountHandle().equals(handle)) {
381 for (PhoneAccountHandle handle : accountHandles) {
382 if (telephonyComponentName.equals(handle
[all...]

Completed in 655 milliseconds

123