Searched defs:clientPackageName (Results 1 - 19 of 19) sorted by relevance

/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
H A DStubMediaBrowserServiceCompatWithDelayedMediaSession.java51 public BrowserRoot onGetRoot(@NonNull String clientPackageName, argument
H A DStubMediaBrowserServiceCompat.java80 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 DStubMediaBrowserServiceCompatWithDelayedMediaSession.java50 public BrowserRoot onGetRoot(@NonNull String clientPackageName, argument
H A DStubMediaBrowserServiceCompat.java79 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { argument
/frameworks/support/media/api21/androidx/media/
H A DMediaBrowserServiceCompatApi21.java57 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 DMediaSessionService2.java308 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { argument
H A DMediaLibraryService2.java483 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, argument
H A DMediaBrowserServiceCompat.java333 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 DCameraBase.cpp140 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 DCamera.cpp74 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 DCamera2ClientBase.cpp49 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 DMediaBrowserServiceSupport.java224 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 DMediaBrowserServiceSupport.java224 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 DMediaBrowserService.java375 * @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 DCameraClient.cpp40 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 DCamera2Client.cpp51 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 Dandroid_hardware_Camera.cpp555 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 DCameraDeviceClient.cpp50 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 DCameraService.cpp1190 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...]

Completed in 91 milliseconds