Home
last modified time | relevance | path

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

12345678910

/frameworks/native/libs/binder/
DStability.cpp24 void Stability::markCompilationUnit(IBinder* binder) { in markCompilationUnit()
29 void Stability::markVintf(IBinder* binder) { in markVintf()
34 void Stability::debugLogStability(const std::string& tag, const sp<IBinder>& binder) { in debugLogStability()
38 void Stability::markVndk(IBinder* binder) { in markVndk()
43 bool Stability::requiresVintfDeclaration(const sp<IBinder>& binder) { in requiresVintfDeclaration()
47 void Stability::tryMarkCompilationUnit(IBinder* binder) { in tryMarkCompilationUnit()
70 status_t Stability::set(IBinder* binder, int32_t stability, bool log) { in set()
113 Stability::Level Stability::get(IBinder* binder) { in get()
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
271 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap() local
282 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap() local
292 sp<IBinder> binder(IInterface::asBinder(const_cast<BpMemoryHeap*>(this))); in assertMapped() local
430 void HeapCache::binderDied(const wp<IBinder>& binder) in binderDied()
436 sp<IMemoryHeap> HeapCache::find_heap(const sp<IBinder>& binder) in find_heap()
462 void HeapCache::free_heap(const sp<IBinder>& binder) { in free_heap()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java61 Binder binder = new Binder(); in testDetailedOff() local
102 Binder binder = new Binder(); in testDetailedOn() local
146 Binder binder = new Binder(); in testEnableInBetweenCall() local
156 Binder binder = new Binder(); in testInBetweenCallWhenExceptionThrown() local
170 Binder binder = new Binder(); in testSampling() local
207 Binder binder = new Binder(); in testSamplingWithDifferentApis() local
250 Binder binder = new BinderWithGetTransactionName(); in testTransactionCodeResolved() local
265 Binder binder = new AnotherBinderWithGetTransactionName(); in testMultipleTransactionCodeResolved() local
296 Binder binder = new Binder(); in testResolvingCodeDoesNotThrowWhenMethodNotPresent() local
310 Binder binder = new Binder(); in testParcelSize() local
[all …]
/frameworks/native/libs/binder/ndk/
Dibinder.cpp48 static void attach(const sp<IBinder>& binder) { in attach()
51 static bool has(const sp<IBinder>& binder) { in has()
62 wp<ABpBinder> binder; member
215 ABpBinder::ABpBinder(const ::android::sp<::android::IBinder>& binder) in ABpBinder()
239 sp<AIBinder> ABpBinder::lookupOrCreateFromBinder(const ::android::sp<::android::IBinder>& binder) { in lookupOrCreateFromBinder()
269 wp<AIBinder> binder; member
271 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new()
286 sp<AIBinder> binder = weakBinder->binder.promote(); in AIBinder_Weak_promote() local
357 binder_status_t AIBinder_DeathRecipient::linkToDeath(sp<IBinder> binder, void* cookie) { in linkToDeath()
376 binder_status_t AIBinder_DeathRecipient::unlinkToDeath(sp<IBinder> binder, void* cookie) { in unlinkToDeath()
[all …]
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()
Dservice_manager.cpp31 binder_status_t AServiceManager_addService(AIBinder* binder, const char* instance) { in AServiceManager_addService()
46 sp<IBinder> binder = sm->checkService(String16(instance)); in AServiceManager_checkService() local
58 sp<IBinder> binder = sm->getService(String16(instance)); in AServiceManager_getService() 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMulticastLockManagerTest.java71 IBinder binder = mock(IBinder.class); in oneLock() local
90 IBinder binder = mock(IBinder.class); in oneLock_wrongName() local
109 IBinder binder = mock(IBinder.class); in multipleLocksInOrder() local
143 IBinder binder = mock(IBinder.class); in multipleLocksOutOfOrder() local
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp49 static status_t doUserTransaction(const sp<IBinder>& binder) { in doUserTransaction()
103 Status sendAndCallBinder(const sp<IBinder>& binder) override { in sendAndCallBinder()
161 sp<BadStableBinder> binder = BadStableBinder::undef(); in TEST() local
166 sp<BadStableBinder> binder = BadStableBinder::system(); in TEST() local
171 sp<BadStableBinder> binder = BadStableBinder::vintf(); in TEST() local
178 sp<BadStableBinder> binder = BadStableBinder::vendor(); in TEST() local
224 NdkBinderStable_DataClass* NdkBadStableBinder_getUserData(AIBinder* binder) { in NdkBadStableBinder_getUserData()
232 AIBinder* binder, transaction_code_t code, const AParcel* /*in*/, AParcel* /*out*/) { in NdkBadStableBinder_Class_onTransact()
253 SpAIBinder binder = SpAIBinder(AServiceManager_getService( in TEST() local
291 MarksStabilityInConstructor* binder = new MarksStabilityInConstructor(); in TEST() local
DIBinderStabilityTest.aidl22 void sendBinder(IBinder binder); in sendBinder()
26 void sendAndCallBinder(IBinder binder); in sendAndCallBinder()
/frameworks/base/core/java/android/net/
DTestNetworkManager.java74 @NonNull IBinder binder) { in setupTestNetwork()
93 @NonNull LinkProperties lp, boolean isMetered, @NonNull IBinder binder) { in setupTestNetwork()
95 setupTestNetwork(lp.getInterfaceName(), lp, isMetered, new int[0], binder); in setupTestNetwork() local
106 public void setupTestNetwork(@NonNull String iface, @NonNull IBinder binder) { in setupTestNetwork()
120 @NonNull String iface, @NonNull int[] administratorUids, @NonNull IBinder binder) { in setupTestNetwork()
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()
64 in IpSecConfig c, in IBinder binder, in String callingPackage); in createTransform()
/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/include_cpp/android/
Dbinder_interface_utils.h197 explicit BpCInterface(const SpAIBinder& binder) : mBinder(binder) {} in BpCInterface()
225 std::shared_ptr<ICInterface> ICInterface::asInterface(AIBinder* binder) { in asInterface()
248 std::shared_ptr<ICInterface> ICInterface::ICInterfaceData::getInterface(AIBinder* binder) { in getInterface()
267 binder_status_t ICInterface::ICInterfaceData::onDump(AIBinder* binder, int fd, const char** args, in onDump()
274 binder_status_t ICInterface::ICInterfaceData::handleShellCommand(AIBinder* binder, int in, int out, in handleShellCommand()
286 SpAIBinder binder; in asBinder() local
/frameworks/base/wifi/java/android/net/wifi/p2p/
DIWifiP2pManager.aidl28 Messenger getMessenger(in IBinder binder); in getMessenger()
30 oneway void close(in IBinder binder); in close()
/frameworks/native/libs/binder/ndk/include_platform/android/
Dbinder_stability.h44 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability()
59 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability()
/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 addService() local
144 AIBinder* binder = AServiceManager_getService(instance); // maybe nullptr in getService() local
Dlibbinder_ndk_unit_test.cpp82 auto binder = service->asBinder(); in generatedService() local
153 AIBinder* binder = AServiceManager_checkService("asdfghkl;"); in TEST() local
158 AIBinder* binder = AServiceManager_checkService(kExistingNonNdkService); in TEST() local
181 AIBinder* binder; in TEST() local
215 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local
229 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local
290 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local
314 ndk::SpAIBinder binder(AServiceManager_getService(kBinderNdkUnitTestService)); in TEST() local
337 ndk::SpAIBinder binder(AServiceManager_getService(kBinderNdkUnitTestService)); in TEST() 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.cpp36 sp<IBinder> binder = new BBinder(); in TEST_F() local
44 sp<IBinder> binder = new BBinder(); in TEST_F() local
65 sp<IBinder> binder = new BBinder(); in TEST_F() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DExternalCallbackTracker.java62 private ExternalCallbackHolder(@NonNull IBinder binder, @NonNull T callbackObject, in ExternalCallbackHolder()
75 public static <T> ExternalCallbackHolder createAndLinkToDeath( in createAndLinkToDeath()
125 public boolean add(@NonNull IBinder binder, @NonNull T callbackObject, int callbackIdentifier) { in add()
/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/cmds/statsd/src/external/
DCarStatsPuller.cpp47 sp<IBinder> binder = IInterface::asBinder(gCarStats); in binderDied() local
59 const sp<IBinder> binder = defaultServiceManager()->checkService(String16("car_stats")); in getCarService() local
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java262 public void acquireMulticastLock(IBinder binder, String tag) { in acquireMulticastLock()
287 public int startLocalOnlyHotspot(Messenger messenger, IBinder binder, String packageName) { in startLocalOnlyHotspot()
297 public void startWatchLocalOnlyHotspot(Messenger messenger, IBinder binder) { in startWatchLocalOnlyHotspot()
399 IBinder binder, ISoftApCallback callback, int callbackIdentifier) { in registerSoftApCallback()
410 IBinder binder, ITrafficStateCallback callback, int callbackIdentifier) { in registerTrafficStateCallback()
421 IBinder binder, INetworkRequestMatchCallback callback, int callbackIdentifier) { in registerNetworkRequestMatchCallback()
453 public void startDppAsConfiguratorInitiator(IBinder binder, String enrolleeUri, in startDppAsConfiguratorInitiator()
459 public void startDppAsEnrolleeInitiator(IBinder binder, String configuratorUri, in startDppAsEnrolleeInitiator()
471 IBinder binder, IOnWifiUsabilityStatsListener listener, int listenerIdentifier) { in addOnWifiUsabilityStatsListener()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl132 void acquireMulticastLock(IBinder binder, String tag); in acquireMulticastLock()
142 int startLocalOnlyHotspot(in Messenger messenger, in IBinder binder, String packageName); in startLocalOnlyHotspot()
146 void startWatchLocalOnlyHotspot(in Messenger messenger, in IBinder binder); in startWatchLocalOnlyHotspot()
189 …void registerSoftApCallback(in IBinder binder, in ISoftApCallback callback, int callbackIdentifier… in registerSoftApCallback()
193 …void addOnWifiUsabilityStatsListener(in IBinder binder, in IOnWifiUsabilityStatsListener listener,… in addOnWifiUsabilityStatsListener()
197 …void registerTrafficStateCallback(in IBinder binder, in ITrafficStateCallback callback, int callba… in registerTrafficStateCallback()
201 …void registerNetworkRequestMatchCallback(in IBinder binder, in INetworkRequestMatchCallback callba… in registerNetworkRequestMatchCallback()
213 void startDppAsConfiguratorInitiator(in IBinder binder, in String enrolleeUri, in startDppAsConfiguratorInitiator()
216 void startDppAsEnrolleeInitiator(in IBinder binder, in String configuratorUri, in startDppAsEnrolleeInitiator()

12345678910