/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/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | AudioControlFactoryUnitTest.java | 61 doReturn(mBinder).when(AudioControlWrapperAidl::getService); in newAudioControl_forAudioControlWrapperAIDL_returnsInstance() 62 doReturn(null).when(AudioControlWrapperV1::getService); in newAudioControl_forAudioControlWrapperAIDL_returnsInstance() 63 doReturn(null).when(AudioControlWrapperV2::getService); in newAudioControl_forAudioControlWrapperAIDL_returnsInstance() 73 doReturn(null).when(AudioControlWrapperAidl::getService); in newAudioControl_forAudioControlWrapperV2_returnsInstance() 74 doReturn(null).when(AudioControlWrapperV1::getService); in newAudioControl_forAudioControlWrapperV2_returnsInstance() 75 doReturn(mIAudioControlV2).when(AudioControlWrapperV2::getService); in newAudioControl_forAudioControlWrapperV2_returnsInstance() 85 doReturn(null).when(AudioControlWrapperAidl::getService); in newAudioControl_forAudioControlWrapperV1_returnsInstance() 86 doReturn(mIAudioControlV1).when(AudioControlWrapperV1::getService); in newAudioControl_forAudioControlWrapperV1_returnsInstance() 87 doReturn(null).when(AudioControlWrapperV2::getService); in newAudioControl_forAudioControlWrapperV1_returnsInstance() 97 doReturn(null).when(AudioControlWrapperAidl::getService); in newAudioControl_forNullAudioControlWrappers_fails() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 535 ServiceManager.getService(BatteryStats.SERVICE_NAME)); in onCreate() 1213 public AdapterService getService() { in getService() method in AdapterService.AdapterServiceBinder 1223 AdapterService service = getService(); in getState() 1233 AdapterService service = getService(); in enable() 1245 AdapterService service = getService(); in disable() 1262 AdapterService service = getService(); in getAddressWithAttribution() 1276 AdapterService service = getService(); in getUuids() 1288 AdapterService service = getService(); in getName() 1300 AdapterService service = getService(); in getNameLengthForAdvertise() 1312 AdapterService service = getService(); in setName() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 240 private HeadsetClientService getService(AttributionSource source) { in getService() method in HeadsetClientService.BluetoothHeadsetClientBinder 252 HeadsetClientService service = getService(source); in connect() 262 HeadsetClientService service = getService(source); in disconnect() 271 HeadsetClientService service = getService(source); in getConnectedDevices() 281 HeadsetClientService service = getService(source); in getDevicesMatchingConnectionStates() 291 HeadsetClientService service = getService(source); in getConnectionState() 302 HeadsetClientService service = getService(source); in setConnectionPolicy() 312 HeadsetClientService service = getService(source); in getConnectionPolicy() 322 HeadsetClientService service = getService(source); in startVoiceRecognition() 332 HeadsetClientService service = getService(source); in stopVoiceRecognition() [all …]
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/watchdog/ |
D | ExplicitHealthCheckServiceImplUnitTest.java | 86 getService().mSupportedCheckers.clear(); in tearDown() 98 final ExplicitHealthCheckServiceImpl service = getService(); in testInitHealthCheckersWhileNoResolveInfo() 109 final ExplicitHealthCheckServiceImpl service = getService(); in testInitHealthCheckersWhileApplicationInfoFlagNotSystem() 120 final ExplicitHealthCheckServiceImpl service = getService(); in testInitHealthCheckersWhileHasResolveInfoAndFlagIsSystem() 132 final ExplicitHealthCheckServiceImpl service = getService(); in testOnRequestHealthCheck() 146 final ExplicitHealthCheckServiceImpl service = getService(); in testOnCancelHealthCheck() 159 final ExplicitHealthCheckServiceImpl service = getService(); in testOnGetSupportedPackages() 172 final ExplicitHealthCheckServiceImpl service = getService(); in testOnGetRequestedPackagesWhileNoRequest() 184 final ExplicitHealthCheckServiceImpl service = getService(); in testOnGetRequestedPackagesWhileHasRequest()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/resolver/ |
D | LRResolverRankerServiceTest.java | 80 final LRResolverRankerService service = getService(); in testInitModelUnderUserLocked() 91 final LRResolverRankerService service = getService(); in testInitModelWhileNoSharedPreferences() 106 final LRResolverRankerService service = getService(); in testInitModelWhileVersionInSharedPreferencesSmallerThanCurrent() 121 final LRResolverRankerService service = getService(); in testInitModelWhileVersionInSharedPreferencesNotSmallerThanCurrent() 135 final LRResolverRankerService service = getService(); in testOnPredictSharingProbabilitiesWhileServiceIsNotReady() 152 final LRResolverRankerService service = getService(); in testOnPredictSharingProbabilitiesAfterUserUnlock() 172 final LRResolverRankerService service = getService(); in testOnPredictSharingProbabilities() 191 final LRResolverRankerService service = getService(); in testOnTrainRankingModelWhileServiceIsNotReady() 210 final LRResolverRankerService service = getService(); in testOnTrainRankingModelAfterUserUnlock() 235 final LRResolverRankerService service = getService(); in testOnTrainRankingModelWhileSelectedPositionScoreIsNotHighest() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 427 private HeadsetService getService(AttributionSource source) { in getService() method in HeadsetService.BluetoothHeadsetBinder 444 HeadsetService service = getService(source); in connectWithAttribution() 459 HeadsetService service = getService(source); in disconnectWithAttribution() 473 HeadsetService service = getService(source); in getConnectedDevicesWithAttribution() 483 HeadsetService service = getService(source); in getDevicesMatchingConnectionStates() 499 HeadsetService service = getService(source); in getConnectionStateWithAttribution() 510 HeadsetService service = getService(source); in setPriority() 521 HeadsetService service = getService(source); in setConnectionPolicy() 532 HeadsetService service = getService(source); in getPriority() 542 HeadsetService service = getService(source); in getConnectionPolicy() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 1220 private A2dpService getService(AttributionSource source) { in getService() method in A2dpService.BluetoothA2dpBinder 1246 A2dpService service = getService(source); in connectWithAttribution() 1261 A2dpService service = getService(source); in disconnectWithAttribution() 1275 A2dpService service = getService(source); in getConnectedDevicesWithAttribution() 1291 A2dpService service = getService(source); in getDevicesMatchingConnectionStatesWithAttribution() 1307 A2dpService service = getService(source); in getConnectionStateWithAttribution() 1317 A2dpService service = getService(source); in setActiveDevice() 1326 A2dpService service = getService(source); in getActiveDevice() 1337 A2dpService service = getService(source); in setConnectionPolicy() 1347 A2dpService service = getService(source); in getPriority() [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/mapclient/ |
D | MapClientService.java | 464 private MapClientService getService(AttributionSource source) { in getService() method in MapClientService.Binder 484 MapClientService service = getService(source); in isConnected() 497 MapClientService service = getService(source); in connect() 510 MapClientService service = getService(source); in disconnect() 522 MapClientService service = getService(source); in getConnectedDevices() 535 MapClientService service = getService(source); in getDevicesMatchingConnectionStates() 548 MapClientService service = getService(source); in getConnectionState() 559 MapClientService service = getService(source); in setConnectionPolicy() 569 MapClientService service = getService(source); in getConnectionPolicy() 580 MapClientService service = getService(source); in sendMessage() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 190 private A2dpSinkService getService(AttributionSource source) { in getService() method in A2dpSinkService.A2dpSinkServiceBinder 211 A2dpSinkService service = getService(source); in connect() 221 A2dpSinkService service = getService(source); in disconnect() 230 A2dpSinkService service = getService(source); in getConnectedDevices() 240 A2dpSinkService service = getService(source); in getDevicesMatchingConnectionStates() 250 A2dpSinkService service = getService(source); in getConnectionState() 261 A2dpSinkService service = getService(source); in setConnectionPolicy() 271 A2dpSinkService service = getService(source); in getConnectionPolicy() 281 A2dpSinkService service = getService(source); in isA2dpPlaying() 292 A2dpSinkService service = getService(source); in getAudioConfig()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 265 ServiceManager.getService(Context.COMPANION_DEVICE_SERVICE)); in start() 510 private GattService getService() { in getService() method in GattService.BluetoothGattBinder 521 GattService service = getService(); in getDevicesMatchingConnectionStates() 531 GattService service = getService(); in registerClient() 540 GattService service = getService(); in unregisterClient() 550 GattService service = getService(); in registerScanner() 559 GattService service = getService(); in unregisterScanner() 569 GattService service = getService(); in startScan() 580 GattService service = getService(); in startScanForIntent() 590 GattService service = getService(); in stopScanForIntent() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 859 private HearingAidService getService(AttributionSource source) { in getService() method in HearingAidService.BluetoothHearingAidBinder 880 HearingAidService service = getService(source); in connect() 890 HearingAidService service = getService(source); in disconnect() 899 HearingAidService service = getService(source); in getConnectedDevices() 909 HearingAidService service = getService(source); in getDevicesMatchingConnectionStates() 919 HearingAidService service = getService(source); in getConnectionState() 929 HearingAidService service = getService(source); in setActiveDevice() 938 HearingAidService service = getService(source); in getActiveDevices() 949 HearingAidService service = getService(source); in setConnectionPolicy() 959 HearingAidService service = getService(source); in getConnectionPolicy() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidDeviceService.java | 309 private HidDeviceService getService(AttributionSource source) { in getService() method in HidDeviceService.BluetoothHidDeviceBinder 326 HidDeviceService service = getService(source); in registerApp() 340 HidDeviceService service = getService(source); in unregisterApp() 356 HidDeviceService service = getService(source); in sendReport() 372 HidDeviceService service = getService(source); in replyReport() 387 HidDeviceService service = getService(source); in unplug() 402 HidDeviceService service = getService(source); in connect() 417 HidDeviceService service = getService(source); in disconnect() 434 HidDeviceService service = getService(source); in setConnectionPolicy() 449 HidDeviceService service = getService(source); in reportError() [all …]
|
D | HidHostService.java | 347 private HidHostService getService(AttributionSource source) { in getService() method in HidHostService.BluetoothHidHostBinder 359 HidHostService service = getService(source); in connect() 370 HidHostService service = getService(source); in disconnect() 381 HidHostService service = getService(source); in getConnectionState() 398 HidHostService service = getService(source); in getDevicesMatchingConnectionStates() 409 HidHostService service = getService(source); in setConnectionPolicy() 420 HidHostService service = getService(source); in getConnectionPolicy() 432 HidHostService service = getService(source); in getProtocolMode() 442 HidHostService service = getService(source); in virtualUnplug() 453 HidHostService service = getService(source); in setProtocolMode() [all …]
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/storage/ |
D | CacheQuotaServiceImplTest.java | 79 CacheQuotaServiceImpl service = getService(); in testNoApps() 89 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testOneApp() 101 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsOneVolume() 116 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsTwoVolumes() 129 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testMultipleAppsPerUidIsCollated() 142 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsTwoVolumesTwoUuidsShouldBESeparate()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
D | LeAudioService.java | 720 private LeAudioService getService(AttributionSource source) { in getService() method in LeAudioService.BluetoothLeAudioBinder 741 LeAudioService service = getService(source); in connect() 751 LeAudioService service = getService(source); in disconnect() 760 LeAudioService service = getService(source); in getConnectedDevices() 770 LeAudioService service = getService(source); in getDevicesMatchingConnectionStates() 780 LeAudioService service = getService(source); in getConnectionState() 790 LeAudioService service = getService(source); in setActiveDevice() 799 LeAudioService service = getService(source); in getActiveDevices() 810 LeAudioService service = getService(source); in setConnectionPolicy() 820 LeAudioService service = getService(source); in getConnectionPolicy() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 243 private PbapClientService getService(AttributionSource source) { in getService() method in PbapClientService.BluetoothPbapClientBinder 255 PbapClientService service = getService(source); in connect() 269 PbapClientService service = getService(source); in disconnect() 278 PbapClientService service = getService(source); in getConnectedDevices() 288 PbapClientService service = getService(source); in getDevicesMatchingConnectionStates() 298 PbapClientService service = getService(source); in getConnectionState() 309 PbapClientService service = getService(source); in setConnectionPolicy() 319 PbapClientService service = getService(source); in getConnectionPolicy()
|
/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/sap/ |
D | SapService.java | 925 private SapService getService(AttributionSource source) { in getService() method in SapService.SapBinder 947 SapService service = getService(source); in getState() 957 SapService service = getService(source); in getClient() 969 SapService service = getService(source); in isConnected() 981 SapService service = getService(source); in connect() 992 SapService service = getService(source); in disconnect() 1002 SapService service = getService(source); in getConnectedDevices() 1013 SapService service = getService(source); in getDevicesMatchingConnectionStates() 1024 SapService service = getService(source); in getConnectionState() 1035 SapService service = getService(source); in setConnectionPolicy() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 255 private PanService getService(AttributionSource source) { in getService() method in PanService.BluetoothPanBinder 267 PanService service = getService(source); in connect() 277 PanService service = getService(source); in disconnect() 288 PanService service = getService(source); in setConnectionPolicy() 298 PanService service = getService(source); in getConnectionState() 308 PanService service = getService(source); in isTetheringOn() 317 PanService service = getService(source); in setBluetoothTethering() 329 PanService service = getService(source); in getConnectedDevices() 339 PanService service = getService(source); in getDevicesMatchingConnectionStates() 659 IBinder b = ServiceManager.getService(Context.NETWORKMANAGEMENT_SERVICE); in configureBtIface()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | AudioControlFactory.java | 42 IBinder binder = AudioControlWrapperAidl.getService(); in newAudioControl() 49 AudioControlWrapperV2.getService(); in newAudioControl() 56 AudioControlWrapperV1.getService(); in newAudioControl()
|
/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/service/src/com/android/car/garagemode/ |
D | GarageMode.java | 137 ArrayList<Integer> startedUsers = CarLocalServices.getService(CarUserService.class) 160 CarLocalServices.getService(CarUserService.class) 203 CarLocalServices.getService(CarUserService.class) in init() 208 CarLocalServices.getService(CarUserService.class) in release() 272 mCarPowerManagementService = CarLocalServices.getService( in enterGarageMode()
|