/system/bt/service/common/android/bluetooth/ |
H A D | bluetooth_gatt_service.h | 20 #include "bluetooth/service.h" 35 BluetoothGattService(const ::bluetooth::Service& service) argument 36 : ::bluetooth::Service(service){}; // NOLINT(implicit)
|
H A D | bluetooth_gatt_included_service.h | 19 #include "bluetooth/service.h" 37 const ::bluetooth::Service& service) // NOLINT(implicit) 38 : handle_(service.handle()), 39 uuid_(service.uuid()), 40 primary_(service.primary()){}; 36 BluetoothGattIncludedService( const ::bluetooth::Service& service) argument
|
/system/tpm/attestation/server/ |
H A D | dbus_service.h | 36 // DBusService does not take ownership of |service|; it must remain valid for 39 AttestationInterface* service); 46 void set_service(AttestationInterface* service) { service_ = service; } argument
|
/system/bt/bta/include/ |
H A D | utl.h | 40 0x08 /* take service class as the input (may clear some set bits!!) */ 51 uint16_t service; member in struct:__anon477 118 * the bits in service class 120 * service class
|
/system/bt/btif/co/ |
H A D | bta_ag_co.cc | 46 * Description This function is executed by AG when a service level 49 * set up particular to the connected service. 54 void bta_ag_co_data_open(uint16_t handle, tBTA_SERVICE_ID service) { argument 55 BTIF_TRACE_DEBUG("bta_ag_co_data_open handle:%d service:%d", handle, service); 62 * Description This function is called by AG when a service level
|
/system/connectivity/wificond/tests/integration/ |
H A D | service_test.cpp | 46 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 49 EXPECT_TRUE(service->createClientInterface(&client_interface).isOk()); 65 service = dev_mode.EnterDevModeOrDie();
|
H A D | client_interface_test.cpp | 49 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 53 EXPECT_TRUE(service->createClientInterface(&client_interface).isOk()); 69 EXPECT_TRUE(service->createClientInterface(&client_interface2).isOk()); 73 EXPECT_TRUE(service->tearDownInterfaces().isOk()); 79 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 81 EXPECT_TRUE(service->createClientInterface(&client_interface).isOk()); 109 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 111 EXPECT_TRUE(service->createClientInterface(&client_interface).isOk());
|
H A D | scanner_test.cpp | 38 sp<IWifiScannerImpl> InitInterfaceAndReturnScanner(sp<IWificond> service) { argument 41 if (!service->createClientInterface(&client_interface).isOk()) { 60 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 61 EXPECT_NE(nullptr, InitInterfaceAndReturnScanner(service).get()); 66 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 67 sp<IWifiScannerImpl> scanner = InitInterfaceAndReturnScanner(service);
|
H A D | ap_interface_test.cpp | 55 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 59 EXPECT_TRUE(service->createApInterface(&ap_interface).isOk()); 75 EXPECT_TRUE(service->createApInterface(&ap_interface2).isOk()); 79 EXPECT_TRUE(service->tearDownInterfaces().isOk()); 87 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 89 EXPECT_TRUE(service->createApInterface(&ap_interface).isOk()); 144 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 146 EXPECT_TRUE(service->createApInterface(&ap_interface).isOk());
|
/system/hwservicemanager/ |
H A D | service.cpp | 94 // Tell IPCThreadState we're the service manager 95 sp<BnHwServiceManager> service = new BnHwServiceManager(manager); local 96 IPCThreadState::self()->setTheContextObject(service);
|
/system/libhidl/transport/ |
H A D | HidlTransportSupport.cpp | 31 bool setMinSchedulerPolicy(const sp<::android::hidl::base::V1_0::IBase>& service, argument 33 if (service->isRemote()) { 34 ALOGE("Can't set scheduler policy on remote service."); 51 details::gServicePrioMap.set(service, { policy, priority });
|
/system/libhidl/transport/include/hidl/ |
H A D | LegacySupport.h | 30 * Registers passthrough service implementation. 36 sp<Interface> service = Interface::getService(name, true /* getStub */); local 38 if (service == nullptr) { 44 LOG_FATAL_IF(service->isRemote(), "Implementation of %s/%s is remote!", 47 status_t status = service->registerAsService(name); 53 ALOGE("Could not register service %s/%s (%d).", 61 * Creates default passthrough service implementation. This method never returns.
|
/system/security/keystore/ |
H A D | keystore_get.cpp | 28 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local 30 if (service == NULL) { 35 auto ret = service->get(String16(key, keyLength), -1, &result);
|
H A D | keystore_get_wifi_hidl.cpp | 42 sp<IKeystore> service = IKeystore::tryGetService(); local 43 if (service == NULL) { 58 Return<void> ret = service->getBlob(hidl_string(key, keyLength), cb);
|
H A D | keystore_main.cpp | 99 android::sp<keystore::KeyStoreService> service = new keystore::KeyStoreService(&keyStore); local 100 android::status_t ret = sm->addService(android::String16("android.security.keystore"), service); 102 ALOGE("Couldn't register binder service!"); 107 * Register the wifi keystore HAL service to run in passthrough mode. 108 * This will spawn off a new thread which will service the HIDL 115 ALOGE("Cannot register wifi keystore HAL service: %d", err);
|
/system/tools/aidl/tests/ |
H A D | aidl_test_client.cpp | 56 bool GetService(sp<ITestService>* service) { argument 57 cout << "Retrieving test service binder" << endl; 58 status_t status = getService(String16(kServiceName), service); 60 cerr << "Failed to get service binder: '" << kServiceName 75 sp<ITestService> service; local 79 if (!client_tests::GetService(&service)) return 1; 81 if (!client_tests::ConfirmPrimitiveRepeat(service)) return 1; 83 if (!client_tests::ConfirmReverseArrays(service)) return 1; 85 if (!client_tests::ConfirmReverseLists(service)) return 1; 87 if (!client_tests::ConfirmReverseBinderLists(service)) retur [all...] |
H A D | test_helpers.h | 33 const android::sp<android::aidl::tests::ITestService>& service, 37 android::binder::Status status = (*service.*func)(input, &reply); 48 const android::sp<android::aidl::tests::ITestService>& service, 54 android::binder::Status status = (*service.*func)( 32 RepeatPrimitive( const android::sp<android::aidl::tests::ITestService>& service, android::binder::Status(android::aidl::tests::ITestService::*func)(T, V*), U input) argument 47 ReverseArray( const android::sp<android::aidl::tests::ITestService>& service, android::binder::Status(android::aidl::tests::ITestService::*func)( const std::vector<T>&, std::vector<T>*, std::vector<T>*), std::vector<T> input) argument
|
/system/bt/test/suite/gatt/ |
H A D | gatt_unittest.cc | 87 // Adds service. 90 std::vector<btgatt_db_element_t> service = { local 98 gatt_server_interface()->add_service(server_if, service); 100 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error adding service."; 107 // Deletes service. 110 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error deleting service.";
|
/system/security/keystore-engine/ |
H A D | keystore_backend_hidl.cpp | 41 sp<IKeystore> service = IKeystore::tryGetService(); local 42 if (service == NULL) { 56 Return<void> ret = service->sign( 71 sp<IKeystore> service = IKeystore::tryGetService(); local 72 if (service == NULL) { 86 Return<void> ret = service->getPublicKey(key_id, cb);
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
H A D | NullableTests.java | 29 public NullableTests(ITestService service, TestLogger logger) { argument 30 mService = service; 52 mLog.log("Checking that service handles @nullable IBinder...");
|
/system/connectivity/wificond/ |
H A D | main.cpp | 92 void RegisterServiceOrCrash(const android::sp<android::IBinder>& service) { argument 96 CHECK_EQ(sm->addService(android::String16(kServiceName), service),
|
/system/core/healthd/ |
H A D | BatteryPropertiesRegistrar.cpp | 34 const sp<BatteryPropertiesRegistrar>& service) { 35 defaultServiceManager()->addService(String16("batteryproperties"), service); 41 // Binder currently may service an incoming oneway transaction whenever an 33 publish( const sp<BatteryPropertiesRegistrar>& service) argument
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
H A D | keystore.cpp | 16 sp<IKeystoreService> service = interface_cast<IKeystoreService>( local 19 if (service == nullptr) { 25 auto ret = service->get(String16(key.c_str()), AID_WIFI, &value); 36 sp<IKeystoreService> service = interface_cast<IKeystoreService>( local 39 if (service == nullptr) { 44 auto ret = service->get_pubkey(String16(keyId.c_str()), &pubkey); 56 sp<IKeystoreService> service = interface_cast<IKeystoreService>( local 59 if (service == nullptr) { 64 auto ret = service->sign(String16(keyId.c_str()), dataToSign, &signedData);
|
/system/libhwbinder/vts/performance/ |
H A D | Benchmark.cpp | 59 sp<IBenchmark> service = IBenchmark::getService(gServiceName, true); local 60 status_t status = service->registerAsService(gServiceName); 63 ALOGE("Failed to register service %s.", gServiceName); 70 static void BM_sendVec(benchmark::State& state, sp<IBenchmark> service) { argument 79 service->sendVec(data_vec, [&] (const auto &/*res*/) { 86 sp<IBenchmark> service = IBenchmark::getService(gServiceName, true /* getStub */); local 87 if (service == nullptr) { 88 state.SkipWithError("Failed to retrieve benchmark service."); 90 if (service->isRemote()) { 91 state.SkipWithError("Benchmark service i 98 sp<IBenchmark> service = IBenchmark::getService(gServiceName); local [all...] |
H A D | Benchmark_binder.cpp | 65 BenchmarkServiceAidl *service = new BenchmarkServiceAidl(); local 67 service); local 73 sp<IBenchmark> service; local 82 status_t status = getService(String16(kServiceName), &service); 84 state.SkipWithError("Failed to retrieve benchmark service."); 88 service->sendVec(data_vec, &data_return);
|