Home
last modified time | relevance | path

Searched refs:mRemoteService (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionController.java61 private ISuggestionService mRemoteService; field in SuggestionController
91 if (mRemoteService != null) { in stop()
92 mRemoteService = null; in stop()
107 return mRemoteService.getSuggestions(); in getSuggestions()
123 mRemoteService.dismissSuggestion(suggestion); in dismissSuggestions()
136 mRemoteService.launchSuggestion(suggestion); in launchSuggestion()
146 return mRemoteService != null; in isReady()
160 mRemoteService = ISuggestionService.Stub.asInterface(service); in createServiceConnection() field in SuggestionController
169 mRemoteService = null; in createServiceConnection()
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerPerUserService.java41 private RemoteSystemCaptionsManagerService mRemoteService; field in SystemCaptionsManagerPerUserService
81 if (mRemoteService != null) { in destroyLocked()
82 mRemoteService.destroy(); in destroyLocked()
83 mRemoteService = null; in destroyLocked()
90 if (mRemoteService == null) { in getRemoteServiceLocked()
100 mRemoteService = new RemoteSystemCaptionsManagerService( in getRemoteServiceLocked()
108 mRemoteService.initialize(); in getRemoteServiceLocked()
111 return mRemoteService; in getRemoteServiceLocked()
/frameworks/base/services/core/java/com/android/server/
DExplicitHealthCheckController.java82 @GuardedBy("mLock") @Nullable private IExplicitHealthCheckService mRemoteService; field in ExplicitHealthCheckController
205 mRemoteService.request(packageName); in request()
225 mRemoteService.cancel(packageName); in cancel()
246 mRemoteService.getSupportedPackages(new RemoteCallback(result -> { in getSupportedPackages()
273 mRemoteService.getRequestedPackages(new RemoteCallback(result -> { in getRequestedPackages()
292 if (!mEnabled || mConnection != null || mRemoteService != null) { in bindService()
295 } else if (mRemoteService != null) { in bindService()
324 mRemoteService = null; in bindService()
353 if (mRemoteService != null) { in unbindService()
355 mRemoteService = null; in unbindService()
[all …]
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsPerUserService.java55 private RemoteContentSuggestionsService mRemoteService; field in ContentSuggestionsPerUserService
147 if (mRemoteService != null) { in updateRemoteServiceLocked()
148 mRemoteService.destroy(); in updateRemoteServiceLocked()
149 mRemoteService = null; in updateRemoteServiceLocked()
157 if (mRemoteService == null) { in ensureRemoteServiceLocked()
167 mRemoteService = new RemoteContentSuggestionsService(getContext(), in ensureRemoteServiceLocked()
179 return mRemoteService; in ensureRemoteServiceLocked()
/frameworks/base/services/core/java/com/android/server/role/
DFinancialSmsManager.java58 private IFinancialSmsService mRemoteService; field in FinancialSmsManager
118 if (mRemoteService != null) { in connectAndRun()
120 command.run(mRemoteService); in connectAndRun()
140 mRemoteService = IFinancialSmsService.Stub.asInterface(service); in connectAndRun()
146 queuedCommand.run(mRemoteService); in connectAndRun()
160 mRemoteService = null; in connectAndRun()
167 mRemoteService = null; in connectAndRun()
174 mRemoteService = null; in connectAndRun()
/frameworks/base/core/java/android/app/role/
DRoleControllerManager.java67 private final RemoteService mRemoteService; field in RoleControllerManager
101 mRemoteService = remoteService; in RoleControllerManager()
123 mRemoteService.scheduleRequest(new GrantDefaultRolesRequest(mRemoteService, executor, in grantDefaultRoles()
132 mRemoteService.scheduleRequest(new OnAddRoleHolderRequest(mRemoteService, roleName, in onAddRoleHolder()
141 mRemoteService.scheduleRequest(new OnRemoveRoleHolderRequest(mRemoteService, roleName, in onRemoveRoleHolder()
150 mRemoteService.scheduleRequest(new OnClearRoleHoldersRequest(mRemoteService, roleName, in onClearRoleHolders()
160 mRemoteService.scheduleRequest(new IsApplicationQualifiedForRoleRequest(mRemoteService, in isApplicationQualifiedForRole()
170 mRemoteService.scheduleRequest(new IsRoleVisibleRequest(mRemoteService, roleName, executor, in isRoleVisible()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureServerSession.java110 if (mService.mRemoteService == null) { in notifySessionStartedLocked()
114 mService.mRemoteService.onSessionStarted(mContentCaptureContext, mId, mUid, clientReceiver, in notifySessionStartedLocked()
142 if (mService.mRemoteService == null) { in sendActivitySnapshotLocked()
146 mService.mRemoteService.onActivitySnapshotRequest(mId, snapshotData); in sendActivitySnapshotLocked()
179 if (mService.mRemoteService == null) { in destroyLocked()
183 mService.mRemoteService.onSessionFinished(mId); in destroyLocked()
192 final RemoteContentCaptureService remoteService = mService.mRemoteService; in resurrectLocked()
DContentCapturePerUserService.java98 RemoteContentCaptureService mRemoteService; field in ContentCapturePerUserService
133 if (mRemoteService != null) { in updateRemoteServiceLocked()
135 mRemoteService.destroy(); in updateRemoteServiceLocked()
136 mRemoteService = null; in updateRemoteServiceLocked()
153 mRemoteService = new RemoteContentCaptureService(mMaster.getContext(), in updateRemoteServiceLocked()
200 if (mRemoteService == null) { in onConnected()
214 Slog.d(TAG, "Ressurrecting remote service (" + mRemoteService + ") on " in resurrectSessionsLocked()
320 if (mRemoteService == null) { in startSessionLocked()
324 if (mRemoteService == null) { in startSessionLocked()
338 mRemoteService.ensureBoundLocked(); in startSessionLocked()
[all …]
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java217 private final @NonNull RemoteService mRemoteService; field in PermissionControllerManager
243 mRemoteService = remoteService; in PermissionControllerManager()
278 mRemoteService.scheduleRequest(new PendingRevokeRuntimePermissionRequest(mRemoteService, in revokeRuntimePermissions()
311 mRemoteService.scheduleRequest(new PendingSetRuntimePermissionGrantStateByDeviceAdmin( in setRuntimePermissionGrantStateByDeviceAdmin()
312 mRemoteService, callerPackageName, packageName, permission, grantState, executor, in setRuntimePermissionGrantStateByDeviceAdmin()
333 mRemoteService.scheduleRequest(new PendingGetRuntimePermissionBackup(mRemoteService, in getRuntimePermissionBackup()
351 mRemoteService.scheduleAsyncRequest( in restoreRuntimePermissionBackup()
352 new PendingRestoreRuntimePermissionBackup(mRemoteService, backup, user)); in restoreRuntimePermissionBackup()
375 mRemoteService.scheduleRequest( in restoreDelayedRuntimePermissionBackup()
376 new PendingRestoreDelayedRuntimePermissionBackup(mRemoteService, packageName, in restoreDelayedRuntimePermissionBackup()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DFieldClassificationStrategy.java73 private IAutofillFieldClassificationService mRemoteService; field in FieldClassificationStrategy
137 if (mRemoteService != null) { in connectAndRun()
140 command.run(mRemoteService); in connectAndRun()
164 mRemoteService = IAutofillFieldClassificationService.Stub in connectAndRun()
173 queuedCommand.run(mRemoteService); in connectAndRun()
188 mRemoteService = null; in connectAndRun()
196 mRemoteService = null; in connectAndRun()
204 mRemoteService = null; in connectAndRun()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java53 private RemoteAppPredictionService mRemoteService; field in AppPredictionPerUserService
95 mRemoteService = null; in updateLocked()
232 if (mRemoteService == null) { in onConnectedStateChanged()
261 Slog.d(TAG, "Resurrecting remote service (" + mRemoteService + ") on " in resurrectSessionsLocked()
282 if (mRemoteService == null) { in getRemoteServiceLocked()
292 mRemoteService = new RemoteAppPredictionService(getContext(), in getRemoteServiceLocked()
297 return mRemoteService; in getRemoteServiceLocked()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java92 private ICacheQuotaService mRemoteService; field in CacheQuotaStrategy
135 mRemoteService = ICacheQuotaService.Stub.asInterface(service); in createServiceConnection()
140 mRemoteService.computeCacheQuotaHints(remoteCallback, requests); in createServiceConnection()
156 mRemoteService = null; in createServiceConnection()
DDeviceStorageMonitorService.java293 publishBinderService(SERVICE, mRemoteService); in onStart()
321 private final Binder mRemoteService = new Binder() { field in DeviceStorageMonitorService
454 shell.exec(mRemoteService, null, fd, null, args, null, new ResultReceiver(null)); in dumpImpl()