/aosp12/frameworks/base/core/java/android/gesture/ |
H A D | GestureStore.java | 225 public void save(OutputStream stream, boolean closeStream) throws IOException { in save() argument 267 if (closeStream) GestureUtils.closeStream(out); in save() 278 public void load(InputStream stream, boolean closeStream) throws IOException { in load() argument 302 if (closeStream) GestureUtils.closeStream(in); in load()
|
H A D | Gesture.java | 296 GestureUtils.closeStream(inStream); 325 GestureUtils.closeStream(outStream); in writeToParcel() 326 GestureUtils.closeStream(byteStream); in writeToParcel()
|
H A D | GestureUtils.java | 52 static void closeStream(Closeable stream) { in closeStream() method in GestureUtils
|
/aosp12/hardware/interfaces/tv/input/1.0/ |
H A D | ITvInput.hal | 47 @callflow(next={"openStream", "getStreamConfigurations", "closeStream"}) 64 @callflow(next={"closeStream", "getStreamConfigurations", "openStream"}) 77 @callflow(next={"getStreamConfigurations", "openStream", "closeStream"}) 78 closeStream(int32_t deviceId, int32_t streamId) generates (Result result);
|
/aosp12/hardware/interfaces/tv/input/1.0/vts/functional/ |
H A D | VtsHalTvInputV1_0TargetTest.cpp | 222 result = tv_input_->closeStream(device_id, stream_id); in TEST_P() 253 result = tv_input_->closeStream(id, stream_id); in TEST_P() 288 result = tv_input_->closeStream(device_id, id); in TEST_P() 318 EXPECT_EQ(Result::OK, tv_input_->closeStream(device_id, stream_id)); in TEST_P() 336 EXPECT_EQ(Result::INVALID_STATE, tv_input_->closeStream(device_id, stream_id)); in TEST_P()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
H A D | DiskBasedLogger.java | 214 closeStream(inputStream, "couldn't close input stream for log file"); in clearOldLogs() 215 closeStream(outputStream, "couldn't close output stream for temp log file"); in clearOldLogs() 245 private static void closeStream(Closeable stream, String errorMessage) { in closeStream() method in DiskBasedLogger
|
/aosp12/frameworks/av/services/oboeservice/fuzzer/ |
H A D | oboeservice_fuzzer.cpp | 152 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override; 265 aaudio_result_t FuzzAAudioClient::closeStream(aaudio_handle_t streamHandle) { in closeStream() function in FuzzAAudioClient 270 return service->closeStream(streamHandle); in closeStream() 424 mClient->closeStream(stream); in process()
|
/aosp12/frameworks/av/media/libaaudio/src/binding/ |
H A D | AAudioBinderAdapter.cpp | 47 aaudio_result_t AAudioBinderAdapter::closeStream(aaudio_handle_t streamHandle) { in closeStream() function in aaudio::AAudioBinderAdapter 49 Status status = mDelegate->closeStream(streamHandle, &result); in closeStream()
|
H A D | AAudioBinderClient.cpp | 142 aaudio_result_t AAudioBinderClient::closeStream(aaudio_handle_t streamHandle) { in closeStream() function in AAudioBinderClient 146 return service->closeStream(streamHandle); in closeStream()
|
H A D | AAudioBinderAdapter.h | 40 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override;
|
H A D | AAudioServiceInterface.h | 53 virtual aaudio_result_t closeStream(aaudio_handle_t streamHandle) = 0;
|
H A D | AAudioBinderClient.h | 60 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override;
|
/aosp12/frameworks/av/services/oboeservice/ |
H A D | AAudioService.h | 64 binder::Status closeStream(int32_t streamHandle, int32_t* _aidl_return) override; 103 aaudio_result_t closeStream(sp<aaudio::AAudioServiceStreamBase> serviceStream);
|
H A D | AAudioService.cpp | 184 Status AAudioService::closeStream(int32_t streamHandle, int32_t *_aidl_return) { in closeStream() function in AAudioService 193 AIDL_RETURN(closeStream(serviceStream)); in closeStream() 290 aaudio_result_t AAudioService::closeStream(sp<AAudioServiceStreamBase> serviceStream) { in closeStream() function in AAudioService
|
H A D | AAudioServiceEndpoint.cpp | 127 aaudioService->closeStream(serviceStream); in releaseRegisteredStreams()
|
H A D | AAudioClientTracker.cpp | 201 aaudioService->asAAudioServiceInterface().closeStream(handle); in binderDied()
|
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/ |
H A D | AudioPrimaryHidlHalTest.cpp | 25 ASSERT_OK(closeStream(true /*clear*/)); in TEST_P() 39 ASSERT_OK(closeStream(true /*clear*/)); in TEST_P()
|
/aosp12/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/ |
H A D | IAAudioService.aidl | 40 int closeStream(int streamHandle); in closeStream() method
|
/aosp12/hardware/interfaces/tv/input/1.0/default/ |
H A D | TvInput.h | 52 Return<Result> closeStream(int32_t deviceId, int32_t streamId) override;
|
H A D | TvInput.cpp | 130 Return<Result> TvInput::closeStream(int32_t deviceId, int32_t streamId) { in closeStream() function in android::hardware::tv::input::V1_0::implementation::TvInput
|
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/ |
H A D | AudioPrimaryHidlHalTest.h | 868 Result closeStream(bool clear = true) { 876 ASSERT_OK(closeStream()); in TearDown() 1509 TEST_IO_STREAM(close, "Make sure a stream can be closed", ASSERT_OK(closeStream())) 1512 ASSERT_OK(closeStream(false /*clear*/)); 1513 ASSERT_EQ(Result::INVALID_STATE, closeStream()))
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapObexServer.java | 923 if (!closeStream(outputStream, op)) { in pushHeader() 950 if (!closeStream(outputStream, op)) { in pushBytes() 1344 public static boolean closeStream(final OutputStream out, final Operation op) { in closeStream() method in BluetoothPbapObexServer
|
H A D | BluetoothPbapVcardManager.java | 1095 if (!BluetoothPbapObexServer.closeStream(mOutputStream, mOperation)) { in onTerminate()
|
/aosp12/frameworks/av/media/libaaudio/src/client/ |
H A D | AudioStreamInternal.cpp | 322 mServiceInterface.closeStream(serviceStreamHandle); in release_l()
|
/aosp12/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 435 if (mTvInput->closeStream(deviceId, streamId) != Result::OK) { in removeStream()
|