Searched refs:fileInfo (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 113 FileInfo fileInfo = i.getParcelableExtra(MbmsDownloadSession.EXTRA_MBMS_FILE_INFO); in testMultiFileDownloadFlow() local 115 if (CtsDownloadService.FILE_INFO_1.equals(fileInfo)) { in testMultiFileDownloadFlow() 118 } else if (CtsDownloadService.FILE_INFO_2.equals(fileInfo)) { in testMultiFileDownloadFlow() 122 fail("Got unknown file info: " + fileInfo); in testMultiFileDownloadFlow() 124 String relativePath = fileInfo.getUri().getPath().substring( in testMultiFileDownloadFlow() 128 checkFileContentIntegrity(fileInfo, fileUri); in testMultiFileDownloadFlow() 154 private void checkFileContentIntegrity(FileInfo fileInfo, Uri completedFileUri) in checkFileContentIntegrity() argument 156 assertEquals(fileInfo.getUri().getLastPathSegment(), in checkFileContentIntegrity()
|
D | MbmsDownloadCallbackTest.java | 42 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onStatusUpdated() argument 46 args.arg2 = fileInfo; in onStatusUpdated() 64 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, int in onProgressUpdated() argument 69 args.arg2 = fileInfo; in onProgressUpdated()
|
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/aidl/android/telephony/cts/embmstestapp/ |
D | ICtsDownloadMiddlewareControl.aidl | 35 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/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/ |
D | CtsDownloadService.java | 267 public int requestDownloadState(DownloadRequest downloadRequest, FileInfo fileInfo) 270 super.requestDownloadState(downloadRequest, fileInfo); 274 b.putParcelable(ARGUMENT_FILE_INFO, fileInfo); 371 public void fireOnProgressUpdated(DownloadRequest request, FileInfo fileInfo, 377 mHandler.post(() -> mDownloadProgressListener.onProgressUpdated(request, fileInfo, 382 public void fireOnStateUpdated(DownloadRequest request, FileInfo fileInfo, int state) { 386 mHandler.post(() -> mDownloadStatusListener.onStatusUpdated(request, fileInfo, state));
|
/cts/tests/bugreport/src/android/bugreport/cts/ |
D | BugreportManagerTest.java | 194 String[] fileInfo = runShellCommand("ls -l " + file).split(" "); in assertThatFileisNotEmpty() local 196 assertThat(fileInfo.length).isEqualTo(8); in assertThatFileisNotEmpty() 197 long fileSize = Long.parseLong(fileInfo[4]); in assertThatFileisNotEmpty()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTestBase.java | 1739 final String[] fileInfo = filename.split(descriptionDelimiter)[1].split(infoDelimiter); in parseFilename() local 1740 this.codec = fileInfo[0]; in parseFilename() 1741 this.width = Integer.parseInt(fileInfo[1].split(sizeDelimiter)[0]); in parseFilename() 1742 this.height = Integer.parseInt(fileInfo[1].split(sizeDelimiter)[1]); in parseFilename()
|