Home
last modified time | relevance | path

Searched defs:binder (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/frameworks/native/libs/binder/
DStability.cpp26 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 …]
DIMemory.cpp97 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/
DBinderCallsStatsTest.java85 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 …]
DBinderLatencyObserverTest.java63 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/
Dstability.cpp39 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()
Dibinder.cpp71 static void attach(const sp<IBinder>& binder) { in attach()
75 static bool has(const sp<IBinder>& binder) { in has()
85 wp<ABpBinder> binder; member
350 ABpBinder::ABpBinder(const ::android::sp<::android::IBinder>& binder) in ABpBinder()
364 sp<AIBinder> ABpBinder::lookupOrCreateFromBinder(const ::android::sp<::android::IBinder>& binder) { in lookupOrCreateFromBinder()
408 wp<AIBinder> binder; member
410 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new()
425 sp<AIBinder> binder = weakBinder->binder.promote(); in AIBinder_Weak_promote() local
594 binder_status_t AIBinder_DeathRecipient::linkToDeath(const sp<IBinder>& binder, void* cookie) { in linkToDeath()
630 binder_status_t AIBinder_DeathRecipient::unlinkToDeath(const sp<IBinder>& binder, void* cookie) { in unlinkToDeath()
[all …]
Dibinder_jni.cpp27 AIBinder* AIBinder_fromJavaBinder(JNIEnv* env, jobject binder) { in AIBinder_fromJavaBinder()
39 jobject AIBinder_toJavaBinder(JNIEnv* env, AIBinder* binder) { in AIBinder_toJavaBinder()
Dlibbinder.cpp26 sp<IBinder> AIBinder_toPlatformBinder(AIBinder* binder) { in AIBinder_toPlatformBinder()
31 AIBinder* AIBinder_fromPlatformBinder(const sp<IBinder>& binder) { in AIBinder_fromPlatformBinder()
/frameworks/base/wifi/tests/src/android/net/wifi/sharedconnectivity/service/
DSharedConnectivityServiceTest.java190 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/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/
DGlanceableHubWidgetManagerServiceTest.kt103 val binder = underTest.onBind(Intent()) in widgetsListener_getWidgetUpdates() constant
120 val binder = underTest.onBind(Intent()) in widgetsListener_multipleListeners_eachGetsWidgetUpdates() constant
142 val binder = underTest.onBind(Intent()) in setAppWidgetHostListener_getUpdates() constant
175 val binder = underTest.onBind(Intent()) in addWidget_noConfigurationCallback_getWidgetUpdate() constant
203 val binder = underTest.onBind(Intent()) in addWidget_withConfigurationCallback_configurationFails_doNotAddWidget() constant
235 val binder = underTest.onBind(Intent()) in addWidget_withConfigurationCallback_configurationSucceeds_addWidget() constant
268 val binder = underTest.onBind(Intent()) in deleteWidget_getWidgetUpdate() constant
294 val binder = underTest.onBind(Intent()) in updateWidgetOrder_getWidgetUpdate() constant
321 val binder = underTest.onBind(Intent()) in resizeWidget_getWidgetUpdate() constant
350 val binder = underTest.onBind(Intent()) in getIntentSenderForConfigureActivity() constant
/frameworks/native/libs/binder/ndk/include_platform/android/
Dbinder_stability.h46 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability()
67 static inline void AIBinder_forceDowngradeToLocalStability(AIBinder* binder) { in AIBinder_forceDowngradeToLocalStability()
82 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability()
105 static inline void AIBinder_forceDowngradeToLocalStability(AIBinder* binder) { in AIBinder_forceDowngradeToLocalStability()
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp51 static status_t doUserTransaction(const sp<IBinder>& binder) { in doUserTransaction()
105 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
226 sp<BadStableBinder> binder = BadStableBinder::undef(); in TEST() local
231 sp<BadStableBinder> binder = BadStableBinder::system(); in TEST() local
236 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local
243 sp<BadStableBinder> binder = BadStableBinder::vendor(); in TEST() local
289 NdkBinderStable_DataClass* NdkBadStableBinder_getUserData(AIBinder* binder) { in NdkBadStableBinder_getUserData()
297 AIBinder* binder, transaction_code_t code, const AParcel* /*in*/, AParcel* /*out*/) { in NdkBadStableBinder_Class_onTransact()
[all …]
DbinderBinderUnitTest.cpp33 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
DbinderRpcBenchmark.cpp69 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
DIBinderStabilityTest.aidl22 void sendBinder(IBinder binder); in sendBinder()
26 void sendAndCallBinder(IBinder binder); in sendAndCallBinder()
DIBinderRpcTest.aidl31 int pingMe(IBinder binder); in pingMe()
32 @nullable IBinder repeatBinder(@nullable IBinder binder); in repeatBinder()
34 void holdBinder(@nullable IBinder binder); in holdBinder()
42 void nestMe(IBinderRpcTest binder, int calls); in nestMe()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerHandle.cpp37 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/
DAWakeLock.cpp41 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/av/media/utils/include/mediautils/
DBinderGenericUtils.h86 sp<Interface> interfaceFromBinder(const sp<IBinder> &binder) { in interfaceFromBinder()
91 std::shared_ptr<Interface> interfaceFromBinder(const ::ndk::SpAIBinder &binder) { in interfaceFromBinder()
150 auto binder = defaultServiceManager()->checkService(serviceName); variable
218 const String16 & /*name*/, const sp<IBinder> &binder) final { in onServiceRegistration()
292 RequestDeathNotificationCpp(const sp<IBinder> &binder, in RequestDeathNotificationCpp()
301 const auto binder = mWeakBinder.promote(); in ~RequestDeathNotificationCpp() local
318 RequestDeathNotificationNdk( in RequestDeathNotificationNdk()
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/
Dmain.rs89 let binder = srv.getNullBinder(); localVariable
94 let binder = localVariable
121 let binder = localVariable
145 let binder = localVariable
/frameworks/native/libs/binder/ndk/tests/
Diface.cpp48 binder_status_t IFoo_Class_onTransact(AIBinder* binder, transaction_code_t code, const AParcel* in, in IFoo_Class_onTransact()
85 explicit BpFoo(AIBinder* binder) : mBinder(binder) {} in BpFoo()
130 AIBinder* binder = nullptr; in getBinder() local
153 AIBinder* binder = getBinder(); in addService() local
Dlibbinder_ndk_unit_test.cpp152 auto binder = service->asBinder(); in generatedService() local
172 auto binder = service->asBinder(); in generatedFlaggedService() local
244 auto binder = service->asBinder(); in lazyService() local
292 AIBinder* binder = AServiceManager_checkService("asdfghkl;"); in TEST() local
297 AIBinder* binder = AServiceManager_checkService(kExistingNonNdkService); in TEST() local
306 ndk::SpAIBinder binder; member
346 ndk::SpAIBinder binder; in TEST() local
376 ndk::SpAIBinder binder; in TEST() local
386 ndk::SpAIBinder binder(foo->getBinder()); in TEST() local
411 auto binder = in TEST() local
[all …]
/frameworks/av/services/audiopolicy/service/
DBinderProxy.h49 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/
DSuggestionServiceTest.java69 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/
DFuzzBinder.java33 public static void fuzzService(IBinder binder, byte[] data) { in fuzzService()
42 private static native void fuzzServiceInternal(IBinder binder, byte[] data); in fuzzServiceInternal()

12345678910>>...16