Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DForegroundServiceDelegationOptions.java97 @NonNull String clientPackageName, in ForegroundServiceDelegationOptions() argument
105 mClientPackageName = clientPackageName; in ForegroundServiceDelegationOptions()
230 public Builder setClientPackageName(@NonNull String clientPackageName) { in setClientPackageName() argument
231 mClientPackageName = clientPackageName; in setClientPackageName()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java157 String clientPackageName = getContext().getPackageName(); in testConnect() local
160 .connect(dummyCallbacks, cameraId, clientPackageName, in testConnect()
262 String clientPackageName = getContext().getPackageName(); in testConnectDevice() local
268 clientPackageName, clientAttributionTag, in testConnectDevice()
302 public void onCameraOpened(String cameraId, String clientPackageName) { in onCameraOpened() argument
304 cameraId, clientPackageName)); in onCameraOpened()
DCameraDeviceBinderTest.java240 String clientPackageName = getContext().getPackageName(); in setUp() local
246 clientPackageName, clientAttributionTag, ICameraService.USE_CALLING_UID, in setUp()
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscodingRequest.h53 clientPackageName = parcel.clientPackageName; in setTo()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.h50 const String16& clientPackageName, in CameraOfflineSessionClient() argument
58 clientPackageName, /*overridePackageName*/false, clientFeatureId, in CameraOfflineSessionClient()
DCameraDeviceClient.h53 const String16& clientPackageName,
184 const String16& clientPackageName,
/frameworks/av/media/module/libmediatranscoding/aidl/android/media/
DTranscodingRequestParcel.aidl74 @utf8InCpp String clientPackageName;
/frameworks/base/media/java/android/media/
DMediaRouter2.java201 @NonNull Context context, @NonNull String clientPackageName) { in getInstance() argument
203 Objects.requireNonNull(clientPackageName, "clientPackageName must not be null"); in getInstance()
213 if (!serviceBinder.verifyPackageExists(clientPackageName)) { in getInstance()
214 Log.e(TAG, "Package " + clientPackageName + " not found. Ignoring."); in getInstance()
222 MediaRouter2 instance = sSystemMediaRouter2Map.get(clientPackageName); in getInstance()
227 instance = new MediaRouter2(context, clientPackageName); in getInstance()
228 sSystemMediaRouter2Map.put(clientPackageName, instance); in getInstance()
328 private MediaRouter2(Context context, String clientPackageName) { in MediaRouter2() argument
330 mClientPackageName = clientPackageName; in MediaRouter2()
336 sManager.getSystemRoutingSession(clientPackageName))); in MediaRouter2()
[all …]
DIMediaRouterService.aidl53 boolean verifyPackageExists(String clientPackageName); in verifyPackageExists() argument
/frameworks/base/services/core/java/com/android/server/am/
DConnectionRecord.java49 final String clientPackageName; // The source package of this connection's client field in ConnectionRecord
126 clientPackageName = _clientPackageName; in ConnectionRecord()
170 clientProcessName, clientPackageName); in startAssociationIfNeeded()
DProcessServiceRecord.java510 void addBoundClientUid(int clientUid, String clientPackageName, long bindFlags) { in addBoundClientUid() argument
513 .addBoundClientUid(clientUid, clientPackageName, bindFlags); in addBoundClientUid()
534 controller.addBoundClientUid(cr.clientUid, cr.clientPackageName, cr.getFlags()); in updateBoundClientUids()
552 .addBoundClientUid(cr.clientUid, cr.clientPackageName, cr.getFlags()); in addBoundClientUidsOfNewService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/sender/
DMediaTttSenderCoordinator.kt95 logger.logStateChange(stateName, routeInfo.id, routeInfo.clientPackageName) in <lambda>()
165 val packageName = checkNotNull(routeInfo.clientPackageName) in <lambda>()
/frameworks/av/camera/
DCameraBase.cpp164 const String16& clientPackageName, in connect() argument
178 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect()
DCamera.cpp73 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect() argument
77 return CameraBaseT::connect(cameraId, clientPackageName, clientUid, in connect()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundLaunchProcessController.java239 void addBoundClientUid(int clientUid, String clientPackageName, long bindFlags) { in addBoundClientUid() argument
242 clientPackageName, in addBoundClientUid()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp52 const String16& clientPackageName, in Camera2ClientBase() argument
65 TClientBase(cameraService, remoteCallback, clientPackageName, systemNativeClient, in Camera2ClientBase()
73 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
DCamera2ClientBase.h53 const String16& clientPackageName,
/frameworks/av/camera/include/camera/
DCameraBase.h121 const String16& clientPackageName,
DCamera.h83 const String16& clientPackageName,
/frameworks/av/services/camera/libcameraservice/utils/
DCameraServiceProxyWrapper.h97 const String16& clientPackageName, int apiLevel, bool isNdk,
DCameraServiceProxyWrapper.cpp308 const String16& clientPackageName, int effectiveApiLevel, bool isNdk, in logOpen() argument
328 String16(id), facing, CameraSessionStats::CAMERA_STATE_OPEN, clientPackageName, in logOpen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiver.kt145 logger.logStateChange(stateName, routeInfo.id, routeInfo.clientPackageName) in <lambda>()
204 val packageName: String? = newInfo.routeInfo.clientPackageName in <lambda>()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1868 const String16& clientPackageName, in connect() argument
1885 clientPackageName,/*systemNativeClient*/ false, {}, clientUid, clientPid, API_1, in connect()
1890 logRejected(id, CameraThreadState::getCallingPid(), String8(clientPackageName), in connect()
1968 const String16& clientPackageName, in connectDevice() argument
1978 String16 clientPackageNameAdj = clientPackageName; in connectDevice()
2104 String16 clientPackageName; in connectHelper() local
2114 clientPackageName = getPackageNameFromUid(packageUid); in connectHelper()
2116 clientPackageName = clientPackageNameMaybe; in connectHelper()
2119 String8 clientName8(clientPackageName); in connectHelper()
2212 if(!(ret = makeClient(this, cameraCb, clientPackageName, systemNativeClient, in connectHelper()
[all …]
DCameraService.h160 int32_t cameraId, const String16& clientPackageName,
168 const String16& clientPackageName, const std::optional<String16>& clientFeatureId,
403 const String16& clientPackageName,
516 const String16& clientPackageName,
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp558 jint cameraId, jstring clientPackageName, in android_hardware_Camera_native_setup() argument
563 env->GetStringChars(clientPackageName, NULL)); in android_hardware_Camera_native_setup()
564 jsize rawClientNameLen = env->GetStringLength(clientPackageName); in android_hardware_Camera_native_setup()
566 env->ReleaseStringChars(clientPackageName, in android_hardware_Camera_native_setup()

12