/frameworks/native/libs/binder/ |
D | Stability.cpp | 26 void Stability::forceDowngradeToStability(const sp<IBinder>& binder, Level level) { in forceDowngradeToStability() 37 void Stability::forceDowngradeToLocalStability(const sp<IBinder>& binder) { in forceDowngradeToLocalStability() 41 void Stability::forceDowngradeToSystemStability(const sp<IBinder>& binder) { in forceDowngradeToSystemStability() 45 void Stability::forceDowngradeToVendorStability(const sp<IBinder>& binder) { in forceDowngradeToVendorStability() 49 void Stability::markCompilationUnit(IBinder* binder) { in markCompilationUnit() 54 void Stability::markVintf(IBinder* binder) { in markVintf() 59 std::string Stability::debugToString(const sp<IBinder>& binder) { in debugToString() 63 void Stability::markVndk(IBinder* binder) { in markVndk() 68 bool Stability::requiresVintfDeclaration(const sp<IBinder>& binder) { in requiresVintfDeclaration() 72 void Stability::tryMarkCompilationUnit(IBinder* binder) { in tryMarkCompilationUnit() [all …]
|
D | IMemory.cpp | 97 static inline sp<IMemoryHeap> find_heap(const sp<IBinder>& binder) { in find_heap() 100 static inline void free_heap(const sp<IBinder>& binder) { in free_heap() 103 static inline sp<IMemoryHeap> get_heap(const sp<IBinder>& binder) { in get_heap() 144 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const in fastPointer() argument 270 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap() local 281 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap() local 291 sp<IBinder> binder(IInterface::asBinder(const_cast<BpMemoryHeap*>(this))); in assertMapped() local 429 void HeapCache::binderDied(const wp<IBinder>& binder) in binderDied() 435 sp<IMemoryHeap> HeapCache::find_heap(const sp<IBinder>& binder) in find_heap() 461 void HeapCache::free_heap(const sp<IBinder>& binder) { in free_heap() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderCallsStatsTest.java | 85 Binder binder = new Binder(); in testDetailedOff() local 126 Binder binder = new Binder(); in testDetailedOn() local 170 Binder binder = new Binder(); in testEnableInBetweenCall() local 180 Binder binder = new Binder(); in testInBetweenCallWhenExceptionThrown() local 194 Binder binder = new Binder(); in testSampling() local 231 Binder binder = new Binder(); in testSamplingWithDifferentApis() local 263 Binder binder = new Binder(); in testSharding() local 302 Binder binder = new BinderWithGetTransactionName(); in testTransactionCodeResolved() local 317 Binder binder = new AnotherBinderWithGetTransactionName(); in testMultipleTransactionCodeResolved() local 348 Binder binder = new Binder(); in testResolvingCodeDoesNotThrowWhenMethodNotPresent() local [all …]
|
D | BinderLatencyObserverTest.java | 63 Binder binder = new Binder(); in testLatencyCollectionWithMultipleClasses() local 94 Binder binder = new Binder(); in testSampling() local 117 Binder binder = new Binder(); in testTooCallLengthOverflow() local 136 Binder binder = new Binder(); in testHistogramBucketOverflow() local 160 Binder binder = new Binder(); in testSingleAtomPush() local 196 Binder binder = new Binder(); in testMultipleAtomPush() local 257 Binder binder = new Binder(); in testSharding() local
|
/frameworks/native/libs/binder/ndk/ |
D | stability.cpp | 39 extern "C" void AIBinder_markVendorStability(AIBinder* binder) { in AIBinder_markVendorStability() 43 void AIBinder_markSystemStability(AIBinder* binder) { in AIBinder_markSystemStability() 47 void AIBinder_markVintfStability(AIBinder* binder) { in AIBinder_markVintfStability() 52 extern "C" void AIBinder_forceDowngradeToVendorStability(AIBinder* binder) { in AIBinder_forceDowngradeToVendorStability() 56 void AIBinder_forceDowngradeToSystemStability(AIBinder* binder) { in AIBinder_forceDowngradeToSystemStability()
|
D | ibinder.cpp | 52 static void attach(const sp<IBinder>& binder) { in attach() 56 static bool has(const sp<IBinder>& binder) { in has() 66 wp<ABpBinder> binder; member 275 ABpBinder::ABpBinder(const ::android::sp<::android::IBinder>& binder) in ABpBinder() 289 sp<AIBinder> ABpBinder::lookupOrCreateFromBinder(const ::android::sp<::android::IBinder>& binder) { in lookupOrCreateFromBinder() 333 wp<AIBinder> binder; member 335 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new() 350 sp<AIBinder> binder = weakBinder->binder.promote(); in AIBinder_Weak_promote() local 476 binder_status_t AIBinder_DeathRecipient::linkToDeath(const sp<IBinder>& binder, void* cookie) { in linkToDeath() 512 binder_status_t AIBinder_DeathRecipient::unlinkToDeath(const sp<IBinder>& binder, void* cookie) { in unlinkToDeath() [all …]
|
D | ibinder_jni.cpp | 27 AIBinder* AIBinder_fromJavaBinder(JNIEnv* env, jobject binder) { in AIBinder_fromJavaBinder() 39 jobject AIBinder_toJavaBinder(JNIEnv* env, AIBinder* binder) { in AIBinder_toJavaBinder()
|
D | libbinder.cpp | 26 sp<IBinder> AIBinder_toPlatformBinder(AIBinder* binder) { in AIBinder_toPlatformBinder() 31 AIBinder* AIBinder_fromPlatformBinder(const sp<IBinder>& binder) { in AIBinder_fromPlatformBinder()
|
D | service_manager.cpp | 33 binder_exception_t AServiceManager_addService(AIBinder* binder, const char* instance) { in AServiceManager_addService() 43 binder_exception_t AServiceManager_addServiceWithFlags(AIBinder* binder, const char* instance, in AServiceManager_addServiceWithFlags() 80 sp<IBinder> binder = sm->checkService(String16(instance)); in AServiceManager_checkService() local 92 sp<IBinder> binder = sm->getService(String16(instance)); in AServiceManager_getService() local 98 binder_status_t AServiceManager_registerLazyService(AIBinder* binder, const char* instance) { in AServiceManager_registerLazyService() 114 sp<IBinder> binder = sm->waitForService(String16(instance)); in AServiceManager_waitForService() local
|
/frameworks/base/wifi/tests/src/android/net/wifi/sharedconnectivity/service/ |
D | SharedConnectivityServiceTest.java | 190 ISharedConnectivityService.Stub binder = in getHotspotNetworks() local 202 ISharedConnectivityService.Stub binder = in getKnownNetworks() local 214 ISharedConnectivityService.Stub binder = in getSharedConnectivitySettingsState() local 226 ISharedConnectivityService.Stub binder = in updateHotspotNetworkConnectionStatus() local 238 ISharedConnectivityService.Stub binder = in updateKnownNetworkConnectionStatus() local 292 ISharedConnectivityService.Stub binder = in connectHotspotNetwork() local 305 ISharedConnectivityService.Stub binder = in disconnectHotspotNetwork() local 318 ISharedConnectivityService.Stub binder = in connectKnownNetwork() local 331 ISharedConnectivityService.Stub binder = in forgetKnownNetwork() local 344 ISharedConnectivityService.Stub binder = in registerCallback() local [all …]
|
/frameworks/native/libs/binder/ndk/include_platform/android/ |
D | binder_stability.h | 42 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability() 63 static inline void AIBinder_forceDowngradeToLocalStability(AIBinder* binder) { in AIBinder_forceDowngradeToLocalStability() 78 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability() 101 static inline void AIBinder_forceDowngradeToLocalStability(AIBinder* binder) { in AIBinder_forceDowngradeToLocalStability()
|
/frameworks/native/libs/binder/tests/ |
D | binderStabilityTest.cpp | 50 static status_t doUserTransaction(const sp<IBinder>& binder) { in doUserTransaction() 104 Status sendAndCallBinder(const sp<IBinder>& binder) override { in sendAndCallBinder() 168 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local 175 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local 227 sp<BadStableBinder> binder = BadStableBinder::undef(); in TEST() local 232 sp<BadStableBinder> binder = BadStableBinder::system(); in TEST() local 237 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local 244 sp<BadStableBinder> binder = BadStableBinder::vendor(); in TEST() local 290 NdkBinderStable_DataClass* NdkBadStableBinder_getUserData(AIBinder* binder) { in NdkBadStableBinder_getUserData() 298 AIBinder* binder, transaction_code_t code, const AParcel* /*in*/, AParcel* /*out*/) { in NdkBadStableBinder_Class_onTransact() [all …]
|
D | binderBinderUnitTest.cpp | 33 auto binder = sp<BBinder>::make(); in TEST() local 40 auto binder = sp<BBinder>::make(); in TEST() local 47 auto binder = sp<BBinder>::make(); in TEST() local 71 auto binder = sp<BBinder>::make(); in TEST() local 83 auto binder = sp<BBinder>::make(); in TEST() local
|
D | binderRpcBenchmark.cpp | 69 Status repeatBinder(const sp<IBinder>& binder, sp<IBinder>* out) override { in repeatBinder() 190 sp<IBinder> binder = getBinderForOptions(state); in BM_pingTransaction() local 201 sp<IBinder> binder = getBinderForOptions(state); in BM_repeatTwoPageString() local 232 sp<IBinder> binder = getBinderForOptions(state); in BM_throughputForTransportAndBytes() local 254 sp<IBinder> binder = getBinderForOptions(state); in BM_collectProxies() local 286 sp<IBinder> binder = getBinderForOptions(state); in BM_repeatBinder() local 293 sp<IBinder> binder = sp<BBinder>::make(); in BM_repeatBinder() local
|
D | IBinderStabilityTest.aidl | 22 void sendBinder(IBinder binder); in sendBinder() 26 void sendAndCallBinder(IBinder binder); in sendAndCallBinder()
|
D | IBinderRpcTest.aidl | 31 int pingMe(IBinder binder); in pingMe() 32 @nullable IBinder repeatBinder(@nullable IBinder binder); in repeatBinder() 34 void holdBinder(@nullable IBinder binder); in holdBinder() 40 void nestMe(IBinderRpcTest binder, int calls); in nestMe()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerHandle.cpp | 37 sp<LayerHandle> LayerHandle::fromIBinder(const sp<IBinder>& binder) { in fromIBinder() 52 sp<android::Layer> LayerHandle::getLayer(const sp<IBinder>& binder) { in getLayer() 57 uint32_t LayerHandle::getLayerId(const sp<IBinder>& binder) { in getLayerId()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | AWakeLock.cpp | 41 sp<IBinder> binder = IInterface::asBinder(mPowerManager); in ~AWakeLock() local 52 sp<IBinder> binder = in acquire() local 62 sp<IBinder> binder = new BBinder(); in acquire() local
|
/frameworks/native/libs/binder/ndk/tests/ |
D | iface.cpp | 46 binder_status_t IFoo_Class_onTransact(AIBinder* binder, transaction_code_t code, const AParcel* in, in IFoo_Class_onTransact() 83 explicit BpFoo(AIBinder* binder) : mBinder(binder) {} in BpFoo() 128 AIBinder* binder = nullptr; in getBinder() local 151 AIBinder* binder = getBinder(); in addService() local 162 AIBinder* binder = AServiceManager_getService(instance); // maybe nullptr in getService() local
|
D | libbinder_ndk_unit_test.cpp | 149 auto binder = service->asBinder(); in generatedService() local 169 auto binder = service->asBinder(); in generatedFlaggedService() local 241 auto binder = service->asBinder(); in lazyService() local 254 AIBinder* binder = AServiceManager_checkService(serviceName); in isServiceRunning() local 279 AIBinder* binder = AServiceManager_checkService("asdfghkl;"); in TEST() local 284 AIBinder* binder = AServiceManager_checkService(kExistingNonNdkService); in TEST() local 293 ndk::SpAIBinder binder; member 333 ndk::SpAIBinder binder; in TEST() local 364 ndk::SpAIBinder binder; in TEST() local 374 ndk::SpAIBinder binder(foo->getBinder()); in TEST() local [all …]
|
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/ |
D | main.rs | 89 let binder = srv.getNullBinder(); localVariable 94 let binder = localVariable 121 let binder = localVariable 145 let binder = localVariable
|
/frameworks/av/services/audiopolicy/service/ |
D | BinderProxy.h | 49 sp<IBinder> binder = IInterface::asBinder(mDelegate); in ~BinderProxy() local 63 sp<IBinder> binder = IInterface::asBinder(mDelegate); in waitServiceOrDie() local
|
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/ |
D | SuggestionServiceTest.java | 69 IBinder binder = mServiceTestRule.bindService(mMockServiceIntent); in dismissSuggestion_shouldCallImplementation() local 80 IBinder binder = mServiceTestRule.bindService(mMockServiceIntent); in launchSuggestion_shouldCallImplementation() local
|
/frameworks/base/core/tests/fuzzers/FuzzService/ |
D | FuzzBinder.java | 33 public static void fuzzService(IBinder binder, byte[] data) { in fuzzService() 42 private static native void fuzzServiceInternal(IBinder binder, byte[] data); in fuzzServiceInternal()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/transport/ |
D | BackupTransportClientTest.java | 71 TestFuturesFakeTransportBinder binder = new TestFuturesFakeTransportBinder(); in testName_completesImmediately_returnsName() local 82 TestFuturesFakeTransportBinder binder = new TestFuturesFakeTransportBinder(); in testTransportDirName_completesLater_returnsName() local 108 TestFuturesFakeTransportBinder binder = new TestFuturesFakeTransportBinder(); in testTransportDirName_canceledBeforeCompletion_throwsException() local 152 TestCallbacksFakeTransportBinder binder = new TestCallbacksFakeTransportBinder(); in testInitializeDevice_completesImmediately_returnsStatus() local 164 TestCallbacksFakeTransportBinder binder = new TestCallbacksFakeTransportBinder(); in testFinishBackup_completesLater_returnsStatus() local 190 TestCallbacksFakeTransportBinder binder = new TestCallbacksFakeTransportBinder(); in testFinishBackup_canceledBeforeCompletion_returnsError() local
|