/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 85 private native int sdpCreateMapMasRecordNative(String serviceName, int masId, int rfcommChannel, in sdpCreateMapMasRecordNative() argument 88 private native int sdpCreateMapMnsRecordNative(String serviceName, int rfcommChannel, in sdpCreateMapMnsRecordNative() argument 91 private native int sdpCreatePbapPceRecordNative(String serviceName, in sdpCreatePbapPceRecordNative() argument 94 private native int sdpCreatePbapPseRecordNative(String serviceName, int rfcommChannel, in sdpCreatePbapPseRecordNative() argument 97 private native int sdpCreateOppOpsRecordNative(String serviceName, int rfcommChannel, in sdpCreateOppOpsRecordNative() argument 100 private native int sdpCreateSapsRecordNative(String serviceName, int rfcommChannel, in sdpCreateSapsRecordNative() argument 245 int supportedMessageTypes, String serviceName, boolean moreResults) { in sdpMasRecordFoundCallback() argument 257 profileVersion, supportedFeatures, supportedMessageTypes, serviceName); in sdpMasRecordFoundCallback() 270 int rfcommCannelNumber, int profileVersion, int supportedFeatures, String serviceName, in sdpMnsRecordFoundCallback() argument 283 supportedFeatures, serviceName); in sdpMnsRecordFoundCallback() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
D | AccessibilityServiceFragment.java | 62 public static void prepareArgs(@NonNull Bundle args, String packageName, String serviceName, in prepareArgs() argument 65 args.putString(ARG_SERVICE_NAME, serviceName); in prepareArgs() 112 final String serviceName = getArguments().getString(ARG_SERVICE_NAME); in updateEnablePref() local 113 final ComponentName serviceComponent = new ComponentName(packageName, serviceName); in updateEnablePref() 119 new ComponentName(packageName, serviceName), in updateEnablePref() 161 String serviceName = getArguments().getString(ARG_SERVICE_NAME); in getPageId() local 162 if (TextUtils.isEmpty(serviceName)) { in getPageId() 164 } else if (serviceName.contains("TalkBack")) { in getPageId() 166 } else if (serviceName.contains("AccessibilityMenu")) { in getPageId() 168 } else if (serviceName.contains("SelectToSpeak")) { in getPageId() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | PublishConfig.java | 87 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() argument 90 mServiceName = serviceName; in PublishConfig() 139 byte[] serviceName = in.createByteArray(); 147 return new PublishConfig(serviceName, ssi, matchFilter, publishType, 256 public Builder setServiceName(@NonNull String serviceName) { in setServiceName() argument 257 if (serviceName == null) { in setServiceName() 260 mServiceName = serviceName.getBytes(StandardCharsets.UTF_8); in setServiceName()
|
D | SubscribeConfig.java | 94 public SubscribeConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in SubscribeConfig() argument 98 mServiceName = serviceName; in SubscribeConfig() 156 byte[] serviceName = in.createByteArray(); 167 return new SubscribeConfig(serviceName, ssi, matchFilter, subscribeType, ttlSec, 310 public Builder setServiceName(@NonNull String serviceName) { in setServiceName() argument 311 if (serviceName == null) { in setServiceName() 314 mServiceName = serviceName.getBytes(StandardCharsets.UTF_8); in setServiceName()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepClient.java | 58 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()
|
D | SnepServer.java | 69 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/modules/NeuralNetworks/shim_and_sl/ |
D | NeuralNetworksShim.cpp | 73 const char* deviceName, const char* serviceName) { in ANeuralNetworksShimDeviceInfo_create() argument 85 .serviceName = (serviceName == nullptr || strlen(serviceName) == 0) in ANeuralNetworksShimDeviceInfo_create() 87 : std::string(serviceName)}; in ANeuralNetworksShimDeviceInfo_create()
|
/packages/apps/Nfc/nci/jni/ |
D | PeerToPeer.cpp | 170 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 …]
|
D | PeerToPeer.h | 143 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);
|
D | NativeLlcpSocket.cpp | 72 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/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | AoapServiceManager.java | 89 public boolean isDeviceSupported(UsbDevice device, ComponentName serviceName) { in isDeviceSupported() argument 90 final AoapServiceConnection connection = getConnectionOrNull(serviceName); in isDeviceSupported() 99 Log.w(TAG, "Failed to get response isDeviceSupported from " + serviceName, e); in isDeviceSupported() 109 public boolean canSwitchDeviceToAoap(UsbDevice device, ComponentName serviceName) { in canSwitchDeviceToAoap() argument 110 final AoapServiceConnection connection = getConnectionOrNull(serviceName); in canSwitchDeviceToAoap() 119 Log.w(TAG, "Failed to get response of canSwitchDeviceToAoap from " + serviceName, e); in canSwitchDeviceToAoap()
|
D | UsbDeviceHandlerResolver.java | 293 private boolean checkServiceRequiresPermission(ComponentName serviceName) { in checkServiceRequiresPermission() argument 295 intent.setComponent(serviceName); in checkServiceRequiresPermission() 306 Log.w(TAG, "Component " + serviceName + " must be protected with " in checkServiceRequiresPermission() 309 Log.w(TAG, "Component " + serviceName + " not found"); in checkServiceRequiresPermission()
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 1537 public Object getCarManager(String serviceName) { in getCarManager() argument 1544 manager = mServiceMap.get(serviceName); in getCarManager() 1547 IBinder binder = mService.getCarService(serviceName); in getCarManager() 1550 + serviceName); in getCarManager() 1553 manager = createCarManagerLocked(serviceName, binder); in getCarManager() 1556 + serviceName); in getCarManager() 1559 mServiceMap.put(serviceName, manager); in getCarManager() 1801 private CarManagerBase createCarManagerLocked(String serviceName, IBinder binder) { in createCarManagerLocked() argument 1803 switch (serviceName) { in createCarManagerLocked() 1907 className = mService.getCarManagerClassForFeature(serviceName); in createCarManagerLocked() [all …]
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarApiTestBase.java | 113 protected final <T> T getCarService(@NonNull String serviceName) { in getCarService() argument 114 assertThat(serviceName).isNotNull(); in getCarService() 115 Object service = mCar.getCarManager(serviceName); in getCarService() 116 assertWithMessage("Could not get service %s", serviceName).that(service).isNotNull(); in getCarService()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LiveWallpaperInfo.java | 96 String serviceName = attrs.getAttributeValue(null, ATTR_SERVICE); in fromAttributeSet() local 97 if (TextUtils.isEmpty(serviceName)) { in fromAttributeSet() 104 String [] parts = serviceName.split("/"); in fromAttributeSet() 107 serviceName = parts[1]; in fromAttributeSet() 113 intent.setClassName(packageName, serviceName); in fromAttributeSet() 117 Log.w(TAG, "Couldn't find live wallpaper for " + serviceName); in fromAttributeSet()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/ |
D | ShadowCar.java | 79 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/ |
D | ShadowCar.java | 95 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/modules/NeuralNetworks/driver/sample_shim/ |
D | ShellServiceSample.cpp | 44 std::string serviceName; member 104 device.serviceName.c_str()); in registerDevices() 129 {.driverName = "nnapi-sample_sl", .serviceName = "nnapi-sample_sl_updatable"}, in main()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsForSetupWizard.java | 146 private AccessibilityServiceInfo findService(String packageName, String serviceName) { in findService() argument 154 && serviceName.equals(serviceInfo.name)) { in findService() 163 String packageName, String serviceName, String targetFragment) { in updateAccessibilityServicePreference() argument 164 final AccessibilityServiceInfo info = findService(packageName, serviceName); in updateAccessibilityServicePreference()
|
/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 555 public IBinder getCarService(String serviceName) { in getCarService() argument 556 if (!mFeatureController.isFeatureEnabled(serviceName)) { in getCarService() 557 Slog.w(CarLog.TAG_SERVICE, "getCarService for disabled service:" + serviceName); in getCarService() 560 switch (serviceName) { in getCarService() 637 service = mCarExperimentalFeatureServiceController.getCarService(serviceName); in getCarService() 641 + serviceName); in getCarService() 871 for (String serviceName : serviceNames) { in dumpIndividualServices() 872 writer.printf("** Dumping %s\n\n", serviceName); in dumpIndividualServices() 873 CarServiceBase service = getCarServiceBySubstring(serviceName); in dumpIndividualServices()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCar.java | 173 public IBinder getCarService(String serviceName) throws RemoteException { in getCarService() argument 174 switch (serviceName) { in getCarService() 209 Log.w(TAG, "getCarService for unknown service:" + serviceName); in getCarService()
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
D | NativeLlcpSocket.java | 45 public void connectToService(String serviceName) throws IOException { in connectToService() argument 46 if (!doConnectBy(serviceName)) { in connectToService()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BluetoothSocketManagerBinder.java | 63 int type, String serviceName, ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument 73 serviceName, in createSocketChannel()
|
/packages/modules/Connectivity/tests/integration/src/android/net/ |
D | TestNetworkStackClient.kt | 38 val serviceName = TestNetworkStackService::class.qualifiedName in <lambda>() constant 40 intent.component = ComponentName(context.packageName, serviceName) in <lambda>()
|
/packages/services/Car/cpp/evs/support_library/ |
D | ResourceManager.cpp | 32 sp<IEvsEnumerator> ResourceManager::getEvsEnumerator(string serviceName) { in getEvsEnumerator() argument 35 sEvs = IEvsEnumerator::getService(serviceName); in getEvsEnumerator()
|