/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
D | DvrRecordingServiceTest.java | 58 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/ |
D | AdapterService.java | 455 ServiceManager.getService(BatteryStats.SERVICE_NAME)); in onCreate() 1073 public AdapterService getService() { in getService() method in AdapterService.AdapterServiceBinder 1083 AdapterService service = getService(); in getState() 1095 AdapterService service = getService(); in enable() 1107 AdapterService service = getService(); in disable() 1119 AdapterService service = getService(); in getAddress() 1132 AdapterService service = getService(); in getUuids() 1144 AdapterService service = getService(); in getName() 1156 AdapterService service = getService(); in setName() 1168 AdapterService service = getService(); in getBluetoothClass() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 206 private HeadsetClientService getService() { in getService() method in HeadsetClientService.BluetoothHeadsetClientBinder 222 HeadsetClientService service = getService(); in connect() 231 HeadsetClientService service = getService(); in disconnect() 240 HeadsetClientService service = getService(); in getConnectedDevices() 249 HeadsetClientService service = getService(); in getDevicesMatchingConnectionStates() 258 HeadsetClientService service = getService(); in getConnectionState() 267 HeadsetClientService service = getService(); in setConnectionPolicy() 276 HeadsetClientService service = getService(); in getConnectionPolicy() 285 HeadsetClientService service = getService(); in startVoiceRecognition() 294 HeadsetClientService service = getService(); in stopVoiceRecognition() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 414 private GattService getService() { in getService() method in GattService.BluetoothGattBinder 424 GattService service = getService(); in getDevicesMatchingConnectionStates() 433 GattService service = getService(); in registerClient() 442 GattService service = getService(); in unregisterClient() 452 GattService service = getService(); in registerScanner() 461 GattService service = getService(); in unregisterScanner() 471 GattService service = getService(); in startScan() 483 GattService service = getService(); in startScanForIntent() 494 GattService service = getService(); in stopScanForIntent() 503 GattService service = getService(); in stopScan() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 425 private HeadsetService getService() { in getService() method in HeadsetService.BluetoothHeadsetBinder 444 HeadsetService service = getService(); in connect() 453 HeadsetService service = getService(); in disconnect() 462 HeadsetService service = getService(); in getConnectedDevices() 471 HeadsetService service = getService(); in getDevicesMatchingConnectionStates() 480 HeadsetService service = getService(); in getConnectionState() 489 HeadsetService service = getService(); in setPriority() 499 HeadsetService service = getService(); in setConnectionPolicy() 509 HeadsetService service = getService(); in getPriority() 519 HeadsetService service = getService(); in getConnectionPolicy() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 1199 private A2dpService getService() { in getService() method in A2dpService.BluetoothA2dpBinder 1222 A2dpService service = getService(); in connect() 1231 A2dpService service = getService(); in disconnect() 1240 A2dpService service = getService(); in getConnectedDevices() 1249 A2dpService service = getService(); in getDevicesMatchingConnectionStates() 1258 A2dpService service = getService(); in getConnectionState() 1267 A2dpService service = getService(); in setActiveDevice() 1276 A2dpService service = getService(); in getActiveDevice() 1285 A2dpService service = getService(); in setConnectionPolicy() 1294 A2dpService service = getService(); in getPriority() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 152 private A2dpSinkService getService() { in getService() method in A2dpSinkService.A2dpSinkServiceBinder 175 A2dpSinkService service = getService(); in connect() 184 A2dpSinkService service = getService(); in disconnect() 193 A2dpSinkService service = getService(); in getConnectedDevices() 202 A2dpSinkService service = getService(); in getDevicesMatchingConnectionStates() 211 A2dpSinkService service = getService(); in getConnectionState() 220 A2dpSinkService service = getService(); in setConnectionPolicy() 229 A2dpSinkService service = getService(); in getConnectionPolicy() 238 A2dpSinkService service = getService(); in isA2dpPlaying() 247 A2dpSinkService service = getService(); in getAudioConfig()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 458 private MapClientService getService() { in getService() method in MapClientService.Binder 482 MapClientService service = getService(); in isConnected() 494 MapClientService service = getService(); in connect() 506 MapClientService service = getService(); in disconnect() 518 MapClientService service = getService(); in getConnectedDevices() 530 MapClientService service = getService(); in getDevicesMatchingConnectionStates() 542 MapClientService service = getService(); in getConnectionState() 551 MapClientService service = getService(); in setConnectionPolicy() 560 MapClientService service = getService(); in getConnectionPolicy() 570 MapClientService service = getService(); in sendMessage() [all …]
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | EpgDataCleanupServiceTests.java | 213 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/ |
D | HearingAidService.java | 849 private HearingAidService getService() { in getService() method in HearingAidService.BluetoothHearingAidBinder 872 HearingAidService service = getService(); in connect() 881 HearingAidService service = getService(); in disconnect() 890 HearingAidService service = getService(); in getConnectedDevices() 899 HearingAidService service = getService(); in getDevicesMatchingConnectionStates() 908 HearingAidService service = getService(); in getConnectionState() 917 HearingAidService service = getService(); in setActiveDevice() 926 HearingAidService service = getService(); in getActiveDevices() 935 HearingAidService service = getService(); in setConnectionPolicy() 944 HearingAidService service = getService(); in getConnectionPolicy() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 332 private HidHostService getService() { in getService() method in HidHostService.BluetoothHidHostBinder 347 HidHostService service = getService(); in connect() 357 HidHostService service = getService(); in disconnect() 367 HidHostService service = getService(); in getConnectionState() 377 HidHostService service = getService(); in getConnectedDevices() 387 HidHostService service = getService(); in getDevicesMatchingConnectionStates() 397 HidHostService service = getService(); in setConnectionPolicy() 407 HidHostService service = getService(); in getConnectionPolicy() 418 HidHostService service = getService(); in getProtocolMode() 428 HidHostService service = getService(); in virtualUnplug() [all …]
|
D | HidDeviceService.java | 298 private HidDeviceService getService() { in getService() method in HidDeviceService.BluetoothHidDeviceBinder 319 HidDeviceService service = getService(); in registerApp() 333 HidDeviceService service = getService(); in unregisterApp() 347 HidDeviceService service = getService(); in sendReport() 361 HidDeviceService service = getService(); in replyReport() 375 HidDeviceService service = getService(); in unplug() 389 HidDeviceService service = getService(); in connect() 403 HidDeviceService service = getService(); in disconnect() 418 HidDeviceService service = getService(); in setConnectionPolicy() 432 HidDeviceService service = getService(); in reportError() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 239 private PanService getService() { in getService() method in PanService.BluetoothPanBinder 253 PanService service = getService(); in connect() 262 PanService service = getService(); in disconnect() 271 PanService service = getService(); in setConnectionPolicy() 280 PanService service = getService(); in getConnectionState() 288 PanService service = getService(); in isPanNapOn() 299 PanService service = getService(); in isPanUOn() 309 PanService service = getService(); in isTetheringOn() 318 PanService service = getService(); in setBluetoothTethering() 329 PanService service = getService(); in getConnectedDevices() [all …]
|
/packages/modules/ExtServices/tests/src/android/ext/services/storage/ |
D | CacheQuotaServiceImplTest.java | 75 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/pbapclient/ |
D | PbapClientService.java | 238 private PbapClientService getService() { in getService() method in PbapClientService.BluetoothPbapClientBinder 252 PbapClientService service = getService(); in connect() 265 PbapClientService service = getService(); in disconnect() 274 PbapClientService service = getService(); in getConnectedDevices() 283 PbapClientService service = getService(); in getDevicesMatchingConnectionStates() 292 PbapClientService service = getService(); in getConnectionState() 301 PbapClientService service = getService(); in setConnectionPolicy() 310 PbapClientService service = getService(); in getConnectionPolicy()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 914 private SapService getService() { in getService() method in SapService.SapBinder 941 SapService service = getService(); in getState() 945 return getService().getState(); in getState() 951 SapService service = getService(); in getClient() 962 SapService service = getService(); in isConnected() 973 SapService service = getService(); in connect() 983 SapService service = getService(); in disconnect() 993 SapService service = getService(); in getConnectedDevices() 1003 SapService service = getService(); in getDevicesMatchingConnectionStates() 1013 SapService service = getService(); in getConnectionState() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogNotificationsService.java | 103 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/ |
D | BluetoothMapService.java | 1194 private BluetoothMapService getService() { in getService() method in BluetoothMapService.BluetoothMapBinder 1225 BluetoothMapService service = getService(); in getState() 1229 return getService().getState(); in getState() 1237 BluetoothMapService service = getService(); in getClient() 1253 BluetoothMapService service = getService(); in isConnected() 1263 BluetoothMapService service = getService(); in disconnect() 1276 BluetoothMapService service = getService(); in getConnectedDevices() 1289 BluetoothMapService service = getService(); in getDevicesMatchingConnectionStates() 1301 BluetoothMapService service = getService(); in getConnectionState() 1310 BluetoothMapService service = getService(); in setConnectionPolicy() [all …]
|
/packages/services/Car/tools/keventreader/client/src/com/android/car/keventreader/ |
D | EventReaderService.java | 34 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/ |
D | PasswordUtils.java | 45 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/ |
D | PasswordUtils.java | 45 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/ |
D | RegisteredServicesCache.java | 187 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/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmNotifications.kt | 144 builder.setDeleteIntent(PendingIntent.getService(context, id, in showLowPriorityNotification() 152 PendingIntent.getService(context, id, in showLowPriorityNotification() 207 PendingIntent.getService(context, id, in showHighPriorityNotification() 412 PendingIntent.getService(context, id, in showSnoozeNotification() 469 builder.setDeleteIntent(PendingIntent.getService(context, id, in showMissedNotification() 517 val snoozePendingIntent: PendingIntent = PendingIntent.getService(service, in showAlarmNotification() 526 val dismissPendingIntent: PendingIntent = PendingIntent.getService(service, in showAlarmNotification()
|
D | AlarmNotifications.java | 124 builder.setDeleteIntent(PendingIntent.getService(context, id, in showUpcomingNotification() 133 PendingIntent.getService(context, id, in showUpcomingNotification() 299 PendingIntent.getService(context, id, in showSnoozeNotification() 343 builder.setDeleteIntent(PendingIntent.getService(context, id, in showMissedNotification() 384 PendingIntent snoozePendingIntent = PendingIntent.getService(service, in showAlarmNotification() 393 PendingIntent dismissPendingIntent = PendingIntent.getService(service, in showAlarmNotification()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 659 private BluetoothPbapService getService() { in getService() method in BluetoothPbapService.PbapBinder 687 BluetoothPbapService service = getService(); in getConnectedDevices() 699 BluetoothPbapService service = getService(); in getDevicesMatchingConnectionStates() 711 BluetoothPbapService service = getService(); in getConnectionState() 724 BluetoothPbapService service = getService(); in setConnectionPolicy() 736 BluetoothPbapService service = getService(); in disconnect()
|