/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pDnsSdServiceInfo.java | 93 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()
|
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()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | struct_field.rscript | 93 // 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/ |
D | struct_field.rscript | 95 // 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/ |
D | Lshal.cpp | 102 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()
|
D | Lshal.h | 51 const std::string &instanceName,
|
D | ListCommand.cpp | 605 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/ |
D | ConnectionRecord.java | 132 binding.service.instanceName.getPackageName()); in startAssociationIfNeeded() 141 binding.service.instanceName.getClassName()).startSource(clientUid, in startAssociationIfNeeded()
|
D | ServiceRecord.java | 73 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()
|
D | ActiveServices.java | 1583 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 …]
|
D | OomAdjuster.java | 1383 app.adjTarget = s.instanceName; in computeOomAdjLocked() 1414 app.adjTarget = s.instanceName; in computeOomAdjLocked()
|
D | ActivityManagerService.java | 14134 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/ |
D | IsolatedContext.java | 85 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 368 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/ |
D | ContextImpl.java | 163 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()
|
D | IActivityManager.aidl | 157 in String instanceName, in String callingPackage, int userId); in bindIsolatedService() argument
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 748 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument 750 return mBase.bindIsolatedService(service, flags, instanceName, executor, conn); in bindIsolatedService()
|
D | Context.java | 3167 @BindServiceFlags int flags, @NonNull String instanceName, in bindIsolatedService() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 609 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 758 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/ |
D | BatteryService.java | 1477 public final void onRegistration(String interfaceName, String instanceName, in onRegistration() argument 1480 if (!mInstanceName.equals(instanceName)) return; in onRegistration()
|
/frameworks/base/test-mock/api/ |
D | lint-baseline.txt | 31 Missing nullability on parameter `instanceName` in method `bindIsolatedService`
|
/frameworks/base/test-runner/api/ |
D | lint-baseline.txt | 51 Missing nullability on parameter `instanceName` in method `bindIsolatedService`
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 705 public void onDnsSdServiceAvailable(String instanceName, in onDnsSdServiceAvailable() argument
|