/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pDnsSdServiceInfo.java | 94 public static WifiP2pDnsSdServiceInfo newInstance(String instanceName, in newInstance() argument 96 if (TextUtils.isEmpty(instanceName) || TextUtils.isEmpty(serviceType)) { in newInstance() 109 queries.add(createPtrServiceQuery(instanceName, serviceType)); in newInstance() 110 queries.add(createTxtServiceQuery(instanceName, serviceType, txtRecord)); in newInstance() 124 private static String createPtrServiceQuery(String instanceName, in createPtrServiceQuery() argument 132 byte[] data = instanceName.getBytes(); in createPtrServiceQuery() 151 private static String createTxtServiceQuery(String instanceName, in createTxtServiceQuery() argument 159 sb.append(createRequest((instanceName + "." + serviceType + ".local."), in createTxtServiceQuery()
|
D | WifiP2pDnsSdServiceRequest.java | 96 public static WifiP2pDnsSdServiceRequest newInstance(String instanceName, in newInstance() argument 98 if (instanceName == null || serviceType == null) { in newInstance() 102 String fullDomainName = instanceName + "." + serviceType + ".local."; in newInstance()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarService.java | 163 final String instanceName = SystemProperties.get("ro.vehicle.hal", "default"); in getVehicle() local 166 return android.hardware.automotive.vehicle.V2_0.IVehicle.getService(instanceName); in getVehicle() 168 Slog.e(CarLog.TAG_SERVICE, "Failed to get IVehicle/" + instanceName + " service", e); in getVehicle() 170 Slog.e(CarLog.TAG_SERVICE, "IVehicle/" + instanceName + " service not registered yet"); in getVehicle()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/utils/ |
D | MockedServiceManager.java | 79 public synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() argument 82 Field field = c.getDeclaredField(instanceName); in replaceInstance() 85 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | MockedServiceManager.java | 78 private synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() argument 81 Field field = c.getDeclaredField(instanceName); in replaceInstance() 84 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastServiceTestBase.java | 185 synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() argument 188 Field field = c.getDeclaredField(instanceName); in replaceInstance() 191 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance()
|
/packages/services/Car/cpp/computepipe/runner/client_interface/ |
D | AidlClient.cpp | 90 const std::string instanceName = in tryRegisterPipeRunner() local 98 ndk::SpAIBinder binder(AServiceManager_getService(instanceName.c_str())); in tryRegisterPipeRunner()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SoftApManager.java | 1012 private void removeIfaceInstanceFromBridgedApIface(String instanceName) { in removeIfaceInstanceFromBridgedApIface() argument 1013 if (TextUtils.isEmpty(instanceName)) { in removeIfaceInstanceFromBridgedApIface() 1016 if (mCurrentSoftApInfoMap.containsKey(instanceName)) { in removeIfaceInstanceFromBridgedApIface() 1017 Log.i(getTag(), "remove instance " + instanceName + "(" in removeIfaceInstanceFromBridgedApIface() 1018 + mCurrentSoftApInfoMap.get(instanceName).getFrequency() in removeIfaceInstanceFromBridgedApIface() 1021 instanceName); in removeIfaceInstanceFromBridgedApIface() 1023 updateSoftApInfo(mCurrentSoftApInfoMap.get(instanceName), true); in removeIfaceInstanceFromBridgedApIface()
|
/packages/services/Car/cpp/computepipe/example/ |
D | FaceTracker.cpp | 78 std::string instanceName = std::string() + IPipeQuery::descriptor + "/" + kReigstryInterface; in init() local 80 ndk::SpAIBinder binder(AServiceManager_getService(instanceName.c_str())); in init()
|
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/ |
D | ClientInterfaceTest.cc | 117 std::string instanceName = in SetUp() local 119 ndk::SpAIBinder binder(AServiceManager_getService(instanceName.c_str())); in SetUp()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 720 public void onDnsSdServiceAvailable(String instanceName, in onDnsSdServiceAvailable() argument
|