Home
last modified time | relevance | path

Searched refs:mBinder (Results 1 – 25 of 112) sorted by relevance

12345

/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanInterface.java183 private final ILowpanInterface mBinder; field in LowpanInterface
201 mBinder = service; in LowpanInterface()
211 return mBinder; in getService()
230 mBinder.form(provision); in form()
250 mBinder.join(provision); in join()
269 mBinder.attach(provision); in attach()
287 mBinder.leave(); in leave()
304 mBinder.startCommissioningSession(beaconInfo); in startCommissioningSession()
306 return new LowpanCommissioningSession(mBinder, beaconInfo, mLooper); in startCommissioningSession()
326 mBinder.reset(); in reset()
[all …]
DLowpanCommissioningSession.java38 private final ILowpanInterface mBinder; field in LowpanCommissioningSession
115 mBinder = binder; in LowpanCommissioningSession()
126 mBinder.addListener(mInternalCallback); in LowpanCommissioningSession()
138 mBinder.removeListener(mInternalCallback); in lockedCleanup()
168 mBinder.sendToCommissioner(packet); in sendToCommissioner()
209 mBinder.closeCommissioningSession(); in close()
DLowpanScanner.java59 private ILowpanInterface mBinder; field in LowpanScanner
68 mBinder = binder; in LowpanScanner()
222 mBinder.startNetScan(map, binderListener); in startNetScan()
239 mBinder.stopNetScan(); in stopNetScan()
303 mBinder.startEnergyScan(map, binderListener); in startEnergyScan()
320 mBinder.stopEnergyScan(); in stopEnergyScan()
/frameworks/base/core/java/android/app/
DJobSchedulerImpl.java34 IJobScheduler mBinder; field in JobSchedulerImpl
37 mBinder = binder; in JobSchedulerImpl()
43 return mBinder.schedule(job); in schedule()
52 return mBinder.enqueue(job, work); in enqueue()
61 return mBinder.scheduleAsPackage(job, packageName, userId, tag); in scheduleAsPackage()
70 mBinder.cancel(jobId); in cancel()
78 mBinder.cancelAll(); in cancelAll()
86 return mBinder.getAllPendingJobs().getList(); in getAllPendingJobs()
95 return mBinder.getPendingJob(jobId); in getPendingJob()
104 return mBinder.getStartedJobs(); in getStartedJobs()
[all …]
/frameworks/base/keystore/java/android/security/
DKeyStore.java162 private final IKeystoreService mBinder; field in KeyStore
168 mBinder = binder; in KeyStore()
200 ret = mBinder.getState(userId); in state()
235 return mBinder.get(key, uid); in get()
261 int error = mBinder.insert(key, value, uid, flags); in insert()
263 mBinder.del(key, uid); in insert()
264 error = mBinder.insert(key, value, uid, flags); in insert()
275 return mBinder.del(key, uid); in delete2()
294 return mBinder.exist(key, uid) == NO_ERROR; in contains()
310 return mBinder.list(prefix, uid); in list()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java63 @Mock IBinder mBinder; field in WifiLockManagerTest
172 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in acquireWifiLockWithValidParamsShouldSucceed()
185 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in secondCallToAcquireWifiLockWithSameBinderShouldFail()
189 WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource)); in secondCallToAcquireWifiLockWithSameBinderShouldFail()
201 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in releaseWifiLockShouldSucceed()
202 releaseWifiLockSuccessful(mBinder); in releaseWifiLockShouldSucceed()
222 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, toKeepWS); in releaseLocksForOneCallerNotImpactOtherCallers()
226 releaseWifiLockSuccessful(mBinder); in releaseLocksForOneCallerNotImpactOtherCallers()
238 assertFalse(mWifiLockManager.releaseWifiLock(mBinder)); in releaseWifiLockWithoutAcquireWillReturnFalse()
253 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in checkForProperValueForGetStrongestLockMode()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DExternalCallbackTrackerTest.java46 @Mock IBinder mBinder; field in ExternalCallbackTrackerTest
64 assertTrue(mExternalCallbackTracker.add(mBinder, mCallback, TEST_CALLBACK_IDENTIFIER)); in testAddCallback()
67 verify(mBinder).linkToDeath(any(), anyInt()); in testAddCallback()
75 doThrow(new RemoteException()).when(mBinder).linkToDeath(any(), anyInt()); in testAddCallbackFailureOnLinkToDeath()
76 assertFalse(mExternalCallbackTracker.add(mBinder, mCallback, TEST_CALLBACK_IDENTIFIER)); in testAddCallbackFailureOnLinkToDeath()
91 verify(mBinder).unlinkToDeath(any(), anyInt()); in testRemoveCallback()
112 assertTrue(mExternalCallbackTracker.add(mBinder, mCallback, TEST_CALLBACK_IDENTIFIER)); in testCallbackRemovalOnDeath()
117 verify(mBinder).linkToDeath(deathCaptor.capture(), anyInt()); in testCallbackRemovalOnDeath()
123 verify(mBinder).unlinkToDeath(any(), anyInt()); in testCallbackRemovalOnDeath()
/frameworks/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java107 binder = getServiceInterface(mBinder); in registerCallback()
134 binder = getServiceInterface(mBinder); in unregisterCallback()
353 getServiceInterface(mBinder).setListener(listener); in openConnection()
364 getServiceInterface(mBinder).setListener(null); in closeConnection()
422 getServiceInterface(mBinder).changeCapabilitiesConfiguration(request, callback); in changeEnabledCapabilities()
430 getServiceInterface(mBinder).queryCapabilityConfiguration(capability, radioTech, in queryEnabledCapabilities()
439 getServiceInterface(mBinder).queryCapabilityStatus()); in queryCapabilityStatus()
447 return getServiceInterface(mBinder).createCallProfile(callServiceType, callType); in createCallProfile()
455 return getServiceInterface(mBinder).createCallSession(profile); in createCallSession()
462 return getServiceInterface(mBinder).getUtInterface(); in getUtInterface()
[all …]
DFeatureConnection.java61 protected IBinder mBinder; field in FeatureConnection
99 mBinder = binder; in setBinder()
101 if (mBinder != null) { in setBinder()
102 mBinder.linkToDeath(mDeathRecipient, 0); in setBinder()
130 if (mBinder != null) { in onRemovedOrDied()
131 mBinder.unlinkToDeath(mDeathRecipient, 0); in onRemovedOrDied()
238 return mIsAvailable && mBinder != null && mBinder.isBinderAlive(); in isBinderAlive()
DRcsFeatureConnection.java229 getServiceInterface(mBinder).setListener(listener); in setRcsFeatureListener()
244 return getServiceInterface(mBinder).queryCapabilityStatus(); in queryCapabilityStatus()
276 getServiceInterface(mBinder).addCapabilityCallback(callback); in addCapabilityCallback()
284 getServiceInterface(mBinder).removeCapabilityCallback(callback); in removeCapabilityCallback()
292 getServiceInterface(mBinder).queryCapabilityConfiguration(capability, radioTech, c); in queryCapabilityConfiguration()
300 getServiceInterface(mBinder).changeCapabilitiesConfiguration(request, callback); in changeEnabledCapabilities()
308 getServiceInterface(mBinder).updateCapabilities(capabilities, taskId); in requestPublication()
315 getServiceInterface(mBinder).requestCapabilities(uris, taskId); in requestCapabilities()
322 if (mBinder != null) { in retrieveFeatureState()
324 return getServiceInterface(mBinder).getFeatureState(); in retrieveFeatureState()
/frameworks/base/core/java/android/net/
DCaptivePortal.java80 private final IBinder mBinder; field in CaptivePortal
95 mBinder = binder; in CaptivePortal()
105 out.writeStrongBinder(mBinder); in writeToParcel()
128 ICaptivePortal.Stub.asInterface(mBinder).appResponse(APP_RETURN_DISMISSED); in reportCaptivePortalDismissed()
142 ICaptivePortal.Stub.asInterface(mBinder).appResponse(APP_RETURN_UNWANTED); in ignoreNetwork()
160 ICaptivePortal.Stub.asInterface(mBinder).appResponse(APP_RETURN_WANTED_AS_IS); in useNetwork()
174 ICaptivePortal.Stub.asInterface(mBinder).appRequest(APP_REQUEST_REEVALUATION_REQUIRED); in reevaluateNetwork()
189 ICaptivePortal.Stub.asInterface(mBinder).logEvent(eventId, packageName); in logEvent()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoveryController.java264 private final ILockSettings mBinder; field in RecoveryController
268 mBinder = binder; in RecoveryController()
278 return mBinder; in getBinder()
337 mBinder.initRecoveryServiceWithSigFile( in initRecoveryService()
366 return mBinder.getKeyChainSnapshot(); in getKeyChainSnapshot()
391 mBinder.setSnapshotCreatedPendingIntent(intent); in setSnapshotCreatedPendingIntent()
413 mBinder.setServerParams(serverParams); in setServerParams()
427 Map<String, Integer> allStatuses = mBinder.getRecoveryStatus(); in getAliases()
451 mBinder.setRecoveryStatus(alias, status); in setRecoveryStatus()
475 Map<String, Integer> allStatuses = mBinder.getRecoveryStatus(); in getRecoveryStatus()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java45 protected IPlayerService mBinder; field in PlayerController
96 if (mBinder != null) { in setArt()
98 mBinder.setIcon(art); in setArt()
120 mBinder.sendRequest(RequestUtils.ACTION_SET_CONTENT, bob.build(), null); in setContent()
130 mBinder.sendRequest(RequestUtils.ACTION_SET_NEXT_CONTENT, bob.build(), null); in setNextContent()
141 if (mBinder != null) { in getSessionToken()
143 return mBinder.getSessionToken(); in getSessionToken()
164 mBinder = null;
177 mBinder = IPlayerService.Stub.asInterface(service);
178 Log.d(TAG, "service is " + service + " binder is " + mBinder);
[all …]
/frameworks/base/core/java/android/content/rollback/
DRollbackManager.java50 private final IRollbackManager mBinder; field in RollbackManager
73 mBinder = binder; in RollbackManager()
88 return mBinder.getAvailableRollbacks().getList(); in getAvailableRollbacks()
117 return mBinder.getRecentlyCommittedRollbacks().getList(); in getRecentlyCommittedRollbacks()
206 mBinder.commitRollback(rollbackId, new ParceledListSlice(causePackages), in commitRollback()
227 mBinder.reloadPersistedData(); in reloadPersistedData()
248 mBinder.expireRollbackForPackage(packageName); in expireRollbackForPackage()
269 mBinder.blockRollbackManager(millis); in blockRollbackManager()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h49 explicit SpAIBinder(AIBinder* binder = nullptr) : mBinder(binder) {} in mBinder() function
72 AIBinder_incStrong(other.mBinder);
73 set(other.mBinder);
81 AIBinder* old = *const_cast<AIBinder* volatile*>(&mBinder); in set()
83 if (old != *const_cast<AIBinder* volatile*>(&mBinder)) { in set()
86 mBinder = binder; in set()
93 AIBinder* get() const { return mBinder; } in get()
107 AIBinder** getR() { return &mBinder; } in getR()
110 AIBinder* mBinder = nullptr;
/frameworks/native/libs/binder/ndk/tests/
Diface.cpp77 explicit BpFoo(AIBinder* binder) : mBinder(binder) {} in BpFoo()
78 virtual ~BpFoo() { AIBinder_decStrong(mBinder); } in ~BpFoo()
84 stat = AIBinder_prepareTransaction(mBinder, &parcelIn); in doubleNumber()
91 stat = AIBinder_transact(mBinder, IFoo::DOFOO, &parcelIn, parcelOut.getR(), 0 /*flags*/); in doubleNumber()
104 stat = AIBinder_prepareTransaction(mBinder, &parcelIn); in die()
107 stat = AIBinder_transact(mBinder, IFoo::DIE, &parcelIn, parcelOut.getR(), 0 /*flags*/); in die()
114 AIBinder* mBinder; member in BpFoo
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkServiceTest.java66 mCellularNetworkService.mBinder, in addNetworkService()
70 INetworkService.Stub mBinder; field in CellularNetworkServiceTest
81 mBinder = mCellularNetworkService.mBinder; in setUp()
82 mBinder.createNetworkServiceProvider(0); in setUp()
133 mBinder.requestNetworkRegistrationInfo(0, domain, mCallback); in testGetNetworkRegistrationInfo()
154 mBinder.requestNetworkRegistrationInfo(0, domain, mCallback); in testGetNetworkRegistrationInfo()
/frameworks/base/media/java/android/media/session/
DMediaSession.java133 private final ISession mBinder; field in MediaSession
194 mBinder = manager.createSession(mCbStub, tag, sessionInfo); in MediaSession()
195 mSessionToken = new Token(mBinder.getController()); in MediaSession()
254 mBinder.setLaunchPendingIntent(pi); in setSessionActivity()
270 mBinder.setMediaButtonReceiver(mbr); in setMediaButtonReceiver()
283 mBinder.setFlags(flags); in setFlags()
305 mBinder.setPlaybackToLocal(attributes); in setPlaybackToLocal()
337 mBinder.setPlaybackToRemote(volumeProvider.getVolumeControl(), in setPlaybackToRemote()
339 mBinder.setCurrentVolume(volumeProvider.getCurrentVolume()); in setPlaybackToRemote()
358 mBinder.setActive(active); in setActive()
[all …]
/frameworks/base/core/java/android/app/backup/
DRestoreSession.java42 IRestoreSession mBinder; field in RestoreSession
63 err = mBinder.getAvailableRestoreSets(obsWrapper, monitorWrapper); in getAvailableRestoreSets()
110 err = mBinder.restoreAll(token, mObserver, monitorWrapper); in restoreAll()
166 err = mBinder.restorePackages(token, mObserver, packages.toArray(new String[] {}), in restorePackages()
285 err = mBinder.restorePackage(packageName, mObserver, monitorWrapper); in restorePackage()
321 mBinder.endRestoreSession(); in endRestoreSession()
325 mBinder = null; in endRestoreSession()
335 mBinder = binder; in RestoreSession()
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProviderBase.java80 private final IBinder mBinder; field in LocationProviderBase
100 mBinder = new Service(); in LocationProviderBase()
112 return mBinder; in getBinder()
133 synchronized (mBinder) { in setEnabled()
157 synchronized (mBinder) { in setProperties()
180 synchronized (mBinder) { in setAdditionalProviderPackages()
312 synchronized (mBinder) { in setLocationProviderManager()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderProxyService.java23 private final Binder mBinder = new Binder(); field in BinderProxyService
28 mBinder.setExtension(new Binder()); in onCreate()
33 return mBinder; in onBind()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLocalOnlyHotspotRequestInfo.java39 private final IBinder mBinder; field in LocalOnlyHotspotRequestInfo
56 mBinder = Preconditions.checkNotNull(binder); in LocalOnlyHotspotRequestInfo()
61 mBinder.linkToDeath(this, 0); in LocalOnlyHotspotRequestInfo()
71 mBinder.unlinkToDeath(this, 0); in unlinkDeathRecipient()
/frameworks/native/libs/binder/ndk/
Dparcel_internal.h33 : mBinder(binder), mParcel(parcel), mOwns(owns) {} in AParcel()
45 const AIBinder* getBinder() { return mBinder; } in getBinder()
50 const AIBinder* mBinder;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DTestImsServiceControllerAdapter.java94 private ImsServiceControllerBinder mBinder; field in TestImsServiceControllerAdapter
97 if (mBinder == null) { in getBinder()
98 mBinder = spy(new ImsServiceControllerBinder()); in getBinder()
101 return mBinder; in getBinder()
/frameworks/base/identity/java/android/security/identity/
DCredstoreIdentityCredential.java59 private ICredential mBinder; field in CredstoreIdentityCredential
67 mBinder = binder; in CredstoreIdentityCredential()
89 byte[] pkcs12 = mBinder.createEphemeralKeyPair(); in ensureEphemeralKeyPair()
128 mBinder.setReaderEphemeralPublicKey(uncompressedForm); in setReaderEphemeralPublicKey()
215 byte[] certsBlob = mBinder.getCredentialKeyCertificateChain(); in getCredentialKeyCertificateChain()
259 mOperationHandle = mBinder.selectAuthKey(mAllowUsingExhaustedKeys); in getCredstoreOperationHandle()
304 resultParcel = mBinder.getEntries( in getEntries()
354 mBinder.setAvailableAuthenticationKeys(keyCount, maxUsesPerKey); in setAvailableAuthenticationKeys()
366 AuthKeyParcel[] authKeyParcels = mBinder.getAuthKeysNeedingCertification(); in getAuthKeysNeedingCertification()
397 mBinder.storeStaticAuthenticationData(authKeyParcel, staticAuthData); in storeStaticAuthenticationData()
[all …]

12345