Home
last modified time | relevance | path

Searched refs:startService (Results 1 – 25 of 125) sorted by relevance

12345

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DFileOperationServiceTest.java126 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/
DDvrRecordingServiceTest.java57 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/
DAdapterServiceTest.java204 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/
DCellBroadcastAlertAudioTest.java129 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()
DCellBroadcastReceiverTest.java169 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()
DCellBroadcastAlertReminderTest.java116 startService(intent); in testStartServiceVibrate()
136 startService(intent); in testStartServiceNotVibrate()
DCellBroadcastAlertServiceTest.java111 startService(intent); in sendMessage()
133 startService(intent); in testShowNewAlert()
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingServiceManager.java83 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/
DTestActivity.java66 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/
DSettingsStorageService.java55 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/
DMediaReceiver.java40 context.startService(intent); in onReceive()
45 context.startService( in initResourceRingtones()
/packages/services/Car/evs/manager/
Dservice.cpp41 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/
DTestUtils.java135 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/
DFakeContext.java64 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/
DRemoteVvmTaskManager.java91 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/
DGattServiceTest.java47 TestUtils.startService(mServiceRule, GattService.class); in setUp()
79 TestUtils.startService(mServiceRule, GattService.class); in testServiceUpAndDown()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperations.java72 context.startService(intent); in start()
87 activity.startService(intent); in cancel()
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/
DAnomalyActivity.java68 startService(intent); in startBluetoothAnomaly()
96 startService(intent); in startWakelockAnomaly()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.java101 context.startService(intent); in stopAlarm()
262 startService(AlarmStateManager.createStateChangeIntent(AlarmService.this, in onCallStateChanged()
DAlarmService.kt218 startService(AlarmStateManager.createStateChangeIntent(this@AlarmService, in onCallStateChanged()
261 context.startService(intent) in stopAlarm()
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java85 startService(updateIntent); in onCreate()
111 context.startService(updateIntent); in onReceive()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java255 startService(intent); in onActivityResult()
264 startService(intent); in onSplitContactConfirmed()
/packages/apps/SecureElement/src/com/android/se/
DSEApplication.java30 startService(serviceIntent); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DEventHandler.java44 context.startService(intent); in onReceive()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DBootCompleteReceiver.java26 context.startService(hvacUiService); in onReceive()

12345