Home
last modified time | relevance | path

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

12345678910>>...12

/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/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()
53 static bool has(const sp<IBinder>& binder) { in has()
63 wp<ABpBinder> binder; member
239 ABpBinder::ABpBinder(const ::android::sp<::android::IBinder>& binder) in ABpBinder()
260 sp<AIBinder> ABpBinder::lookupOrCreateFromBinder(const ::android::sp<::android::IBinder>& binder) { in lookupOrCreateFromBinder()
298 wp<AIBinder> binder; member
300 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new()
315 sp<AIBinder> binder = weakBinder->binder.promote(); in AIBinder_Weak_promote() local
426 binder_status_t AIBinder_DeathRecipient::linkToDeath(const sp<IBinder>& binder, void* cookie) { in linkToDeath()
447 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/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
221 sp<BadStableBinder> binder = BadStableBinder::undef(); in TEST() local
226 sp<BadStableBinder> binder = BadStableBinder::system(); in TEST() local
231 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local
238 sp<BadStableBinder> binder = BadStableBinder::vendor(); in TEST() local
284 NdkBinderStable_DataClass* NdkBadStableBinder_getUserData(AIBinder* binder) { in NdkBadStableBinder_getUserData()
292 AIBinder* binder, transaction_code_t code, const AParcel* /*in*/, AParcel* /*out*/) { in NdkBadStableBinder_Class_onTransact()
[all …]
DbinderBinderUnitTest.cpp32 auto binder = sp<BBinder>::make(); in TEST() local
39 auto binder = sp<BBinder>::make(); in TEST() local
46 auto binder = sp<BBinder>::make(); in TEST() local
DbinderRpcBenchmark.cpp69 Status repeatBinder(const sp<IBinder>& binder, sp<IBinder>* out) override { in repeatBinder()
131 sp<IBinder> binder = getBinderForOptions(state); in BM_pingTransaction() local
140 sp<IBinder> binder = getBinderForOptions(state); in BM_repeatTwoPageString() local
169 sp<IBinder> binder = getBinderForOptions(state); in BM_throughputForTransportAndBytes() local
189 sp<IBinder> binder = getBinderForOptions(state); in BM_repeatBinder() local
196 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.aidl28 int pingMe(IBinder binder); in pingMe()
29 @nullable IBinder repeatBinder(@nullable IBinder binder); in repeatBinder()
31 void holdBinder(@nullable IBinder binder); in holdBinder()
37 void nestMe(IBinderRpcTest binder, int calls); in nestMe()
/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.cpp131 auto binder = service->asBinder(); in generatedService() local
205 auto binder = service->asBinder(); in lazyService() local
218 AIBinder* binder = AServiceManager_checkService(serviceName); in isServiceRunning() local
243 AIBinder* binder = AServiceManager_checkService("asdfghkl;"); in TEST() local
248 AIBinder* binder = AServiceManager_checkService(kExistingNonNdkService); in TEST() local
258 AIBinder* binder = foo->getBinder(); in TEST() local
295 auto binder = in TEST() local
327 ndk::SpAIBinder binder(AServiceManager_waitForService(kLazyBinderNdkUnitTestService)); in TEST() local
342 ndk::SpAIBinder binder(AServiceManager_waitForService(kLazyBinderNdkUnitTestService)); in TEST() local
358 ndk::SpAIBinder binder(AServiceManager_waitForService(kForcePersistNdkUnitTestService)); 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/native/services/surfaceflinger/tests/unittests/
DCachingTest.cpp37 sp<IBinder> binder = new BBinder(); in TEST_F() local
45 sp<IBinder> binder = new BBinder(); in TEST_F() local
66 sp<IBinder> binder = new BBinder(); in TEST_F() local
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/
DBackupTransportClientTest.java71 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
/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/native/libs/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h215 explicit BpCInterface(const SpAIBinder& binder) : mBinder(binder) {} in BpCInterface()
243 std::shared_ptr<ICInterface> ICInterface::asInterface(AIBinder* binder) { in asInterface()
308 SpAIBinder binder; in defineClass() local
/frameworks/av/media/utils/
DSchedulingPolicyService.cpp41 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority() local
70 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestCpusetBoost() local
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp268 JNIEnv *env, const sp<hardware::IBinder> &binder) { in NewObject()
283 const sp<hardware::IBinder>& binder) in JHwRemoteBinder()
290 void JHwRemoteBinder::setBinder(const sp<hardware::IBinder> &binder) { in setBinder()
305 sp<JHwRemoteBinder> binder = (JHwRemoteBinder *)nativeContext; in releaseNativeContext() local
332 sp<hardware::IBinder> binder = in JHwRemoteBinder_native_transact() local
359 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_linkToDeath() local
386 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_unlinkToDeath() local

12345678910>>...12