Home
last modified time | relevance | path

Searched refs:fileInfo (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/telephony/src/android/telephony/embms/cts/
DMbmsDownloadFlowTest.java102 FileInfo fileInfo = i.getParcelableExtra(MbmsDownloadSession.EXTRA_MBMS_FILE_INFO); in testMultiFileDownloadFlow() local
104 if (CtsDownloadService.FILE_INFO_1.equals(fileInfo)) { in testMultiFileDownloadFlow()
107 } else if (CtsDownloadService.FILE_INFO_2.equals(fileInfo)) { in testMultiFileDownloadFlow()
111 fail("Got unknown file info: " + fileInfo); in testMultiFileDownloadFlow()
113 String relativePath = fileInfo.getUri().getPath().substring( in testMultiFileDownloadFlow()
117 checkFileContentIntegrity(fileInfo, fileUri); in testMultiFileDownloadFlow()
143 private void checkFileContentIntegrity(FileInfo fileInfo, Uri completedFileUri) in checkFileContentIntegrity() argument
145 assertEquals(fileInfo.getUri().getLastPathSegment(), in checkFileContentIntegrity()
DMbmsDownloadCallbackTest.java37 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onStatusUpdated() argument
41 args.arg2 = fileInfo; in onStatusUpdated()
59 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, int in onProgressUpdated() argument
64 args.arg2 = fileInfo; in onProgressUpdated()
/cts/tests/tests/telephony/EmbmsMiddlewareTestApp/aidl/android/telephony/cts/embmstestapp/
DICtsDownloadMiddlewareControl.aidl35 void fireOnProgressUpdated(in DownloadRequest request, in FileInfo fileInfo, in fireOnProgressUpdated() argument
38 void fireOnStateUpdated(in DownloadRequest request, in FileInfo fileInfo, int state); in fireOnStateUpdated() argument
/cts/tests/tests/telephony/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsDownloadService.java249 public int requestDownloadState(DownloadRequest downloadRequest, FileInfo fileInfo) {
253 b.putParcelable(ARGUMENT_FILE_INFO, fileInfo);
323 public void fireOnProgressUpdated(DownloadRequest request, FileInfo fileInfo,
329 mHandler.post(() -> mDownloadProgressListener.onProgressUpdated(request, fileInfo,
334 public void fireOnStateUpdated(DownloadRequest request, FileInfo fileInfo, int state) {
338 mHandler.post(() -> mDownloadStatusListener.onStatusUpdated(request, fileInfo, state));
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java1740 final String[] fileInfo = filename.split(descriptionDelimiter)[1].split(infoDelimiter); in parseFilename() local
1741 this.codec = fileInfo[0]; in parseFilename()
1742 this.width = Integer.parseInt(fileInfo[1].split(sizeDelimiter)[0]); in parseFilename()
1743 this.height = Integer.parseInt(fileInfo[1].split(sizeDelimiter)[1]); in parseFilename()