Home
last modified time | relevance | path

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

/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationPerUserService.java52 private RemoteWallpaperEffectsGenerationService mRemoteService; field in WallpaperEffectsGenerationPerUserService
161 if (mRemoteService != null) { in updateRemoteServiceLocked()
162 mRemoteService.destroy(); in updateRemoteServiceLocked()
163 mRemoteService = null; in updateRemoteServiceLocked()
187 if (mRemoteService == null) { in destroyAndRebindRemoteService()
194 mRemoteService.destroy(); in destroyAndRebindRemoteService()
195 mRemoteService = null; in destroyAndRebindRemoteService()
196 mRemoteService = ensureRemoteServiceLocked(); in destroyAndRebindRemoteService()
197 if (mRemoteService != null) { in destroyAndRebindRemoteService()
201 mRemoteService.reconnect(); in destroyAndRebindRemoteService()
[all …]
/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/smartspace/java/com/android/server/smartspace/
DSmartspacePerUserService.java55 private RemoteSmartspaceService mRemoteService; field in SmartspacePerUserService
209 if (mRemoteService == null) { in onConnectedStateChanged()
233 if (mRemoteService != null) { in updateRemoteServiceLocked()
234 mRemoteService.destroy(); in updateRemoteServiceLocked()
235 mRemoteService = null; in updateRemoteServiceLocked()
254 if (mRemoteService == null) { in destroyAndRebindRemoteService()
261 mRemoteService.destroy(); in destroyAndRebindRemoteService()
262 mRemoteService = null; in destroyAndRebindRemoteService()
267 mRemoteService = getRemoteServiceLocked(); in destroyAndRebindRemoteService()
268 if (mRemoteService != null) { in destroyAndRebindRemoteService()
[all …]
/frameworks/base/services/core/java/com/android/server/wearable/
DWearableSensingManagerPerUserService.java76 RemoteWearableSensingService mRemoteService; field in WearableSensingManagerPerUserService
103 if (mRemoteService != null) { in destroyLocked()
105 mRemoteService.unbind(); in destroyLocked()
106 mRemoteService = null; in destroyLocked()
118 if (mRemoteService == null) { in ensureRemoteServiceInitiated()
119 mRemoteService = new RemoteWearableSensingService( in ensureRemoteServiceInitiated()
197 if (mRemoteService != null) { in dumpLocked()
198 mRemoteService.dump("", new IndentingPrintWriter(pw, " ")); in dumpLocked()
239 mRemoteService.provideSecureConnection( in onProvideConnection()
253 mRemoteService in onProvideConnection()
[all …]
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiPerUserService.java54 private RemoteSearchUiService mRemoteService; field in SearchUiPerUserService
215 if (mRemoteService == null) { in onConnectedStateChanged()
239 if (mRemoteService != null) { in updateRemoteServiceLocked()
240 mRemoteService.destroy(); in updateRemoteServiceLocked()
241 mRemoteService = null; in updateRemoteServiceLocked()
260 if (mRemoteService == null) { in destroyAndRebindRemoteService()
267 mRemoteService.destroy(); in destroyAndRebindRemoteService()
268 mRemoteService = null; in destroyAndRebindRemoteService()
273 mRemoteService = getRemoteServiceLocked(); in destroyAndRebindRemoteService()
274 if (mRemoteService != null) { in destroyAndRebindRemoteService()
[all …]
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerPerUserService.java66 RemoteRotationResolverService mRemoteService; field in RotationResolverManagerPerUserService
90 if (mRemoteService != null) { in destroyLocked()
91 mRemoteService.unbind(); in destroyLocked()
92 mRemoteService = null; in destroyLocked()
157 mRemoteService.resolveRotation(mCurrentRequest); in resolveRotationLocked()
163 if (mRemoteService == null) { in ensureRemoteServiceInitiated()
164 mRemoteService = new RemoteRotationResolverService(getContext(), mComponentName, in ensureRemoteServiceInitiated()
230 if (mRemoteService != null) { in dumpInternal()
231 mRemoteService.dump("", ipw); in dumpInternal()
/frameworks/base/services/core/java/com/android/server/
DExplicitHealthCheckController.java83 @GuardedBy("mLock") @Nullable private IExplicitHealthCheckService mRemoteService; field in ExplicitHealthCheckController
206 mRemoteService.request(packageName); in request()
226 mRemoteService.cancel(packageName); in cancel()
247 mRemoteService.getSupportedPackages(new RemoteCallback(result -> { in getSupportedPackages()
274 mRemoteService.getRequestedPackages(new RemoteCallback(result -> { in getRequestedPackages()
293 if (!mEnabled || mConnection != null || mRemoteService != null) { in bindService()
296 } else if (mRemoteService != null) { in bindService()
325 mRemoteService = null; in bindService()
354 if (mRemoteService != null) { in unbindService()
356 mRemoteService = null; in unbindService()
[all …]
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java76 private RemoteMusicRecognitionService mRemoteService; field in MusicRecognitionManagerPerUserService
127 if (mRemoteService == null) { in ensureRemoteServiceLocked()
137 mRemoteService = new RemoteMusicRecognitionService(getContext(), in ensureRemoteServiceLocked()
146 mRemoteService.getComponentName(), PackageManager.GET_META_DATA); in ensureRemoteServiceLocked()
147 mAttributionTagFuture = mRemoteService.getAttributionTag(); in ensureRemoteServiceLocked()
148 Slog.i(TAG, "Remote service bound: " + mRemoteService.getComponentName()); in ensureRemoteServiceLocked()
154 return mRemoteService; in ensureRemoteServiceLocked()
167 mRemoteService = ensureRemoteServiceLocked(clientCallback); in beginRecognitionLocked()
168 if (mRemoteService == null) { in beginRecognitionLocked()
197 mRemoteService.onAudioStreamStarted(clientRead, recognitionRequest.getAudioFormat()); in beginRecognitionLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DDefaultAmbientContextManagerPerUserService.java40 DefaultRemoteAmbientContextDetectionService mRemoteService; field in DefaultAmbientContextManagerPerUserService
61 if (mRemoteService == null) { in ensureRemoteServiceInitiated()
62 mRemoteService = new DefaultRemoteAmbientContextDetectionService( in ensureRemoteServiceInitiated()
80 return mRemoteService; in getRemoteService()
110 mRemoteService = null; in clearRemoteService()
DWearableAmbientContextManagerPerUserService.java40 RemoteWearableSensingService mRemoteService; field in WearableAmbientContextManagerPerUserService
60 if (mRemoteService == null) { in ensureRemoteServiceInitiated()
61 mRemoteService = new RemoteWearableSensingService( in ensureRemoteServiceInitiated()
80 return mRemoteService; in getRemoteService()
110 mRemoteService = null; in clearRemoteService()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsPerUserService.java53 private RemoteContentSuggestionsService mRemoteService; field in ContentSuggestionsPerUserService
140 if (mRemoteService != null) { in updateRemoteServiceLocked()
141 mRemoteService.destroy(); in updateRemoteServiceLocked()
142 mRemoteService = null; in updateRemoteServiceLocked()
150 if (mRemoteService == null) { in ensureRemoteServiceLocked()
160 mRemoteService = new RemoteContentSuggestionsService(getContext(), in ensureRemoteServiceLocked()
172 return mRemoteService; in ensureRemoteServiceLocked()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java65 private RemoteAppPredictionService mRemoteService; field in AppPredictionPerUserService
107 mRemoteService = null; in updateLocked()
270 if (mRemoteService == null) { in onConnectedStateChanged()
307 if (mRemoteService == null) { in destroyAndRebindRemoteService()
314 mRemoteService.destroy(); in destroyAndRebindRemoteService()
315 mRemoteService = null; in destroyAndRebindRemoteService()
320 mRemoteService = getRemoteServiceLocked(); in destroyAndRebindRemoteService()
321 if (mRemoteService != null) { in destroyAndRebindRemoteService()
325 mRemoteService.reconnect(); in destroyAndRebindRemoteService()
336 Slog.d(TAG, "Resurrecting remote service (" + mRemoteService + ") on " in resurrectSessionsLocked()
[all …]
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java237 private final @NonNull ServiceConnector<IPermissionController> mRemoteService; field in PermissionControllerManager
289 mRemoteService = remoteService; in PermissionControllerManager()
339 mRemoteService.postAsync(service -> { in revokeRuntimePermissions()
392 mRemoteService.postAsync(service -> { in setRuntimePermissionGrantStateByDeviceAdmin()
436 mRemoteService.postAsync(service -> RemoteStream.receiveBytes(remotePipe -> { in getRuntimePermissionBackup()
473 mRemoteService.postAsync(service -> RemoteStream.sendBytes(remotePipe -> { in stageAndApplyRuntimePermissionsBackup()
512 mRemoteService.postAsync(service -> { in applyStagedRuntimePermissionBackup()
541 mRemoteService.postAsync(service -> { in dump()
568 mRemoteService.postAsync(service -> { in getAppPermissions()
598 mRemoteService.run(service -> service.revokeRuntimePermission(packageName, permissionName)); in revokeRuntimePermission()
[all …]
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java108 RemoteContentCaptureService mRemoteService; field in ContentCapturePerUserService
143 if (mRemoteService != null) { in updateRemoteServiceLocked()
145 mRemoteService.destroy(); in updateRemoteServiceLocked()
146 mRemoteService = null; in updateRemoteServiceLocked()
163 mRemoteService = new RemoteContentCaptureService(mMaster.getContext(), in updateRemoteServiceLocked()
216 if (mRemoteService == null) { in onConnected()
230 Slog.d(TAG, "Ressurrecting remote service (" + mRemoteService + ") on " in resurrectSessionsLocked()
337 if (mRemoteService == null) { in startSessionLocked()
341 if (mRemoteService == null) { in startSessionLocked()
355 mRemoteService.ensureBoundLocked(); in startSessionLocked()
[all …]
DContentCaptureServerSession.java111 if (mService.mRemoteService == null) { in notifySessionStartedLocked()
115 mService.mRemoteService.onSessionStarted(mContentCaptureContext, mId, mUid, clientReceiver, in notifySessionStartedLocked()
143 if (mService.mRemoteService == null) { in sendActivitySnapshotLocked()
147 mService.mRemoteService.onActivitySnapshotRequest(mId, snapshotData); in sendActivitySnapshotLocked()
180 if (mService.mRemoteService == null) { in destroyLocked()
184 mService.mRemoteService.onSessionFinished(mId); in destroyLocked()
193 final RemoteContentCaptureService remoteService = mService.mRemoteService; in resurrectLocked()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DFieldClassificationStrategy.java73 private IAutofillFieldClassificationService mRemoteService; field in FieldClassificationStrategy
142 if (mRemoteService != null) { in connectAndRun()
145 command.run(mRemoteService); in connectAndRun()
169 mRemoteService = IAutofillFieldClassificationService.Stub in connectAndRun()
178 queuedCommand.run(mRemoteService); in connectAndRun()
193 mRemoteService = null; in connectAndRun()
201 mRemoteService = null; in connectAndRun()
209 mRemoteService = null; in connectAndRun()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayHashController.java465 private IDisplayHashingService mRemoteService; field in DisplayHashController.DisplayHashingServiceConnection
474 mRemoteService = IDisplayHashingService.Stub.asInterface(service); in onServiceConnected()
482 queuedCommand.run(mRemoteService); in onServiceConnected()
498 mRemoteService = null; in onServiceDisconnected()
506 mRemoteService = null; in onBindingDied()
514 mRemoteService = null; in onNullBinding()
522 if (mRemoteService == null) { in runCommandLocked()
531 command.run(mRemoteService); in runCommandLocked()
/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.java327 publishBinderService(SERVICE, mRemoteService); in onStart()
355 private final Binder mRemoteService = new Binder() { field in DeviceStorageMonitorService
502 shell.exec(mRemoteService, null, fd, null, args, null, new ResultReceiver(null)); in dumpImpl()
/frameworks/base/services/tests/servicestests/src/com/android/server/rotationresolver/
DRotationResolverManagerPerUserServiceTest.java93 this.mService.mRemoteService = new MockRemoteRotationResolverService(mContext, in setUp()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13086 Landroid/content/pm/permission/RuntimePermissionPresenter;->mRemoteService:Landroid/content/pm/perm…