Searched defs:handle (Results 1 - 25 of 44) sorted by relevance

12

/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 DNewOutgoingCallIntentBroadcaster.java133 Log.v(this, "Retrieved modified handle after outgoing call intent broadcast: "
153 * This method will handle three kinds of actions:
167 final Uri handle = intent.getData();
169 if (handle == null) {
170 Log.w(this, "Empty handle obtained from the call intent.");
174 boolean isVoicemailNumber = PhoneAccount.SCHEME_VOICEMAIL.equals(handle.getScheme());
184 mCallsManager.placeOutgoingCall(mCall, handle, null, speakerphoneOn,
342 * @param trueHandle The actual call handle that the user is trying to dial
344 * the actual handle the user is trying to dial.
361 private void launchSystemDialer(Uri handle) { argument
[all...]
H A DPhoneAccountRegistrar.java107 * In practice, (2) is stored with the phone account handle and is part of the handle's ID. (1) is
166 * @param accountHandle The handle for the phone account for which to retrieve the
571 PhoneAccountHandle handle = phoneAccount.getAccountHandle();
572 if (Objects.equals(packageName, handle.getComponentName().getPackageName())
573 && Objects.equals(userHandle, handle.getUserHandle())) {
689 * Returns the PhoneAccount for the specified handle. Does no user checking.
691 * @param handle
694 PhoneAccount getPhoneAccount(PhoneAccountHandle handle) { argument
696 if (Objects.equals(handle,
708 getPhoneAccountCheckCallingUser(PhoneAccountHandle handle) argument
[all...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DCertService.java102 private void sendCerts(final UserHandle handle) { argument
109 sendBroadcastAsUser(intent, 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/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/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/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/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
H A DCallCardPresenter.java777 private String getNumberFromHandle(Uri handle) { argument
778 return handle == null ? "" : handle.getSchemeSpecificPart();
/packages/apps/Nfc/nxp/jni/
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...]
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...]
/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/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/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...]
/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/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DEclipseControl.java79 int handle = -1;
86 handle = i;
91 return handle;
124 public void actionMove(int handle, float x, float y, Oval oval) { argument
138 switch (handle) {
H A DGradControl.java96 int handle = -1;
103 handle = i;
108 return handle;
140 public void actionMove(int handle, float x, float y, Line line) { argument
157 switch (handle) {
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
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 DCallLogProvider.java378 void adjustForNewPhoneAccount(PhoneAccountHandle handle) { argument
379 scheduleBackgroundTask(BACKGROUND_TASK_ADJUST_PHONE_ACCOUNT, handle);
492 * Un-hides any hidden call log entries that are associated with the specified handle.
494 * @param handle The handle to the newly registered {@link android.telecom.PhoneAccount}.
496 private void adjustForNewPhoneAccountInternal(PhoneAccountHandle handle) { argument
498 new String[] { handle.getComponentName().flattenToString(), handle.getId() };
500 // Check to see if any entries exist for this handle. If so (not empty), run the un-hiding
516 PhoneAccount account = tm.getPhoneAccount(handle);
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListingElement.java38 private long mCpHandle = 0; /* The content provider handle - without type information */
77 public void setHandle(long handle) { argument
78 this.mCpHandle = handle;
276 xmlMsgElement.attribute(null, "handle",
H A DBluetoothMapObexServer.java604 long handle = mObserver.pushMessage(message, folderElement, appParams, mBaseUriString);
605 if (D) Log.d(TAG, "pushMessage handle: " + handle);
606 if (handle < 0) {
607 if(D) Log.w(TAG, "Message handle not created" );
611 String handleStr = BluetoothMapUtils.getMapHandle(handle, message.getType());
655 long handle;
671 handle = BluetoothMapUtils.getCpHandle(msgHandle);
673 if(D) Log.d(TAG,"setMessageStatus. Handle:" + handle+", MsgType: "+ msgType);
675 Log.w(TAG, "Wrongly formatted message handle
1457 sendGetMessageRsp(Operation op, String handle, BluetoothMapAppParams appParams, String version) argument
[all...]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeNfcTag.java54 // mConnectedHandle stores the *real* libnfc handle
62 // may occur runtime, whereas the underlying handle
64 // same handle, with the exception of multi-protocol
149 private native int doConnect(int handle); argument
157 // Get the handle and connect, if not already connected
159 // We're not yet connected to this handle, there are
163 // a different handle (multi-protocol tag); we support
170 // Connect to a tech with a different handle
171 Log.d(TAG,"Connect to a tech with a different handle");
181 // handle; w
290 doHandleReconnect(int handle) argument
291 reconnectWithStatus(int handle) argument
458 addTechnology(int tech, int handle, int libnfctype) argument
514 addNdefFormatableTechnology(int handle, int libnfcType) argument
525 addNdefTechnology(NdefMessage msg, int handle, int libnfcType, int javaType, int maxLength, int cardState) argument
577 hasTechOnHandle(int tech, int handle) argument
[all...]
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
H A DNativeNfcTag.java52 // mConnectedHandle stores the *real* libnfc handle
60 // may occur runtime, whereas the underlying handle
62 // same handle, with the exception of multi-protocol
146 private native int doConnect(int handle); argument
158 // Get the handle and connect, if not already connected
160 // We're not yet connected to this handle, there are
164 // a different handle (multi-protocol tag); we support
170 // Connect to a tech with a different handle
179 // handle; we do not support connecting at a different
181 // any handle)
278 doHandleReconnect(int handle) argument
279 reconnectWithStatus(int handle) argument
467 addTechnology(int tech, int handle, int libnfctype) argument
510 addNdefFormatableTechnology(int handle, int libnfcType) argument
521 addNdefTechnology(NdefMessage msg, int handle, int libnfcType, int javaType, int maxLength, int cardState) argument
573 hasTechOnHandle(int tech, int handle) argument
[all...]

Completed in 660 milliseconds

12