Home
last modified time | relevance | path

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

/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/
DPipeRelay.cpp33 static std::string getThreadName(std::string interfaceName, const std::string &instanceName) { in getThreadName() argument
36 return "RelayThread_" + interfaceName + "_" + instanceName; in getThreadName()
117 const std::string &interfaceName, const std::string &instanceName) in PipeRelay() argument
126 mThread = new RelayThread(mFds[0], os, err, interfaceName + "/" + instanceName); in PipeRelay()
127 mInitCheck = mThread->run(getThreadName(interfaceName, instanceName).c_str()); in PipeRelay()
DLshal.cpp103 const std::string &instanceName, in emitDebugInfo() argument
111 hardware::Return<sp<IBase>> retBase = serviceManager()->get(interfaceName, instanceName); in emitDebugInfo()
114 std::string msg = "Cannot get " + interfaceName + "/" + instanceName + ": " in emitDebugInfo()
123 std::string msg = interfaceName + "/" + instanceName + " does not exist, or " in emitDebugInfo()
133 std::string msg = interfaceName + "/" + instanceName + " getDescriptor failed"; in emitDebugInfo()
139 out << "[See " << descriptor << "/" << instanceName << "]"; in emitDebugInfo()
145 PipeRelay relay(out, err, interfaceName, instanceName); in emitDebugInfo()
163 std::string msg = "debug() FAILED on " + interfaceName + "/" + instanceName + ": " in emitDebugInfo()
DPipeRelay.h36 const std::string& instanceName);
DLshal.h51 const std::string &instanceName,
DListCommand.cpp521 std::string{info.instanceName.c_str()}; in fetchAllLibraries()
555 std::string{info.instanceName.c_str()}, in fetchPassthrough()
616 const auto &instanceName = pair.second; in fetchBinderizedEntry() local
617 auto getRet = timeoutIPC(manager, &IServiceManager::get, serviceName, instanceName); in fetchBinderizedEntry()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java77 final ComponentName instanceName; // service component's per-instance name. field in ServiceRecord
548 ComponentName instanceName, String definingPackageName, int definingUid, in ServiceRecord() argument
553 this.instanceName = instanceName; in ServiceRecord()
554 shortInstanceName = instanceName.flattenToShortString(); in ServiceRecord()
562 processName = sInfo.processName + ":" + instanceName.getClassName(); in ServiceRecord()
850 || ams.isSingleton(processName, appInfo, instanceName.getClassName(), in updateKeepWarmLocked()
DConnectionRecord.java133 binding.service.instanceName.getPackageName()); in startAssociationIfNeeded()
144 binding.service.instanceName.getClassName()).startSource(clientUid, in startAssociationIfNeeded()
DActiveServices.java1255 final ServiceRecord found = smap.mServicesByInstanceName.remove(r.instanceName); in killMisbehavingService()
2634 String instanceName, String callingPackage, final int userId) in bindServiceLocked() argument
2719 retrieveServiceLocked(service, instanceName, resolvedType, callingPackage, in bindServiceLocked()
2771 s.instanceName, s.processName); in bindServiceLocked()
3103 String instanceName, String resolvedType, String callingPackage, in retrieveServiceLocked() argument
3117 if (instanceName == null) { in retrieveServiceLocked()
3122 throw new IllegalArgumentException("Can't use custom instance name '" + instanceName in retrieveServiceLocked()
3126 realComp.getClassName() + ":" + instanceName); in retrieveServiceLocked()
3132 if (r == null && !isBindExternal && instanceName == null) { in retrieveServiceLocked()
3172 if (instanceName != null in retrieveServiceLocked()
[all …]
DOomAdjuster.java2214 state.setAdjTarget(s.instanceName); in computeOomAdjLSP()
2258 state.setAdjTarget(s.instanceName); in computeOomAdjLSP()
DActivityManagerService.java11966 String resolvedType, IServiceConnection connection, int flags, String instanceName, in bindIsolatedService() argument
11981 if (instanceName != null) { in bindIsolatedService()
11982 for (int i = 0; i < instanceName.length(); ++i) { in bindIsolatedService()
11983 char c = instanceName.charAt(i); in bindIsolatedService()
11993 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.java413 protected synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() argument
416 Field field = c.getDeclaredField(instanceName); in replaceInstance()
419 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance()
427 protected synchronized void restoreInstance(final Class c, final String instanceName, in restoreInstance() argument
429 InstanceKey key = new InstanceKey(c, instanceName, obj); in restoreInstance()
431 Field field = c.getDeclaredField(instanceName); in restoreInstance()
/frameworks/base/core/java/android/app/
DContextImpl.java179 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
1907 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
1910 if (instanceName == null) { in bindIsolatedService()
1913 return bindServiceCommon(service, conn, flags, instanceName, null, executor, getUser()); in bindIsolatedService()
1952 String instanceName, Handler handler, Executor executor, UserHandle user) { in bindServiceCommon() argument
1982 sd, flags, instanceName, getOpPackageName(), user.getIdentifier()); in bindServiceCommon()
DIActivityManager.aidl173 in String instanceName, in String callingPackage, int userId); in bindIsolatedService() argument
/frameworks/base/core/java/android/content/
DContextWrapper.java820 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
822 return mBase.bindIsolatedService(service, flags, instanceName, executor, conn); in bindIsolatedService()
DContext.java3456 @BindServiceFlags int flags, @NonNull String instanceName, in bindIsolatedService() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java631 public boolean bindIsolatedService(Intent service, int flags, String instanceName, in bindIsolatedService() argument
/frameworks/base/test-runner/api/
Dlint-baseline.txt51 Missing nullability on parameter `instanceName` in method `bindIsolatedService`
/frameworks/base/test-mock/api/
Dlint-baseline.txt27 Missing nullability on parameter `instanceName` in method `bindIsolatedService`
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1580 public final void onRegistration(String interfaceName, String instanceName, in onRegistration() argument
1583 if (!mInstanceName.equals(instanceName)) return; in onRegistration()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp917 for (hidl_string const& instanceName : instanceNames) { in GetServiceNames()
918 char const* name = instanceName.c_str(); in GetServiceNames()