Searched refs:serviceName (Results 1 - 25 of 26) sorted by relevance

12

/packages/services/Car/car-lib/src/android/car/
H A DICar.aidl25 IBinder getCarService(in String serviceName) = 0;
H A DCar.java406 * @param serviceName Name of service that should be created like {@link #SENSOR_SERVICE}.
410 public Object getCarManager(String serviceName) throws CarNotConnectedException { argument
414 manager = mServiceMap.get(serviceName);
417 IBinder binder = service.getCarService(serviceName);
420 serviceName);
423 manager = createCarManager(serviceName, binder);
427 serviceName);
430 mServiceMap.put(serviceName, manager);
467 private CarManagerBase createCarManager(String serviceName, IBinder binder) argument
470 switch (serviceName) {
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java99 private native int sdpCreateMapMasRecordNative(String serviceName, int masId, argument
102 private native int sdpCreateMapMnsRecordNative(String serviceName, argument
105 private native int sdpCreatePbapPseRecordNative(String serviceName, int rfcommChannel, argument
108 private native int sdpCreateOppOpsRecordNative(String serviceName, argument
111 private native int sdpCreateSapsRecordNative(String serviceName, int rfcommChannel, argument
256 String serviceName,
274 serviceName);
287 String serviceName,
303 serviceName);
317 String serviceName,
249 sdpMasRecordFoundCallback(int status, byte[] address, byte[] uuid, int masInstanceId, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, int supportedMessageTypes, String serviceName, boolean moreResults) argument
282 sdpMnsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, String serviceName, boolean moreResults) argument
311 sdpPseRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, int supportedRepositories, String serviceName, boolean moreResults) argument
341 sdpOppOpsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, String serviceName, byte[] formatsList, boolean moreResults) argument
371 sdpSapsRecordFoundCallback(int status, byte[] address, byte[] uuid, int rfcommCannelNumber, int profileVersion, String serviceName, boolean moreResults) argument
524 createMapMasRecord(String serviceName, int masId, int rfcommChannel, int l2capPsm, int version, int msgTypes, int features) argument
554 createMapMnsRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, int features) argument
585 createPbapPseRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, int repositories, int features) argument
614 createOppOpsRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, byte[] formatsList) argument
638 createSapsRecord(String serviceName, int rfcommChannel, int version) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/snep/
H A DSnepClient.java58 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 DSnepServer.java69 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 DNativeLlcpSocket.java45 public void connectToService(String serviceName) throws IOException { argument
46 if (!doConnectBy(serviceName)) {
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
H A DNativeLlcpSocket.java45 public void connectToService(String serviceName) throws IOException { argument
46 if (!doConnectBy(serviceName)) {
/packages/services/Car/car-support-lib/src/android/support/car/
H A DCarServiceLoaderEmbedded.java103 public Object getCarManager(String serviceName) throws CarNotConnectedException { argument
106 manager = mCar.getCarManager(serviceName);
115 switch (serviceName) {
H A DCarServiceLoader.java46 public abstract Object getCarManager(String serviceName) argument
H A DCar.java347 * @param serviceName Name of service that should be created like {@link #SENSOR_SERVICE}.
350 public Object getCarManager(String serviceName) argument
354 manager = mServiceMap.get(serviceName);
356 manager = mCarServiceLoader.getCarManager(serviceName);
361 mServiceMap.put(serviceName, (CarManagerBase) manager);
/packages/services/Car/service/src/com/android/car/
H A DICarImpl.java161 public IBinder getCarService(String serviceName) { argument
162 switch (serviceName) {
198 Log.w(CarLog.TAG_SERVICE, "getCarService for unknown service:" + serviceName);
212 public CarServiceBase getCarInternalService(String serviceName) { argument
213 switch (serviceName) {
218 serviceName);
/packages/apps/Nfc/nci/jni/
H A DPeerToPeer.h145 ** 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);
453 ** serviceName: service name.
466 ** serviceName: service name.
471 android::sp<P2pServer> findServerLocked (const char *serviceName);
506 ** serviceName: Peer's service name.
512 bool createDataLinkConn (tJNI_HANDLE jniHandle, const char* serviceName, UINT8 destinationSap);
642 P2pServer (PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName);
[all...]
H A DNativeLlcpSocket.cpp69 ScopedUtfChars serviceName(e, sn);
70 if (serviceName.c_str() == NULL)
74 bool stat = PeerToPeer::getInstance().connectConnOriented(jniHandle, serviceName.c_str());
H A DPeerToPeer.cpp156 ** serviceName: service name.
183 ** serviceName: service name.
188 sp<P2pServer> PeerToPeer::findServerLocked (const char *serviceName) argument
192 if ( (mServers[i] != NULL) && (mServers[i]->mServiceName.compare(serviceName) == 0) )
207 ** serviceName: Server's service name.
212 bool PeerToPeer::registerServer (tJNI_HANDLE jniHandle, const char *serviceName) argument
215 ALOGD ("%s: enter; service name: %s JNI handle: %u", fn, serviceName, jniHandle);
220 if ((pSrv = findServerLocked(serviceName)) != NULL)
222 ALOGD ("%s: service name=%s already registered, handle: 0x%04x", fn, serviceName, pSrv->mNfaP2pServerHandle);
234 pSrv = mServers[ii] = new P2pServer(jniHandle, serviceName);
637 connectConnOriented(tJNI_HANDLE jniHandle, const char* serviceName) argument
680 createDataLinkConn(tJNI_HANDLE jniHandle, const char* serviceName, UINT8 destinationSap) argument
1621 P2pServer(PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName) argument
[all...]
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeLlcpSocket.cpp170 phNfc_sData_t serviceName = {NULL, 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 Dcom_android_nfc_NativeNfcManager.cpp1880 phNfc_sData_t serviceName = {NULL, 0}; local
1914 serviceName.buffer = NULL;
1915 serviceName.length = 0;
1917 serviceName.buffer = (uint8_t*)e->GetStringUTFChars(sn, NULL);
1918 serviceName.length = (uint32_t)e->GetStringUTFLength(sn);
1924 ret = phLibNfc_Llcp_Bind(hLlcpSocket,nSap, &serviceName);
1969 if (serviceName.buffer != NULL) {
1970 e->ReleaseStringUTFChars(sn, (const char *)serviceName.buffer);
1986 phNfc_sData_t serviceName; local
2025 serviceName
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DAccountImageHelper.java96 final String serviceName = "com.google.android.syncadapters.contacts." +
102 intent.setClassName(servicePackageName, serviceName);
/packages/apps/Nfc/tests/src/com/android/nfc/
H A DMockLlcpSocket.java77 public void connectToService(String serviceName) throws IOException { argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DAccessibilityFragment.java152 private static final String ARG_SERVICE_NAME = "serviceName";
158 public static void prepareArgs(@NonNull Bundle args, String packageName, String serviceName, argument
161 args.putString(ARG_SERVICE_NAME, serviceName);
198 final String serviceName = getArguments().getString(ARG_SERVICE_NAME);
200 final ComponentName serviceComponent = new ComponentName(packageName, serviceName);
207 new ComponentName(packageName, serviceName),
/packages/apps/Music/src/com/android/music/
H A DMediaAppWidgetProvider.java177 final ComponentName serviceName = new ComponentName(context, MediaPlaybackService.class);
192 intent.setComponent(serviceName);
198 intent.setComponent(serviceName);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java345 public void onProfileServiceStateChanged(String serviceName, int state) { argument
347 m.obj=serviceName;
352 private void processProfileServiceStateChanged(String serviceName, int state) { argument
360 Integer prevState = mProfileServicesState.get(serviceName);
362 mProfileServicesState.put(serviceName,state);
366 debugLog("processProfileServiceStateChanged() serviceName=" + serviceName
380 debugLog("processProfileServiceStateChanged() - serviceName=" + serviceName +
385 if (serviceName
1332 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument
2103 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument
2554 createSocketChannelNative(int type, String serviceName, byte[] uuid, int port, int flag, int callingUid) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DDeviceHost.java126 public void connectToService(String serviceName) throws IOException; argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DPersonalDictionaryLookup.java223 @Nonnull final String serviceName) {
224 mTag = serviceName + ".Personal";
228 mServiceName = serviceName;
221 PersonalDictionaryLookup( @onnull final Context context, @Nonnull final String serviceName) argument
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DRegisteredServicesCache.java178 boolean containsServiceLocked(ArrayList<ApduServiceInfo> services, ComponentName serviceName) { argument
180 if (service.getComponent().equals(serviceName)) return true;
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContactLoader.java959 final String serviceName = accountType.getViewContactNotifyServiceClassName();
961 if (!TextUtils.isEmpty(serviceName) && !TextUtils.isEmpty(servicePackageName)) {
964 intent.setClassName(servicePackageName, serviceName);

Completed in 4017 milliseconds

12