/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/ |
D | MediaProjectionMetricsLoggerTest.kt | 25 val hostUid = 123 in notifyProjectionInitiated_sourceApp_forwardsToServiceWithMetricsValue() constant 28 logger.notifyProjectionInitiated(hostUid, sessionCreationSource) in notifyProjectionInitiated_sourceApp_forwardsToServiceWithMetricsValue() 30 verify(service).notifyPermissionRequestInitiated(hostUid, METRICS_CREATION_SOURCE_APP) in notifyProjectionInitiated_sourceApp_forwardsToServiceWithMetricsValue() 35 val hostUid = 123 in notifyProjectionInitiated_sourceCast_forwardsToServiceWithMetricsValue() constant 38 logger.notifyProjectionInitiated(hostUid, sessionCreationSource) in notifyProjectionInitiated_sourceCast_forwardsToServiceWithMetricsValue() 40 verify(service).notifyPermissionRequestInitiated(hostUid, METRICS_CREATION_SOURCE_CAST) in notifyProjectionInitiated_sourceCast_forwardsToServiceWithMetricsValue() 45 val hostUid = 123 in notifyProjectionInitiated_sourceSysUI_forwardsToServiceWithMetricsValue() constant 48 logger.notifyProjectionInitiated(hostUid, sessionCreationSource) in notifyProjectionInitiated_sourceSysUI_forwardsToServiceWithMetricsValue() 52 hostUid, in notifyProjectionInitiated_sourceSysUI_forwardsToServiceWithMetricsValue() 59 val hostUid = 123 in notifyProjectionInitiated_sourceUnknown_forwardsToServiceWithMetricsValue() constant [all …]
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionMetricsLogger.java | 103 public void logInitiated(int hostUid, int sessionCreationSource) { in logInitiated() argument 113 hostUid, in logInitiated() local 125 public void logPermissionRequestDisplayed(int hostUid) { in logPermissionRequestDisplayed() argument 130 hostUid, in logPermissionRequestDisplayed() local 141 public void logProjectionPermissionRequestCancelled(int hostUid) { in logProjectionPermissionRequestCancelled() argument 146 hostUid, in logProjectionPermissionRequestCancelled() local 158 public void logAppSelectorDisplayed(int hostUid) { in logAppSelectorDisplayed() argument 163 hostUid, in logAppSelectorDisplayed() local 175 public void logInProgress(int hostUid, int targetUid) { in logInProgress() argument 180 hostUid, in logInProgress() local [all …]
|
D | FrameworkStatsLogWrapper.java | 30 int hostUid, in writeStateChanged() argument 39 hostUid, in writeStateChanged() 50 int hostUid, in writeTargetChanged() argument 57 hostUid, in writeTargetChanged()
|
D | MediaProjectionManagerService.java | 470 void notifyPermissionRequestInitiated(int hostUid, int sessionCreationSource) { in notifyPermissionRequestInitiated() argument 471 mMediaProjectionMetricsLogger.logInitiated(hostUid, sessionCreationSource); in notifyPermissionRequestInitiated() 475 void notifyPermissionRequestDisplayed(int hostUid) { in notifyPermissionRequestDisplayed() argument 476 mMediaProjectionMetricsLogger.logPermissionRequestDisplayed(hostUid); in notifyPermissionRequestDisplayed() 480 void notifyPermissionRequestCancelled(int hostUid) { in notifyPermissionRequestCancelled() argument 481 mMediaProjectionMetricsLogger.logProjectionPermissionRequestCancelled(hostUid); in notifyPermissionRequestCancelled() 485 void notifyAppSelectorDisplayed(int hostUid) { in notifyAppSelectorDisplayed() argument 486 mMediaProjectionMetricsLogger.logAppSelectorDisplayed(hostUid); in notifyAppSelectorDisplayed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/ |
D | MediaProjectionMetricsLogger.kt | 43 fun notifyProjectionInitiated(hostUid: Int, sessionCreationSource: SessionCreationSource) { in notifyProjectionInitiated() 46 hostUid, in notifyProjectionInitiated() 59 fun notifyPermissionRequestDisplayed(hostUid: Int) { in notifyPermissionRequestDisplayed() 61 service.notifyPermissionRequestDisplayed(hostUid) in notifyPermissionRequestDisplayed() 72 fun notifyProjectionRequestCancelled(hostUid: Int) { in notifyProjectionRequestCancelled() 74 service.notifyPermissionRequestCancelled(hostUid) in notifyProjectionRequestCancelled() 85 fun notifyAppSelectorDisplayed(hostUid: Int) { in notifyAppSelectorDisplayed() 87 service.notifyAppSelectorDisplayed(hostUid) in notifyAppSelectorDisplayed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/ |
D | MediaProjectionAppSelectorControllerTest.kt | 46 private fun createController(isFirstStart: Boolean = true, hostUid: Int = 123) = in createController() 58 hostUid, in createController() 215 val hostUid = 123456789 in init_firstStart_logsAppSelectorDisplayed() constant 216 val controller = createController(isFirstStart = true, hostUid) in init_firstStart_logsAppSelectorDisplayed() 220 verify(logger).notifyAppSelectorDisplayed(hostUid) in init_firstStart_logsAppSelectorDisplayed() 225 val hostUid = 123456789 in init_notFirstStart_doesNotLogAppSelectorDisplayed() constant 226 val controller = createController(isFirstStart = false, hostUid) in init_notFirstStart_doesNotLogAppSelectorDisplayed() 230 verify(logger, never()).notifyAppSelectorDisplayed(hostUid) in init_notFirstStart_doesNotLogAppSelectorDisplayed() 235 val hostUid = 123 in onSelectorDismissed_logsProjectionRequestCancelled() constant 237 createController(hostUid = hostUid).onSelectorDismissed() in onSelectorDismissed_logsProjectionRequestCancelled() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordPermissionDialogDelegate.kt | 59 private val hostUid: Int, in <lambda>() constant in com.android.systemui.screenrecord.ScreenRecordPermissionDialogDelegate 73 hostUid = hostUid, in <lambda>() 83 @Assisted hostUid: Int, in <lambda>() 93 hostUid, in <lambda>() 110 hostUid: Int, in <lambda>() 149 intent.putExtra(MediaProjectionAppSelectorActivity.EXTRA_HOST_APP_UID, hostUid) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/ |
D | MediaProjectionAppSelectorController.kt | 49 @HostUid private val hostUid: Int, in <lambda>() constant in com.android.systemui.mediaprojection.appselector.MediaProjectionAppSelectorController 56 logger.notifyAppSelectorDisplayed(hostUid) in <lambda>() 79 logger.notifyProjectionRequestCancelled(hostUid) in <lambda>()
|
D | MediaProjectionAppSelectorActivity.kt | 94 hostUid = hostUid, in getLayoutResource() 313 private val hostUid: Int constant in com.android.systemui.mediaprojection.appselector.MediaProjectionAppSelectorActivity
|
D | MediaProjectionAppSelectorComponent.kt | 148 @BindsInstance @HostUid hostUid: Int,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/ |
D | MediaProjectionPermissionDialogDelegate.kt | 34 hostUid: Int, 40 hostUid,
|
D | BaseMediaProjectionPermissionDialogDelegate.kt | 46 private val hostUid: Int, in <lambda>() constant in com.android.systemui.mediaprojection.permission.BaseMediaProjectionPermissionDialogDelegate 66 mediaProjectionMetricsLogger.notifyProjectionRequestCancelled(hostUid) in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/ |
D | MediaProjectionManagerServiceTest.java | 662 int hostUid = 123; in notifyPermissionRequestInitiated_forwardsToLogger() local 667 mService.notifyPermissionRequestInitiated(hostUid, sessionCreationSource); in notifyPermissionRequestInitiated_forwardsToLogger() 669 verify(mMediaProjectionMetricsLogger).logInitiated(hostUid, sessionCreationSource); in notifyPermissionRequestInitiated_forwardsToLogger() 674 int hostUid = 123; in notifyPermissionRequestDisplayed_forwardsToLogger() local 678 mService.notifyPermissionRequestDisplayed(hostUid); in notifyPermissionRequestDisplayed_forwardsToLogger() 680 verify(mMediaProjectionMetricsLogger).logPermissionRequestDisplayed(hostUid); in notifyPermissionRequestDisplayed_forwardsToLogger() 685 int hostUid = 123; in notifyPermissionRequestCancelled_forwardsToLogger() local 689 mService.notifyPermissionRequestCancelled(hostUid); in notifyPermissionRequestCancelled_forwardsToLogger() 691 verify(mMediaProjectionMetricsLogger).logProjectionPermissionRequestCancelled(hostUid); in notifyPermissionRequestCancelled_forwardsToLogger() 696 int hostUid = 456; in notifyAppSelectorDisplayed_forwardsToLogger() local [all …]
|
D | MediaProjectionMetricsLoggerTest.java | 643 private void verifyStateChangedHostUidLogged(int hostUid) { in verifyStateChangedHostUidLogged() argument 650 eq(hostUid), in verifyStateChangedHostUidLogged() 743 private void verifyTargetChangedHostUidLogged(int hostUid) { in verifyTargetChangedHostUidLogged() argument 749 eq(hostUid), in verifyTargetChangedHostUidLogged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/permission/ |
D | MediaProjectionPermissionDialogDelegateTest.kt | 56 private val hostUid: Int = 12345 constant in com.android.systemui.mediaprojection.permission.MediaProjectionPermissionDialogDelegateTest 126 hostUid, in setUpAndShowDialog()
|