camera/BaseCameraAdapter.cpp
CameraAdapter::AdapterState BaseCameraAdapter::getState()
{
    status_t ret = NO_ERROR;

    LOG_FUNCTION_NAME;

    android::AutoMutex lock(mLock);

    LOG_FUNCTION_NAME_EXIT;

    return mAdapterState;
}
// getNextState() and getState()
// publicly exposed functions to retrieve the adapter states
// please notice that these functions are locked
getNextState() and getState()
publicly exposed functions to retrieve the adapter states
please notice that these functions are locked
getNextState () and getState () publicly exposed functions to retrieve the adapter states please notice that these functions are locked
CameraAdapter::AdapterState BaseCameraAdapter::getState()
{
    status_t ret = NO_ERROR;
    LOG_FUNCTION_NAME;
    android::AutoMutex lock(mLock);
    LOG_FUNCTION_NAME_EXIT;
    return mAdapterState;
}
CameraAdapter :: AdapterState BaseCameraAdapter :: getState ( ) { status_t ret = NO_ERROR ; LOG_FUNCTION_NAME ; android :: AutoMutex lock ( mLock ) ; LOG_FUNCTION_NAME_EXIT ; return mAdapterState ; }
getNextState() and getState()
publicly exposed functions to retrieve the adapter states
please notice that these functions are locked
getNextState () and getState () publicly exposed functions to retrieve the adapter states please notice that these functions are locked