Home
last modified time | relevance | path

Searched refs:mClientUid (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioFocusInfo.java35 private final int mClientUid; field in AudioFocusInfo
61 mClientUid = clientUid; in AudioFocusInfo()
90 return mClientUid; in getClientUid()
141 dest.writeInt(mClientUid); in writeToParcel()
153 return Objects.hash(mAttributes, mClientUid, mClientId, mPackageName, mGainRequest, mFlags); in hashCode()
168 if (mClientUid != other.mClientUid) { in equals()
DAudioPlaybackConfiguration.java204 private int mClientUid; field in AudioPlaybackConfiguration
234 mClientUid = uid; in AudioPlaybackConfiguration()
285 anonymCopy.mClientUid = PLAYER_UPID_INVALID; in anonymizedCopy()
307 return mClientUid; in getClientUid()
528 return Objects.hash(mPlayerIId, mDeviceId, mPlayerType, mClientUid, mClientPid, in hashCode()
542 dest.writeInt(mClientUid); in writeToParcel()
558 mClientUid = in.readInt(); in AudioPlaybackConfiguration()
577 && (mClientUid == that.mClientUid) in equals()
587 + " u/pid:" + mClientUid + "/" + mClientPid in toString()
DAudioRecordingConfiguration.java66 private final int mClientUid; field in AudioRecordingConfiguration
88 mClientUid = uid; in AudioRecordingConfiguration()
141 + " -- uid:" + arc.mClientUid in toLogFriendlyString()
242 if (mClientUid == -1) { in getClientUid()
245 return mClientUid; in getClientUid()
358 dest.writeInt(mClientUid); in writeToParcel()
379 mClientUid = in.readInt(); in AudioRecordingConfiguration()
400 return ((mClientUid == that.mClientUid) in equals()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp212 __FUNCTION__, String8(mClientPackageName).string(), mClientUid); in startCameraOps()
224 mClientUid, mClientPackageName, /*startIfModeDefault*/ false); in startCameraOps()
245 sCameraService->mUidPolicy->registerMonitorUid(mClientUid); in startCameraOps()
258 mAppOpsManager->finishOp(AppOpsManager::OP_CAMERA, mClientUid, in finishCameraOps()
269 sCameraService->mUidPolicy->unregisterMonitorUid(mClientUid); in finishCameraOps()
DCameraDeviceClient.cpp1850 mClientFeatureId, mCameraIdStr, mCameraFacing, mOrientation, mClientPid, mClientUid, in switchToOffline()
1894 dprintf(fd, " Current client UID %u\n", mClientUid); in dumpClient()
/frameworks/av/services/mediatranscoding/tests/
DMediaTranscodingServiceTestHelper.h264 : mClientId(id), mClientPid(PID(id)), mClientUid(UID(id)), mPackageName(packageName) { in TestClientCallback()
270 mClientUid = packageUid; in TestClientCallback()
343 mClientUid = uid; in registerClient()
346 ALOGD("registering %s with uid %d", packageName, mClientUid); in registerClient()
379 request.clientUid = (overrideUid == -1) ? mClientUid : overrideUid;
465 uid_t mClientUid; member
495 ALOGD("registering %s with uid %d", callback->mPackageName.c_str(), callback->mClientUid); in registerOneClient()
Dmediatranscodingservice_simulated_tests.cpp273 EXPECT_EQ(clientUids[0], (int32_t)mClient1->mClientUid); in TEST_F()
279 EXPECT_TRUE(mClient1->addClientUid<fail>(0, mClient1->mClientUid)); in TEST_F()
296 EXPECT_TRUE(mClient1->addClientUid(1, mClient1->mClientUid)); in TEST_F()
302 EXPECT_EQ(uidSet.count(mClient1->mClientUid), 1u); in TEST_F()
454 EXPECT_TRUE(mClient1->addClientUid(1, mClient2->mClientUid)); in TEST_F()
Dmediatranscodingservice_real_tests.cpp347 EXPECT_TRUE(mClient2->addClientUid(1, mClient1->mClientUid)); in TEST_F()
434 EXPECT_TRUE(mClient2->addClientUid(1, mClient1->mClientUid)); in TEST_F()
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java593 private final int mClientUid; field in RecordingActivityMonitor.RecordingEvent
603 mClientUid = config.getClientUid(); in RecordingEvent()
609 mClientUid = -1; in RecordingEvent()
636 .append(" uid:").append(mClientUid) in eventToString()
DPlaybackActivityMonitor.java1135 private final int mClientUid; field in PlaybackActivityMonitor.NewPlayerEvent
1143 mClientUid = apc.getClientUid(); in NewPlayerEvent()
1151 return new String("new player piid:" + mPlayerIId + " uid/pid:" + mClientUid + "/" in eventToString()
1162 private final int mClientUid; field in PlaybackActivityMonitor.VolumeShaperEvent
1170 mClientUid = apc.getClientUid(); in VolumeShaperEvent()
1177 .append(" uid/pid:").append(mClientUid).append("/").append(mClientPid) in eventToString()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp89 mClientUid(-1), in NuPlayerDriver()
132 mClientUid = uid; in setUID()
136 mMetricsItem->setUid(mClientUid); in setUID()
685 mMetricsItem->setUid(mClientUid); in logMetrics()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDriver.h148 uid_t mClientUid; member
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp3354 mClientPid(clientPid), mClientUid(clientUid), in BasicClient()
3382 mUidIsTrusted = isTrustedCallingUid(mClientUid); in BasicClient()
3459 return mClientUid; in getClientUid()
3504 bool isUidActive = sCameraService->mUidPolicy->isUidActive(mClientUid, in handleAppOpMode()
3523 __FUNCTION__, String8(mClientPackageName).string(), mClientUid); in startCameraOps()
3533 int32_t mode = mAppOpsManager->checkOp(AppOpsManager::OP_CAMERA, mClientUid, in startCameraOps()
3546 sCameraService->mUidPolicy->registerMonitorUid(mClientUid); in startCameraOps()
3567 __FUNCTION__, String8(mClientPackageName).string(), mClientUid); in startCameraStreamingOps()
3570 int32_t mode = mAppOpsManager->startOpNoThrow(AppOpsManager::OP_CAMERA, mClientUid, in startCameraStreamingOps()
3588 __FUNCTION__, String8(mClientPackageName).string(), mClientUid); in noteAppOp()
[all …]
DCameraService.h397 const uid_t mClientUid; variable
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp172 mInitialClientPid, TClientBase::mClientUid); in ~Camera2ClientBase()
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp238 : mOwner(owner), mClientId(clientId), mClientUid(clientUid) { in TestClientCallback()
243 uid_t clientUid() const { return mClientUid; } in clientUid()
284 uid_t mClientUid; member
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java1215 final int mClientUid; field in WallpaperManagerService.WallpaperConnection
1243 mClientUid = clientUid; in WallpaperConnection()
1278 if (display == null || !display.hasAccess(mClientUid)) { in isUsableDisplay()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt23804 Landroid/media/AudioFocusInfo;->mClientUid:I
24400 Landroid/media/AudioPlaybackConfiguration;->mClientUid:I
24676 Landroid/media/AudioRecordingConfiguration;->mClientUid:I