Home
last modified time | relevance | path

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

123456

/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.java195 startServiceCalls * invocationNumber + 1)).startService(any()); in doEnable()
210 startServiceCalls * invocationNumber + 3)).startService(any()); in doEnable()
241 startServiceCalls * invocationNumber + 5)).startService(any()); in doDisable()
256 startServiceCalls * invocationNumber + startServiceCalls)).startService(any()); in doDisable()
324 verify(mMockContext, timeout(CONTEXT_SWITCH_MS).times(1)).startService(any()); in testGattStartTimeout()
333 .times(2)).startService(any()); in testGattStartTimeout()
356 verify(mMockContext, timeout(ONE_SECOND_MS).times(5)).startService(any()); in testGattStopTimeout()
369 verify(mMockContext, timeout(ONE_SECOND_MS).times(6)).startService(any()); in testGattStopTimeout()
391 verify(mMockContext, timeout(CONTEXT_SWITCH_MS).times(1)).startService(any()); in testProfileStartTimeout()
404 verify(mMockContext, timeout(ONE_SECOND_MS).times(3)).startService(any()); in testProfileStartTimeout()
[all …]
/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/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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertServiceTest.java108 startService(intent); in sendMessage()
131 startService(intent); in testShowNewAlert()
173 startService(intent); in testDuplicateMessage()
193 startService(intent); in testNonDuplicateMessage()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DTetherServiceTest.java166 startService(intent); in cancelAllProvisioning()
191 startService(intent); in testScheduleRechecks()
262 startService(intent); in testCancelAlarm()
275 startService(intent); in testIgnoreOutdatedRequest()
289 startService(intent); in runProvisioningForType()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailBroadcastProcessorService.java98 context.startService(i); in processBroadcastIntent()
104 context.startService(i); in processUpgradeBroadcastIntent()
116 context.startService(i); in processDevicePolicyMessage()
136 startService(broadcastIntent); in onHandleIntent()
DEmailServiceUtils.java94 context.startService(serviceIntent); in killService()
101 public static void startService(Context context, String protocol) { in startService() method in EmailServiceUtils
105 context.startService(serviceIntent); in startService()
116 context.startService(serviceIntent); in startRemoteServices()
/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/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/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/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.java89 context.startService(intent); in startCellServiceConnected()
100 context.startService(intent); in startSmsReceived()
107 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()
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java85 startService(updateIntent); in onCreate()
111 context.startService(updateIntent); in onReceive()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java88 context.startService(intent); in onReceiveWithPrivilege()
248 context.startService(serviceIntent); in startConfigService()
DCellBroadcastAlertService.java382 startService(alertIntent); in handleCellBroadcastIntent()
633 startService(audioIntent); in openEmergencyAlertNotification()
743 context.startService(audioIntent); in addToNotificationBar()
/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()

123456