/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioServiceUnitTest.java | 851 CarAudioService service = setUpAudioServiceWithoutInit(); in init_withVolumeControlPolicyRegistrationError_fails() local 865 CarAudioService service = setUpAudioServiceWithDynamicDevices(mTempCarAudioConfigFile, in init_withRepeatedDynamicDevicesInConfig_fails() local 880 CarAudioService service = setUpAudioServiceWithoutInit(); in init_withFocusControlPolicyRegistrationError_fails() local 894 CarAudioService service = setUpAudioServiceWithoutInit(); in init_withAudioRoutingPolicyRegistrationError_fails() local 912 CarAudioService service = setUpAudioServiceWithoutInit(); in init_withFadeManagerConfigPolicyRegistrationError_fails() local 924 CarAudioService service = setUpAudioServiceWithoutInit(); in init_initializesAudioServiceCallbacks() local 935 CarAudioService service = setUpAudioServiceWithDynamicDevices(); in init_initializesAudioServiceCallbacks_withDynamicDevices() local 967 CarAudioService service = setUpAudioServiceWithDynamicDevices(); in init_withAudioServerDown() local 978 CarAudioService service = setUpAudioService(); in release_releasesAudioServiceCallbacks() local 989 CarAudioService service = setUpAudioServiceWithDynamicDevices(); in release_releasesAudioServiceCallbacks_withDynamicDevices() local [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientServiceInterface.java | 41 private boolean isServiceAvailable(HeadsetClientService service) { in isServiceAvailable() 50 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in dial() local 56 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in enterPrivateMode() local 62 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in sendDTMF() local 68 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in terminateCall() local 74 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in holdCall() local 80 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in acceptCall() local 86 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in rejectCall() local 92 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in connectAudio() local 98 HeadsetClientService service = HeadsetClientService.getHeadsetClientService(); in disconnectAudio() local [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothHeadset.java | 375 public void onServiceConnected(IBinder service) { in onServiceConnected() 428 final IBluetoothHeadset service = getService(); in connect() local 466 final IBluetoothHeadset service = getService(); in disconnect() local 486 final IBluetoothHeadset service = getService(); in getConnectedDevices() local 507 final IBluetoothHeadset service = getService(); in getDevicesMatchingConnectionStates() local 529 final IBluetoothHeadset service = getService(); in getConnectionState() local 566 final IBluetoothHeadset service = getService(); in setConnectionPolicy() local 621 final IBluetoothHeadset service = getService(); in getConnectionPolicy() local 646 final IBluetoothHeadset service = getService(); in isNoiseReductionSupported() local 671 final IBluetoothHeadset service = getService(); in isVoiceRecognitionSupported() local [all …]
|
D | BluetoothA2dp.java | 287 public void onServiceConnected(IBinder service) { in onServiceConnected() 332 final IBluetoothA2dp service = getService(); in connect() local 370 final IBluetoothA2dp service = getService(); in disconnect() local 390 final IBluetoothA2dp service = getService(); in getConnectedDevices() local 411 final IBluetoothA2dp service = getService(); in getDevicesMatchingConnectionStates() local 433 final IBluetoothA2dp service = getService(); in getConnectionState() local 469 final IBluetoothA2dp service = getService(); in setActiveDevice() local 496 final IBluetoothA2dp service = getService(); in getActiveDevice() local 554 final IBluetoothA2dp service = getService(); in setConnectionPolicy() local 609 final IBluetoothA2dp service = getService(); in getConnectionPolicy() local [all …]
|
D | BluetoothHidHost.java | 211 public void onServiceConnected(IBinder service) { in onServiceConnected() 253 final IBluetoothHidHost service = getService(); in connect() local 293 final IBluetoothHidHost service = getService(); in disconnect() local 318 final IBluetoothHidHost service = getService(); in getConnectedDevices() local 343 final IBluetoothHidHost service = getService(); in getDevicesMatchingConnectionStates() local 373 final IBluetoothHidHost service = getService(); in getConnectionState() local 433 final IBluetoothHidHost service = getService(); in setConnectionPolicy() local 482 final IBluetoothHidHost service = getService(); in setPreferredTransport() local 544 final IBluetoothHidHost service = getService(); in getConnectionPolicy() local 579 final IBluetoothHidHost service = getService(); in getPreferredTransport() local [all …]
|
D | BluetoothHapClient.java | 522 public void onServiceConnected(IBinder service) { in onServiceConnected() 595 final IBluetoothHapClient service = getService(); in registerCallback() local 646 final IBluetoothHapClient service = getService(); in unregisterCallback() local 679 final IBluetoothHapClient service = getService(); in setConnectionPolicy() local 716 final IBluetoothHapClient service = getService(); in getConnectionPolicy() local 745 final IBluetoothHapClient service = getService(); in getConnectedDevices() local 776 final IBluetoothHapClient service = getService(); in getDevicesMatchingConnectionStates() local 808 final IBluetoothHapClient service = getService(); in getConnectionState() local 845 final IBluetoothHapClient service = getService(); in getHapGroup() local 875 final IBluetoothHapClient service = getService(); in getActivePresetIndex() local [all …]
|
D | BluetoothHearingAid.java | 342 public void onServiceConnected(IBinder service) { in onServiceConnected() 382 final IBluetoothHearingAid service = getService(); in connect() local 422 final IBluetoothHearingAid service = getService(); in disconnect() local 442 final IBluetoothHearingAid service = getService(); in getConnectedDevices() local 464 final IBluetoothHearingAid service = getService(); in getDevicesMatchingConnectionStates() local 487 final IBluetoothHearingAid service = getService(); in getConnectionState() local 523 final IBluetoothHearingAid service = getService(); in setActiveDevice() local 551 final IBluetoothHearingAid service = getService(); in getActiveDevices() local 589 final IBluetoothHearingAid service = getService(); in setConnectionPolicy() local 626 final IBluetoothHearingAid service = getService(); in getConnectionPolicy() local [all …]
|
D | BluetoothA2dpSink.java | 95 public void onServiceConnected(IBinder service) { in onServiceConnected() 142 final IBluetoothA2dpSink service = getService(); in connect() local 180 final IBluetoothA2dpSink service = getService(); in disconnect() local 204 final IBluetoothA2dpSink service = getService(); in getConnectedDevices() local 229 final IBluetoothA2dpSink service = getService(); in getDevicesMatchingConnectionStates() local 255 final IBluetoothA2dpSink service = getService(); in getConnectionState() local 283 final IBluetoothA2dpSink service = getService(); in getAudioConfig() local 340 final IBluetoothA2dpSink service = getService(); in setConnectionPolicy() local 397 final IBluetoothA2dpSink service = getService(); in getConnectionPolicy() local 427 final IBluetoothA2dpSink service = getService(); in isAudioPlaying() local
|
D | BluetoothLeAudio.java | 723 public void onServiceConnected(IBinder service) { in onServiceConnected() 781 final IBluetoothLeAudio service = getService(); in connect() local 817 final IBluetoothLeAudio service = getService(); in disconnect() local 852 final IBluetoothLeAudio service = getService(); in getConnectedGroupLeadDevice() local 874 final IBluetoothLeAudio service = getService(); in getConnectedDevices() local 896 final IBluetoothLeAudio service = getService(); in getDevicesMatchingConnectionStates() local 919 final IBluetoothLeAudio service = getService(); in getConnectionState() local 975 final IBluetoothLeAudio service = getService(); in registerCallback() local 1025 final IBluetoothLeAudio service = getService(); in unregisterCallback() local 1055 final IBluetoothLeAudio service = getService(); in setActiveDevice() local [all …]
|
D | BluetoothHeadsetClient.java | 627 public void onServiceConnected(IBinder service) { in onServiceConnected() 673 final IBluetoothHeadsetClient service = getService(); in connect() local 700 final IBluetoothHeadsetClient service = getService(); in disconnect() local 729 final IBluetoothHeadsetClient service = getService(); in getConnectedDevices() local 761 final IBluetoothHeadsetClient service = getService(); in getDevicesMatchingConnectionStates() local 793 final IBluetoothHeadsetClient service = getService(); in getConnectionState() local 847 final IBluetoothHeadsetClient service = getService(); in setConnectionPolicy() local 903 final IBluetoothHeadsetClient service = getService(); in getConnectionPolicy() local 933 final IBluetoothHeadsetClient service = getService(); in startVoiceRecognition() local 961 final IBluetoothHeadsetClient service = getService(); in sendVendorAtCommand() local [all …]
|
D | BluetoothLeBroadcastAssistant.java | 512 public void onServiceConnected(IBinder service) { in onServiceConnected() 565 final IBluetoothLeBroadcastAssistant service = getService(); in getConnectionState() local 597 final IBluetoothLeBroadcastAssistant service = getService(); in getDevicesMatchingConnectionStates() local 627 final IBluetoothLeBroadcastAssistant service = getService(); in getConnectedDevices() local 666 final IBluetoothLeBroadcastAssistant service = getService(); in setConnectionPolicy() local 705 final IBluetoothLeBroadcastAssistant service = getService(); in getConnectionPolicy() local 758 final IBluetoothLeBroadcastAssistant service = getService(); in registerCallback() local 807 final IBluetoothLeBroadcastAssistant service = getService(); in unregisterCallback() local 869 final IBluetoothLeBroadcastAssistant service = getService(); in startSearchingForSources() local 911 final IBluetoothLeBroadcastAssistant service = getService(); in stopSearchingForSources() local [all …]
|
D | BluetoothLeBroadcast.java | 395 final IBluetoothLeAudio service = getService(); in registerCallback() local 446 final IBluetoothLeAudio service = getService(); in unregisterCallback() local 513 final IBluetoothLeAudio service = getService(); in startBroadcast() local 549 final IBluetoothLeAudio service = getService(); in startBroadcast() local 590 final IBluetoothLeAudio service = getService(); in updateBroadcast() local 633 final IBluetoothLeAudio service = getService(); in updateBroadcast() local 670 final IBluetoothLeAudio service = getService(); in stopBroadcast() local 699 final IBluetoothLeAudio service = getService(); in isPlaying() local 728 final IBluetoothLeAudio service = getService(); in getAllBroadcastMetadata() local 751 final IBluetoothLeAudio service = getService(); in getMaximumNumberOfBroadcasts() local [all …]
|
D | BluetoothMapClient.java | 252 public void onServiceConnected(IBinder service) { in onServiceConnected() 282 final IBluetoothMapClient service = getService(); in isConnected() local 309 final IBluetoothMapClient service = getService(); in connect() local 338 final IBluetoothMapClient service = getService(); in disconnect() local 367 final IBluetoothMapClient service = getService(); in getConnectedDevices() local 399 final IBluetoothMapClient service = getService(); in getDevicesMatchingConnectionStates() local 431 final IBluetoothMapClient service = getService(); in getConnectionState() local 489 final IBluetoothMapClient service = getService(); in setConnectionPolicy() local 547 final IBluetoothMapClient service = getService(); in getConnectionPolicy() local 627 final IBluetoothMapClient service = getService(); in sendMessage() local [all …]
|
D | BluetoothSap.java | 148 public void onServiceConnected(IBinder service) { in onServiceConnected() 179 final IBluetoothSap service = getService(); in getState() local 204 final IBluetoothSap service = getService(); in getClient() local 229 final IBluetoothSap service = getService(); in isConnected() local 266 final IBluetoothSap service = getService(); in disconnect() local 290 final IBluetoothSap service = getService(); in getConnectedDevices() local 315 final IBluetoothSap service = getService(); in getDevicesMatchingConnectionStates() local 404 final IBluetoothSap service = getService(); in getConnectionState() local 467 final IBluetoothSap service = getService(); in setConnectionPolicy() local 526 final IBluetoothSap service = getService(); in getConnectionPolicy() local
|
D | BluetoothDevice.java | 1530 IBluetooth service = adapter.getBluetoothService(); in shouldLogBeRedacted() local 1657 final IBluetooth service = getService(); in getIdentityAddress() local 1683 final IBluetooth service = getService(); in getName() local 1712 final IBluetooth service = getService(); in getType() local 1738 final IBluetooth service = getService(); in getAlias() local 1793 final IBluetooth service = getService(); in setAlias() local 1822 final IBluetooth service = getService(); in getBatteryLevel() local 1914 final IBluetooth service = getService(); in createBondInternal() local 1943 final IBluetooth service = getService(); in isBondingInitiatedLocally() local 1967 final IBluetooth service = getService(); in cancelBondProcess() local [all …]
|
D | BluetoothPan.java | 185 private BluetoothTetheredInterfaceRequest( in BluetoothTetheredInterfaceRequest() 251 public void onServiceConnected(IBinder service) { in onServiceConnected() 298 final IBluetoothPan service = getService(); in connect() local 335 final IBluetoothPan service = getService(); in disconnect() local 371 final IBluetoothPan service = getService(); in setConnectionPolicy() local 403 final IBluetoothPan service = getService(); in getConnectedDevices() local 433 final IBluetoothPan service = getService(); in getDevicesMatchingConnectionStates() local 464 final IBluetoothPan service = getService(); in getConnectionState() local 498 final IBluetoothPan service = getService(); in setBluetoothTethering() local 542 final IBluetoothPan service = getService(); in requestTetheredInterface() local [all …]
|
D | BluetoothMap.java | 125 public void onServiceConnected(IBinder service) { in onServiceConnected() 156 final IBluetoothMap service = getService(); in getState() local 181 final IBluetoothMap service = getService(); in getClient() local 206 final IBluetoothMap service = getService(); in isConnected() local 243 final IBluetoothMap service = getService(); in disconnect() local 293 final IBluetoothMap service = getService(); in getConnectedDevices() local 318 final IBluetoothMap service = getService(); in getDevicesMatchingConnectionStates() local 407 final IBluetoothMap service = getService(); in getConnectionState() local 468 final IBluetoothMap service = getService(); in setConnectionPolicy() local 525 final IBluetoothMap service = getService(); in getConnectionPolicy() local
|
D | BluetoothPbapClient.java | 140 public void onServiceConnected(IBinder service) { in onServiceConnected() 179 final IBluetoothPbapClient service = getService(); in connect() local 210 final IBluetoothPbapClient service = getService(); in disconnect() local 241 final IBluetoothPbapClient service = getService(); in getConnectedDevices() local 275 final IBluetoothPbapClient service = getService(); in getDevicesMatchingConnectionStates() local 309 final IBluetoothPbapClient service = getService(); in getConnectionState() local 381 final IBluetoothPbapClient service = getService(); in setConnectionPolicy() local 441 final IBluetoothPbapClient service = getService(); in getConnectionPolicy() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/ |
D | InitialLockSetupServiceTest.java | 89 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testGetLockConfig_returnsCorrectConfig() local 104 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLock_tooShort() local 113 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLock_longEnough() local 122 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLockPin_withLetters() local 131 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLockPattern_tooShort() local 144 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testCheckValidLockPattern_longEnough() local 157 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testSetLockPassword_doesNotWorkWithExistingPassword() local 166 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testSetLockPassword_doesNotWorkWithInvalidPassword() local 174 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testSetLockPassword_setsDevicePassword() local 187 IInitialLockSetupService service = IInitialLockSetupService.Stub.asInterface( in testSetLockPin_setsDevicePin() local [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | AdServicesManagerServiceTest.java | 473 AdServicesManagerService service = in testGetConsent_unSet() local 487 AdServicesManagerService service = in testGetAndSetConsent_null() local 527 AdServicesManagerService service = in testGetAndSetConsent_nonNull() local 575 AdServicesManagerService service = in testRecordNotificationDisplayed() local 588 AdServicesManagerService service = in testEnforceAdServicesManagerPermission() local 597 AdServicesManagerService service = in testRecordGaUxNotificationDisplayed() local 610 AdServicesManagerService service = in testRecordPasNotificationDisplayed() local 623 AdServicesManagerService service = in testRecordPasNotificationOpened() local 636 AdServicesManagerService service = in recordUserManualInteractionWithConsent() local 847 AdServicesManagerService service = in testRecordMeasurementDeletionOccurred() local [all …]
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/resolver/ |
D | LRResolverRankerServiceTest.java | 80 final LRResolverRankerService service = getService(); in testInitModelUnderUserLocked() local 91 final LRResolverRankerService service = getService(); in testInitModelWhileNoSharedPreferences() local 106 final LRResolverRankerService service = getService(); in testInitModelWhileVersionInSharedPreferencesSmallerThanCurrent() local 121 final LRResolverRankerService service = getService(); in testInitModelWhileVersionInSharedPreferencesNotSmallerThanCurrent() local 135 final LRResolverRankerService service = getService(); in testOnPredictSharingProbabilitiesWhileServiceIsNotReady() local 152 final LRResolverRankerService service = getService(); in testOnPredictSharingProbabilitiesAfterUserUnlock() local 172 final LRResolverRankerService service = getService(); in testOnPredictSharingProbabilities() local 191 final LRResolverRankerService service = getService(); in testOnTrainRankingModelWhileServiceIsNotReady() local 210 final LRResolverRankerService service = getService(); in testOnTrainRankingModelAfterUserUnlock() local 235 final LRResolverRankerService service = getService(); in testOnTrainRankingModelWhileSelectedPositionScoreIsNotHighest() local [all …]
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/watchdog/ |
D | ExplicitHealthCheckServiceImplUnitTest.java | 98 final ExplicitHealthCheckServiceImpl service = getService(); in testInitHealthCheckersWhileNoResolveInfo() local 109 final ExplicitHealthCheckServiceImpl service = getService(); in testInitHealthCheckersWhileApplicationInfoFlagNotSystem() local 120 final ExplicitHealthCheckServiceImpl service = getService(); in testInitHealthCheckersWhileHasResolveInfoAndFlagIsSystem() local 132 final ExplicitHealthCheckServiceImpl service = getService(); in testOnRequestHealthCheck() local 146 final ExplicitHealthCheckServiceImpl service = getService(); in testOnCancelHealthCheck() local 159 final ExplicitHealthCheckServiceImpl service = getService(); in testOnGetSupportedPackages() local 172 final ExplicitHealthCheckServiceImpl service = getService(); in testOnGetRequestedPackagesWhileNoRequest() local 184 final ExplicitHealthCheckServiceImpl service = getService(); in testOnGetRequestedPackagesWhileHasRequest() local
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | VoipCallMonitorTest.java | 124 IBinder service = mock(IBinder.class); in testStartMonitorForOneCall() local 131 conn.onServiceConnected(mHandle1User1.getComponentName(), service); in testStartMonitorForOneCall() local 142 IBinder service = mock(IBinder.class); in testMonitorForTwoCallsOnSameHandle() local 151 conn1.onServiceConnected(mHandle1User1.getComponentName(), service); in testMonitorForTwoCallsOnSameHandle() local 160 conn2.onServiceConnected(mHandle1User1.getComponentName(), service); in testMonitorForTwoCallsOnSameHandle() local 175 IBinder service = mock(IBinder.class); in testMonitorForTwoCallsOnDifferentHandle() local 186 conn1.onServiceConnected(mHandle1User1.getComponentName(), service); in testMonitorForTwoCallsOnDifferentHandle() local 198 conn2.onServiceConnected(mHandle2User1.getComponentName(), service); in testMonitorForTwoCallsOnDifferentHandle() local 212 IBinder service = mock(IBinder.class); in testStopDelegation() local 221 conn1.onServiceConnected(mHandle1User1.getComponentName(), service); in testStopDelegation() local [all …]
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | CardEmulationManager.java | 454 boolean wasServicePreInstalled(PackageManager packageManager, ComponentName service) { in wasServicePreInstalled() 481 ComponentName service = ComponentName.unflattenFromString(name); in getDefaultServiceForCategory() local 492 boolean setDefaultServiceForCategoryChecked(int userId, ComponentName service, in setDefaultServiceForCategoryChecked() 512 boolean isServiceRegistered(int userId, ComponentName service) { in isServiceRegistered() 526 boolean isNfcFServiceInstalled(int userId, ComponentName service) { in isNfcFServiceInstalled() 586 public boolean isDefaultServiceForCategory(int userId, ComponentName service, in isDefaultServiceForCategory() 604 ComponentName service, String aid) throws RemoteException { in isDefaultServiceForAid() 615 ComponentName service, String category) throws RemoteException { in setDefaultServiceForCategory() 625 public boolean setDefaultForNextTap(int userId, ComponentName service) in setDefaultForNextTap() 637 ComponentName service, boolean enable) { in setShouldDefaultToObserveModeForService() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/ |
D | MediaControlGattServiceTest.java | 191 BluetoothGattService service = mGattServiceCaptor.getValue(); in initAllFeaturesGattService() local 206 BluetoothGattService service = initAllFeaturesGattService(); in testGattServerFullInitialState() local 426 BluetoothGattService service = initAllFeaturesGattService(); in testUpdatePlayerState() local 588 BluetoothGattService service = initAllFeaturesGattService(); in testWriteCallbacksValid() local 688 BluetoothGattService service = initAllFeaturesGattService(); in testWriteCallbacksInvalid() local 759 BluetoothGattService service = initAllFeaturesGattService(); in testNotify() local 948 BluetoothGattService service = initAllFeaturesGattService(); in verifyMediaControlPointRequests() local 1083 BluetoothGattService service = initAllFeaturesGattService(); in testPlaybackSpeedWrite() local 1113 BluetoothGattService service = initAllFeaturesGattService(); in testUpdateSupportedOpcodesChar() local 1160 BluetoothGattService service = initAllFeaturesGattService(); in testPlayingOrderSupportedChar() local [all …]
|