/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/ |
H A 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()
|
H A 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()
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A 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); \
|
/aosp12/system/hwservicemanager/ |
H A D | Vintf.cpp | 30 const FQName &fqName, const std::string &instanceName, in getTransportFromManifest() argument 36 fqName.name(), instanceName); in getTransportFromManifest() 39 vintf::Transport getTransport(const std::string &interfaceName, const std::string &instanceName) { in getTransport() argument 58 vintf::Transport tr = getTransportFromManifest(fqName, instanceName, in getTransport() 63 tr = getTransportFromManifest(fqName, instanceName, in getTransport() 69 LOG(INFO) << __FUNCTION__ << ": Cannot find entry " << fqName.string() << "/" << instanceName in getTransport()
|
H A D | HidlService.h | 42 const std::string &instanceName, 46 const std::string &instanceName) in HidlService() 49 instanceName, in HidlService()
|
H A D | ServiceManager.cpp | 184 const hidl_string &instanceName) { in sendPackageRegistrationNotification() argument 187 auto ret = (*it)->onRegistration(fqName, instanceName, false /* preexisting */); in sendPackageRegistrationNotification() 191 LOG(ERROR) << "Dropping registration callback for " << fqName << "/" << instanceName in sendPackageRegistrationNotification() 389 const std::string instanceName = name; in addImpl() local 390 removeService(remove, &instanceName /* restrictToInstanceName */); in addImpl() 784 .instanceName = service->getInstanceName(), in debugDump() 837 const std::string &instanceName = servicePair.first; in removeService() local 841 if (restrictToInstanceName != nullptr && *restrictToInstanceName != instanceName) { in removeService()
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
H A 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); \
|
/aosp12/system/libhidl/adapter/ |
H A D | HidlBinderAdapter.cpp | 62 std::string instanceName; // e.x. default member 98 args->instanceName = argv[1]; in processArguments() 108 args->registerInstanceName = args->instanceName; in processArguments() 148 std::cout << "Trying to adapt down " << interfaceName << "/" << args.instanceName << " to " in adapterMain() 159 sp<IBase> implementation = manager->get(interfaceName, args.instanceName).withDefault(nullptr); in adapterMain() 198 if (args.registerInstanceName == args.instanceName) { in adapterMain() 199 bool restored = manager->add(args.instanceName, implementation).withDefault(false); in adapterMain()
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
H A D | Service.cpp | 34 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& instanceName) { in getDevice() argument 35 auto fullName = std::string(IDevice::descriptor) + "/" + instanceName; in getDevice() 37 [instanceName, in getDevice() 58 return Device::create(instanceName, std::move(service)); in getDevice()
|
/aosp12/system/core/trusty/keymaster/keymint/ |
H A D | service.cpp | 35 auto instanceName = std::string(T::descriptor) + "/default"; in addService() local 36 LOG(ERROR) << "Adding service instance: " << instanceName; in addService() 37 auto status = AServiceManager_addService(service->asBinder().get(), instanceName.c_str()); in addService() 38 CHECK(status == STATUS_OK) << "Failed to add service " << instanceName; in addService()
|
/aosp12/frameworks/native/cmds/lshal/ |
H A D | Lshal.cpp | 103 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()
|
H A D | PipeRelay.cpp | 33 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()
|
/aosp12/hardware/interfaces/health/2.0/utils/libhealthhalutils/ |
H A D | HealthHalUtils.cpp | 28 for (auto&& instanceName : {"default", "backup"}) { in get_health_service() 29 auto ret = IHealth::getService(instanceName); in get_health_service() 33 LOG(INFO) << "health: cannot get " << instanceName << " service"; in get_health_service()
|
/aosp12/system/libhidl/transport/ |
H A D | ServiceManagement.cpp | 186 LOG(INFO) << "Registered " << descriptor << "/" << instanceName; in onRegistrationImpl() 192 const std::string& instanceName) { in onRegistration() argument 193 return onRegistrationImpl(packageName + "::" + interfaceName, instanceName); in onRegistration() 284 << interfaceName << "/" << instanceName in registerReference() 291 << interfaceName << "/" << instanceName in registerReference() 296 << interfaceName << "/" << instanceName; in registerReference() 516 std::string instanceName{"* ("s + path + ")"s}; in debugDump() local 519 .instanceName = instanceName, in debugDump() 585 Waiter(const std::string& interface, const std::string& instanceName, in Waiter() 587 mInstanceName(instanceName), mSm(sm) { in Waiter() [all …]
|
/aosp12/hardware/interfaces/security/keymint/aidl/default/ |
H A D | service.cpp | 38 auto instanceName = std::string(T::descriptor) + "/default"; in addService() local 39 LOG(INFO) << "adding keymint service instance: " << instanceName; in addService() 41 AServiceManager_addService(ser->asBinder().get(), instanceName.c_str()); in addService()
|
/aosp12/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/ |
H A D | Keymaster.h | 45 Keymaster(const hidl_string& descriptor, const hidl_string& instanceName) in Keymaster() argument 46 : descriptor_(descriptor), instanceName_(instanceName) {} in Keymaster() 67 const hidl_string& instanceName() const { return instanceName_; } in instanceName() function
|
/aosp12/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/ |
H A D | drm_hal_clearkey_test.h | 68 const std::string instanceName = GetParam().instance_; in SetUp() local 69 drmFactory = IDrmFactory::getService(instanceName); in SetUp() 71 cryptoFactory = ICryptoFactory::getService(instanceName); in SetUp() 87 if (instanceName == "clearkey") { in SetUp()
|
/aosp12/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/utils/ |
H A 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()
|
/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
H A 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()
|
/aosp12/system/security/keystore2/src/km_compat/ |
H A D | km_compat_service.cpp | 32 const auto instanceName = "android.security.compat"; in addKeyMintDeviceService() local 33 status = AServiceManager_addService(ti->asBinder().get(), instanceName); in addKeyMintDeviceService()
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A 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()
|
/aosp12/system/security/identity/ |
H A D | CredentialStoreFactory.cpp | 37 CredentialStore* CredentialStoreFactory::createCredentialStore(const string& instanceName) { in createCredentialStore() argument 39 IIdentityCredentialStore::descriptor + String16("/") + String16(instanceName.c_str()); in createCredentialStore()
|
/aosp12/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
H A 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()
|
/aosp12/packages/services/Car/cpp/computepipe/runner/client_interface/ |
H A D | AidlClient.cpp | 90 const std::string instanceName = in tryRegisterPipeRunner() local 98 ndk::SpAIBinder binder(AServiceManager_getService(instanceName.c_str())); in tryRegisterPipeRunner()
|
/aosp12/packages/services/Car/cpp/computepipe/example/ |
H A 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()
|