Home
last modified time | relevance | path

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

12345678910>>...12

/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/
DDvrRecordingServiceTest.java58 assertThat(getService().mInForeground).isFalse(); in testStartService_null()
61 getService().startRecording(); in testStartService_null()
63 assertThat(getService().mInForeground).isTrue(); in testStartService_null()
64 assertThat(getService().mIsRecording).isTrue(); in testStartService_null()
65 getService().reset(); in testStartService_null()
74 assertThat(getService().mInForeground).isTrue(); in testStartService_noUpcomingRecording()
75 assertThat(getService().mForegroundForUpcomingRecording).isFalse(); in testStartService_noUpcomingRecording()
76 getService().stopForegroundIfNotRecordingInternal(); in testStartService_noUpcomingRecording()
77 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording()
80 getService().startRecording(); in testStartService_noUpcomingRecording()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java408 ServiceManager.getService(BatteryStats.SERVICE_NAME)); in onCreate()
797 public AdapterService getService() { in getService() method in AdapterService.AdapterServiceBinder
807 AdapterService service = getService(); in isEnabled()
817 AdapterService service = getService(); in getState()
830 AdapterService service = getService(); in enable()
844 AdapterService service = getService(); in enableNoAutoConnect()
858 AdapterService service = getService(); in disable()
873 AdapterService service = getService(); in getAddress()
887 AdapterService service = getService(); in getUuids()
901 AdapterService service = getService(); in getName()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java200 private HeadsetClientService getService() { in getService() method in HeadsetClientService.BluetoothHeadsetClientBinder
216 HeadsetClientService service = getService(); in connect()
225 HeadsetClientService service = getService(); in disconnect()
234 HeadsetClientService service = getService(); in getConnectedDevices()
243 HeadsetClientService service = getService(); in getDevicesMatchingConnectionStates()
252 HeadsetClientService service = getService(); in getConnectionState()
261 HeadsetClientService service = getService(); in setPriority()
270 HeadsetClientService service = getService(); in getPriority()
279 HeadsetClientService service = getService(); in startVoiceRecognition()
288 HeadsetClientService service = getService(); in stopVoiceRecognition()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java413 private GattService getService() { in getService() method in GattService.BluetoothGattBinder
423 GattService service = getService(); in getDevicesMatchingConnectionStates()
432 GattService service = getService(); in registerClient()
441 GattService service = getService(); in unregisterClient()
451 GattService service = getService(); in registerScanner()
460 GattService service = getService(); in unregisterScanner()
470 GattService service = getService(); in startScan()
480 GattService service = getService(); in startScanForIntent()
490 GattService service = getService(); in stopScanForIntent()
499 GattService service = getService(); in stopScan()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java416 private HeadsetService getService() { in getService() method in HeadsetService.BluetoothHeadsetBinder
435 HeadsetService service = getService(); in connect()
444 HeadsetService service = getService(); in disconnect()
453 HeadsetService service = getService(); in getConnectedDevices()
462 HeadsetService service = getService(); in getDevicesMatchingConnectionStates()
471 HeadsetService service = getService(); in getConnectionState()
480 HeadsetService service = getService(); in setPriority()
489 HeadsetService service = getService(); in getPriority()
498 HeadsetService service = getService(); in startVoiceRecognition()
507 HeadsetService service = getService(); in stopVoiceRecognition()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java1136 private A2dpService getService() { in getService() method in A2dpService.BluetoothA2dpBinder
1159 A2dpService service = getService(); in connect()
1168 A2dpService service = getService(); in disconnect()
1177 A2dpService service = getService(); in getConnectedDevices()
1186 A2dpService service = getService(); in getDevicesMatchingConnectionStates()
1195 A2dpService service = getService(); in getConnectionState()
1204 A2dpService service = getService(); in setActiveDevice()
1213 A2dpService service = getService(); in getActiveDevice()
1222 A2dpService service = getService(); in setPriority()
1231 A2dpService service = getService(); in getPriority()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java107 private A2dpSinkService getService() { in getService() method in A2dpSinkService.A2dpSinkServiceBinder
130 A2dpSinkService service = getService(); in connect()
139 A2dpSinkService service = getService(); in disconnect()
148 A2dpSinkService service = getService(); in getConnectedDevices()
157 A2dpSinkService service = getService(); in getDevicesMatchingConnectionStates()
166 A2dpSinkService service = getService(); in getConnectionState()
175 A2dpSinkService service = getService(); in setPriority()
184 A2dpSinkService service = getService(); in getPriority()
193 A2dpSinkService service = getService(); in isA2dpPlaying()
202 A2dpSinkService service = getService(); in getAudioConfig()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java395 private MapClientService getService() { in getService() method in MapClientService.Binder
419 MapClientService service = getService(); in isConnected()
431 MapClientService service = getService(); in connect()
443 MapClientService service = getService(); in disconnect()
455 MapClientService service = getService(); in getConnectedDevices()
467 MapClientService service = getService(); in getDevicesMatchingConnectionStates()
479 MapClientService service = getService(); in getConnectionState()
488 MapClientService service = getService(); in setPriority()
497 MapClientService service = getService(); in getPriority()
507 MapClientService service = getService(); in sendMessage()
[all …]
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DEpgDataCleanupServiceTests.java213 assertNotNull(getService()); in testServiceTestCaseSetUpProperly()
220 getService().clearOldPrograms(2); in testClearOldPrograms()
224 getService().clearOldPrograms(3); in testClearOldPrograms()
234 getService().clearOldPrograms(1005); in testClearOldPrograms()
245 getService().clearOldWatchHistory(1); in testClearOldWatchedPrograms()
249 getService().clearOldWatchHistory(2); in testClearOldWatchedPrograms()
259 getService().clearOldWatchHistory(1005); in testClearOldWatchedPrograms()
273 getService().clearOverflowWatchHistory(5); in testClearOverflowWatchHistory()
277 getService().clearOverflowWatchHistory(0); in testClearOverflowWatchHistory()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java800 private HearingAidService getService() { in getService() method in HearingAidService.BluetoothHearingAidBinder
823 HearingAidService service = getService(); in connect()
832 HearingAidService service = getService(); in disconnect()
841 HearingAidService service = getService(); in getConnectedDevices()
850 HearingAidService service = getService(); in getDevicesMatchingConnectionStates()
859 HearingAidService service = getService(); in getConnectionState()
868 HearingAidService service = getService(); in setActiveDevice()
877 HearingAidService service = getService(); in getActiveDevices()
886 HearingAidService service = getService(); in setPriority()
895 HearingAidService service = getService(); in getPriority()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java321 private HidHostService getService() { in getService() method in HidHostService.BluetoothHidHostBinder
336 HidHostService service = getService(); in connect()
345 HidHostService service = getService(); in disconnect()
354 HidHostService service = getService(); in getConnectionState()
368 HidHostService service = getService(); in getDevicesMatchingConnectionStates()
377 HidHostService service = getService(); in setPriority()
386 HidHostService service = getService(); in getPriority()
396 HidHostService service = getService(); in getProtocolMode()
405 HidHostService service = getService(); in virtualUnplug()
414 HidHostService service = getService(); in setProtocolMode()
[all …]
DHidDeviceService.java294 private HidDeviceService getService() { in getService() method in HidDeviceService.BluetoothHidDeviceBinder
315 HidDeviceService service = getService(); in registerApp()
329 HidDeviceService service = getService(); in unregisterApp()
343 HidDeviceService service = getService(); in sendReport()
357 HidDeviceService service = getService(); in replyReport()
371 HidDeviceService service = getService(); in unplug()
385 HidDeviceService service = getService(); in connect()
399 HidDeviceService service = getService(); in disconnect()
413 HidDeviceService service = getService(); in reportError()
427 HidDeviceService service = getService(); in getConnectionState()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java194 private PbapClientService getService() { in getService() method in PbapClientService.BluetoothPbapClientBinder
208 PbapClientService service = getService(); in connect()
221 PbapClientService service = getService(); in disconnect()
230 PbapClientService service = getService(); in getConnectedDevices()
239 PbapClientService service = getService(); in getDevicesMatchingConnectionStates()
248 PbapClientService service = getService(); in getConnectionState()
257 PbapClientService service = getService(); in setPriority()
266 PbapClientService service = getService(); in getPriority()
/packages/modules/ExtServices/tests/src/android/ext/services/storage/
DCacheQuotaServiceImplTest.java75 CacheQuotaServiceImpl service = getService(); in testNoApps()
85 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testOneApp()
97 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsOneVolume()
111 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsTwoVolumes()
124 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testMultipleAppsPerUidIsCollated()
136 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsTwoVolumesTwoUuidsShouldBESeparate()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java873 private SapService getService() { in getService() method in SapService.SapBinder
900 SapService service = getService(); in getState()
904 return getService().getState(); in getState()
910 SapService service = getService(); in getClient()
921 SapService service = getService(); in isConnected()
932 SapService service = getService(); in connect()
942 SapService service = getService(); in disconnect()
952 SapService service = getService(); in getConnectedDevices()
962 SapService service = getService(); in getDevicesMatchingConnectionStates()
972 SapService service = getService(); in getConnectionState()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java221 private PanService getService() { in getService() method in PanService.BluetoothPanBinder
235 PanService service = getService(); in connect()
244 PanService service = getService(); in disconnect()
253 PanService service = getService(); in getConnectionState()
261 PanService service = getService(); in isPanNapOn()
272 PanService service = getService(); in isPanUOn()
282 PanService service = getService(); in isTetheringOn()
291 PanService service = getService(); in setBluetoothTethering()
301 PanService service = getService(); in getConnectedDevices()
310 PanService service = getService(); in getDevicesMatchingConnectionStates()
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/store/
DServiceStore.java53 private IEmailService getService() { in getService() method in ServiceStore
54 return EmailServiceUtils.getService(mContext, mHostAuth.mProtocol); in getService()
64 IEmailService svc = getService(); in checkSettings()
84 return getService().autoDiscover(username, password); in autoDiscover()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogNotificationsService.java103 return PendingIntent.getService(context, 0, intent, 0); in createMarkAllNewVoicemailsAsOldIntent()
111 return PendingIntent.getService(context, 0, intent, 0); in createMarkSingleNewVoicemailAsOldIntent()
117 return PendingIntent.getService(context, 0, intent, 0); in createCancelAllMissedCallsPendingIntent()
125 return PendingIntent.getService(context, 0, intent, 0); in createCancelSingleMissedCallPendingIntent()
133 return PendingIntent.getService(context, 0, intent, 0); in createLegacyVoicemailDismissedPendingIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java1135 private BluetoothMapService getService() { in getService() method in BluetoothMapService.BluetoothMapBinder
1166 BluetoothMapService service = getService(); in getState()
1170 return getService().getState(); in getState()
1178 BluetoothMapService service = getService(); in getClient()
1194 BluetoothMapService service = getService(); in isConnected()
1204 BluetoothMapService service = getService(); in connect()
1216 BluetoothMapService service = getService(); in disconnect()
1229 BluetoothMapService service = getService(); in getConnectedDevices()
1241 BluetoothMapService service = getService(); in getDevicesMatchingConnectionStates()
1253 BluetoothMapService service = getService(); in getConnectionState()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java112 builder.setDeleteIntent(PendingIntent.getService(context, id, in showLowPriorityNotification()
120 PendingIntent.getService(context, id, in showLowPriorityNotification()
161 PendingIntent.getService(context, id, in showHighPriorityNotification()
324 PendingIntent.getService(context, id, in showSnoozeNotification()
366 builder.setDeleteIntent(PendingIntent.getService(context, id, in showMissedNotification()
404 PendingIntent snoozePendingIntent = PendingIntent.getService(service, in showAlarmNotification()
413 PendingIntent dismissPendingIntent = PendingIntent.getService(service, in showAlarmNotification()
/packages/services/Car/tools/keventreader/client/src/com/android/car/keventreader/
DEventReaderService.java34 private static IEventProvider getService() { in getService() method in EventReaderService
35 return IEventProvider.Stub.asInterface(ServiceManager.getService(SERVICE_NAME)); in getService()
40 IEventProvider provider = getService(); in tryGet()
/packages/apps/Settings/src/com/android/settings/password/
DPasswordUtils.java45 ActivityManager.getService().getLaunchedFromUid(activityToken)) in isCallingAppPermitted()
74 pkg = ActivityManager.getService().getLaunchedFromPackage(activityToken); in getCallingAppPackageName()
83 IActivityManager am = ActivityManager.getService(); in crashCallingApplication()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DPasswordUtils.java45 ActivityManager.getService().getLaunchedFromUid(activityToken)) in isCallingAppPermitted()
74 pkg = ActivityManager.getService().getLaunchedFromPackage(activityToken); in getCallingAppPackageName()
83 IActivityManager am = ActivityManager.getService(); in crashCallingApplication()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java187 return getService(userId, service) != null; in hasService()
190 public ApduServiceInfo getService(int userId, ComponentName service) { in getService() method in RegisteredServicesCache
460 ApduServiceInfo serviceInfo = getService(userId, componentName); in setOffHostSecureElement()
503 ApduServiceInfo serviceInfo = getService(userId, componentName); in unsetOffHostSecureElement()
546 ApduServiceInfo serviceInfo = getService(userId, componentName); in registerAidGroupForService()
595 ApduServiceInfo serviceInfo = getService(userId, componentName); in getAidGroupForService()
614 ApduServiceInfo serviceInfo = getService(userId, componentName); in removeAidGroupForService()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java260 mWindowManager = IWindowManager.Stub.asInterface(ServiceManager.getService("window")); in onCreate()
262 ServiceManager.getService(Context.BACKUP_SERVICE)); in onCreate()
707 ActivityManager.getService().setDebugApp( in writeDebuggerOptions()
753 ActivityManager.getService().setDebugApp( in resetDebuggerOptions()
878 ActivityManager.getService() in captureBugReport()
934 IBinder flinger = ServiceManager.getService("SurfaceFlinger"); in updateFlingerOptions()
960 IBinder flinger = ServiceManager.getService("SurfaceFlinger"); in writeShowUpdatesOption()
978 IBinder flinger = ServiceManager.getService("SurfaceFlinger"); in writeDisableOverlaysOption()
1262 ActivityManager.getService().setAlwaysFinish( in writeImmediatelyDestroyActivitiesOptions()
1360 int limit = ActivityManager.getService().getProcessLimit(); in updateAppProcessLimitOptions()
[all …]

12345678910>>...12