Home
last modified time | relevance | path

Searched refs:clientPackageName (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/java/android/hardware/
DICameraService.aidl43 String clientPackageName, in connect() argument
49 String clientPackageName, in connectPro() argument
55 String clientPackageName, in connectDevice() argument
80 String clientPackageName, in connectLegacy() argument
/frameworks/av/include/camera/
DICameraService.h102 const String16& clientPackageName,
109 const String16& clientPackageName,
117 const String16& clientPackageName,
141 const String16& clientPackageName,
DCamera.h74 const String16& clientPackageName,
78 const String16& clientPackageName,
DCameraBase.h63 const String16& clientPackageName,
/frameworks/av/services/camera/libcameraservice/
DCameraService.h82 const String16& clientPackageName, int clientUid,
87 int halVersion, const String16& clientPackageName, int clientUid,
92 int cameraId, const String16& clientPackageName, int clientUid,
99 const String16& clientPackageName,
173 const String16& clientPackageName,
262 const String16& clientPackageName,
300 const String16& clientPackageName,
351 const String16& clientPackageName,
461 const String16& clientPackageName,
DCameraService.cpp619 const String16& clientPackageName, in canConnectUnsafe() argument
622 String8 clientName8(clientPackageName); in canConnectUnsafe()
668 const String16& clientPackageName, in connectHelperLocked() argument
683 clientPackageName, cameraId, in connectHelperLocked()
692 clientPackageName, cameraId, in connectHelperLocked()
709 clientPackageName, cameraId, in connectHelperLocked()
736 const String16& clientPackageName, in connect() argument
741 String8 clientName8(clientPackageName); in connect()
757 if (!canConnectUnsafe(cameraId, clientPackageName, in connect()
769 clientPackageName, in connect()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java169 String clientPackageName = getContext().getPackageName(); in testConnect() local
173 .connect(dummyCallbacks, cameraId, clientPackageName, in testConnect()
193 String clientPackageName = getContext().getPackageName(); in testConnectPro() local
198 clientPackageName, CameraBinderTestUtils.USE_CALLING_UID, holder); in testConnectPro()
215 String clientPackageName = getContext().getPackageName(); in testConnectLegacy() local
222 clientPackageName, in testConnectLegacy()
298 String clientPackageName = getContext().getPackageName(); in testConnectDevice() local
303 clientPackageName, CameraBinderTestUtils.USE_CALLING_UID, holder); in testConnectDevice()
DCameraDeviceBinderTest.java199 String clientPackageName = getContext().getPackageName(); in setUp() local
205 clientPackageName, CameraBinderTestUtils.USE_CALLING_UID, holder); in setUp()
/frameworks/av/camera/
DICameraService.cpp169 const String16 &clientPackageName, int clientUid, in connect() argument
177 data.writeString16(clientPackageName); in connect()
192 const String16 &clientPackageName, int clientUid, in connectLegacy() argument
200 data.writeString16(clientPackageName); in connectLegacy()
214 const String16 &clientPackageName, int clientUid, in connectPro() argument
222 data.writeString16(clientPackageName); in connectPro()
238 const String16& clientPackageName, in connectDevice() argument
247 data.writeString16(clientPackageName); in connectDevice()
DCamera.cpp74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect() argument
77 return CameraBaseT::connect(cameraId, clientPackageName, clientUid); in connect()
81 const String16& clientPackageName, in connectLegacy() argument
92 status = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName, in connectLegacy()
DCameraBase.cpp95 const String16& clientPackageName, in connect() argument
106 status = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h41 const String16& clientPackageName,
114 const String16& clientPackageName,
DCameraDeviceClient.cpp39 const String16& clientPackageName, in CameraDeviceClientBase() argument
45 BasicClient(cameraService, remoteCallback->asBinder(), clientPackageName, in CameraDeviceClientBase()
54 const String16& clientPackageName, in CameraDeviceClient() argument
60 Camera2ClientBase(cameraService, remoteCallback, clientPackageName, in CameraDeviceClient()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp49 const String16& clientPackageName, in Camera2ClientBase() argument
55 TClientBase(cameraService, remoteCallback, clientPackageName, in Camera2ClientBase()
61 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
DCamera2ClientBase.h50 const String16& clientPackageName,
/frameworks/av/services/camera/libcameraservice/api_pro/
DProCamera2Client.h80 const String16& clientPackageName,
DProCamera2Client.cpp38 const String16& clientPackageName, in ProCamera2Client() argument
44 Camera2ClientBase(cameraService, remoteCallback, clientPackageName, in ProCamera2Client()
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
DBrowserService.java120 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h62 const String16& clientPackageName,
DCamera2Client.h87 const String16& clientPackageName,
DCameraClient.cpp38 const String16& clientPackageName, in CameraClient() argument
42 Client(cameraService, cameraClient, clientPackageName, in CameraClient()
DCamera2Client.cpp51 const String16& clientPackageName, in Camera2Client() argument
58 Camera2ClientBase(cameraService, cameraClient, clientPackageName, in Camera2Client()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp517 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) in android_hardware_Camera_native_setup() argument
520 const char16_t *rawClientName = env->GetStringChars(clientPackageName, NULL); in android_hardware_Camera_native_setup()
521 jsize rawClientNameLen = env->GetStringLength(clientPackageName); in android_hardware_Camera_native_setup()
523 env->ReleaseStringChars(clientPackageName, rawClientName); in android_hardware_Camera_native_setup()
/frameworks/base/docs/html/training/auto/audio/
Dindex.jd291 clients, you can compare the passed {@code clientPackageName} to your whitelist.
301 public BrowserRoot onGetRoot(String clientPackageName, int clientUid,
306 if (!PackageValidator.isCallerAllowed(this, clientPackageName, clientUid)) {
310 + clientPackageName);
313 if (ANDROID_AUTO_PACKAGE_NAME.equals(clientPackageName)) {
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java302 public abstract @Nullable BrowserRoot onGetRoot(@NonNull String clientPackageName, in onGetRoot() argument