Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java82 private native int sdpCreateMapMasRecordNative(String serviceName, int masId, int rfcommChannel, in sdpCreateMapMasRecordNative() argument
85 private native int sdpCreateMapMnsRecordNative(String serviceName, int rfcommChannel, in sdpCreateMapMnsRecordNative() argument
88 private native int sdpCreatePbapPceRecordNative(String serviceName, in sdpCreatePbapPceRecordNative() argument
91 private native int sdpCreatePbapPseRecordNative(String serviceName, int rfcommChannel, in sdpCreatePbapPseRecordNative() argument
94 private native int sdpCreateOppOpsRecordNative(String serviceName, int rfcommChannel, in sdpCreateOppOpsRecordNative() argument
97 private native int sdpCreateSapsRecordNative(String serviceName, int rfcommChannel, in sdpCreateSapsRecordNative() argument
242 int supportedMessageTypes, String serviceName, boolean moreResults) { in sdpMasRecordFoundCallback() argument
254 profileVersion, supportedFeatures, supportedMessageTypes, serviceName); in sdpMasRecordFoundCallback()
267 int rfcommCannelNumber, int profileVersion, int supportedFeatures, String serviceName, in sdpMnsRecordFoundCallback() argument
280 supportedFeatures, serviceName); in sdpMnsRecordFoundCallback()
[all …]
/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/nci/jni/
DPeerToPeer.cpp170 sp<P2pServer> PeerToPeer::findServerLocked(const char* serviceName) { in findServerLocked() argument
173 (mServers[i]->mServiceName.compare(serviceName) == 0)) in findServerLocked()
193 const char* serviceName) { in registerServer() argument
197 serviceName, jniHandle); in registerServer()
202 if ((pSrv = findServerLocked(serviceName)) != NULL) { in registerServer()
205 serviceName, pSrv->mNfaP2pServerHandle); in registerServer()
215 pSrv = mServers[ii] = new P2pServer(jniHandle, serviceName); in registerServer()
219 jniHandle, serviceName); in registerServer()
227 serviceName); in registerServer()
613 const char* serviceName) { in connectConnOriented() argument
[all …]
DPeerToPeer.h143 bool registerServer(tJNI_HANDLE jniHandle, const char* serviceName);
197 bool connectConnOriented(tJNI_HANDLE jniHandle, const char* serviceName);
452 android::sp<P2pServer> findServerLocked(const char* serviceName);
490 bool createDataLinkConn(tJNI_HANDLE jniHandle, const char* serviceName,
611 P2pServer(PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName);
DNativeLlcpSocket.cpp72 ScopedUtfChars serviceName(e, sn); in nativeLlcpSocket_doConnectBy() local
73 if (serviceName.c_str() == NULL) { in nativeLlcpSocket_doConnectBy()
77 jniHandle, serviceName.c_str()); in nativeLlcpSocket_doConnectBy()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityServiceFragment.java58 public static void prepareArgs(@NonNull Bundle args, String packageName, String serviceName, in prepareArgs() argument
61 args.putString(ARG_SERVICE_NAME, serviceName); in prepareArgs()
108 final String serviceName = getArguments().getString(ARG_SERVICE_NAME); in updateEnablePref() local
109 final ComponentName serviceComponent = new ComponentName(packageName, serviceName); in updateEnablePref()
115 new ComponentName(packageName, serviceName), in updateEnablePref()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java91 public boolean isDeviceSupported(UsbDevice device, ComponentName serviceName) { in isDeviceSupported() argument
92 final AoapServiceConnection connection = getConnectionOrNull(serviceName); in isDeviceSupported()
101 Log.w(TAG, "Failed to get response isDeviceSupported from " + serviceName, e); in isDeviceSupported()
111 public boolean canSwitchDeviceToAoap(UsbDevice device, ComponentName serviceName) { in canSwitchDeviceToAoap() argument
112 final AoapServiceConnection connection = getConnectionOrNull(serviceName); in canSwitchDeviceToAoap()
121 Log.w(TAG, "Failed to get response of canSwitchDeviceToAoap from " + serviceName, e); in canSwitchDeviceToAoap()
DUsbDeviceHandlerResolver.java253 private boolean checkServiceRequiresPermission(ComponentName serviceName) { in checkServiceRequiresPermission() argument
255 intent.setComponent(serviceName); in checkServiceRequiresPermission()
266 Log.w(TAG, "Component " + serviceName + " must be protected with " in checkServiceRequiresPermission()
269 Log.w(TAG, "Component " + serviceName + " not found"); in checkServiceRequiresPermission()
/packages/services/Car/car-lib/src/android/car/
DCar.java1172 public Object getCarManager(String serviceName) { in getCarManager() argument
1179 manager = mServiceMap.get(serviceName); in getCarManager()
1182 IBinder binder = mService.getCarService(serviceName); in getCarManager()
1185 + serviceName); in getCarManager()
1188 manager = createCarManager(serviceName, binder); in getCarManager()
1191 + serviceName); in getCarManager()
1194 mServiceMap.put(serviceName, manager); in getCarManager()
1293 private CarManagerBase createCarManager(String serviceName, IBinder binder) { in createCarManager() argument
1295 switch (serviceName) { in createCarManager()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowCar.java79 public static void setCarManager(String serviceName, Object carManager) { in setCarManager() argument
80 sServiceName = serviceName; in setCarManager()
83 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCar.java95 public static void setCarManager(String serviceName, Object carManager) { in setCarManager() argument
96 sServiceName = serviceName; in setCarManager()
99 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCar.java149 public IBinder getCarService(String serviceName) throws RemoteException { in getCarService() argument
150 switch (serviceName) { in getCarService()
187 Log.w(TAG, "getCarService for unknown service:" + serviceName); in getCarService()
/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/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBluetoothSocketManagerBinder.java59 int type, String serviceName, ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
65 serviceName, in createSocketChannel()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java305 public IBinder getCarService(String serviceName) { in getCarService() argument
306 switch (serviceName) { in getCarService()
368 Log.w(CarLog.TAG_SERVICE, "getCarService for unknown service:" + serviceName); in getCarService()
378 public CarServiceBase getCarInternalService(String serviceName) { in getCarInternalService() argument
379 switch (serviceName) { in getCarInternalService()
388 serviceName); in getCarInternalService()
DCarMediaService.java644 String serviceName = service.serviceInfo.name; in getMediaService() local
645 if (!TextUtils.isEmpty(serviceName) in getMediaService()
651 && (TextUtils.isEmpty(className) || serviceName.equals(className))) { in getMediaService()
652 return new ComponentName(packageName, serviceName); in getMediaService()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java241 String serviceName, in SdtItem() argument
246 mServiceName = serviceName; in SdtItem()
547 public ServiceDescriptor(int serviceType, String serviceProviderName, String serviceName) { in ServiceDescriptor() argument
550 mServiceName = serviceName; in ServiceDescriptor()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DAccountImageHelper.java94 final String serviceName = "com.google.android.syncadapters.contacts." + in syncContactHiResPhoto() local
100 intent.setClassName(servicePackageName, serviceName); in syncContactHiResPhoto()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizard.java130 private AccessibilityServiceInfo findService(String packageName, String serviceName) { in findService() argument
138 && serviceName.equals(serviceInfo.name)) { in findService()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilitySettingsForSetupWizard.java130 private AccessibilityServiceInfo findService(String packageName, String serviceName) { in findService() argument
138 && serviceName.equals(serviceInfo.name)) { in findService()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DExtDtaSnepServer.java60 public ExtDtaSnepServer(String serviceName, int serviceSap, int miu, int rwSize, in ExtDtaSnepServer() argument
63 mDtaServiceName = serviceName; in ExtDtaSnepServer()
DDtaSnepClient.java73 public DtaSnepClient(String serviceName, int miu, int rwSize, int testCaseId) { in DtaSnepClient() argument
74 mServiceName = serviceName; in DtaSnepClient()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java327 …public void enableExtDtaSnepServer(String serviceName, int serviceSap, int miu, int rwSize,int tes… in enableExtDtaSnepServer() argument
329 mServiceName = serviceName; in enableExtDtaSnepServer()
362 public void enableDtaSnepClient(String serviceName, int miu, int rwSize, int testCaseId) { in enableDtaSnepClient() argument
365 mServiceName = serviceName; in enableDtaSnepClient()
/packages/services/Car/evs/app/
DEvsStateControl.cpp30 const android::String16 serviceName("SurfaceFlinger"); in isSfReady() local
31 return android::defaultServiceManager()->checkService(serviceName) != nullptr; in isSfReady()

12