/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraService.h | 43 const ::ndk::SpAIBinder& token, 50 const ::ndk::SpAIBinder& token, 57 ndk::ScopedAStatus unregisterCamera(const ::ndk::SpAIBinder& token) override 61 ndk::ScopedAStatus getCameraId(const ::ndk::SpAIBinder& token, 67 std::shared_ptr<VirtualCameraDevice> getCamera(const ::ndk::SpAIBinder& token) 96 std::size_t operator()(const ::ndk::SpAIBinder& key) const { in operator() 101 std::unordered_map<::ndk::SpAIBinder, std::string, BinderTokenHash> 105 ::ndk::SpAIBinder mTestCameraToken;
|
D | VirtualCameraService.cc | 231 const ::ndk::SpAIBinder& token, in registerCamera() 239 const ::ndk::SpAIBinder& token, in registerCamera() 294 const ::ndk::SpAIBinder& token) { in unregisterCamera() 319 const ::ndk::SpAIBinder& token, std::string* _aidl_return) { in getCameraId() 346 const ::ndk::SpAIBinder& token) { in getCamera()
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_auto_utils.h | 46 class SpAIBinder { 51 SpAIBinder() : mBinder(nullptr) {} in SpAIBinder() function 56 explicit SpAIBinder(AIBinder* binder) : mBinder(binder) {} in SpAIBinder() function 62 SpAIBinder(std::nullptr_t) : SpAIBinder() {} // NOLINT(google-explicit-constructor) in SpAIBinder() function 67 SpAIBinder(const SpAIBinder& other) { *this = other; } in SpAIBinder() function 72 ~SpAIBinder() { set(nullptr); } in ~SpAIBinder() 78 SpAIBinder& operator=(const SpAIBinder& other) { 124 static inline bool operator _op_(const SpAIBinder& lhs, const SpAIBinder& rhs) { \ 127 static inline bool operator _op_(const SpAIBinder& lhs, const AIBinder* rhs) { \ 130 static inline bool operator _op_(const AIBinder* lhs, const SpAIBinder& rhs) { \ [all …]
|
D | binder_interface_utils.h | 131 virtual SpAIBinder asBinder() = 0; 197 SpAIBinder asBinder() override final; 210 virtual SpAIBinder createBinder() = 0; 223 explicit BpCInterface(const SpAIBinder& binder) : mBinder(binder) {} in BpCInterface() 226 SpAIBinder asBinder() override final; 235 SpAIBinder mBinder; 319 SpAIBinder BnCInterface<INTERFACE>::asBinder() { in defineClass() 322 SpAIBinder binder; in defineClass() 335 SpAIBinder BpCInterface<INTERFACE>::asBinder() { in defineClass()
|
D | binder_parcel_utils.h | 291 const SpAIBinder& binder) { 299 SpAIBinder* binder) { 312 const SpAIBinder& binder) { 324 SpAIBinder* binder) { 918 inline binder_status_t AParcel_writeStdVectorParcelableElement<SpAIBinder>(AParcel* parcel, 921 const std::vector<SpAIBinder>* vector = static_cast<const std::vector<SpAIBinder>*>(vectorData); 930 inline binder_status_t AParcel_readStdVectorParcelableElement<SpAIBinder>(const AParcel* parcel, 933 std::vector<SpAIBinder>* vector = static_cast<std::vector<SpAIBinder>*>(vectorData); 942 inline binder_status_t AParcel_writeNullableStdVectorParcelableElement<SpAIBinder>( 944 const std::optional<std::vector<SpAIBinder>>* vector = [all …]
|
/frameworks/native/libs/binder/ndk/tests/ |
D | binderVendorDoubleLoadTest.cpp | 44 using ::ndk::SpAIBinder; 95 SpAIBinder binder = SpAIBinder(AServiceManager_checkService(serviceName.c_str())); in TEST() 116 SpAIBinder binder = SpAIBinder(AServiceManager_checkService("manager")); in TEST()
|
D | libbinder_ndk_unit_test.cpp | 293 ndk::SpAIBinder binder; 298 d->binder = ndk::SpAIBinder(binder); in fillOnRegister() 329 EXPECT_EQ(data.binder, ndk::SpAIBinder(AServiceManager_checkService(kExistingNonNdkService))); in TEST() 333 ndk::SpAIBinder binder; in TEST() 364 ndk::SpAIBinder binder; in TEST() 374 ndk::SpAIBinder binder(foo->getBinder()); in TEST() 392 auto binder = ndk::SpAIBinder(AServiceManager_getService(IFoo::kSomeInstanceName)); in TEST() 401 ndk::SpAIBinder(AServiceManager_checkService(IFoo::kSomeInstanceName)); in TEST() 433 ndk::SpAIBinder binder(AServiceManager_waitForService(kLazyBinderNdkUnitTestService)); in TEST() 443 ndk::SpAIBinder binder(AServiceManager_waitForService(kLazyBinderNdkUnitTestService)); in TEST() [all …]
|
/frameworks/native/libs/binder/rust/tests/ |
D | binderRustNdkInteropTest.cpp | 28 using ::ndk::SpAIBinder; 52 SpAIBinder binder = SpAIBinder(AServiceManager_checkService(kRustServerName)); in TEST()
|
/frameworks/av/media/libmediaplayerservice/ |
D | DeathNotifier.h | 36 DeathNotifier(::ndk::SpAIBinder const& service, Notify const& notify); 43 std::variant<std::monostate, sp<IBinder>, sp<HBase>, ::ndk::SpAIBinder> mService;
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | PersistentSurface.h | 46 const ::ndk::SpAIBinder& aidlTarget) : in PersistentSurface() 64 ::ndk::SpAIBinder getAidlTarget() const { in getAidlTarget() 140 ::ndk::SpAIBinder mAidlTarget;
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | binder_ndk.cpp | 56 explicit BpSomeInterface(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpSomeInterface() 62 ::ndk::SpAIBinder binder; in readFromParcel() 132 PARCEL_READ(ndk::SpAIBinder, ndk::AParcel_readNullableStrongBinder), 133 PARCEL_READ(ndk::SpAIBinder, ndk::AParcel_readRequiredStrongBinder), 143 PARCEL_READ(std::vector<ndk::SpAIBinder>, ndk::AParcel_readVector), 144 PARCEL_READ(std::optional<std::vector<ndk::SpAIBinder>>, ndk::AParcel_readVector), 179 PARCEL_READ(std::array<ndk::SpAIBinder COMMA 3>, ndk::AParcel_readData),
|
D | libbinder_ndk_driver.cpp | 30 void fuzzService(const std::vector<ndk::SpAIBinder>& binders, FuzzedDataProvider&& provider) { in fuzzService()
|
/frameworks/av/services/camera/libcameraservice/aidl/ |
D | DeathPipe.h | 42 explicit DeathPipe(IBinder* parent, const ::ndk::SpAIBinder& binder); 114 ::ndk::SpAIBinder mAIBinder;
|
D | AidlUtils.h | 121 bool areBindersEqual(const ndk::SpAIBinder& b1, const ndk::SpAIBinder& b2);
|
/frameworks/native/libs/binder/tests/ |
D | binderStabilityTest.cpp | 321 SpAIBinder binder = SpAIBinder(AServiceManager_getService( in TEST() 330 SpAIBinder comp = SpAIBinder(AIBinder_new(kNdkBadStableBinder, nullptr /*args*/)); in TEST() 335 SpAIBinder vendor = SpAIBinder(AIBinder_new(kNdkBadStableBinder, nullptr /*args*/)); in TEST()
|
/frameworks/av/services/tuner/ |
D | TunerHelper.cpp | 77 ::ndk::SpAIBinder binder(AServiceManager_waitForService("tv_tuner_resource_mgr")); in updateTunerResources() 89 ::ndk::SpAIBinder binder(AServiceManager_waitForService("tv_tuner_resource_mgr")); in updateTunerResources()
|
/frameworks/hardware/interfaces/location/altitude/aidl/vts/functional/ |
D | VtsHalAltitudeServiceTargetTest.cpp | 34 using ndk::SpAIBinder; 43 SpAIBinder binder(AServiceManager_waitForService(GetParam().c_str())); in SetUp()
|
/frameworks/hardware/interfaces/vibrator/aidl/vts/functional/ |
D | VtsHalVibratorControlServiceTargetTest.cpp | 41 using ndk::SpAIBinder; 64 const ::ndk::SpAIBinder& in_requestToken) override { in requestVibrationParams() 88 SpAIBinder binder(AServiceManager_waitForService(GetParam().c_str())); in SetUp()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/include_random_parcel/fuzzbinder/ |
D | libbinder_ndk_driver.h | 32 void fuzzService(const std::vector<ndk::SpAIBinder>& binders, FuzzedDataProvider&& provider);
|
/frameworks/base/native/android/tests/performance_hint/ |
D | PerformanceHintNativeTest.cpp | 38 using ndk::SpAIBinder; 46 (const SpAIBinder& token, const ::std::vector<int32_t>& tids, int64_t durationNanos, 59 (const ::ndk::SpAIBinder& in_token, hal::ChannelConfig* _aidl_return), (override)); 61 MOCK_METHOD(SpAIBinder, asBinder, (), (override)); 77 MOCK_METHOD(SpAIBinder, asBinder, (), (override));
|
/frameworks/av/services/camera/virtualcamera/tests/ |
D | VirtualCameraServiceTest.cc | 213 ndk::SpAIBinder mNdkOwnerToken; 223 ndk::SpAIBinder ndkToken(AIBinder_fromPlatformBinder(token)); in TEST_F() 237 ndk::SpAIBinder ndkToken(AIBinder_fromPlatformBinder(token)); in TEST_F() 278 ndk::SpAIBinder ndkToken(AIBinder_fromPlatformBinder(token)); in TEST_F() 366 ndk::SpAIBinder(AIBinder_fromPlatformBinder(otherToken))), in TEST_F() 420 ndk::SpAIBinder ndkOtherToken(AIBinder_fromPlatformBinder(otherToken)); in TEST_F()
|
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/vts/ |
D | VtsAidlPowerPolicyTargetTest.cpp | 46 using ::ndk::SpAIBinder; 62 SpAIBinder binder(AServiceManager_getService(GetParam().c_str())); in SetUp()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 33 class SpAIBinder; variable 160 ::ndk::SpAIBinder* soundDoseBinder) = 0;
|
/frameworks/av/media/libaudiohal/impl/ |
D | AidlUtils.h | 53 service = Intf::fromBinder(ndk::SpAIBinder(serviceBinder)); in getServiceInstance()
|
/frameworks/av/media/libaudiohal/tests/ |
D | EffectHalVersionCompatibility_test.cpp | 137 ::ndk::SpAIBinder asBinder() { return ::ndk::SpAIBinder(); } in asBinder() 244 ::ndk::SpAIBinder asBinder() { return ::ndk::SpAIBinder(); } in asBinder()
|