Home
last modified time | relevance | path

Searched refs:serviceName (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java99 private native int sdpCreateMapMasRecordNative(String serviceName, int masId, in sdpCreateMapMasRecordNative() argument
102 private native int sdpCreateMapMnsRecordNative(String serviceName, in sdpCreateMapMnsRecordNative() argument
105 private native int sdpCreatePbapPseRecordNative(String serviceName, int rfcommChannel, in sdpCreatePbapPseRecordNative() argument
108 private native int sdpCreateOppOpsRecordNative(String serviceName, in sdpCreateOppOpsRecordNative() argument
111 private native int sdpCreateSapsRecordNative(String serviceName, int rfcommChannel, in sdpCreateSapsRecordNative() argument
256 String serviceName, in sdpMasRecordFoundCallback() argument
274 serviceName); in sdpMasRecordFoundCallback()
287 String serviceName, in sdpMnsRecordFoundCallback() argument
303 serviceName); in sdpMnsRecordFoundCallback()
317 String serviceName, in sdpPseRecordFoundCallback() argument
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java284 public void onProfileServiceStateChanged(String serviceName, int state) { in onProfileServiceStateChanged() argument
286 m.obj=serviceName; in onProfileServiceStateChanged()
291 private void processProfileServiceStateChanged(String serviceName, int state) { in processProfileServiceStateChanged() argument
299 Integer prevState = mProfileServicesState.get(serviceName); in processProfileServiceStateChanged()
301 mProfileServicesState.put(serviceName,state); in processProfileServiceStateChanged()
305 debugLog("onProfileServiceStateChange() serviceName=" + serviceName in processProfileServiceStateChanged()
319 debugLog("processProfileServiceStateChanged() - serviceName=" + serviceName + in processProfileServiceStateChanged()
324 if (serviceName.equals("com.android.bluetooth.gatt.GattService")) { in processProfileServiceStateChanged()
331 if (serviceName.equals("com.android.bluetooth.gatt.GattService")) { in processProfileServiceStateChanged()
691 String serviceName = services[i].getName(); in setGattProfileServiceState() local
[all …]
/packages/apps/Nfc/nci/jni/
DPeerToPeer.cpp188 sp<P2pServer> PeerToPeer::findServerLocked (const char *serviceName) in findServerLocked() argument
192 if ( (mServers[i] != NULL) && (mServers[i]->mServiceName.compare(serviceName) == 0) ) in findServerLocked()
212 bool PeerToPeer::registerServer (tJNI_HANDLE jniHandle, const char *serviceName) in registerServer() argument
215 ALOGD ("%s: enter; service name: %s JNI handle: %u", fn, serviceName, jniHandle); in registerServer()
220 if ((pSrv = findServerLocked(serviceName)) != NULL) in registerServer()
222 …ALOGD ("%s: service name=%s already registered, handle: 0x%04x", fn, serviceName, pSrv->mNfaP2pSe… in registerServer()
234 pSrv = mServers[ii] = new P2pServer(jniHandle, serviceName); in registerServer()
236 …LOGD ("%s: added new p2p server index: %d handle: %u name: %s", fn, ii, jniHandle, serviceName); in registerServer()
244 ALOGE ("%s: service name=%s no free entry", fn, serviceName); in registerServer()
637 bool PeerToPeer::connectConnOriented (tJNI_HANDLE jniHandle, const char* serviceName) in connectConnOriented() argument
[all …]
DPeerToPeer.h150 bool registerServer (tJNI_HANDLE jniHandle, const char* serviceName);
207 bool connectConnOriented (tJNI_HANDLE jniHandle, const char* serviceName);
471 android::sp<P2pServer> findServerLocked (const char *serviceName);
512 …bool createDataLinkConn (tJNI_HANDLE jniHandle, const char* serviceName, UINT8 destinationS…
642 P2pServer (PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName);
DNativeLlcpSocket.cpp69 ScopedUtfChars serviceName(e, sn); in nativeLlcpSocket_doConnectBy() local
70 if (serviceName.c_str() == NULL) in nativeLlcpSocket_doConnectBy()
74 bool stat = PeerToPeer::getInstance().connectConnOriented(jniHandle, serviceName.c_str()); in nativeLlcpSocket_doConnectBy()
DNativeNfcManager.cpp1154 ScopedUtfChars serviceName(e, sn); in nfcManager_doCreateLlcpServiceSocket() local
1156 …ALOGD ("%s: enter: sap=%i; name=%s; miu=%i; rw=%i; buffLen=%i", __FUNCTION__, nSap, serviceName.c_… in nfcManager_doCreateLlcpServiceSocket()
1175 if (!PeerToPeer::getInstance().registerServer (jniHandle, serviceName.c_str())) in nfcManager_doCreateLlcpServiceSocket()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepClient.java58 public SnepClient(String serviceName) { in SnepClient() argument
59 mServiceName = serviceName; in SnepClient()
76 SnepClient(String serviceName, int fragmentLength) { in SnepClient() argument
77 mServiceName = serviceName; in SnepClient()
85 SnepClient(String serviceName, int acceptableLength, int fragmentLength) { in SnepClient() argument
86 mServiceName = serviceName; in SnepClient()
DSnepServer.java69 public SnepServer(String serviceName, int serviceSap, Callback callback) { in SnepServer() argument
71 mServiceName = serviceName; in SnepServer()
87 SnepServer(String serviceName, int serviceSap, int fragmentLength, Callback callback) { in SnepServer() argument
89 mServiceName = serviceName; in SnepServer()
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcManager.cpp1880 phNfc_sData_t serviceName = {NULL, 0}; in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket() local
1914 serviceName.buffer = NULL; in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1915 serviceName.length = 0; in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1917 serviceName.buffer = (uint8_t*)e->GetStringUTFChars(sn, NULL); in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1918 serviceName.length = (uint32_t)e->GetStringUTFLength(sn); in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1924 ret = phLibNfc_Llcp_Bind(hLlcpSocket,nSap, &serviceName); in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1969 if (serviceName.buffer != NULL) { in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1970 e->ReleaseStringUTFChars(sn, (const char *)serviceName.buffer); in com_android_nfc_NfcManager_doCreateLlcpConnectionlessSocket()
1986 phNfc_sData_t serviceName; in com_android_nfc_NfcManager_doCreateLlcpServiceSocket() local
2025 serviceName.buffer = NULL; in com_android_nfc_NfcManager_doCreateLlcpServiceSocket()
[all …]
Dcom_android_nfc_NativeLlcpSocket.cpp170 phNfc_sData_t serviceName = {NULL, 0}; in com_android_nfc_NativeLlcpSocket_doConnectBy() local
187 serviceName.buffer = (uint8_t*)e->GetStringUTFChars(sn, NULL); in com_android_nfc_NativeLlcpSocket_doConnectBy()
188 serviceName.length = (uint32_t)e->GetStringUTFLength(sn); in com_android_nfc_NativeLlcpSocket_doConnectBy()
194 &serviceName, in com_android_nfc_NativeLlcpSocket_doConnectBy()
220 if (serviceName.buffer != NULL) { in com_android_nfc_NativeLlcpSocket_doConnectBy()
221 e->ReleaseStringUTFChars(sn, (const char *)serviceName.buffer); in com_android_nfc_NativeLlcpSocket_doConnectBy()
/packages/apps/Music/src/com/android/music/
DMediaAppWidgetProvider.java177 final ComponentName serviceName = new ComponentName(context, MediaPlaybackService.class); in linkButtons() local
192 intent.setComponent(serviceName); in linkButtons()
198 intent.setComponent(serviceName); in linkButtons()
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeLlcpSocket.java45 public void connectToService(String serviceName) throws IOException { in connectToService() argument
46 if (!doConnectBy(serviceName)) { in connectToService()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeLlcpSocket.java45 public void connectToService(String serviceName) throws IOException { in connectToService() argument
46 if (!doConnectBy(serviceName)) { in connectToService()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPersonalDictionaryLookup.java223 @Nonnull final String serviceName) { in PersonalDictionaryLookup() argument
224 mTag = serviceName + ".Personal"; in PersonalDictionaryLookup()
228 mServiceName = serviceName; in PersonalDictionaryLookup()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DAccountImageHelper.java96 final String serviceName = "com.google.android.syncadapters.contacts." + in syncContactHiResPhoto() local
102 intent.setClassName(servicePackageName, serviceName); in syncContactHiResPhoto()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java938 final String serviceName = accountType.getViewContactNotifyServiceClassName(); in postViewNotificationToSyncAdapter() local
940 if (!TextUtils.isEmpty(serviceName) && !TextUtils.isEmpty(servicePackageName)) { in postViewNotificationToSyncAdapter()
943 intent.setClassName(servicePackageName, serviceName); in postViewNotificationToSyncAdapter()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java178 boolean containsServiceLocked(ArrayList<ApduServiceInfo> services, ComponentName serviceName) { in containsServiceLocked() argument
180 if (service.getComponent().equals(serviceName)) return true; in containsServiceLocked()
/packages/apps/Nfc/tests/src/com/android/nfc/
DMockLlcpSocket.java77 public void connectToService(String serviceName) throws IOException { in connectToService() argument
/packages/apps/Nfc/src/com/android/nfc/
DDeviceHost.java126 public void connectToService(String serviceName) throws IOException; in connectToService() argument