Searched refs:CtsDownloadService (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 27 import android.telephony.cts.embmstestapp.CtsDownloadService; 70 CtsDownloadService.FILE_INFO_1); in testSingleFileDownloadFlow() 71 checkFileContentIntegrity(CtsDownloadService.FILE_INFO_1, fileUri); in testSingleFileDownloadFlow() 80 CtsDownloadService.SOURCE_URI_2, destinationDirectoryUri) in testFileInSubdirectoryDownloadFlow() 81 .setServiceInfo(CtsDownloadService.FILE_SERVICE_INFO) in testFileInSubdirectoryDownloadFlow() 89 CtsDownloadService.FILE_INFO_2); in testFileInSubdirectoryDownloadFlow() 91 String file2RelativePath = CtsDownloadService.FILE_INFO_2.getUri().getPath().substring( in testFileInSubdirectoryDownloadFlow() 92 CtsDownloadService.SOURCE_URI_2.getPath().length()); in testFileInSubdirectoryDownloadFlow() 95 checkFileContentIntegrity(CtsDownloadService.FILE_INFO_2, fileUri); in testFileInSubdirectoryDownloadFlow() 104 CtsDownloadService.SOURCE_URI_3, destinationDirectoryUri) in testMultiFileDownloadFlow() [all …]
|
D | MbmsDownloadSessionTest.java | 27 import android.telephony.cts.embmstestapp.CtsDownloadService; 62 if (!CtsDownloadService.FILE_SERVICE_INFO.equals(serviceInfos.get(0))) { in testRequestUpdateDownloadServices() 66 assertEquals(CtsDownloadService.FILE_SERVICE_INFO, serviceInfos.get(0)); in testRequestUpdateDownloadServices() 71 getMiddlewareCalls(CtsDownloadService.METHOD_REQUEST_UPDATE_FILE_SERVICES); in testRequestUpdateDownloadServices() 75 .getStringArrayList(CtsDownloadService.ARGUMENT_SERVICE_CLASSES); in testRequestUpdateDownloadServices() 95 List<Bundle> closeCalls = getMiddlewareCalls(CtsDownloadService.METHOD_CLOSE); in testClose() 104 getMiddlewareCalls(CtsDownloadService.METHOD_ADD_SERVICE_ANNOUNCEMENT); in testAddServiceAnnouncementFile() 116 getMiddlewareCalls(CtsDownloadService.METHOD_SET_TEMP_FILE_ROOT); in testSetTempFileDirectory() 119 setTempRootCalls.get(0).getString(CtsDownloadService.ARGUMENT_ROOT_DIRECTORY_PATH)); in testSetTempFileDirectory() 175 getMiddlewareCalls(CtsDownloadService.METHOD_RESET_DOWNLOAD_KNOWLEDGE); in testResetDownloadKnowledge() [all …]
|
D | DownloadRequestTest.java | 28 import android.telephony.cts.embmstestapp.CtsDownloadService; 69 CtsDownloadService.SOURCE_URI_1, destinationDirectoryUri) in testBuilderConstruction() 71 .setServiceInfo(CtsDownloadService.FILE_SERVICE_INFO); in testBuilderConstruction() 82 CtsDownloadService.SOURCE_URI_1, destinationDirectoryUri) in testServiceIdEquivalency() 84 .setServiceInfo(CtsDownloadService.FILE_SERVICE_INFO) in testServiceIdEquivalency() 88 CtsDownloadService.SOURCE_URI_1, destinationDirectoryUri) in testServiceIdEquivalency() 90 .setServiceId(CtsDownloadService.FILE_SERVICE_INFO.getServiceId()) in testServiceIdEquivalency()
|
D | MbmsDownloadTestBase.java | 41 import android.telephony.cts.embmstestapp.CtsDownloadService; 158 CtsDownloadService.SOURCE_URI_1, destinationDirectoryUri) in setUp() 159 .setServiceInfo(CtsDownloadService.FILE_SERVICE_INFO); in setUp() 184 assertEquals(CtsDownloadService.METHOD_INITIALIZE, in setupDownloadSession() 185 initializeCall.getString(CtsDownloadService.METHOD_NAME)); in setupDownloadSession() 189 Intent bindIntent = new Intent(CtsDownloadService.CONTROL_INTERFACE_ACTION); in getControlBinder() 190 bindIntent.setComponent(CtsDownloadService.CONTROL_INTERFACE_COMPONENT); in getControlBinder() 213 .filter((elem) -> elem.getString(CtsDownloadService.METHOD_NAME).equals(methodName)) in getMiddlewareCalls()
|
D | MbmsDownloadCallbackTest.java | 23 import android.telephony.cts.embmstestapp.CtsDownloadService; 94 mMiddlewareControl.fireOnProgressUpdated(request, CtsDownloadService.FILE_INFO_1, in testFullCallback() 98 assertEquals(CtsDownloadService.FILE_INFO_1, progressArgs.arg2); in testFullCallback() 104 mMiddlewareControl.fireOnStateUpdated(request, CtsDownloadService.FILE_INFO_1, sampleInt); in testFullCallback() 107 assertEquals(CtsDownloadService.FILE_INFO_1, stateArgs.arg2); in testFullCallback()
|
D | MbmsDownloadReceiverTest.java | 33 import android.telephony.cts.embmstestapp.CtsDownloadService; 196 CtsDownloadService.FILE_INFO_1); in testBadDownloadToken()
|
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/ |
D | CtsDownloadService.java | 59 public class CtsDownloadService extends Service { class
|