/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/ |
H A D | StubMediaBrowserServiceCompatWithDelayedMediaSession.java | 51 public BrowserRoot onGetRoot(@NonNull String clientPackageName, argument
|
H A D | StubMediaBrowserServiceCompat.java | 80 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { argument
|
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/ |
H A D | StubMediaBrowserServiceCompatWithDelayedMediaSession.java | 50 public BrowserRoot onGetRoot(@NonNull String clientPackageName, argument
|
H A D | StubMediaBrowserServiceCompat.java | 79 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { argument
|
/frameworks/support/media/api21/androidx/media/ |
H A D | MediaBrowserServiceCompatApi21.java | 57 BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints); argument 119 public MediaBrowserService.BrowserRoot onGetRoot(String clientPackageName, int clientUid, argument 122 clientPackageName, clientUid, rootHints == null ? null : new Bundle(rootHints));
|
/frameworks/support/media/src/main/java/androidx/media/ |
H A D | MediaSessionService2.java | 308 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { argument
|
H A D | MediaLibraryService2.java | 483 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, argument
|
H A D | MediaBrowserServiceCompat.java | 333 String clientPackageName, int clientUid, Bundle rootHints) { 351 mCurConnection = new ConnectionRecord(clientPackageName, -1, clientUid, rootHints, 354 clientPackageName, clientUid, rootHints); 1153 * @param clientPackageName The package name of the application which is 1166 public abstract @Nullable BrowserRoot onGetRoot(@NonNull String clientPackageName, argument 332 onGetRoot( String clientPackageName, int clientUid, Bundle rootHints) argument
|
/frameworks/av/camera/ |
H A D | CameraBase.cpp | 140 const String16& clientPackageName, 151 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, 139 connect(int cameraId, const String16& clientPackageName, int clientUid, int clientPid) argument
|
H A D | Camera.cpp | 74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, argument 77 return CameraBaseT::connect(cameraId, clientPackageName, clientUid, clientPid); 81 const String16& clientPackageName, 93 ret = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName, 80 connectLegacy(int cameraId, int halVersion, const String16& clientPackageName, int clientUid, sp<Camera>& camera) argument
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | Camera2ClientBase.cpp | 49 const String16& clientPackageName, 56 TClientBase(cameraService, remoteCallback, clientPackageName, 63 String8(clientPackageName).string(), clientPid, clientUid); 46 Camera2ClientBase( const sp<CameraService>& cameraService, const sp<TCamCallbacks>& remoteCallback, const String16& clientPackageName, const String8& cameraId, int api1CameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaBrowserServiceSupport.java | 224 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { argument 225 Log.d(TAG, "OnGetRoot: clientPackageName=" + clientPackageName + "; clientUid=" 229 if (!mPackageValidator.isCallerAllowed(this, clientPackageName, clientUid)) { 232 Log.w(TAG, "OnGetRoot: IGNORING request from untrusted package " + clientPackageName); 236 if (CarHelper.isValidCarPackage(clientPackageName)) {
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaBrowserServiceSupport.java | 224 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { argument 225 Log.d(TAG, "OnGetRoot: clientPackageName=" + clientPackageName + "; clientUid=" 229 if (!mPackageValidator.isCallerAllowed(this, clientPackageName, clientUid)) { 232 Log.w(TAG, "OnGetRoot: IGNORING request from untrusted package " + clientPackageName); 236 if (CarHelper.isValidCarPackage(clientPackageName)) {
|
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 375 * @param clientPackageName The package name of the application which is 388 public abstract @Nullable BrowserRoot onGetRoot(@NonNull String clientPackageName, argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.cpp | 40 const String16& clientPackageName, 44 Client(cameraService, cameraClient, clientPackageName, 38 CameraClient(const sp<CameraService>& cameraService, const sp<hardware::ICameraClient>& cameraClient, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, int clientUid, int servicePid, bool legacyMode) argument
|
H A D | Camera2Client.cpp | 51 const String16& clientPackageName, 59 Camera2ClientBase(cameraService, cameraClient, clientPackageName, 49 Camera2Client(const sp<CameraService>& cameraService, const sp<hardware::ICameraClient>& cameraClient, const String16& clientPackageName, const String8& cameraDeviceId, int api1CameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode) argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 555 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) 559 env->GetStringChars(clientPackageName, NULL)); 560 jsize rawClientNameLen = env->GetStringLength(clientPackageName); 562 env->ReleaseStringChars(clientPackageName, 554 android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) argument
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 50 const String16& clientPackageName, 59 clientPackageName, 74 const String16& clientPackageName, 80 Camera2ClientBase(cameraService, remoteCallback, clientPackageName, 47 CameraDeviceClientBase( const sp<CameraService>& cameraService, const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback, const String16& clientPackageName, const String8& cameraId, int api1CameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument 72 CameraDeviceClient(const sp<CameraService>& cameraService, const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback, const String16& clientPackageName, const String8& cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 1190 const String16& clientPackageName, 1202 CAMERA_HAL_API_VERSION_UNSPECIFIED, clientPackageName, clientUid, clientPid, API_1, 1207 logRejected(id, getCallingPid(), String8(clientPackageName), 1219 const String16& clientPackageName, 1230 clientPackageName, clientUid, USE_CALLING_PID, API_1, 1235 logRejected(id, getCallingPid(), String8(clientPackageName), 1247 const String16& clientPackageName, 1258 CAMERA_HAL_API_VERSION_UNSPECIFIED, clientPackageName, 1264 logRejected(id, getCallingPid(), String8(clientPackageName), 1275 int api1CameraId, int halVersion, const String16& clientPackageName, in 1187 connect( const sp<ICameraClient>& cameraClient, int api1CameraId, const String16& clientPackageName, int clientUid, int clientPid, sp<ICamera>* device) argument 1216 connectLegacy( const sp<ICameraClient>& cameraClient, int api1CameraId, int halVersion, const String16& clientPackageName, int clientUid, sp<ICamera>* device) argument 1244 connectDevice( const sp<hardware::camera2::ICameraDeviceCallbacks>& cameraCb, const String16& cameraId, const String16& clientPackageName, int clientUid, sp<hardware::camera2::ICameraDeviceUser>* device) argument 1274 connectHelper(const sp<CALLBACK>& cameraCb, const String8& cameraId, int api1CameraId, int halVersion, const String16& clientPackageName, int clientUid, int clientPid, apiLevel effectiveApiLevel, bool legacyMode, bool shimUpdateOnly, sp<CLIENT>& device) argument 2070 Client(const sp<CameraService>& cameraService, const sp<ICameraClient>& cameraClient, const String16& clientPackageName, const String8& cameraIdStr, int api1CameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument 2107 BasicClient(const sp<CameraService>& cameraService, const sp<IBinder>& remoteCallback, const String16& clientPackageName, const String8& cameraIdStr, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument [all...] |