/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.cpp | 50 int streamId = streamInfo.streamId; in registerStream() local 53 if (streamId == CAMERA3_STREAM_ID_INVALID || streamSetId == CAMERA3_STREAM_SET_ID_INVALID) { in registerStream() 55 __FUNCTION__, streamId, streamSetId); in registerStream() 60 __FUNCTION__, streamId, streamSetId, streamInfo.totalBufferCount); in registerStream() 64 ALOGE("%s: Stream (%d) is not configured", __FUNCTION__, streamId); in registerStream() 88 ssize_t streamIdx = mStreamSetMap[i].streamInfoMap.indexOfKey(streamId); in registerStream() 108 ssize_t streamIdx = currentStreamSet.streamInfoMap.indexOfKey(streamId); in registerStream() 111 __FUNCTION__, streamId, streamSetId); in registerStream() 114 currentStreamSet.streamInfoMap.add(streamId, streamInfo); in registerStream() 115 currentStreamSet.handoutBufferCountMap.add(streamId, 0); in registerStream() [all …]
|
D | Camera3BufferManager.h | 102 status_t unregisterStream(int streamId, int streamSetId); 125 status_t getBufferForStream(int streamId, int streamSetId, sp<GraphicBuffer>* gb, int* fenceFd); 147 status_t onBufferReleased(int streamId, int streamSetId); 173 status_t returnBufferForStream(int streamId, int streamSetId, const sp<GraphicBuffer>& buffer, 300 bool checkIfStreamRegisteredLocked(int streamId, int streamSetId) const; 315 status_t removeBuffersFromBufferListLocked(BufferList &bufList, int streamId); 325 GraphicBufferEntry getFirstBufferFromBufferListLocked(BufferList& buffers, int streamId); 333 bool inline hasBufferForStreamLocked(BufferList& buffers, int streamId);
|
D | Camera3OutputStream.h | 40 int streamId; member 58 streamId(id), in streamId() function
|
D | Camera3Device.h | 145 virtual status_t prepare(int streamId); 147 virtual status_t tearDown(int streamId); 149 virtual status_t addBufferListenerForStream(int streamId, 152 virtual status_t prepare(int maxCount, int streamId);
|
D | Camera3Device.cpp | 1603 status_t Camera3Device::prepare(int streamId) { in prepare() argument 1604 return prepare(camera3::Camera3StreamInterface::ALLOCATE_PIPELINE_MAX, streamId); in prepare() 1607 status_t Camera3Device::prepare(int maxCount, int streamId) { in prepare() argument 1609 ALOGV("%s: Camera %d: Preparing stream %d", __FUNCTION__, mId, streamId); in prepare() 1614 ssize_t outputStreamIdx = mOutputStreams.indexOfKey(streamId); in prepare() 1616 CLOGE("Stream %d does not exist", streamId); in prepare() 1623 CLOGE("Stream %d has already been a request target", streamId); in prepare() 1628 CLOGE("Stream %d is already a target in a pending request", streamId); in prepare() 1635 status_t Camera3Device::tearDown(int streamId) { in tearDown() argument 1637 ALOGV("%s: Camera %d: Tearing down stream %d", __FUNCTION__, mId, streamId); in tearDown() [all …]
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 205 int streamId = mStreamMap.valueAt(idx); in submitRequestList() local 206 outputStreamIds.push_back(streamId); in submitRequestList() 208 __FUNCTION__, mCameraId, streamId); in submitRequestList() 353 binder::Status CameraDeviceClient::deleteStream(int streamId) { in deleteStream() argument 355 ALOGV("%s (streamId = 0x%x)", __FUNCTION__, streamId); in deleteStream() 369 if (mInputStream.configured && mInputStream.id == streamId) { in deleteStream() 374 if (streamId == mStreamMap.valueAt(i)) { in deleteStream() 382 "stream created yet", mCameraId, streamId); in deleteStream() 389 status_t err = mDevice->deleteStream(streamId); in deleteStream() 393 mCameraId, strerror(-err), err, streamId); in deleteStream() [all …]
|
D | CameraDeviceClient.h | 89 virtual binder::Status deleteStream(int streamId); 126 virtual binder::Status prepare(int32_t streamId); 129 virtual binder::Status tearDown(int32_t streamId); 132 virtual binder::Status prepare2(int32_t maxCount, int32_t streamId); 162 virtual void notifyPrepared(int streamId);
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | ICameraDeviceUserWrapper.java | 118 public void deleteStream(int streamId) throws CameraAccessException { in deleteStream() argument 120 mRemoteDevice.deleteStream(streamId); in deleteStream() 191 public void prepare(int streamId) throws CameraAccessException { in prepare() argument 193 mRemoteDevice.prepare(streamId); in prepare() 200 public void tearDown(int streamId) throws CameraAccessException { in tearDown() argument 202 mRemoteDevice.tearDown(streamId); in tearDown() 209 public void prepare2(int maxCount, int streamId) throws CameraAccessException { in prepare2() argument 211 mRemoteDevice.prepare2(maxCount, streamId); in prepare2()
|
D | CameraDeviceImpl.java | 407 int streamId = mConfiguredOutputs.keyAt(i); in configureStreamsChecked() local 411 deleteList.add(streamId); in configureStreamsChecked() 435 int streamId = mRemoteDevice.createInputStream(inputConfig.getWidth(), in configureStreamsChecked() local 438 streamId, inputConfig); in configureStreamsChecked() 443 for (Integer streamId : deleteList) { in configureStreamsChecked() 444 mRemoteDevice.deleteStream(streamId); in configureStreamsChecked() 445 mConfiguredOutputs.delete(streamId); in configureStreamsChecked() 451 int streamId = mRemoteDevice.createStream(outConfig); in configureStreamsChecked() local 452 mConfiguredOutputs.put(streamId, outConfig); in configureStreamsChecked() 692 int streamId = -1; in prepare() local [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHal.java | 53 void onFirstFrameCaptured(int deviceId, int streamId); in onFirstFrameCaptured() argument 58 private static native int nativeAddOrUpdateStream(long ptr, int deviceId, int streamId, in nativeAddOrUpdateStream() argument 60 private static native int nativeRemoveStream(long ptr, int deviceId, int streamId); in nativeRemoveStream() argument 147 private void firstFrameCapturedFromNative(int deviceId, int streamId) { in firstFrameCapturedFromNative() argument 149 mHandler.obtainMessage(EVENT_STREAM_CONFIGURATION_CHANGED, deviceId, streamId)); in firstFrameCapturedFromNative() 198 int streamId = msg.arg2; in handleMessage() local 199 mCallback.onFirstFrameCaptured(deviceId, streamId); in handleMessage()
|
D | TvInputHardwareManager.java | 230 public void onFirstFrameCaptured(int deviceId, int streamId) { in onFirstFrameCaptured() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 52 jmethodID streamId; member 240 int addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface); 241 int removeStream(int deviceId, int streamId); 247 void onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded); 335 int JTvInputHal::addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface) { in addOrUpdateStream() argument 337 if (connections.indexOfKey(streamId) < 0) { in addOrUpdateStream() 338 connections.add(streamId, Connection()); in addOrUpdateStream() 340 Connection& connection = connections.editValueFor(streamId); in addOrUpdateStream() 365 if (configs[i].stream_id == streamId) { in addOrUpdateStream() 371 ALOGE("Cannot find a config with given stream ID: %d", streamId); in addOrUpdateStream() [all …]
|
/frameworks/av/camera/aidl/android/hardware/camera2/ |
D | ICameraDeviceUser.aidl | 67 void deleteStream(int streamId); in deleteStream() argument 119 void prepare(int streamId); in prepare() argument 121 void tearDown(int streamId); in tearDown() argument 123 void prepare2(int maxCount, int streamId); in prepare2() argument
|
D | ICameraDeviceCallbacks.aidl | 39 oneway void onPrepared(int streamId); in onPrepared() argument
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraDeviceBase.h | 205 virtual void notifyPrepared(int streamId) = 0; 292 virtual status_t prepare(int streamId) = 0; 297 virtual status_t tearDown(int streamId) = 0; 302 virtual status_t addBufferListenerForStream(int streamId, 309 virtual status_t prepare(int maxCount, int streamId) = 0;
|
D | Camera2ClientBase.cpp | 301 void Camera2ClientBase<TClientBase>::notifyPrepared(int streamId) { in notifyPrepared() argument 302 (void)streamId; in notifyPrepared() 305 __FUNCTION__, streamId); in notifyPrepared()
|
D | Camera2ClientBase.h | 75 virtual void notifyPrepared(int streamId);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceUserShim.java | 259 public void onPrepared(int streamId) { in onPrepared() argument 261 /*arg1*/ streamId, /*arg2*/ 0); in onPrepared() 320 int streamId = msg.arg1; in handleMessage() local 321 mCallbacks.onPrepared(streamId); in handleMessage() 515 public void deleteStream(int streamId) { in deleteStream() argument 531 int index = mSurfaces.indexOfKey(streamId); in deleteStream() 533 String err = "Cannot delete stream, stream id " + streamId + " doesn't exist."; in deleteStream() 659 public void prepare(int streamId) { in prepare() argument 670 mCameraCallbacks.onPrepared(streamId); in prepare() 673 public void prepare2(int maxCount, int streamId) { in prepare2() argument [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | TvStreamConfig.java | 51 streamId(source.readInt()). 124 public Builder streamId(int streamId) { in streamId() method in TvStreamConfig.Builder 125 mStreamId = streamId; in streamId()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 144 public void onPrepared(int streamId) throws RemoteException { in onPrepared() argument 189 int streamId = mCameraUser.createStream(mOutputConfiguration); in createDefaultBuilder() local 190 assertEquals(0, streamId); in createDefaultBuilder() 260 int streamId = mCameraUser.createStream(mOutputConfiguration); in testCreateStream() local 261 assertEquals(0, streamId); in testCreateStream() 271 mCameraUser.deleteStream(streamId); in testCreateStream() 291 int streamId = mCameraUser.createStream(mOutputConfiguration); in testCreateStreamTwo() local 292 assertEquals(0, streamId); in testCreateStreamTwo() 312 mCameraUser.deleteStream(streamId); in testCreateStreamTwo()
|
D | CameraBinderTest.java | 253 public void onPrepared(int streamId) throws RemoteException { in onPrepared() argument
|
/frameworks/av/camera/tests/ |
D | CameraBinderTests.cpp | 210 virtual binder::Status onPrepared(int streamId) { in onPrepared() argument 211 (void) streamId; in onPrepared() 461 status_t streamId; in TEST_F() local 462 res = device->createStream(output, &streamId); in TEST_F() 464 EXPECT_LE(0, streamId); in TEST_F() 561 res = device->deleteStream(streamId); in TEST_F()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraDevice.cpp | 536 int streamId = kvPair.first; in configureStreamsLocked() local 539 deleteList.push_back(streamId); // Need to delete a no longer needed stream in configureStreamsLocked() 582 for (auto streamId : deleteList) { in configureStreamsLocked() local 583 remoteRet = mRemote->deleteStream(streamId); in configureStreamsLocked() 585 ALOGE("Camera device %s failed to remove stream %d: %s", getId(), streamId, in configureStreamsLocked() 589 mConfiguredOutputs.erase(streamId); in configureStreamsLocked() 594 int streamId; in configureStreamsLocked() local 595 remoteRet = mRemote->createStream(outputPair.second, &streamId); in configureStreamsLocked() 601 mConfiguredOutputs.insert(std::make_pair(streamId, outputPair)); in configureStreamsLocked() 710 int32_t streamId = resultExtras.errorStreamId; in onCaptureErrorLocked() local [all …]
|
D | ACameraDevice.h | 76 binder::Status onPrepared(int streamId) override;
|
/frameworks/base/api/ |
D | system-current.txt | 24787 method public android.media.tv.TvStreamConfig.Builder streamId(int);
|