Home
last modified time | relevance | path

Searched refs:clientName (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java122 public CameraUsageEvent(int facing, String clientName, int apiLevel) { in CameraUsageEvent() argument
124 mClientName = clientName; in CameraUsageEvent()
189 String clientName, int apiLevel) {
198 state + " for client " + clientName + " API Level " + apiLevel);
200 updateActivityCount(cameraId, newCameraState, facing, clientName, apiLevel);
458 String clientName, int apiLevel) { in updateActivityCount() argument
483 if (mActiveCameraUsage.valueAt(i).mClientName.equals(clientName)) { in updateActivityCount()
493 wmi.addNonHighRefreshRatePackage(clientName); in updateActivityCount()
497 CameraUsageEvent newEvent = new CameraUsageEvent(facing, clientName, apiLevel); in updateActivityCount()
520 if (mActiveCameraUsage.valueAt(i).mClientName.equals(clientName)) { in updateActivityCount()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h51 static CameraSource *Create(const String16 &clientName);
87 const String16& clientName,
214 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
299 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
304 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
314 const String16& clientName,
DCameraSourceTimeLapse.h42 const String16& clientName,
119 const String16& clientName,
/frameworks/av/media/libmediatranscoding/
DTranscodingClientManager.cpp73 std::string clientName; in dumpAllClients() local
74 Status status = client->getName(&clientName); in dumpAllClients()
79 snprintf(buffer, SIZE, " -- Clients: %d name: %s\n", iter.first, clientName.c_str()); in dumpAllClients()
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp42 const String16& clientName, in CreateFromCamera() argument
53 clientName, clientUid, clientPid, in CreateFromCamera()
71 const String16& clientName, in CameraSourceTimeLapse() argument
79 : CameraSource(camera, proxy, cameraId, clientName, clientUid, clientPid, in CameraSourceTimeLapse()
DCameraSource.cpp172 CameraSource *CameraSource::Create(const String16 &clientName) { in Create() argument
178 return new CameraSource(camera, NULL, 0, clientName, Camera::USE_CALLING_UID, in Create()
187 const String16& clientName, in CreateFromCamera() argument
196 clientName, clientUid, clientPid, videoSize, frameRate, surface, in CreateFromCamera()
205 const String16& clientName, in CameraSource() argument
233 clientName, clientUid, clientPid, in CameraSource()
245 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid) { in isCameraAvailable() argument
248 mCamera = Camera::connect(cameraId, clientName, clientUid, clientPid); in isCameraAvailable()
530 const String16& clientName, in init() argument
540 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid, clientPid, in init()
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraServiceProxy.aidl58 String clientName, int apiLevel); in notifyCameraState() argument
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp509 status_t MediaRecorderClient::setClientName(const String16& clientName) { in setClientName() argument
510 ALOGV("setClientName(%s)", String8(clientName).string()); in setClientName()
516 return mRecorder->setClientName(clientName); in setClientName()
DMediaRecorderClient.h66 virtual status_t setClientName(const String16& clientName);
DStagefrightRecorder.h64 virtual status_t setClientName(const String16 &clientName);
DStagefrightRecorder.cpp934 status_t StagefrightRecorder::setClientName(const String16& clientName) { in setClientName() argument
935 mClientName = clientName; in setClientName()
/frameworks/av/media/libmedia/include/media/
DMediaRecorderBase.h58 virtual status_t setClientName(const String16& clientName) = 0;
DIMediaRecorder.h58 virtual status_t setClientName(const String16& clientName) = 0;
Dmediarecorder.h250 status_t setClientName(const String16& clientName);
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp191 std::string clientName; in dump() local
192 Status status = infos[j].client->getName(&clientName); in dump()
194 clientName = "<unknown client>"; in dump()
196 snprintf(buffer, SIZE, " Name: %s\n", clientName.c_str()); in dump()
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp275 status_t setClientName(const String16& clientName) in setClientName() argument
277 ALOGV("setClientName(%s)", String8(clientName).string()); in setClientName()
280 data.writeString16(clientName); in setClientName()
Dmediarecorder.cpp794 status_t MediaRecorder::setClientName(const String16& clientName) in setClientName() argument
810 mMediaRecorder->setClientName(clientName); in setClientName()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp427 String8 clientName(packageUtf.c_str()); in nativeInitSensorEventQueue() local
428 sp<SensorEventQueue> queue(mgr->createEventQueue(clientName, mode)); in nativeInitSensorEventQueue()
Dandroid_hardware_Camera.cpp565 String16 clientName(rawClientName, rawClientNameLen); in android_hardware_Camera_native_setup() local
572 camera = Camera::connect(cameraId, clientName, in android_hardware_Camera_native_setup()
575 jint status = Camera::connectLegacy(cameraId, halVersion, clientName, in android_hardware_Camera_native_setup()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp644 String16 clientName(rawClientName, rawClientNameLen); in android_media_MediaRecorder_native_setup() local
649 mr->setClientName(clientName); in android_media_MediaRecorder_native_setup()
/frameworks/base/media/java/android/media/
DMediaRecorder.java1726 String clientName, String opPackageName) throws IllegalStateException; in native_setup() argument
/frameworks/av/services/camera/libcameraservice/
DCameraService.h227 const String16& clientName,
DCameraService.cpp3861 const String8& cameraId, int facing, const String16& clientName, int apiLevel) { in updateProxyDeviceState() argument
3865 proxyBinder->notifyCameraState(id, newState, facing, clientName, apiLevel); in updateProxyDeviceState()