/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowAccessibilityManager.java | 34 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 D | CarServiceLoaderEmbedded.java | 80 public Object getCarManager(String serviceName) throws CarNotConnectedException { argument 83 manager = mEmbeddedCar.getCarManager(serviceName); 92 switch (serviceName) {
|
H A D | CarServiceLoader.java | 47 * @param serviceName One of the android.car.Car#*_SERVICE constants. 52 public abstract Object getCarManager(String serviceName) throws CarNotConnectedException; argument
|
H A D | Car.java | 408 * @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 D | MockLlcpSocket.java | 77 public void connectToService(String serviceName) throws IOException { argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
H A D | AccessibilityServiceFragment.java | 42 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 D | NativeLlcpSocket.java | 45 public void connectToService(String serviceName) throws IOException { argument 46 if (!doConnectBy(serviceName)) {
|
/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/src/com/android/nfc/sneptest/ |
H A D | DtaSnepClient.java | 73 public DtaSnepClient(String serviceName, int miu, int rwSize, int testCaseId) { argument 74 mServiceName = serviceName;
|
H A D | ExtDtaSnepServer.java | 60 public ExtDtaSnepServer(String serviceName, int serviceSap, int miu, int rwSize, argument 63 mDtaServiceName = serviceName;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | AccessibilitySettingsForSetupWizard.java | 106 private AccessibilityServiceInfo findService(String packageName, String serviceName) { argument 114 && serviceName.equals(serviceInfo.name)) {
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
H A D | RegisteredServicesCache.java | 178 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 D | PersonalDictionaryLookup.java | 223 @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 D | SdpManager.java | 79 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 D | PeerToPeer.cpp | 156 ** 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 D | Car.java | 514 * @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 D | ICarImpl.java | 186 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 D | Analytics.java | 187 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 D | DeviceHost.java | 126 public void connectToService(String serviceName) throws IOException; argument
|
H A D | P2pLinkManager.java | 321 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 D | NfcService.java | 1536 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 D | PsipData.java | 237 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 D | AdapterService.java | 236 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...] |