Home
last modified time | relevance | path

Searched refs:instanceName (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceInfo.java94 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()
DWifiP2pDnsSdServiceRequest.java96 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/
DCarService.java163 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/
DMockedServiceManager.java79 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/
DMockedServiceManager.java78 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/
DCellBroadcastServiceTestBase.java185 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/
DAidlClient.cpp90 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/
DSoftApManager.java1012 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/
DFaceTracker.cpp78 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/
DClientInterfaceTest.cc117 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/
DWifiP2pManager.java720 public void onDnsSdServiceAvailable(String instanceName, in onDnsSdServiceAvailable() argument