/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/obex/ |
D | FakeObexTransport.java | 70 return new DataOutputStream(openOutputStream()); in openDataOutputStream() 79 public OutputStream openOutputStream() throws IOException { in openOutputStream() method in FakeObexTransport.BiDirectionalTransport
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | BluetoothObexTransport.java | 63 return new DataOutputStream(openOutputStream()); in openDataOutputStream() 72 public OutputStream openOutputStream() throws IOException { in openOutputStream() method in BluetoothObexTransport
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSessionTest.java | 80 doReturn(output).when(mTransport).openOutputStream(); in setUp() 127 doThrow(new IOException()).when(mTransport).openOutputStream(); in startThenStop_startsAndStopsClientThread() 199 doReturn(os).when(mTransport).openOutputStream(); in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError()
|
D | TestActivity.java | 667 return new DataOutputStream(openOutputStream()); in openDataOutputStream() 676 public OutputStream openOutputStream() throws IOException { in openOutputStream() method in TestTcpTransport
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | HandlerForStringBufferTest.java | 55 when(mOperation.openOutputStream()).thenReturn(mOutputStream); in setUp() 78 doThrow(new IOException()).when(mOperation).openOutputStream(); in init_withIOExceptionWhenOpeningOutputStream_returnsFalse()
|
D | BluetoothPbapObexServerTest.java | 462 when(operation.openOutputStream()).thenReturn(outputStream); in testOnGet_whenNameIsNotSet_andTypeIsListing_success() 494 when(operation.openOutputStream()).thenReturn(outputStream); in testOnGet_whenNameIsNotSet_andTypeIsPb_success() 560 when(operation.openOutputStream()).thenReturn(outputStream); in testOnGet_whenNameIsSet_andTypeIsListing_success() 592 when(operation.openOutputStream()).thenReturn(outputStream); in testOnGet_whenNameIsSet_andTypeIsPb_success() 748 when(op.openOutputStream()).thenReturn(os); in pushHeader_returnsObexHttpOk() 760 when(op.openOutputStream()).thenThrow(new IOException()); in pushHeader_withExceptionWhenOpeningOutputStream_returnsObexHttpInternalError() 772 when(op.openOutputStream()).thenReturn(os); in pushHeader_withExceptionWhenClosingOutputStream_returnsObexHttpInternalError()
|
D | BluetoothPbapSimVcardManagerTest.java | 473 when(operation.openOutputStream()).thenReturn(outputStream); in testComposeAndSendSIMPhonebookVcards_success() 516 when(operation.openOutputStream()).thenReturn(outputStream); in testComposeAndSendSIMPhonebookOneVcard_success()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/ |
D | RequestTest.java | 191 outputStream = op.openOutputStream(); in onGetValidator() 201 outputStream = op.openOutputStream(); in onGetValidator()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | HandlerForStringBuffer.java | 48 mOutputStream = mOperation.openOutputStream(); in init()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnection.java | 106 public OutputStream openOutputStream() throws IOException { in openOutputStream() method in HttpsServiceConnection
|
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/ |
D | VoicemailFetchedCallback.java | 81 outputStream = contentResolver.openOutputStream(uri); in setVoicemailContent()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateSavingPicture.java | 85 .openOutputStream(saveUri.get()); in onEnter()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | PhotoPickerUtils.kt | 123 session.openOutputStream().use { target -> FileUtils.copy(source, target) } in <lambda>()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugStorageUtils.java | 123 return r.openOutputStream(BugStorageProvider.buildUriWithSegment( in openBugReportFileToWrite() 132 return r.openOutputStream(BugStorageProvider.buildUriWithSegment( in openAudioMessageFileToWrite()
|
/packages/apps/TvFeedbackConsent/src/com/android/tv/feedbackconsent/ |
D | TvFeedbackBugreportHelper.java | 145 .openOutputStream(bugreportUri, "w")) { in copyBugreportToUri()
|
D | TvFeedbackConsentService.java | 172 .getContentResolver().openOutputStream(mSystemLogsUri, "w");
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | PublicVolumeTest.java | 83 try (OutputStream out = contentResolver.openOutputStream(targetUri)) { in testIncludeRecentlyUnmountedVolumes()
|
D | DelegatorTest.java | 122 try (OutputStream out = mResolver.openOutputStream(uri)) { in createAudio()
|
D | PublicVolumePlaylistTest.java | 102 try (OutputStream out = contentResolver.openOutputStream(audioUri)) { in testEjectedVolume()
|
D | PlaylistPerformanceTest.java | 150 try (OutputStream ignore = mContentResolver.openOutputStream(uri)) { in createAudio()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | ExportManager.java | 170 mDatabaseContext.getContentResolver().openOutputStream(destination)) { in exportToUri()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | ImagePersistTask.java | 79 mContext.getContentResolver().openOutputStream(mOutputUri); in doInBackgroundTimed()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnectionTest.java | 163 assertEquals(testOutputStream, mHttpsServiceConnection.openOutputStream()); in verifyOpenOutputStream()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 347 outputStream = mContext.getContentResolver().openOutputStream(mOutputUri); in testBugleDatabaseDraftOperations() 393 outputStream = mContext.getContentResolver().openOutputStream(mAnotherUri); in testBugleDatabaseDraftOperations()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelLogoFetcher.java | 157 try (OutputStream os = mContext.getContentResolver().openOutputStream(dstLogoUri)) { in doInBackground()
|