Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceInfo.java93 public static WifiP2pDnsSdServiceInfo newInstance(String instanceName, in newInstance() argument
95 if (TextUtils.isEmpty(instanceName) || TextUtils.isEmpty(serviceType)) { in newInstance()
108 queries.add(createPtrServiceQuery(instanceName, serviceType)); in newInstance()
109 queries.add(createTxtServiceQuery(instanceName, serviceType, txtRecord)); in newInstance()
123 private static String createPtrServiceQuery(String instanceName, in createPtrServiceQuery() argument
131 byte[] data = instanceName.getBytes(); in createPtrServiceQuery()
150 private static String createTxtServiceQuery(String instanceName, in createTxtServiceQuery() argument
158 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()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dstruct_field.rscript93 // Compares instanceName".x" to argPrefix"_x", etc.
94 #define CHECK_INNERONE_(instanceName, argPrefix) \
96 TRACE(# instanceName, instanceName.x); \
97 _RS_ASSERT(instanceName.x == argPrefix ## _x); \
98 TRACE(# instanceName, instanceName.y); \
99 _RS_ASSERT(instanceName.y == argPrefix ## _y); \
100 TRACE(# instanceName, instanceName.f); \
101 _RS_ASSERT(instanceName.f == argPrefix ## _f); \
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dstruct_field.rscript95 // Compares instanceName".x" to argPrefix"_x", etc.
96 #define CHECK_INNERONE_(instanceName, argPrefix) \
98 TRACE(# instanceName, instanceName.x); \
99 _RS_ASSERT(instanceName.x == argPrefix ## _x); \
100 TRACE(# instanceName, instanceName.y); \
101 _RS_ASSERT(instanceName.y == argPrefix ## _y); \
102 TRACE(# instanceName, instanceName.f); \
103 _RS_ASSERT(instanceName.f == argPrefix ## _f); \
/frameworks/native/cmds/lshal/
DLshal.cpp102 const std::string &instanceName, in emitDebugInfo() argument
110 hardware::Return<sp<IBase>> retBase = serviceManager()->get(interfaceName, instanceName); in emitDebugInfo()
113 std::string msg = "Cannot get " + interfaceName + "/" + instanceName + ": " in emitDebugInfo()
122 std::string msg = interfaceName + "/" + instanceName + " does not exist, or " in emitDebugInfo()
132 std::string msg = interfaceName + "/" + instanceName + " getDescriptor failed"; in emitDebugInfo()
138 out << "[See " << descriptor << "/" << instanceName << "]"; in emitDebugInfo()
162 std::string msg = "debug() FAILED on " + interfaceName + "/" + instanceName + ": " in emitDebugInfo()
DLshal.h51 const std::string &instanceName,
DListCommand.cpp605 std::string{info.instanceName.c_str()}; in fetchAllLibraries()
639 std::string{info.instanceName.c_str()}, in fetchPassthrough()
700 const auto &instanceName = pair.second; in fetchBinderizedEntry() local
701 auto getRet = timeoutIPC(manager, &IServiceManager::get, serviceName, instanceName); in fetchBinderizedEntry()
/frameworks/base/services/core/java/com/android/server/am/
DConnectionRecord.java132 binding.service.instanceName.getPackageName()); in startAssociationIfNeeded()
141 binding.service.instanceName.getClassName()).startSource(clientUid, in startAssociationIfNeeded()
DServiceRecord.java73 final ComponentName instanceName; // service component's per-instance name. field in ServiceRecord
481 ComponentName instanceName, String definingPackageName, int definingUid, in ServiceRecord() argument
487 this.instanceName = instanceName; in ServiceRecord()
488 shortInstanceName = instanceName.flattenToShortString(); in ServiceRecord()
496 processName = sInfo.processName + ":" + instanceName.getClassName(); in ServiceRecord()
DActiveServices.java1583 String instanceName, String callingPackage, final int userId) in bindServiceLocked() argument
1659 retrieveServiceLocked(service, instanceName, resolvedType, callingPackage, in bindServiceLocked()
1772 s.instanceName, s.processName); in bindServiceLocked()
2069 String instanceName, String resolvedType, String callingPackage, in retrieveServiceLocked() argument
2083 if (instanceName == null) { in retrieveServiceLocked()
2088 throw new IllegalArgumentException("Can't use custom instance name '" + instanceName in retrieveServiceLocked()
2092 realComp.getClassName() + ":" + instanceName); in retrieveServiceLocked()
2098 if (r == null && !isBindExternal && instanceName == null) { in retrieveServiceLocked()
2126 if (instanceName != null in retrieveServiceLocked()
2128 throw new IllegalArgumentException("Can't use instance name '" + instanceName in retrieveServiceLocked()
[all …]
DOomAdjuster.java1383 app.adjTarget = s.instanceName; in computeOomAdjLocked()
1414 app.adjTarget = s.instanceName; in computeOomAdjLocked()
DActivityManagerService.java14134 String resolvedType, IServiceConnection connection, int flags, String instanceName, in bindIsolatedService() argument
14149 if (instanceName != null) { in bindIsolatedService()
14150 for (int i = 0; i < instanceName.length(); ++i) { in bindIsolatedService()
14151 char c = instanceName.charAt(i); in bindIsolatedService()
14161 resolvedType, connection, flags, instanceName, callingPackage, userId); in bindIsolatedService()
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java85 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java368 protected synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() argument
371 Field field = c.getDeclaredField(instanceName); in replaceInstance()
374 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance()
382 protected synchronized void restoreInstance(final Class c, final String instanceName, in restoreInstance() argument
384 InstanceKey key = new InstanceKey(c, instanceName, obj); in restoreInstance()
386 Field field = c.getDeclaredField(instanceName); in restoreInstance()
/frameworks/base/core/java/android/app/
DContextImpl.java163 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
1711 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
1714 if (instanceName == null) { in bindIsolatedService()
1717 return bindServiceCommon(service, conn, flags, instanceName, null, executor, getUser()); in bindIsolatedService()
1757 String instanceName, Handler handler, Executor executor, UserHandle user) { in bindServiceCommon() argument
1787 sd, flags, instanceName, getOpPackageName(), user.getIdentifier()); in bindServiceCommon()
DIActivityManager.aidl157 in String instanceName, in String callingPackage, int userId); in bindIsolatedService() argument
/frameworks/base/core/java/android/content/
DContextWrapper.java748 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
750 return mBase.bindIsolatedService(service, flags, instanceName, executor, conn); in bindIsolatedService()
DContext.java3167 @BindServiceFlags int flags, @NonNull String instanceName, in bindIsolatedService() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java609 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp758 for (hidl_string const& instanceName : instanceNames) { in GetServiceNames()
759 char const* name = instanceName.c_str(); in GetServiceNames()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1477 public final void onRegistration(String interfaceName, String instanceName, in onRegistration() argument
1480 if (!mInstanceName.equals(instanceName)) return; in onRegistration()
/frameworks/base/test-mock/api/
Dlint-baseline.txt31 Missing nullability on parameter `instanceName` in method `bindIsolatedService`
/frameworks/base/test-runner/api/
Dlint-baseline.txt51 Missing nullability on parameter `instanceName` in method `bindIsolatedService`
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java705 public void onDnsSdServiceAvailable(String instanceName, in onDnsSdServiceAvailable() argument