/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTest.java | 155 String clientPackageName = getContext().getPackageName(); in testConnect() local 158 .connect(dummyCallbacks, cameraId, clientPackageName, in testConnect() 176 String clientPackageName = getContext().getPackageName(); in testConnectLegacy() local 181 clientPackageName, in testConnectLegacy() 285 String clientPackageName = getContext().getPackageName(); in testConnectDevice() local 290 clientPackageName, in testConnectDevice()
|
D | CameraDeviceBinderTest.java | 234 String clientPackageName = getContext().getPackageName(); in setUp() local 239 clientPackageName, ICameraService.USE_CALLING_UID); in setUp()
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
D | MediaBrowserServiceCompatApi21.java | 56 BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints); in onGetRoot() argument 118 public MediaBrowserService.BrowserRoot onGetRoot(String clientPackageName, int clientUid, in onGetRoot() argument 121 clientPackageName, clientUid, rootHints == null ? null : new Bundle(rootHints)); in onGetRoot()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 120 int32_t cameraId, const String16& clientPackageName, 127 const String16& clientPackageName, int32_t clientUid, 133 const String16& clientPackageName, int32_t clientUid, 237 const String16& clientPackageName, 324 const String16& clientPackageName, 536 int halVersion, const String16& clientPackageName,
|
D | CameraService.cpp | 1192 const String16& clientPackageName, in connect() argument 1203 CAMERA_HAL_API_VERSION_UNSPECIFIED, clientPackageName, clientUid, clientPid, API_1, in connect() 1208 logRejected(id, getCallingPid(), String8(clientPackageName), in connect() 1220 const String16& clientPackageName, in connectLegacy() argument 1231 clientPackageName, clientUid, USE_CALLING_PID, API_1, in connectLegacy() 1236 logRejected(id, getCallingPid(), String8(clientPackageName), in connectLegacy() 1248 const String16& clientPackageName, in connectDevice() argument 1258 CAMERA_HAL_API_VERSION_UNSPECIFIED, clientPackageName, in connectDevice() 1264 logRejected(id, getCallingPid(), String8(clientPackageName), in connectDevice() 1275 int halVersion, const String16& clientPackageName, int clientUid, int clientPid, in connectHelper() argument [all …]
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | Camera2ClientBase.cpp | 49 const String16& clientPackageName, in Camera2ClientBase() argument 55 TClientBase(cameraService, remoteCallback, clientPackageName, in Camera2ClientBase() 62 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
|
D | Camera2ClientBase.h | 50 const String16& clientPackageName,
|
/frameworks/av/camera/ |
D | Camera.cpp | 74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect() argument 77 return CameraBaseT::connect(cameraId, clientPackageName, clientUid, clientPid); in connect() 81 const String16& clientPackageName, in connectLegacy() argument 93 ret = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName, in connectLegacy()
|
D | CameraBase.cpp | 140 const String16& clientPackageName, in connect() argument 151 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect()
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/ |
D | StubMediaBrowserServiceCompatWithDelayedMediaSession.java | 48 public BrowserRoot onGetRoot(@NonNull String clientPackageName, in onGetRoot() argument
|
D | StubRemoteMediaBrowserServiceCompat.java | 51 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument
|
D | StubMediaBrowserServiceCompat.java | 76 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument
|
/frameworks/av/camera/include/camera/ |
D | Camera.h | 84 const String16& clientPackageName, 88 const String16& clientPackageName,
|
D | CameraBase.h | 109 const String16& clientPackageName,
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaBrowserServiceSupport.java | 223 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument 224 Log.d(TAG, "OnGetRoot: clientPackageName=" + clientPackageName + "; clientUid=" in onGetRoot() 228 if (!mPackageValidator.isCallerAllowed(this, clientPackageName, clientUid)) { in onGetRoot() 231 Log.w(TAG, "OnGetRoot: IGNORING request from untrusted package " + clientPackageName); in onGetRoot() 235 if (CarHelper.isValidCarPackage(clientPackageName)) { in onGetRoot()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 44 const String16& clientPackageName, 144 const String16& clientPackageName,
|
D | CameraDeviceClient.cpp | 48 const String16& clientPackageName, in CameraDeviceClientBase() argument 56 clientPackageName, in CameraDeviceClientBase() 69 const String16& clientPackageName, in CameraDeviceClient() argument 75 Camera2ClientBase(cameraService, remoteCallback, clientPackageName, in CameraDeviceClient()
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
D | BrowserService.java | 120 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.h | 66 const String16& clientPackageName,
|
D | Camera2Client.h | 93 const String16& clientPackageName,
|
D | CameraClient.cpp | 40 const String16& clientPackageName, in CameraClient() argument 44 Client(cameraService, cameraClient, clientPackageName, in CameraClient()
|
D | Camera2Client.cpp | 51 const String16& clientPackageName, in Camera2Client() argument 58 Camera2ClientBase(cameraService, cameraClient, clientPackageName, in Camera2Client()
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 555 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) in android_hardware_Camera_native_setup() argument 559 env->GetStringChars(clientPackageName, NULL)); in android_hardware_Camera_native_setup() 560 jsize rawClientNameLen = env->GetStringLength(clientPackageName); in android_hardware_Camera_native_setup() 562 env->ReleaseStringChars(clientPackageName, in android_hardware_Camera_native_setup()
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
D | MediaBrowserServiceCompat.java | 320 String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument 337 clientPackageName, clientUid, rootHints); in onGetRoot() 1023 public abstract @Nullable BrowserRoot onGetRoot(@NonNull String clientPackageName, in onGetRoot() argument
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 367 public abstract @Nullable BrowserRoot onGetRoot(@NonNull String clientPackageName, in onGetRoot() argument
|