Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 25 of 784) sorted by relevance

12345678910>>...32

/frameworks/base/core/java/android/app/
DActivityTaskManager.java146 public static IActivityTaskManager getService() { in getService() method in ActivityTaskManager
155 final IBinder b = ServiceManager.getService(Context.ACTIVITY_TASK_SERVICE);
171 getService().setTaskWindowingMode(taskId, windowingMode, toTop); in setTaskWindowingMode()
197 getService().setTaskWindowingModeSplitScreenPrimary(taskId, createMode, toTop, animate, in setTaskWindowingModeSplitScreenPrimary()
212 getService().resizeStack(stackId, bounds, false /* allowResizeInDockedMode */, in resizeStack()
226 getService().removeStacksInWindowingModes(windowingModes); in removeStacksInWindowingModes()
236 getService().removeStacksWithActivityTypes(activityTypes); in removeStacksWithActivityTypes()
249 getService().removeAllVisibleRecentTasks(); in removeAllVisibleRecentTasks()
312 return getService().moveTopActivityToPinnedStack(stackId, bounds); in moveTopActivityToPinnedStack()
325 getService().startSystemLockTaskMode(taskId); in startSystemLockTaskMode()
[all …]
DNotificationManager.java386 static public INotificationManager getService() in getService() method in NotificationManager
391 IBinder b = ServiceManager.getService("notification"); in getService()
471 INotificationManager service = getService(); in notifyAsPackage()
489 INotificationManager service = getService(); in notifyAsUser()
560 INotificationManager service = getService(); in cancelAsUser()
576 INotificationManager service = getService(); in cancelAll()
599 INotificationManager service = getService(); in setNotificationDelegate()
614 INotificationManager service = getService(); in getNotificationDelegate()
630 INotificationManager service = getService(); in canNotifyAsPackage()
665 INotificationManager service = getService(); in createNotificationChannelGroups()
[all …]
DPendingIntent.java351 ActivityManager.getService().getIntentSender( in getActivity()
377 ActivityManager.getService().getIntentSender( in getActivityAsUser()
494 ActivityManager.getService().getIntentSender( in getActivities()
520 ActivityManager.getService().getIntentSender( in getActivitiesAsUser()
572 ActivityManager.getService().getIntentSender( in getBroadcastAsUser()
607 public static PendingIntent getService(Context context, int requestCode, in getService() method in PendingIntent
651 ActivityManager.getService().getIntentSender( in buildServicePendingIntent()
678 ActivityManager.getService().cancelIntentSender(mTarget); in cancel()
896 return ActivityManager.getService().sendIntentSender( in sendAndReturnResult()
913 return ActivityManager.getService() in getTargetPackage()
[all …]
DStatusBarManager.java214 private synchronized IStatusBarService getService() { in getService() method in StatusBarManager
217 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in getService()
235 final IStatusBarService svc = getService(); in disable()
255 final IStatusBarService svc = getService(); in disable2()
272 final IStatusBarService svc = getService(); in expandNotificationsPanel()
289 final IStatusBarService svc = getService(); in collapsePanels()
317 final IStatusBarService svc = getService(); in expandSettingsPanel()
330 final IStatusBarService svc = getService(); in setIcon()
344 final IStatusBarService svc = getService(); in removeIcon()
357 final IStatusBarService svc = getService(); in setIconVisibility()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothHeadsetClient.java431 private IBluetoothHeadsetClient getService() { in getService() method in BluetoothHeadsetClient
432 return mProfileConnector.getService(); in getService()
452 getService(); in connect()
478 getService(); in disconnect()
500 getService(); in getConnectedDevices()
524 getService(); in getDevicesMatchingConnectionStates()
547 getService(); in getConnectionState()
594 getService(); in setConnectionPolicy()
642 getService(); in getConnectionPolicy()
669 getService(); in startVoiceRecognition()
[all …]
DBluetoothHearingAid.java151 private IBluetoothHearingAid getService() { in getService() method in BluetoothHearingAid
152 return mProfileConnector.getService(); in getService()
172 final IBluetoothHearingAid service = getService(); in connect()
210 final IBluetoothHearingAid service = getService(); in disconnect()
229 final IBluetoothHearingAid service = getService(); in getConnectedDevices()
249 final IBluetoothHearingAid service = getService(); in getDevicesMatchingConnectionStates()
269 final IBluetoothHearingAid service = getService(); in getConnectionState()
308 final IBluetoothHearingAid service = getService(); in setActiveDevice()
335 final IBluetoothHearingAid service = getService(); in getActiveDevices()
383 final IBluetoothHearingAid service = getService(); in setConnectionPolicy()
[all …]
DBluetoothHidHost.java250 private IBluetoothHidHost getService() { in getService() method in BluetoothHidHost
251 return mProfileConnector.getService(); in getService()
273 final IBluetoothHidHost service = getService(); in connect()
311 final IBluetoothHidHost service = getService(); in disconnect()
334 final IBluetoothHidHost service = getService(); in getConnectedDevices()
355 final IBluetoothHidHost service = getService(); in getDevicesMatchingConnectionStates()
381 final IBluetoothHidHost service = getService(); in getConnectionState()
431 final IBluetoothHidHost service = getService(); in setConnectionPolicy()
482 final IBluetoothHidHost service = getService(); in getConnectionPolicy()
514 final IBluetoothHidHost service = getService(); in virtualUnplug()
[all …]
DBluetoothA2dp.java252 private IBluetoothA2dp getService() { in getService() method in BluetoothA2dp
253 return mProfileConnector.getService(); in getService()
282 final IBluetoothA2dp service = getService(); in connect()
322 final IBluetoothA2dp service = getService(); in disconnect()
341 final IBluetoothA2dp service = getService(); in getConnectedDevices()
360 final IBluetoothA2dp service = getService(); in getDevicesMatchingConnectionStates()
379 final IBluetoothA2dp service = getService(); in getConnectionState()
416 final IBluetoothA2dp service = getService(); in setActiveDevice()
442 final IBluetoothA2dp service = getService(); in getActiveDevice()
489 final IBluetoothA2dp service = getService(); in setConnectionPolicy()
[all …]
DBluetoothMapClient.java152 private IBluetoothMapClient getService() { in getService() method in BluetoothMapClient
153 return mProfileConnector.getService(); in getService()
163 final IBluetoothMapClient service = getService(); in isConnected()
186 final IBluetoothMapClient service = getService(); in connect()
211 final IBluetoothMapClient service = getService(); in disconnect()
231 final IBluetoothMapClient service = getService(); in getConnectedDevices()
252 final IBluetoothMapClient service = getService(); in getDevicesMatchingConnectionStates()
273 final IBluetoothMapClient service = getService(); in getConnectionState()
319 final IBluetoothMapClient service = getService(); in setConnectionPolicy()
366 final IBluetoothMapClient service = getService(); in getConnectionPolicy()
[all …]
DBluetoothHidDevice.java405 private IBluetoothHidDevice getService() { in getService() method in BluetoothHidDevice
406 return mProfileConnector.getService(); in getService()
412 final IBluetoothHidDevice service = getService(); in getConnectedDevices()
429 final IBluetoothHidDevice service = getService(); in getDevicesMatchingConnectionStates()
446 final IBluetoothHidDevice service = getService(); in getConnectionState()
503 final IBluetoothHidDevice service = getService(); in registerApp()
531 final IBluetoothHidDevice service = getService(); in unregisterApp()
556 final IBluetoothHidDevice service = getService(); in sendReport()
582 final IBluetoothHidDevice service = getService(); in replyReport()
606 final IBluetoothHidDevice service = getService(); in reportError()
[all …]
DBluetoothSap.java131 private IBluetoothSap getService() { in getService() method in BluetoothSap
132 return mProfileConnector.getService(); in getService()
144 final IBluetoothSap service = getService(); in getState()
167 final IBluetoothSap service = getService(); in getClient()
190 final IBluetoothSap service = getService(); in isConnected()
225 final IBluetoothSap service = getService(); in disconnect()
246 final IBluetoothSap service = getService(); in getConnectedDevices()
267 final IBluetoothSap service = getService(); in getDevicesMatchingConnectionStates()
288 final IBluetoothSap service = getService(); in getConnectionState()
334 final IBluetoothSap service = getService(); in setConnectionPolicy()
[all …]
DBluetoothAvrcpController.java103 private IBluetoothAvrcpController getService() { in getService() method in BluetoothAvrcpController
104 return mProfileConnector.getService(); in getService()
119 getService(); in getConnectedDevices()
139 getService(); in getDevicesMatchingConnectionStates()
159 getService(); in getConnectionState()
181 getService(); in getPlayerSettings()
200 getService(); in setPlayerApplicationSetting()
221 getService(); in sendGroupNavigationCmd()
DBluetoothA2dpSink.java96 private IBluetoothA2dpSink getService() { in getService() method in BluetoothA2dpSink
97 return mProfileConnector.getService(); in getService()
126 final IBluetoothA2dpSink service = getService(); in connect()
165 final IBluetoothA2dpSink service = getService(); in disconnect()
186 final IBluetoothA2dpSink service = getService(); in getConnectedDevices()
207 final IBluetoothA2dpSink service = getService(); in getDevicesMatchingConnectionStates()
228 final IBluetoothA2dpSink service = getService(); in getConnectionState()
256 final IBluetoothA2dpSink service = getService(); in getAudioConfig()
303 final IBluetoothA2dpSink service = getService(); in setConnectionPolicy()
351 final IBluetoothA2dpSink service = getService(); in getConnectionPolicy()
[all …]
DBluetoothMap.java118 private IBluetoothMap getService() { in getService() method in BluetoothMap
119 return mProfileConnector.getService(); in getService()
132 final IBluetoothMap service = getService(); in getState()
156 final IBluetoothMap service = getService(); in getClient()
179 final IBluetoothMap service = getService(); in isConnected()
215 final IBluetoothMap service = getService(); in disconnect()
262 final IBluetoothMap service = getService(); in getConnectedDevices()
284 final IBluetoothMap service = getService(); in getDevicesMatchingConnectionStates()
306 final IBluetoothMap service = getService(); in getConnectionState()
353 final IBluetoothMap service = getService(); in setConnectionPolicy()
[all …]
DBluetoothPan.java179 private IBluetoothPan getService() { in getService() method in BluetoothPan
180 return mProfileConnector.getService(); in getService()
205 final IBluetoothPan service = getService(); in connect()
243 final IBluetoothPan service = getService(); in disconnect()
274 final IBluetoothPan service = getService(); in setConnectionPolicy()
300 final IBluetoothPan service = getService(); in getConnectedDevices()
321 final IBluetoothPan service = getService(); in getDevicesMatchingConnectionStates()
343 final IBluetoothPan service = getService(); in getConnectionState()
367 final IBluetoothPan service = getService(); in setBluetoothTethering()
387 final IBluetoothPan service = getService(); in isTetheringOn()
DBluetoothPbapClient.java92 private IBluetoothPbapClient getService() { in getService() method in BluetoothPbapClient
93 return mProfileConnector.getService(); in getService()
112 final IBluetoothPbapClient service = getService(); in connect()
140 final IBluetoothPbapClient service = getService(); in disconnect()
167 final IBluetoothPbapClient service = getService(); in getConnectedDevices()
192 final IBluetoothPbapClient service = getService(); in getDevicesMatchingConnectionStates()
217 final IBluetoothPbapClient service = getService(); in getConnectionState()
284 final IBluetoothPbapClient service = getService(); in setConnectionPolicy()
335 final IBluetoothPbapClient service = getService(); in getConnectionPolicy()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java55 if (getService().mDevicesFound.isEmpty()) { in onCreate()
59 if (getService().mRequest.isSingleDevice()) { in onCreate()
61 final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0); in onCreate()
67 mPairButton.setOnClickListener(v -> onDeviceConfirmed(getService().mSelectedDevice)); in onCreate()
68 getService().mSelectedDevice = selectedDevice; in onCreate()
76 final DeviceDiscoveryService.DevicesAdapter adapter = getService().mDevicesAdapter; in onCreate()
86 getService().mActivity = this; in onCreate()
93 getService().onCancel(); in cancel()
141 DeviceFilterPair selectedDevice = getService().mSelectedDevice; in onSelectionUpdate()
149 private DeviceDiscoveryService getService() { in getService() method in DeviceChooserActivity
[all …]
/frameworks/native/libs/binder/
DAppOpsManager.cpp58 sp<IAppOpsService> AppOpsManager::getService() { return NULL; } in getService() function in android::AppOpsManager
60 sp<IAppOpsService> AppOpsManager::getService() in getService() function in android::AppOpsManager
90 sp<IAppOpsService> service = getService(); in checkOp()
98 sp<IAppOpsService> service = getService(); in checkAudioOpNoThrow()
105 sp<IAppOpsService> service = getService(); in noteOp()
113 sp<IAppOpsService> service = getService(); in startOpNoThrow()
120 sp<IAppOpsService> service = getService(); in finishOp()
128 sp<IAppOpsService> service = getService(); in startWatchingMode()
135 sp<IAppOpsService> service = getService(); in stopWatchingMode()
142 sp<IAppOpsService> service = getService(); in permissionToOpCode()
DActivityManager.cpp32 sp<IActivityManager> ActivityManager::getService() in getService() function in android::ActivityManager
60 sp<IActivityManager> service = getService(); in openContentUri()
69 sp<IActivityManager> service = getService(); in registerUidObserver()
77 sp<IActivityManager> service = getService(); in unregisterUidObserver()
85 sp<IActivityManager> service = getService(); in isUidActive()
94 sp<IActivityManager> service = getService(); in getUidProcessState()
102 sp<IActivityManager> service = getService(); in linkToDeath()
110 sp<IActivityManager> service = getService(); in unlinkToDeath()
DPermissionController.cpp30 sp<IPermissionController> PermissionController::getService() in getService() function in android::PermissionController
58 sp<IPermissionController> service = getService(); in checkPermission()
64 sp<IPermissionController> service = getService(); in noteOp()
70 sp<IPermissionController> service = getService(); in getPackagesForUid()
78 sp<IPermissionController> service = getService(); in isRuntimePermission()
84 sp<IPermissionController> service = getService(); in getPackageUid()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java102 ui = ActivityManager.getService().getCurrentUser(); in getCurrentUserId()
120 ActivityTaskManager.getService().getFilteredTasks(1, ignoreActivityType, in getRunningTask()
136 return ActivityTaskManager.getService().getRecentTasks(numTasks, in getRecentTasks()
150 snapshot = ActivityTaskManager.getService().getTaskSnapshot(taskId, reducedResolution); in getTaskThumbnail()
244 ActivityTaskManager.getService().startRecentsActivity(intent, receiver, runner); in startRecentsActivity()
270 ActivityTaskManager.getService().cancelRecentsAnimation(restoreHomeStackPosition); in cancelRecentsAnimation()
337 ActivityTaskManager.getService().startActivityFromRecents(taskId, optsBundle); in startActivityFromRecents()
350 return ActivityTaskManager.getService().setTaskWindowingModeSplitScreenPrimary(taskId, in setTaskWindowingModeSplitScreenPrimary()
364 mTaskStackChangeListeners.addListener(ActivityManager.getService(), listener); in registerTaskStackListener()
386 ActivityManager.getService().closeSystemDialogs(reason); in closeSystemWindows()
[all …]
/frameworks/native/libs/sensorprivacy/
DSensorPrivacyManager.cpp32 sp<hardware::ISensorPrivacyManager> SensorPrivacyManager::getService() in getService() function in android::SensorPrivacyManager
61 sp<hardware::ISensorPrivacyManager> service = getService(); in addSensorPrivacyListener()
70 sp<hardware::ISensorPrivacyManager> service = getService(); in removeSensorPrivacyListener()
78 sp<hardware::ISensorPrivacyManager> service = getService(); in isSensorPrivacyEnabled()
90 sp<hardware::ISensorPrivacyManager> service = getService(); in linkToDeath()
99 sp<hardware::ISensorPrivacyManager> service = getService(); in unlinkToDeath()
/frameworks/base/media/java/android/media/
DAudioManager.java740 private static IAudioService getService() in getService() method in AudioManager
745 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE); in getService()
843 final IAudioService service = getService(); in adjustStreamVolume()
913 final IAudioService service = getService(); in setMasterMute()
930 final IAudioService service = getService(); in getRingerMode()
951 final IAudioService service = getService(); in isValidRingerMode()
967 final IAudioService service = getService(); in getStreamMaxVolume()
999 final IAudioService service = getService(); in getStreamMinVolumeInt()
1016 final IAudioService service = getService(); in getStreamVolume()
1097 final IAudioService service = getService(); in getLastAudibleStreamVolume()
[all …]
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java992 .asInterface(ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)); in getINetworkPolicyManager()
1180 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfo()
1214 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoForIcc()
1248 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoForSimSlotIndex()
1272 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAllSubscriptionInfoList()
1353 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoList()
1404 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAvailableSubscriptionInfoList()
1443 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAccessibleSubscriptionInfoList()
1472 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in requestEmbeddedSubscriptionInfoListRefresh()
1501 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in requestEmbeddedSubscriptionInfoListRefresh()
[all …]
/frameworks/base/core/java/android/net/
DVpnService.java176 private static IConnectivityManager getService() { in getService() method in VpnService
178 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in getService()
206 if (getService().prepareVpn(context.getPackageName(), null, context.getUserId())) { in prepare()
229 IConnectivityManager cm = getService(); in prepareAndAuthorize()
304 return getService().addVpnAddress(address.getHostAddress(), prefixLength); in addAddress()
334 return getService().removeVpnAddress(address.getHostAddress(), prefixLength); in removeAddress()
374 return getService().setUnderlyingNetworksForVpn(networks); in setUnderlyingNetworks()
388 return getService().isCallerCurrentAlwaysOnVpnApp(); in isAlwaysOn()
403 return getService().isCallerCurrentAlwaysOnVpnLockdownApp(); in isLockdownEnabled()
704 ServiceManager.getService("package")); in verifyApp()
[all …]

12345678910>>...32