Searched defs:serviceName (Results 1 - 24 of 24) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowAccessibilityManager.java34 public static void addAccessibilityService(String serviceName) { argument
36 serviceInfo.setComponentName(ComponentName.unflattenFromString(serviceName));
/packages/services/Car/car-support-lib/src/android/support/car/
H A DCarServiceLoaderEmbedded.java80 public Object getCarManager(String serviceName) throws CarNotConnectedException { argument
83 manager = mEmbeddedCar.getCarManager(serviceName);
92 switch (serviceName) {
H A DCarServiceLoader.java47 * @param serviceName One of the android.car.Car#*_SERVICE constants.
52 public abstract Object getCarManager(String serviceName) throws CarNotConnectedException; argument
H A DCar.java408 * @param serviceName Name of service to create, for example {@link #SENSOR_SERVICE}.
411 public Object getCarManager(String serviceName) argument
415 manager = mServiceMap.get(serviceName);
417 manager = mCarServiceLoader.getCarManager(serviceName);
422 mServiceMap.put(serviceName, (CarManagerBase) manager);
441 String serviceName = CLASS_TO_SERVICE_NAME.get(serviceClass);
442 return (serviceName == null) ? null : (T) getCarManager(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/accessibility/
H A DAccessibilityServiceFragment.java42 private static final String ARG_SERVICE_NAME = "serviceName";
52 * @param serviceName Class of accessibility service
56 public static void prepareArgs(@NonNull Bundle args, String packageName, String serviceName, argument
59 args.putString(ARG_SERVICE_NAME, serviceName);
96 final String serviceName = getArguments().getString(ARG_SERVICE_NAME);
98 final ComponentName serviceComponent = new ComponentName(packageName, serviceName);
105 new ComponentName(packageName, 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/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/src/com/android/nfc/sneptest/
H A DDtaSnepClient.java73 public DtaSnepClient(String serviceName, int miu, int rwSize, int testCaseId) { argument
74 mServiceName = serviceName;
H A DExtDtaSnepServer.java60 public ExtDtaSnepServer(String serviceName, int serviceSap, int miu, int rwSize, argument
63 mDtaServiceName = serviceName;
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DAccessibilitySettingsForSetupWizard.java106 private AccessibilityServiceInfo findService(String packageName, String serviceName) { argument
114 && serviceName.equals(serviceInfo.name)) {
/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/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/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java79 private native int sdpCreateMapMasRecordNative(String serviceName, int masId, argument
82 private native int sdpCreateMapMnsRecordNative(String serviceName, argument
85 private native int sdpCreatePbapPseRecordNative(String serviceName, int rfcommChannel, argument
88 private native int sdpCreateOppOpsRecordNative(String serviceName, argument
91 private native int sdpCreateSapsRecordNative(String serviceName, int rfcommChannel, argument
236 String serviceName,
254 serviceName);
267 String serviceName,
283 serviceName);
297 String serviceName,
229 sdpMasRecordFoundCallback(int status, byte[] address, byte[] uuid, int masInstanceId, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, int supportedMessageTypes, String serviceName, boolean moreResults) argument
262 sdpMnsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, String serviceName, boolean moreResults) argument
291 sdpPseRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, int supportedRepositories, String serviceName, boolean moreResults) argument
321 sdpOppOpsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, String serviceName, byte[] formatsList, boolean moreResults) argument
351 sdpSapsRecordFoundCallback(int status, byte[] address, byte[] uuid, int rfcommCannelNumber, int profileVersion, String serviceName, boolean moreResults) argument
504 createMapMasRecord(String serviceName, int masId, int rfcommChannel, int l2capPsm, int version, int msgTypes, int features) argument
534 createMapMnsRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, int features) argument
565 createPbapPseRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, int repositories, int features) argument
594 createOppOpsRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, byte[] formatsList) argument
618 createSapsRecord(String serviceName, int rfcommChannel, int version) argument
[all...]
/packages/apps/Nfc/nci/jni/
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 ALOGV("%s: enter; service name: %s JNI handle: %u", fn, serviceName, jniHandle);
220 if ((pSrv = findServerLocked(serviceName)) != NULL)
222 ALOGV("%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_t destinationSap) argument
1621 P2pServer(PeerToPeer::tJNI_HANDLE jniHandle, const char* serviceName) argument
[all...]
/packages/services/Car/car-lib/src/android/car/
H A DCar.java514 * @param serviceName Name of service that should be created like {@link #SENSOR_SERVICE}.
518 public Object getCarManager(String serviceName) throws CarNotConnectedException { argument
522 manager = mServiceMap.get(serviceName);
525 IBinder binder = service.getCarService(serviceName);
528 serviceName);
531 manager = createCarManager(serviceName, binder);
535 serviceName);
538 mServiceMap.put(serviceName, manager);
586 private CarManagerBase createCarManager(String serviceName, IBinder binder) argument
589 switch (serviceName) {
[all...]
/packages/services/Car/service/src/com/android/car/
H A DICarImpl.java186 public IBinder getCarService(String serviceName) { argument
187 switch (serviceName) {
236 Log.w(CarLog.TAG_SERVICE, "getCarService for unknown service:" + serviceName);
246 public CarServiceBase getCarInternalService(String serviceName) { argument
247 switch (serviceName) {
254 serviceName);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DAnalytics.java187 public void addInCallService(String serviceName, int type) { argument
345 public void addInCallService(String serviceName, int type) { argument
347 .setInCallServiceName(serviceName)
/packages/apps/Nfc/src/com/android/nfc/
H A DDeviceHost.java126 public void connectToService(String serviceName) throws IOException; argument
H A DP2pLinkManager.java321 public void enableExtDtaSnepServer(String serviceName, int serviceSap, int miu, int rwSize,int testCaseId) { argument
323 mServiceName = serviceName;
356 public void enableDtaSnepClient(String serviceName, int miu, int rwSize, int testCaseId) { argument
359 mServiceName = serviceName;
H A DNfcService.java1536 public boolean enableServer(String serviceName, int serviceSap, int miu, argument
1540 if(serviceName.equals(null))
1543 mP2pLinkManager.enableExtDtaSnepServer(serviceName, serviceSap, miu, rwSize,testCaseId);
1552 public boolean enableClient(String serviceName, int miu, int rwSize, argument
1566 mP2pLinkManager.enableDtaSnepClient(serviceName, miu, rwSize, testCaseId);
/packages/apps/TV/src/com/android/tv/tuner/data/
H A DPsipData.java237 public SdtItem(String serviceName, String serviceProviderName, int serviceType, argument
239 mServiceName = serviceName;
515 public ServiceDescriptor(int serviceType, String serviceProviderName, String serviceName) { argument
518 mServiceName = serviceName;
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java236 public void onProfileServiceStateChanged(String serviceName, int state) { argument
238 m.obj=serviceName;
243 private void processProfileServiceStateChanged(String serviceName, int state) { argument
251 Integer prevState = mProfileServicesState.get(serviceName);
253 mProfileServicesState.put(serviceName,state);
269 debugLog("processProfileServiceStateChanged() - serviceName=" + serviceName +
274 if (serviceName.equals("com.android.bluetooth.gatt.GattService")) {
281 if (serviceName.equals("com.android.bluetooth.gatt.GattService")) {
670 String serviceName
1251 createSocketChannel(int type, String serviceName, ParcelUuid uuid, int port, int flag) argument
1846 createSocketChannel( int type, String serviceName, ParcelUuid uuid, int port, int flag) argument
2281 createSocketChannelNative( int type, String serviceName, byte[] uuid, int port, int flag, int callingUid) argument
[all...]

Completed in 1118 milliseconds