Home
last modified time | relevance | path

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

1234567891011

/frameworks/native/libs/binder/ndk/
Dstability.cpp35 extern "C" void AIBinder_markVendorStability(AIBinder* binder) { in AIBinder_markVendorStability()
39 void AIBinder_markSystemStability(AIBinder* binder) { in AIBinder_markSystemStability()
43 void AIBinder_markVintfStability(AIBinder* binder) { in AIBinder_markVintfStability()
48 extern "C" void AIBinder_forceDowngradeToVendorStability(AIBinder* binder) { in AIBinder_forceDowngradeToVendorStability()
52 void AIBinder_forceDowngradeToSystemStability(AIBinder* binder) { in AIBinder_forceDowngradeToSystemStability()
Dibinder.cpp49 static void attach(const sp<IBinder>& binder) { in attach()
52 static bool has(const sp<IBinder>& binder) { in has()
63 wp<ABpBinder> binder; member
228 ABpBinder::ABpBinder(const ::android::sp<::android::IBinder>& binder) in ABpBinder()
252 sp<AIBinder> ABpBinder::lookupOrCreateFromBinder(const ::android::sp<::android::IBinder>& binder) { in lookupOrCreateFromBinder()
282 wp<AIBinder> binder; member
284 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new()
299 sp<AIBinder> binder = weakBinder->binder.promote(); in AIBinder_Weak_promote() local
398 binder_status_t AIBinder_DeathRecipient::linkToDeath(const sp<IBinder>& binder, void* cookie) { in linkToDeath()
417 binder_status_t AIBinder_DeathRecipient::unlinkToDeath(const sp<IBinder>& binder, void* cookie) { in unlinkToDeath()
[all …]
Dservice_manager.cpp34 binder_exception_t AServiceManager_addService(AIBinder* binder, const char* instance) { in AServiceManager_addService()
49 sp<IBinder> binder = sm->checkService(String16(instance)); in AServiceManager_checkService() local
61 sp<IBinder> binder = sm->getService(String16(instance)); in AServiceManager_getService() local
67 binder_status_t AServiceManager_registerLazyService(AIBinder* binder, const char* instance) { in AServiceManager_registerLazyService()
83 sp<IBinder> binder = sm->waitForService(String16(instance)); in AServiceManager_waitForService() local
Dibinder_jni.cpp27 AIBinder* AIBinder_fromJavaBinder(JNIEnv* env, jobject binder) { in AIBinder_fromJavaBinder()
39 jobject AIBinder_toJavaBinder(JNIEnv* env, AIBinder* binder) { in AIBinder_toJavaBinder()
/frameworks/native/libs/binder/
DStability.cpp41 void Stability::forceDowngradeToStability(const sp<IBinder>& binder, Level level) { in forceDowngradeToStability()
53 void Stability::forceDowngradeToLocalStability(const sp<IBinder>& binder) { in forceDowngradeToLocalStability()
57 void Stability::forceDowngradeToSystemStability(const sp<IBinder>& binder) { in forceDowngradeToSystemStability()
61 void Stability::forceDowngradeToVendorStability(const sp<IBinder>& binder) { in forceDowngradeToVendorStability()
70 void Stability::markCompilationUnit(IBinder* binder) { in markCompilationUnit()
76 void Stability::markVintf(IBinder* binder) { in markVintf()
82 void Stability::debugLogStability(const std::string& tag, const sp<IBinder>& binder) { in debugLogStability()
87 void Stability::markVndk(IBinder* binder) { in markVndk()
93 bool Stability::requiresVintfDeclaration(const sp<IBinder>& binder) { in requiresVintfDeclaration()
97 void Stability::tryMarkCompilationUnit(IBinder* binder) { in tryMarkCompilationUnit()
[all …]
DIMemory.cpp96 static inline sp<IMemoryHeap> find_heap(const sp<IBinder>& binder) { in find_heap()
99 static inline void free_heap(const sp<IBinder>& binder) { in free_heap()
102 static inline sp<IMemoryHeap> get_heap(const sp<IBinder>& binder) { in get_heap()
143 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const in fastPointer() argument
269 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap() local
280 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap() local
290 sp<IBinder> binder(IInterface::asBinder(const_cast<BpMemoryHeap*>(this))); in assertMapped() local
428 void HeapCache::binderDied(const wp<IBinder>& binder) in binderDied()
434 sp<IMemoryHeap> HeapCache::find_heap(const sp<IBinder>& binder) in find_heap()
460 void HeapCache::free_heap(const sp<IBinder>& binder) { in free_heap()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java72 Binder binder = new Binder(); in testDetailedOff() local
113 Binder binder = new Binder(); in testDetailedOn() local
157 Binder binder = new Binder(); in testEnableInBetweenCall() local
167 Binder binder = new Binder(); in testInBetweenCallWhenExceptionThrown() local
181 Binder binder = new Binder(); in testSampling() local
218 Binder binder = new Binder(); in testSamplingWithDifferentApis() local
250 Binder binder = new Binder(); in testSharding() local
289 Binder binder = new BinderWithGetTransactionName(); in testTransactionCodeResolved() local
304 Binder binder = new AnotherBinderWithGetTransactionName(); in testMultipleTransactionCodeResolved() local
335 Binder binder = new Binder(); in testResolvingCodeDoesNotThrowWhenMethodNotPresent() local
[all …]
DBinderLatencyObserverTest.java56 Binder binder = new Binder(); in testLatencyCollectionWithMultipleClasses() local
87 Binder binder = new Binder(); in testSampling() local
110 Binder binder = new Binder(); in testTooCallLengthOverflow() local
129 Binder binder = new Binder(); in testHistogramBucketOverflow() local
153 Binder binder = new Binder(); in testSingleAtomPush() local
189 Binder binder = new Binder(); in testMultipleAtomPush() local
250 Binder binder = new Binder(); in testSharding() local
/frameworks/native/libs/binder/ndk/include_platform/android/
Dbinder_stability.h44 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability()
56 static inline void AIBinder_forceDowngradeToLocalStability(AIBinder* binder) { in AIBinder_forceDowngradeToLocalStability()
71 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability()
85 static inline void AIBinder_forceDowngradeToLocalStability(AIBinder* binder) { in AIBinder_forceDowngradeToLocalStability()
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp50 static status_t doUserTransaction(const sp<IBinder>& binder) { in doUserTransaction()
104 Status sendAndCallBinder(const sp<IBinder>& binder) override { in sendAndCallBinder()
165 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local
172 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local
213 sp<BadStableBinder> binder = BadStableBinder::undef(); in TEST() local
218 sp<BadStableBinder> binder = BadStableBinder::system(); in TEST() local
223 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local
230 sp<BadStableBinder> binder = BadStableBinder::vendor(); in TEST() local
276 NdkBinderStable_DataClass* NdkBadStableBinder_getUserData(AIBinder* binder) { in NdkBadStableBinder_getUserData()
284 AIBinder* binder, transaction_code_t code, const AParcel* /*in*/, AParcel* /*out*/) { in NdkBadStableBinder_Class_onTransact()
[all …]
DIBinderRpcTest.aidl25 int pingMe(IBinder binder); in pingMe()
26 @nullable IBinder repeatBinder(@nullable IBinder binder); in repeatBinder()
28 void holdBinder(@nullable IBinder binder); in holdBinder()
34 void nestMe(IBinderRpcTest binder, int calls); in nestMe()
DbinderRpcBenchmark.cpp59 sp<IBinder> binder = gSession->getRootObject(); in BM_pingTransaction() local
69 sp<IBinder> binder = gSession->getRootObject(); in BM_repeatString() local
98 sp<IBinder> binder = gSession->getRootObject(); in BM_repeatBinder() local
105 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()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DAWakeLock.cpp39 sp<IBinder> binder = IInterface::asBinder(mPowerManager); in ~AWakeLock() local
50 sp<IBinder> binder = in acquire() local
60 sp<IBinder> binder = new BBinder(); in acquire() local
/frameworks/native/libs/binder/ndk/tests/
Diface.cpp45 binder_status_t IFoo_Class_onTransact(AIBinder* binder, transaction_code_t code, const AParcel* in, in IFoo_Class_onTransact()
77 explicit BpFoo(AIBinder* binder) : mBinder(binder) {} in BpFoo()
122 AIBinder* binder = nullptr; in getBinder() local
145 AIBinder* binder = getBinder(); in addService() local
154 AIBinder* binder = AServiceManager_getService(instance); // maybe nullptr in getService() local
Dlibbinder_ndk_unit_test.cpp130 auto binder = service->asBinder(); in generatedService() local
204 auto binder = service->asBinder(); in lazyService() local
217 AIBinder* binder = AServiceManager_checkService(serviceName); in isServiceRunning() local
232 AIBinder* binder = AServiceManager_checkService("asdfghkl;"); in TEST() local
237 AIBinder* binder = AServiceManager_checkService(kExistingNonNdkService); in TEST() local
247 AIBinder* binder = foo->getBinder(); in TEST() local
295 ndk::SpAIBinder binder(AServiceManager_waitForService(kLazyBinderNdkUnitTestService)); in TEST() local
310 ndk::SpAIBinder binder(AServiceManager_waitForService(kLazyBinderNdkUnitTestService)); in TEST() local
326 ndk::SpAIBinder binder(AServiceManager_waitForService(kForcePersistNdkUnitTestService)); in TEST() local
349 ndk::SpAIBinder binder(AServiceManager_waitForService(kActiveServicesNdkUnitTestService)); in TEST() local
[all …]
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h209 explicit BpCInterface(const SpAIBinder& binder) : mBinder(binder) {} in BpCInterface()
237 std::shared_ptr<ICInterface> ICInterface::asInterface(AIBinder* binder) { in asInterface()
260 std::shared_ptr<ICInterface> ICInterface::ICInterfaceData::getInterface(AIBinder* binder) { in getInterface()
279 binder_status_t ICInterface::ICInterfaceData::onDump(AIBinder* binder, int fd, const char** args, in onDump()
286 binder_status_t ICInterface::ICInterfaceData::handleShellCommand(AIBinder* binder, int in, int out, in handleShellCommand()
298 SpAIBinder binder; in asBinder() local
/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/java/android/net/
DIIpSecService.aidl36 in String destinationAddress, int requestedSpi, in IBinder binder); in allocateSecurityParameterIndex()
40 IpSecUdpEncapResponse openUdpEncapsulationSocket(int port, in IBinder binder); in openUdpEncapsulationSocket()
48 in IBinder binder, in createTunnelInterface()
67 in IpSecConfig c, in IBinder binder, in String callingPackage); in createTransform()
/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/native/services/surfaceflinger/tests/unittests/
DCachingTest.cpp42 sp<IBinder> binder = new BBinder(); in TEST_F() local
50 sp<IBinder> binder = new BBinder(); in TEST_F() local
71 sp<IBinder> binder = new BBinder(); in TEST_F() local
/frameworks/av/media/utils/
DSchedulingPolicyService.cpp40 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority() local
69 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestCpusetBoost() local
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java148 IBinder binder = mock(IBinder.class); in testListenerDeath() local
153 mPinnedSliceManager.pin(mContext.getPackageName(), FIRST_SPECS, binder); in testListenerDeath() local
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp258 JNIEnv *env, const sp<hardware::IBinder> &binder) { in NewObject()
273 const sp<hardware::IBinder>& binder) in JHwRemoteBinder()
280 void JHwRemoteBinder::setBinder(const sp<hardware::IBinder> &binder) { in setBinder()
295 sp<JHwRemoteBinder> binder = (JHwRemoteBinder *)nativeContext; in releaseNativeContext() local
322 sp<hardware::IBinder> binder = in JHwRemoteBinder_native_transact() local
349 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_linkToDeath() local
376 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_unlinkToDeath() local
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceProxy.java78 void updateGeofenceHardware(IBinder binder) throws RemoteException { in updateGeofenceHardware()
96 public void onBind(IBinder binder, BoundServiceInfo boundServiceInfo) throws RemoteException { in onBind()

1234567891011