/packages/apps/Nfc/src/com/android/nfc/snep/ |
H A D | SnepClient.java | 58 public SnepClient(String serviceName) { argument 59 mServiceName = serviceName; 76 SnepClient(String serviceName, int fragmentLength) { argument 77 mServiceName = serviceName; 85 SnepClient(String serviceName, int acceptableLength, int fragmentLength) { argument 86 mServiceName = serviceName;
|
H A D | SnepServer.java | 69 public SnepServer(String serviceName, int serviceSap, Callback callback) { argument 71 mServiceName = serviceName; 87 SnepServer(String serviceName, int serviceSap, int fragmentLength, Callback callback) { argument 89 mServiceName = serviceName;
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
H A D | NativeLlcpSocket.java | 45 public void connectToService(String serviceName) throws IOException { argument 46 if (!doConnectBy(serviceName)) {
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
H A D | NativeLlcpSocket.java | 45 public void connectToService(String serviceName) throws IOException { argument 46 if (!doConnectBy(serviceName)) {
|
/packages/apps/Nfc/nci/jni/ |
H A D | PeerToPeer.h | 145 ** serviceName: Server's service name. 150 bool registerServer (tJNI_HANDLE jniHandle, const char* serviceName); 202 ** serviceName: Peer's service name. 207 bool connectConnOriented (tJNI_HANDLE jniHandle, const char* serviceName); 429 ** serviceName: service name. 442 ** serviceName: service name. 447 android::sp<P2pServer> findServerLocked (const char *serviceName); 482 ** serviceName: Peer's service name. 488 bool createDataLinkConn (tJNI_HANDLE jniHandle, const char* serviceName, UINT8 destinationSap); 618 P2pServer (PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName); [all...] |
H A D | NativeLlcpSocket.cpp | 69 ScopedUtfChars serviceName(e, sn); 70 if (serviceName.c_str() == NULL) { 73 bool stat = PeerToPeer::getInstance().connectConnOriented(jniHandle, serviceName.c_str());
|
H A D | PeerToPeer.cpp | 154 ** serviceName: service name. 181 ** serviceName: service name. 186 sp<P2pServer> PeerToPeer::findServerLocked (const char *serviceName) argument 190 if ( (mServers[i] != NULL) && (mServers[i]->mServiceName.compare(serviceName) == 0) ) 205 ** serviceName: Server's service name. 210 bool PeerToPeer::registerServer (tJNI_HANDLE jniHandle, const char *serviceName) argument 213 ALOGD ("%s: enter; service name: %s JNI handle: %u", fn, serviceName, jniHandle); 218 if ((pSrv = findServerLocked(serviceName)) != NULL) 220 ALOGD ("%s: service name=%s already registered, handle: 0x%04x", fn, serviceName, pSrv->mNfaP2pServerHandle); 232 pSrv = mServers[ii] = new P2pServer(jniHandle, serviceName); 621 connectConnOriented(tJNI_HANDLE jniHandle, const char* serviceName) argument 664 createDataLinkConn(tJNI_HANDLE jniHandle, const char* serviceName, UINT8 destinationSap) argument 1568 P2pServer(PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName) argument [all...] |
H A D | NativeNfcManager.cpp | 1045 ScopedUtfChars serviceName(e, sn); 1047 ALOGD ("%s: enter: sap=%i; name=%s; miu=%i; rw=%i; buffLen=%i", __FUNCTION__, nSap, serviceName.c_str(), miu, rw, linearBufferLength); 1066 if (!PeerToPeer::getInstance().registerServer (jniHandle, serviceName.c_str()))
|
/packages/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc_NativeLlcpSocket.cpp | 170 phNfc_sData_t serviceName = {0}; local 187 serviceName.buffer = (uint8_t*)e->GetStringUTFChars(sn, NULL); 188 serviceName.length = (uint32_t)e->GetStringUTFLength(sn); 194 &serviceName, 220 if (serviceName.buffer != NULL) { 221 e->ReleaseStringUTFChars(sn, (const char *)serviceName.buffer);
|
H A D | com_android_nfc_NativeNfcManager.cpp | 2069 phNfc_sData_t serviceName = {NULL, 0}; local 2103 serviceName.buffer = NULL; 2104 serviceName.length = 0; 2106 serviceName.buffer = (uint8_t*)e->GetStringUTFChars(sn, NULL); 2107 serviceName.length = (uint32_t)e->GetStringUTFLength(sn); 2113 ret = phLibNfc_Llcp_Bind(hLlcpSocket,nSap, &serviceName); 2158 if (serviceName.buffer != NULL) { 2159 e->ReleaseStringUTFChars(sn, (const char *)serviceName.buffer); 2175 phNfc_sData_t serviceName; local 2214 serviceName [all...] |
/packages/apps/Nfc/tests/src/com/android/nfc/ |
H A D | MockLlcpSocket.java | 77 public void connectToService(String serviceName) throws IOException { argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | AdapterService.java | 179 public void onProfileServiceStateChanged(String serviceName, int state) { argument 181 m.obj=serviceName; 186 private void processProfileServiceStateChanged(String serviceName, int state) { argument 192 Integer prevState = mProfileServicesState.get(serviceName); 194 mProfileServicesState.put(serviceName,state); 198 if (DBG) Log.d(TAG,"onProfileServiceStateChange: serviceName=" + serviceName + ", state = " + state +", doUpdate = " + doUpdate); 439 String serviceName = services[i].getName(); 440 Integer serviceState = mProfileServicesState.get(serviceName); 443 serviceName 863 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument 1313 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument 1396 createSocketChannelNative(int type, String serviceName, byte[] uuid, int port, int flag) argument [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | MediaAppWidgetProvider.java | 177 final ComponentName serviceName = new ComponentName(context, MediaPlaybackService.class); 192 intent.setComponent(serviceName); 198 intent.setComponent(serviceName);
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | DeviceHost.java | 138 public void connectToService(String serviceName) throws IOException; argument
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | ContactLoader.java | 870 final String serviceName = accountType.getViewContactNotifyServiceClassName(); 872 if (!TextUtils.isEmpty(serviceName) && !TextUtils.isEmpty(servicePackageName)) { 875 intent.setClassName(servicePackageName, serviceName);
|