/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 | 43 static void attach(const sp<IBinder>& binder) { in attach() 46 static bool has(const sp<IBinder>& binder) { in has() 57 wp<ABpBinder> binder; member 165 ABpBinder::ABpBinder(const ::android::sp<::android::IBinder>& binder) in ABpBinder() 189 sp<AIBinder> ABpBinder::lookupOrCreateFromBinder(const ::android::sp<::android::IBinder>& binder) { in lookupOrCreateFromBinder() 219 wp<AIBinder> binder; member 221 AIBinder_Weak* AIBinder_Weak_new(AIBinder* binder) { in AIBinder_Weak_new() 236 sp<AIBinder> binder = weakBinder->binder.promote(); in AIBinder_Weak_promote() local 300 binder_status_t AIBinder_DeathRecipient::linkToDeath(sp<IBinder> binder, void* cookie) { in linkToDeath() 319 binder_status_t AIBinder_DeathRecipient::unlinkToDeath(sp<IBinder> binder, void* cookie) { in unlinkToDeath() [all …]
|
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 | 71 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/ |
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 267 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap() local 278 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap() local 288 sp<IBinder> binder(IInterface::asBinder(const_cast<BpMemoryHeap*>(this))); in assertMapped() local 426 void HeapCache::binderDied(const wp<IBinder>& binder) in binderDied() 432 sp<IMemoryHeap> HeapCache::find_heap(const sp<IBinder>& binder) in find_heap() 458 void HeapCache::free_heap(const sp<IBinder>& binder) { in free_heap() [all …]
|
/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/include_ndk/android/ |
D | binder_interface_utils.h | 173 explicit BpCInterface(const SpAIBinder& binder) : mBinder(binder) {} in BpCInterface() 194 std::shared_ptr<ICInterface> ICInterface::asInterface(AIBinder* binder) { in asInterface() 212 std::shared_ptr<ICInterface> ICInterface::ICInterfaceData::getInterface(AIBinder* binder) { in getInterface() 231 binder_status_t ICInterface::ICInterfaceData::onDump(AIBinder* binder, int fd, const char** args, in onDump() 241 SpAIBinder binder; in asBinder() local
|
/frameworks/native/libs/binder/ndk/test/ |
D | main_client.cpp | 39 AIBinder* binder = AServiceManager_checkService("asdfghkl;"); in TEST() local 44 AIBinder* binder = AServiceManager_checkService(kExistingNonNdkService); in TEST() local 67 AIBinder* binder; in TEST() local 101 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local 115 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local 176 AIBinder* binder = AServiceManager_getService(kExistingNonNdkService); in TEST() local
|
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 addService() local 144 AIBinder* binder = AServiceManager_getService(instance); // maybe nullptr in getService() local
|
/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/base/core/java/android/net/ |
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/services/surfaceflinger/tests/unittests/ |
D | CachingTest.cpp | 36 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/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/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ExternalCallbackTracker.java | 62 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/ |
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/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 262 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/ |
D | IWifiManager.aidl | 132 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()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | PinnedSliceStateTest.java | 145 IBinder binder = mock(IBinder.class); in testListenerDeath() local 150 mPinnedSliceManager.pin(mContext.getPackageName(), FIRST_SPECS, binder); in testListenerDeath() local
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 185 public boolean acquireWifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in acquireWifiLock() 204 public boolean releaseWifiLock(IBinder binder) { in releaseWifiLock() 259 public synchronized void updateWifiLockWorkSource(IBinder binder, WorkSource ws) { in updateWifiLockWorkSource() 513 private synchronized WifiLock removeLock(IBinder binder) { in removeLock() 522 private synchronized boolean releaseLock(IBinder binder) { in releaseLock() 687 private synchronized WifiLock findLockByBinder(IBinder binder) { in findLockByBinder() 794 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in WifiLock()
|
/frameworks/base/core/jni/ |
D | android_os_HwRemoteBinder.cpp | 258 JNIEnv *env, const sp<hardware::IBinder> &binder) { in NewObject() 273 JNIEnv *env, jobject thiz, const sp<hardware::IBinder> &binder) in JHwRemoteBinder() 293 void JHwRemoteBinder::setBinder(const sp<hardware::IBinder> &binder) { in setBinder() 308 sp<JHwRemoteBinder> binder = (JHwRemoteBinder *)nativeContext; in releaseNativeContext() local 335 sp<hardware::IBinder> binder = in JHwRemoteBinder_native_transact() local 362 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_linkToDeath() local 389 sp<hardware::IBinder> binder = context->getBinder(); in JHwRemoteBinder_unlinkToDeath() local
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 89 public static void dumpAsync(IBinder binder, FileDescriptor out, String[] args) in dumpAsync() 102 public static byte[] dumpAsync(@NonNull IBinder binder, @Nullable String... args) in dumpAsync() 155 static void goDump(IBinder binder, FileDescriptor out, in goDump() 160 static void goDump(IBinder binder, FileDescriptor out, in goDump()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 79 IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) { in register() 210 Messenger messenger, IBinder binder, int callingUid, in buildRequestInfo() 238 Messenger messenger, IBinder binder, int callingUid, in RequestInfo() 333 Messenger messenger, IBinder binder, int callingUid, in NetworkUsageRequestInfo() 375 Messenger messenger, IBinder binder, int callingUid, in UserUsageRequestInfo()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | ServiceManagerPermissionTests.java | 40 Binder binder = new Binder(); in testAddService() local
|
/frameworks/av/media/libaudioclient/ |
D | RecordingActivityTracker.cpp | 29 sp<IBinder> binder = defaultServiceManager()->checkService(String16("audio")); in RecordingActivityTracker() local
|