/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | FileOperationServiceTest.java | 126 startService(createCopyIntent(Arrays.asList(ALPHA_DOC), BETA_DOC)); in testRunsCopyJobs() 127 startService(createCopyIntent(Arrays.asList(GAMMA_DOC), DELTA_DOC)); in testRunsCopyJobs() 135 startService(createCopyIntent(new ArrayList<>(), BETA_DOC)); in testRunsCopyJobs_AfterExceptionInJobCreation() 140 startService(createCopyIntent(Arrays.asList(GAMMA_DOC), DELTA_DOC)); in testRunsCopyJobs_AfterExceptionInJobCreation() 149 startService(createCopyIntent(Arrays.asList(ALPHA_DOC), BETA_DOC)); in testRunsCopyJobs_AfterFailure() 150 startService(createCopyIntent(Arrays.asList(GAMMA_DOC), DELTA_DOC)); in testRunsCopyJobs_AfterFailure() 159 startService(createCopyIntent(Arrays.asList(ALPHA_DOC), BETA_DOC)); in testRunsCopyJobs_notRunsDeleteJobs() 160 startService(createDeleteIntent(Arrays.asList(GAMMA_DOC))); in testRunsCopyJobs_notRunsDeleteJobs() 167 startService(createDeleteIntent(Arrays.asList(ALPHA_DOC))); in testRunsDeleteJobs() 174 startService(createCopyIntent(Arrays.asList(ALPHA_DOC), BETA_DOC)); in testRunsDeleteJobs_NotRunsCopyJobs() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
D | DvrRecordingServiceTest.java | 57 startService(null); in testStartService_null() 62 startService(null); in testStartService_null() 73 startService(intent); in testStartService_noUpcomingRecording() 81 startService(intent); in testStartService_noUpcomingRecording() 95 startService(intent); in testStartService_noUpcomingRecording() 114 startService(intent); in testStartService_hasUpcomingRecording() 129 startService(intent); in testStartService_hasUpcomingRecording()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 204 startServiceCalls * invocationNumber + 1)).startService(any()); in doEnable() 219 startServiceCalls * invocationNumber + 3)).startService(any()); in doEnable() 250 startServiceCalls * invocationNumber + 5)).startService(any()); in doDisable() 265 startServiceCalls * invocationNumber + startServiceCalls)).startService(any()); in doDisable() 333 verify(mMockContext, timeout(GATT_START_TIME_MS).times(1)).startService(any()); in testGattStartTimeout() 342 .times(2)).startService(any()); in testGattStartTimeout() 365 verify(mMockContext, timeout(ONE_SECOND_MS).times(5)).startService(any()); in testGattStopTimeout() 378 verify(mMockContext, timeout(ONE_SECOND_MS).times(6)).startService(any()); in testGattStopTimeout() 400 verify(mMockContext, timeout(GATT_START_TIME_MS).times(1)).startService(any()); in testProfileStartTimeout() 413 verify(mMockContext, timeout(ONE_SECOND_MS).times(3)).startService(any()); in testProfileStartTimeout() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 129 startService(intent); in testStartService() 160 startService(intent); in testStartServiceNotInCallOverrideDnd() 188 startService(intent); in testStartServiceEnableLedFlash() 212 startService(intent); in testStartServiceSilentRinger() 234 startService(intent); in testStartServiceVibrateRinger() 260 startService(intent); in testStartServiceAndStop() 261 startService(intent); in testStartServiceAndStop()
|
D | CellBroadcastReceiverTest.java | 169 doReturn(null).when(mContext).startService(mIntent); in testOnReceive_actionSmsEmergencyCbReceived() 173 verify(mContext).startService(mIntent); in testOnReceive_actionSmsEmergencyCbReceived() 180 doReturn(null).when(mContext).startService(any()); in testOnReceive_smsCbReceivedAction() 184 verify(mContext).startService(mIntent); in testOnReceive_smsCbReceivedAction()
|
D | CellBroadcastAlertReminderTest.java | 116 startService(intent); in testStartServiceVibrate() 136 startService(intent); in testStartServiceNotVibrate()
|
D | CellBroadcastAlertServiceTest.java | 111 startService(intent); in sendMessage() 133 startService(intent); in testShowNewAlert()
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
D | ProcessingServiceManager.java | 83 startService(); in enqueueTask() 141 startService(); in resumeProcessing() 158 private void startService() { in startService() method in ProcessingServiceManager 159 mAppContext.startService(new Intent(mAppContext, ProcessingService.class)); in startService()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | TestActivity.java | 66 public TestEventListener<Intent> startService; field in TestActivity 87 startService = new TestEventListener<>(); in init() 115 public final ComponentName startService(Intent intent) { in startService() method in TestActivity 116 startService.accept(intent); in startService() 121 assertEquals(expectedAction, startService.getLastValue().getAction()); in assertServiceStarted()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | SettingsStorageService.java | 55 context.startService(intent); in formatAsPublic() 62 context.startService(intent); in formatAsPrivate() 69 context.startService(intent); in unmount()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaReceiver.java | 40 context.startService(intent); in onReceive() 45 context.startService( in initResourceRingtones()
|
/packages/services/Car/evs/manager/ |
D | service.cpp | 41 static void startService(const char *hardwareServiceName, const char * managerServiceName) { in startService() function 99 std::thread registrationThread(startService, evsHardwareServiceName, kManagedEnumeratorName); in main()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 135 public static <T extends ProfileService> void startService(ServiceTestRule serviceTestRule, in startService() method in TestUtils 146 serviceTestRule.startService(startIntent); in startService() 177 serviceTestRule.startService(stopIntent); in stopService()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeContext.java | 64 public ComponentName startService(final Intent intent) { in startService() method in FakeContext 69 return super.startService(intent); in startService()
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | RemoteVvmTaskManager.java | 91 context.startService(intent); in startCellServiceConnected() 102 context.startService(intent); in startSmsReceived() 109 context.startService(intent); in startSimRemoved()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/gatt/ |
D | GattServiceTest.java | 47 TestUtils.startService(mServiceRule, GattService.class); in setUp() 79 TestUtils.startService(mServiceRule, GattService.class); in testServiceUpAndDown()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperations.java | 72 context.startService(intent); in start() 87 activity.startService(intent); in cancel()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/ |
D | AnomalyActivity.java | 68 startService(intent); in startBluetoothAnomaly() 96 startService(intent); in startWakelockAnomaly()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmService.java | 101 context.startService(intent); in stopAlarm() 262 startService(AlarmStateManager.createStateChangeIntent(AlarmService.this, in onCallStateChanged()
|
D | AlarmService.kt | 218 startService(AlarmStateManager.createStateChangeIntent(this@AlarmService, in onCallStateChanged() 261 context.startService(intent) in stopAlarm()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | Compatibility.java | 85 startService(updateIntent); in onCreate() 111 context.startService(updateIntent); in onReceive()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorSpringBoardActivity.java | 255 startService(intent); in onActivityResult() 264 startService(intent); in onSplitContactConfirmed()
|
/packages/apps/SecureElement/src/com/android/se/ |
D | SEApplication.java | 30 startService(serviceIntent); in onCreate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | EventHandler.java | 44 context.startService(intent); in onReceive()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | BootCompleteReceiver.java | 26 context.startService(hvacUiService); in onReceive()
|