Home | History | Annotate | Download | only in libcameraservice

Lines Matching defs:BasicClient

345         sp<BasicClient> clientToDisconnect;
639 /*out*/sp<BasicClient>* client) {
1046 void CameraService::finishConnectLocked(const sp<BasicClient>& client,
1081 sp<BasicClient>* client,
1082 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial) {
1146 sp<BasicClient>{nullptr}, static_cast<int32_t>(state->getCost()),
1161 sp<BasicClient> clientSp = clientDescriptor->getValue();
1193 sp<BasicClient> clientSp = i->getValue();
1422 sp<BasicClient> clientTmp = nullptr;
1423 std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>> partial;
1460 sp<BasicClient> tmp = nullptr;
1952 void CameraService::removeByClient(const BasicClient* client) {
1970 std::vector<sp<BasicClient>> evicted;
2023 sp<CameraService::BasicClient> CameraService::removeClientLocked(const String8& cameraId) {
2029 return sp<BasicClient>{nullptr};
2061 std::vector<sp<BasicClient>> evicted;
2293 CameraService::BasicClient(cameraService,
2321 sp<CameraService> CameraService::BasicClient::BasicClient::sCameraService;
2323 CameraService::BasicClient::BasicClient(const sp<CameraService>& cameraService,
2354 // with camera will fail in BasicClient::startCameraOps
2366 // with camera will fail in BasicClient::startCameraOps
2380 CameraService::BasicClient::~BasicClient() {
2381 ALOGV("~BasicClient");
2385 binder::Status CameraService::BasicClient::disconnect() {
2414 status_t CameraService::BasicClient::dump(int, const Vector<String16>&) {
2422 String16 CameraService::BasicClient::getPackageName() const {
2427 int CameraService::BasicClient::getClientPid() const {
2431 uid_t CameraService::BasicClient::getClientUid() const {
2435 bool CameraService::BasicClient::canCastToApiClient(apiLevel level) const {
2440 status_t CameraService::BasicClient::startCameraOps() {
2488 status_t CameraService::BasicClient::finishCameraOps() {
2528 void CameraService::BasicClient::opChanged(int32_t op, const String16&) {
2554 void CameraService::BasicClient::block() {
2584 return BasicClient::disconnect();
2591 CameraService::Client::OpsCallback::OpsCallback(wp<BasicClient> client):
2597 sp<BasicClient> client = mClient.promote();
2911 sp<CameraService::BasicClient>>& descriptor) {
2912 const auto& basicClient = descriptor.getValue();
2913 if (basicClient.get() != nullptr) {
2916 static_cast<int>(basicClient->getClientUid()));
2922 sp<CameraService::BasicClient>>& descriptor) {
2923 const auto& basicClient = descriptor.getValue();
2924 if (basicClient.get() != nullptr) {
2927 static_cast<int>(basicClient->getClientUid()));
2942 sp<CameraService::BasicClient> CameraService::CameraClientManager::getCameraClient(
2946 return sp<BasicClient>{nullptr};
2993 const String8& key, const sp<BasicClient>& value, int32_t cost,
3001 return std::make_shared<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>(
3006 const sp<BasicClient>& value, const CameraService::DescriptorPtr& partial) {
3359 const auto basicClient = current->getValue();
3360 if (basicClient.get() != nullptr && basicClient->getClientUid() == uid) {
3361 basicClient->block();
3371 const auto basicClient = current->getValue();
3372 if (basicClient.get() != nullptr) {
3373 basicClient->block();