Home
last modified time | relevance | path

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

123456

/frameworks/base/apex/jobscheduler/framework/java/android/app/
DJobSchedulerImpl.java46 IJobScheduler mBinder; field in JobSchedulerImpl
57 mBinder = binder; in JobSchedulerImpl()
62 this(jsi.mContext, jsi.mBinder, namespace); in JobSchedulerImpl()
87 return mBinder.schedule(mNamespace, job); in schedule()
96 return mBinder.enqueue(mNamespace, job, work); in enqueue()
105 return mBinder.scheduleAsPackage(mNamespace, job, packageName, userId, tag); in scheduleAsPackage()
114 mBinder.cancel(mNamespace, jobId); in cancel()
121 mBinder.cancelAllInNamespace(mNamespace); in cancelAll()
128 mBinder.cancelAll(); in cancelInAllNamespaces()
135 return mBinder.getAllPendingJobsInNamespace(mNamespace).getList(); in getAllPendingJobs()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java162 binder = getServiceInterface(mBinder); in registerCallback()
192 binder = getServiceInterface(mBinder); in unregisterCallback()
352 getServiceInterface(mBinder).setListener(mmTelListener); in openConnection()
368 getServiceInterface(mBinder).setListener(null); in closeConnection()
445 getServiceInterface(mBinder).setMediaQualityThreshold(sessionType, threshold); in setMediaThreshold()
453 return getServiceInterface(mBinder).queryMediaQualityStatus(sessionType); in queryMediaQualityStatus()
461 getServiceInterface(mBinder).changeCapabilitiesConfiguration(request, callback); in changeEnabledCapabilities()
469 getServiceInterface(mBinder).queryCapabilityConfiguration(capability, radioTech, in queryEnabledCapabilities()
478 getServiceInterface(mBinder).queryCapabilityStatus()); in queryCapabilityStatus()
486 return getServiceInterface(mBinder).createCallProfile(callServiceType, callType); in createCallProfile()
[all …]
DFeatureConnection.java48 protected IBinder mBinder; field in FeatureConnection
80 mBinder = binder; in setBinder()
82 if (mBinder != null) { in setBinder()
83 mBinder.linkToDeath(mDeathRecipient, 0); in setBinder()
87 mBinder = null; in setBinder()
112 if (mBinder != null) { in onRemovedOrDied()
113 mBinder.unlinkToDeath(mDeathRecipient, 0); in onRemovedOrDied()
172 return mIsAvailable && mBinder != null && mBinder.isBinderAlive(); in isBinderAlive()
DRcsFeatureConnection.java146 getServiceInterface(mBinder).setCapabilityExchangeEventListener(listener); in setCapabilityExchangeEventListener()
170 return getServiceInterface(mBinder).queryCapabilityStatus(); in queryCapabilityStatus()
202 getServiceInterface(mBinder).addCapabilityCallback(callback); in addCapabilityCallback()
210 getServiceInterface(mBinder).removeCapabilityCallback(callback); in removeCapabilityCallback()
218 getServiceInterface(mBinder).queryCapabilityConfiguration(capability, radioTech, c); in queryCapabilityConfiguration()
226 getServiceInterface(mBinder).changeCapabilitiesConfiguration(request, callback); in changeEnabledCapabilities()
234 getServiceInterface(mBinder).publishCapabilities(pidfXml, responseCallback); in requestPublication()
242 getServiceInterface(mBinder).subscribeForCapabilities(uris, c); in requestCapabilities()
250 getServiceInterface(mBinder).sendOptionsCapabilityRequest(contactUri, myCapabilities, in sendOptionsCapabilityRequest()
258 if (mBinder != null) { in retrieveFeatureState()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DServiceHolderTest.java68 @Mock private IBinder mBinder; field in ServiceHolderTest
80 if (binder == mBinder) { in setUp()
88 when(mAudioPolicyService.asBinder()).thenReturn(mBinder); in setUp()
100 verify(mBinder).linkToDeath(any(), anyInt()); in testServiceSuccessfullyPopulated_whenCallback()
107 .thenReturn(mBinder); in testCheckServiceCalled_whenUncached()
119 .thenReturn(mBinder); in testWaitForServiceCalled_whenUncached()
143 .thenReturn(mBinder); in testStartTaskCalled_onStart()
176 mServiceHolder.binderDied(mBinder); in testBinderDied_clearsServiceAndUnlinks()
178 verify(mBinder).unlinkToDeath(any(), anyInt()); in testBinderDied_clearsServiceAndUnlinks()
191 mServiceHolder.binderDied(mBinder); in testBinderDied_callsDeathTasks()
[all …]
/frameworks/base/core/java/android/content/rollback/
DRollbackManager.java49 private final IRollbackManager mBinder; field in RollbackManager
72 mBinder = binder; in RollbackManager()
87 return mBinder.getAvailableRollbacks().getList(); in getAvailableRollbacks()
116 return mBinder.getRecentlyCommittedRollbacks().getList(); in getRecentlyCommittedRollbacks()
205 mBinder.commitRollback(rollbackId, new ParceledListSlice(causePackages), in commitRollback()
230 mBinder.reloadPersistedData(); in reloadPersistedData()
251 mBinder.expireRollbackForPackage(packageName); in expireRollbackForPackage()
272 mBinder.blockRollbackManager(millis); in blockRollbackManager()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoveryController.java273 private final ILockSettings mBinder; field in RecoveryController
276 mBinder = binder; in RecoveryController()
285 return mBinder; in getBinder()
344 mBinder.initRecoveryServiceWithSigFile( in initRecoveryService()
373 return mBinder.getKeyChainSnapshot(); in getKeyChainSnapshot()
398 mBinder.setSnapshotCreatedPendingIntent(intent); in setSnapshotCreatedPendingIntent()
420 mBinder.setServerParams(serverParams); in setServerParams()
434 Map<String, Integer> allStatuses = mBinder.getRecoveryStatus(); in getAliases()
458 mBinder.setRecoveryStatus(alias, status); in setRecoveryStatus()
482 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/services/core/java/com/android/server/locksettings/
DResumeOnRebootServiceProvider.java120 private IResumeOnRebootService mBinder; field in ResumeOnRebootServiceProvider.ResumeOnRebootServiceConnection
135 mBinder = null; in unbindService()
140 if (mBinder == null || !mBinder.asBinder().isBinderAlive()) { in bindToService()
147 mBinder = IResumeOnRebootService.Stub.asInterface(service); in bindToService()
153 mBinder = null; in bindToService()
173 if (mBinder == null || !mBinder.asBinder().isBinderAlive()) { in wrapBlob()
181 mBinder.wrapSecret(unwrappedBlob, lifeTimeInMillis, new RemoteCallback(resultCallback)); in wrapBlob()
193 if (mBinder == null || !mBinder.asBinder().isBinderAlive()) { in unwrap()
201 mBinder.unwrap(wrappedBlob, new RemoteCallback(resultCallback)); in unwrap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DRowContentBindStage.java39 private final NotificationRowContentBinder mBinder; field in RowContentBindStage
48 mBinder = binder; in RowContentBindStage()
73 mBinder.unbindContent(entry, row, contentToUnbind); in executeStage()
94 mBinder.cancelBind(entry, row); in executeStage()
95 mBinder.bindContent(entry, row, contentToBind, bindParams, forceInflate, inflationCallback); in executeStage()
102 final boolean cancelledBind = mBinder.cancelBind(entry, row); in abortStage()
/frameworks/base/location/lib/java/com/android/location/provider/
DSignificantPlaceProvider.java40 private final IBinder mBinder; field in SignificantPlaceProvider
49 mBinder = new Service(); in SignificantPlaceProvider()
54 return mBinder; in getBinder()
59 synchronized (mBinder) { in setInSignificantPlace()
90 synchronized (mBinder) { in setSignificantPlaceProviderManager()
/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/native/libs/binder/ndk/tests/
Diface.cpp83 explicit BpFoo(AIBinder* binder) : mBinder(binder) {} in BpFoo()
84 virtual ~BpFoo() { AIBinder_decStrong(mBinder); } in ~BpFoo()
90 stat = AIBinder_prepareTransaction(mBinder, &parcelIn); in doubleNumber()
97 stat = AIBinder_transact(mBinder, IFoo::DOFOO, &parcelIn, parcelOut.getR(), 0 /*flags*/); in doubleNumber()
110 stat = AIBinder_prepareTransaction(mBinder, &parcelIn); in die()
113 stat = AIBinder_transact(mBinder, IFoo::DIE, &parcelIn, parcelOut.getR(), 0 /*flags*/); in die()
120 AIBinder* mBinder; member in BpFoo
/frameworks/base/core/java/android/app/backup/
DRestoreSession.java41 IRestoreSession mBinder; field in RestoreSession
62 err = mBinder.getAvailableRestoreSets(obsWrapper, monitorWrapper); in getAvailableRestoreSets()
109 err = mBinder.restoreAll(token, mObserver, monitorWrapper); in restoreAll()
165 err = mBinder.restorePackages(token, mObserver, packages.toArray(new String[] {}), in restorePackages()
284 err = mBinder.restorePackage(packageName, mObserver, monitorWrapper); in restorePackage()
320 mBinder.endRestoreSession(); in endRestoreSession()
324 mBinder = null; in endRestoreSession()
334 mBinder = binder; in RestoreSession()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DRowContentBindStageTest.java61 @Mock private NotificationRowContentBinder mBinder; field in RowContentBindStageTest
70 mBinder, in setUp()
85 verify(mBinder).bindContent( in testRequireContentViews()
106 verify(mBinder).unbindContent(eq(mEntry), any(), eq(flags)); in testFreeContentViews()
183 verify(mBinder).bindContent( in testRebindAllContentViews()
205 verify(mBinder).bindContent( in testSetUseLowPriority()
229 verify(mBinder).bindContent( in testSetUseIncreasedHeight()
253 verify(mBinder).bindContent( in testSetUseIncreasedHeadsUpHeight()
276 verify(mBinder).bindContent( in testSetNeedsReinflation()
298 verify(mBinder).bindContent( in testSupersedesPreviousContentViews()
[all …]
/frameworks/base/media/java/android/media/session/
DMediaSession.java140 private final ISession mBinder; field in MediaSession
206 mBinder = manager.createSession(mCbStub, tag, sessionInfo); in MediaSession()
207 mSessionToken = new Token(Process.myUid(), mBinder.getController()); in MediaSession()
263 mBinder.setLaunchPendingIntent(pi); in setSessionActivity()
294 mBinder.setMediaButtonReceiver(mbr); in setMediaButtonReceiver()
324 mBinder.setMediaButtonBroadcastReceiver(broadcastReceiver); in setMediaButtonBroadcastReceiver()
337 mBinder.setFlags(flags); in setFlags()
359 mBinder.setPlaybackToLocal(attributes); in setPlaybackToLocal()
391 mBinder.setPlaybackToRemote(volumeProvider.getVolumeControl(), in setPlaybackToRemote()
393 mBinder.setCurrentVolume(volumeProvider.getCurrentVolume()); in setPlaybackToRemote()
[all …]
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h51 SpAIBinder() : mBinder(nullptr) {} in SpAIBinder()
56 explicit SpAIBinder(AIBinder* binder) : mBinder(binder) {} in SpAIBinder()
82 AIBinder_incStrong(other.mBinder);
83 set(other.mBinder);
91 AIBinder* old = *const_cast<AIBinder* volatile*>(&mBinder); in set()
93 if (old != *const_cast<AIBinder* volatile*>(&mBinder)) { in set()
96 mBinder = binder; in set()
103 AIBinder* get() const { return mBinder; } in get()
117 AIBinder** getR() { return &mBinder; } in getR()
120 AIBinder* mBinder = nullptr;
/frameworks/base/identity/java/android/security/identity/
DCredstorePresentationSession.java45 private ISession mBinder; field in CredstorePresentationSession
61 mBinder = binder; in CredstorePresentationSession()
78 byte[] pkcs12 = mBinder.getEphemeralKeyPair(); in ensureEphemeralKeyPair()
116 mBinder.setReaderEphemeralPublicKey(uncompressedForm); in setReaderEphemeralPublicKey()
128 mBinder.setSessionTranscript(sessionTranscript); in setSessionTranscript()
150 mBinder.getCredentialForPresentation(credentialName); in getCredentialData()
201 mOperationHandle = mBinder.getAuthChallenge(); in getCredstoreOperationHandle()
DCredstoreIdentityCredential.java61 private ICredential mBinder; field in CredstoreIdentityCredential
73 mBinder = binder; in CredstoreIdentityCredential()
97 byte[] pkcs12 = mBinder.createEphemeralKeyPair(); in ensureEphemeralKeyPair()
136 mBinder.setReaderEphemeralPublicKey(uncompressedForm); in setReaderEphemeralPublicKey()
223 byte[] certsBlob = mBinder.getCredentialKeyCertificateChain(); in getCredentialKeyCertificateChain()
279 mOperationHandle = mBinder.selectAuthKey(mAllowUsingExhaustedKeys, in getCredstoreOperationHandle()
326 resultParcel = mBinder.getEntries( in getEntries()
390 mBinder.setAvailableAuthenticationKeys(keyCount, maxUsesPerKey, minValidTimeMillis); in setAvailableAuthenticationKeys()
402 AuthKeyParcel[] authKeyParcels = mBinder.getAuthKeysNeedingCertification(); in getAuthKeysNeedingCertification()
433 mBinder.storeStaticAuthenticationData(authKeyParcel, staticAuthData); in storeStaticAuthenticationData()
[all …]
/frameworks/base/telephony/java/android/telephony/satellite/stub/
DSatelliteGatewayService.java56 private final IBinder mBinder = new ISatelliteGateway.Stub() {}; field in SatelliteGatewayService
65 return mBinder; in onBind()
75 return mBinder; in getBinder()
/frameworks/native/libs/binder/ndk/
Dparcel_internal.h32 : mBinder(binder), mParcel(parcel), mOwns(owns) {} in AParcel()
44 const AIBinder* getBinder() { return mBinder; } in getBinder()
49 const AIBinder* mBinder;
/frameworks/base/tests/EnforcePermission/service-app/src/android/tests/enforcepermission/service/
DNestedTestService.java30 private INested.Stub mBinder; field in NestedTestService
34 mBinder = new Stub(this); in onCreate()
40 return mBinder; in onBind()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DFeatureConnectionTest.java84 @Mock IBinder mBinder; field in FeatureConnectionTest
100 mTestFeatureConnection.setBinder(mBinder); in setUp()
114 when(mBinder.isBinderAlive()).thenReturn(true); in testServiceIsReady()
131 when(mBinder.isBinderAlive()).thenReturn(false); in testServiceIsNotReady()
141 when(mBinder.isBinderAlive()).thenReturn(true); in testServiceIsNotReady()
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DServiceWatcherImpl.java181 private volatile @Nullable IBinder mBinder; field in ServiceWatcherImpl.MyServiceConnection
195 return mBinder != null; in isConnected()
251 if (mBinder == null) { in runOnBinder()
257 operation.run(mBinder); in runOnBinder()
269 Preconditions.checkState(mBinder == null); in onServiceConnected()
273 mBinder = binder; in onServiceConnected()
290 if (mBinder == null) { in onServiceDisconnected()
296 mBinder = null; in onServiceDisconnected()
/frameworks/base/keystore/java/android/security/
DKeyStore2.java96 private IKeystoreService mBinder; field in KeyStore2
134 mBinder = null; in KeyStore2()
149 if (mBinder == null || retryLookup) { in getService()
150 mBinder = IKeystoreService.Stub.asInterface(ServiceManager in getService()
153 if (mBinder == null) { in getService()
158 Binder.allowBlocking(mBinder.asBinder()); in getService()
159 return mBinder; in getService()

123456