| /frameworks/native/libs/binder/ |
| D | Stability.cpp | 24 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() 51 status_t Stability::set(IBinder* binder, int32_t stability, bool log) { in set() 94 Stability::Level Stability::get(IBinder* binder) { in get()
|
| D | IMemory.cpp | 96 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/ |
| D | BinderCallsStatsTest.java | 61 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/ |
| D | ibinder.cpp | 47 static void attach(const sp<IBinder>& binder) { in attach() 50 static bool has(const sp<IBinder>& binder) { in has() 61 wp<ABpBinder> binder; member 208 ABpBinder::ABpBinder(const ::android::sp<::android::IBinder>& binder) in ABpBinder() 232 sp<AIBinder> ABpBinder::lookupOrCreateFromBinder(const ::android::sp<::android::IBinder>& binder) { in lookupOrCreateFromBinder() 262 wp<AIBinder> binder; member 264 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new() 279 sp<AIBinder> binder = weakBinder->binder.promote(); in AIBinder_Weak_promote() local 350 binder_status_t AIBinder_DeathRecipient::linkToDeath(sp<IBinder> binder, void* cookie) { in linkToDeath() 369 binder_status_t AIBinder_DeathRecipient::unlinkToDeath(sp<IBinder> binder, void* cookie) { in unlinkToDeath() [all …]
|
| D | stability.cpp | 35 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()
|
| D | service_manager.cpp | 31 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
|
| 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()
|
| /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
| D | WifiMulticastLockManagerTest.java | 73 IBinder binder = mock(IBinder.class); in oneLock() local 97 IBinder binder = mock(IBinder.class); in oneLock_wrongName() local 116 IBinder binder = mock(IBinder.class); in multipleLocksInOrder() local 150 IBinder binder = mock(IBinder.class); in multipleLocksOutOfOrder() local
|
| /frameworks/base/core/java/android/net/ |
| D | TestNetworkManager.java | 74 @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()
|
| D | IIpSecService.aidl | 36 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/native/libs/binder/tests/ |
| D | binderStabilityTest.cpp | 49 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
|
| D | IBinderStabilityTest.aidl | 22 void sendBinder(IBinder binder); in sendBinder() 26 void sendAndCallBinder(IBinder binder); in sendAndCallBinder()
|
| /frameworks/av/media/libmediaplayerservice/nuplayer/ |
| D | AWakeLock.cpp | 39 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/test/ |
| D | iface.cpp | 45 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
|
| D | libbinder_ndk_unit_test.cpp | 117 AIBinder* binder = AServiceManager_checkService("asdfghkl;"); in TEST() local 122 AIBinder* binder = AServiceManager_checkService(kExistingNonNdkService); in TEST() local 132 AIBinder* binder = foo->getBinder(); in TEST() local 165 AIBinder* binder; in TEST() local 199 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local 213 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local 274 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local 311 ndk::SpAIBinder binder(AServiceManager_getService(kBinderNdkUnitTestService)); in TEST() local
|
| /frameworks/native/libs/binder/ndk/include_ndk/android/ |
| D | binder_interface_utils.h | 197 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/native/libs/binder/ndk/include_platform/android/ |
| D | binder_stability.h | 44 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability() 59 static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { in AIBinder_markCompilationUnitStability()
|
| /frameworks/base/wifi/java/android/net/wifi/p2p/ |
| D | IWifiP2pManager.aidl | 28 Messenger getMessenger(in IBinder binder); in getMessenger() 30 oneway void close(in IBinder binder); in close()
|
| /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/native/services/surfaceflinger/tests/unittests/ |
| D | CachingTest.cpp | 40 sp<IBinder> binder = new BBinder(); in TEST_F() local 48 sp<IBinder> binder = new BBinder(); in TEST_F() local 69 sp<IBinder> binder = new BBinder(); in TEST_F() local
|
| /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
| D | ExternalCallbackTracker.java | 63 private ExternalCallbackHolder(@NonNull IBinder binder, @NonNull T callbackObject, in ExternalCallbackHolder() 76 public static <T> ExternalCallbackHolder<T> createAndLinkToDeath( in createAndLinkToDeath() 126 public boolean add(@NonNull IBinder binder, @NonNull T callbackObject, int callbackIdentifier) { in add()
|
| /frameworks/av/media/utils/ |
| D | SchedulingPolicyService.cpp | 40 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority() local 69 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestCpusetBoost() local
|
| /frameworks/base/services/core/java/com/android/server/location/ |
| D | LocationManagerServiceUtils.java | 87 public boolean linkToListenerDeathNotificationLocked(IBinder binder) { in linkToListenerDeathNotificationLocked() 99 public void unlinkFromListenerDeathNotificationLocked(IBinder binder) { in unlinkFromListenerDeathNotificationLocked()
|
| /frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
| D | PinnedSliceStateTest.java | 148 IBinder binder = mock(IBinder.class); in testListenerDeath() local 153 mPinnedSliceManager.pin(mContext.getPackageName(), FIRST_SPECS, binder); in testListenerDeath() local
|