/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/ |
D | MediaUiEventLogger.kt | 47 instanceId: InstanceId, in logActiveMediaAdded() 57 logger.logWithInstanceId(event, uid, packageName, instanceId) in logActiveMediaAdded() 63 instanceId: InstanceId, in logPlaybackLocationChange() 73 logger.logWithInstanceId(event, uid, packageName, instanceId) in logPlaybackLocationChange() 76 fun logResumeMediaAdded(uid: Int, packageName: String, instanceId: InstanceId) { in logResumeMediaAdded() 77 logger.logWithInstanceId(MediaUiEvent.RESUME_MEDIA_ADDED, uid, packageName, instanceId) in logResumeMediaAdded() 80 fun logActiveConvertedToResume(uid: Int, packageName: String, instanceId: InstanceId) { in logActiveConvertedToResume() 81 logger.logWithInstanceId(MediaUiEvent.ACTIVE_TO_RESUME, uid, packageName, instanceId) in logActiveConvertedToResume() 84 fun logMediaTimeout(uid: Int, packageName: String, instanceId: InstanceId) { in logMediaTimeout() 85 logger.logWithInstanceId(MediaUiEvent.MEDIA_TIMEOUT, uid, packageName, instanceId) in logMediaTimeout() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileRequestDialogEventLoggerTest.kt | 63 val instanceId = instanceIdSequence.newInstanceId() in testLogTileAlreadyAdded() constant 64 logger.logTileAlreadyAdded(PACKAGE_NAME, instanceId) in testLogTileAlreadyAdded() 69 instanceId in testLogTileAlreadyAdded() 75 val instanceId = instanceIdSequence.newInstanceId() in testLogDialogShown() constant 76 logger.logDialogShown(PACKAGE_NAME, instanceId) in testLogDialogShown() 79 uiEventLogger[0].match(TileRequestDialogEvent.TILE_REQUEST_DIALOG_SHOWN, instanceId) in testLogDialogShown() 84 val instanceId = instanceIdSequence.newInstanceId() in testLogDialogDismissed() constant 88 instanceId in testLogDialogDismissed() 92 uiEventLogger[0].match(TileRequestDialogEvent.TILE_REQUEST_DIALOG_DISMISSED, instanceId) in testLogDialogDismissed() 97 val instanceId = instanceIdSequence.newInstanceId() in testLogDialogTileNotAdded() constant [all …]
|
D | TileServiceRequestControllerTest.kt | 169 val instanceId = InstanceId.fakeInstanceId(instanceIdSequence.lastInstanceId) in dialogCancelled_logged() constant 172 verify(logger).logDialogShown(TEST_COMPONENT.packageName, instanceId) in dialogCancelled_logged() 178 instanceId in dialogCancelled_logged() 203 val instanceId = InstanceId.fakeInstanceId(instanceIdSequence.lastInstanceId) in tileAdded_logged() constant 206 verify(logger).logDialogShown(TEST_COMPONENT.packageName, instanceId) in tileAdded_logged() 212 instanceId in tileAdded_logged() 237 val instanceId = InstanceId.fakeInstanceId(instanceIdSequence.lastInstanceId) in tileNotAdded_logged() constant 240 verify(logger).logDialogShown(TEST_COMPONENT.packageName, instanceId) in tileNotAdded_logged() 246 instanceId in tileNotAdded_logged()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityLoggerFake.java | 31 public InstanceId instanceId; field in ChooserActivityLoggerFake.CallRecord 50 String packageName, InstanceId instanceId) { in CallRecord() argument 53 this.instanceId = instanceId; in CallRecord() 57 CallRecord(int atomId, String packageName, InstanceId instanceId, String mimeType, in CallRecord() argument 62 this.instanceId = instanceId; in CallRecord() 71 CallRecord(int atomId, String packageName, InstanceId instanceId, int targetType, in CallRecord() argument 75 this.instanceId = instanceId; in CallRecord() 125 public void log(UiEventLogger.UiEventEnum event, InstanceId instanceId) { in log() argument 127 event, "", instanceId)); in log()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | ISplitScreen.aidl | 71 in Bundle options, in UserHandle user, in InstanceId instanceId) = 8; in startShortcut() argument 77 in Bundle options, in InstanceId instanceId) = 9; in startIntent() argument 84 in InstanceId instanceId) = 10; in startTasks() argument 91 in RemoteTransition remoteTransition, in InstanceId instanceId) = 16; in startIntentAndTask() argument 98 in RemoteTransition remoteTransition, in InstanceId instanceId) = 17; in startShortcutAndTask() argument 105 in RemoteAnimationAdapter adapter, in InstanceId instanceId) = 11; in startTasksWithLegacyTransition() argument 112 in RemoteAnimationAdapter adapter, in InstanceId instanceId) = 12; in startIntentAndTaskWithLegacyTransition() argument 119 in RemoteAnimationAdapter adapter, in InstanceId instanceId) = 15; in startShortcutAndTaskWithLegacyTransition() argument 127 in RemoteAnimationAdapter adapter, in InstanceId instanceId) = 18; in startIntentsWithLegacyTransition() argument 134 float splitRatio, in RemoteTransition remoteTransition, in InstanceId instanceId) = 19; in startIntents() argument
|
D | SplitScreenController.java | 486 @Nullable Bundle options, UserHandle user, @NonNull InstanceId instanceId) { in startShortcut() argument 487 mStageCoordinator.onRequestToSplit(instanceId, ENTER_REASON_LAUNCHER); in startShortcut() 520 InstanceId instanceId) { in startShortcutAndTaskWithLegacyTransition() argument 541 instanceId); in startShortcutAndTaskWithLegacyTransition() 549 @SplitPosition int position, @Nullable Bundle options, @NonNull InstanceId instanceId) { in startIntent() argument 550 mStageCoordinator.onRequestToSplit(instanceId, ENTER_REASON_LAUNCHER); in startIntent() 557 InstanceId instanceId) { in startIntentAndTaskWithLegacyTransition() argument 575 options1, taskId, options2, splitPosition, splitRatio, adapter, instanceId); in startIntentAndTaskWithLegacyTransition() 580 float splitRatio, @Nullable RemoteTransition remoteTransition, InstanceId instanceId) { in startIntentAndTask() argument 597 options2, splitPosition, splitRatio, remoteTransition, instanceId); in startIntentAndTask() [all …]
|
D | StageCoordinator.java | 639 @Nullable RemoteTransition remoteTransition, InstanceId instanceId) { in startTasks() argument 646 startWithTask(wct, taskId2, options2, splitRatio, remoteTransition, instanceId); in startTasks() 653 @Nullable RemoteTransition remoteTransition, InstanceId instanceId) { in startIntentAndTask() argument 660 startWithTask(wct, taskId, options2, splitRatio, remoteTransition, instanceId); in startIntentAndTask() 666 float splitRatio, @Nullable RemoteTransition remoteTransition, InstanceId instanceId) { in startShortcutAndTask() argument 673 startWithTask(wct, taskId, options2, splitRatio, remoteTransition, instanceId); in startShortcutAndTask() 685 @Nullable RemoteTransition remoteTransition, InstanceId instanceId) { in startWithTask() argument 708 setEnterInstanceId(instanceId); in startWithTask() 714 float splitRatio, RemoteAnimationAdapter adapter, InstanceId instanceId) { in startTasksWithLegacyTransition() argument 736 instanceId); in startTasksWithLegacyTransition() [all …]
|
/frameworks/base/core/java/com/android/internal/logging/testing/ |
D | UiEventLoggerFake.java | 38 public final InstanceId instanceId; // Used only for WithInstanceId variants field in UiEventLoggerFake.FakeUiEvent 45 this.instanceId = null; in FakeUiEvent() 49 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId) { in FakeUiEvent() argument 53 this.instanceId = instanceId; in FakeUiEvent() 57 FakeUiEvent(int eventId, int uid, String packageName, InstanceId instanceId, int position) { in FakeUiEvent() argument 61 this.instanceId = instanceId; in FakeUiEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileRequestDialogEventLogger.kt | 46 fun logDialogShown(packageName: String, instanceId: InstanceId) { in newInstanceId() 51 instanceId in newInstanceId() 65 instanceId: InstanceId in logUserResponse() 81 uiEventLogger.logWithInstanceId(event, /* uid */ 0, packageName, instanceId) in logUserResponse() 88 fun logTileAlreadyAdded(packageName: String, instanceId: InstanceId) { in logTileAlreadyAdded() 93 instanceId in logTileAlreadyAdded()
|
D | TileServiceRequestController.kt | 107 val instanceId = eventLogger.newInstanceId() in requestTileAdd() constant 111 eventLogger.logTileAlreadyAdded(packageName, instanceId) in requestTileAdd() 119 eventLogger.logUserResponse(response, packageName, instanceId) in requestTileAdd() 131 eventLogger.logDialogShown(packageName, instanceId) in requestTileAdd()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/ |
D | SessionTracker.java | 105 final InstanceId instanceId = mInstanceIdGenerator.newInstanceId(); in startSession() local 106 mSessionToInstanceId.put(type, instanceId); in startSession() 109 Log.d(TAG, "Session start for [" + getString(type) + "] id=" + instanceId); in startSession() 111 mStatusBarManagerService.onSessionStarted(type, instanceId); in startSession() 124 final InstanceId instanceId = mSessionToInstanceId.get(type); in endSession() local 128 Log.d(TAG, "Session end for [" + getString(type) + "] id=" + instanceId); in endSession() 130 mStatusBarManagerService.onSessionEnded(type, instanceId); in endSession()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/ |
D | MediaDataManager.kt | 121 instanceId = InstanceId.fakeInstanceId(-1), in <lambda>() 134 instanceId = InstanceId.fakeInstanceId(-1), in <lambda>() 376 val instanceId = logger.getNewInstanceId() in onNotificationAdded() constant 377 val temp = LOADING.copy(packageName = sbn.packageName, instanceId = instanceId) in onNotificationAdded() 416 val instanceId = logger.getNewInstanceId() in addResumptionControls() constant 430 instanceId = instanceId, in addResumptionControls() 434 logSingleVsMultipleMediaAdded(appUid, packageName, instanceId) in addResumptionControls() 435 logger.logResumeMediaAdded(appUid, packageName, instanceId) in addResumptionControls() 545 logger.logMediaTimeout(it.appUid, it.packageName, it.instanceId) in setTimedOut() 597 logger.logMediaRemoved(it.appUid, it.packageName, it.instanceId) in removeEntry() [all …]
|
D | MediaDataFilter.kt | 172 mediaData.instanceId in <lambda>() 197 smartspaceMediaData.instanceId in <lambda>() 228 instanceId = smartspaceMediaData.instanceId in <lambda>() 289 instanceId = smartspaceMediaData.instanceId, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | ControlsMetricsLoggerImpl.kt | 38 private var instanceId = 0 variable in com.android.systemui.controls.ControlsMetricsLoggerImpl 41 instanceId = instanceIdSequence.newInstanceId().id in assignInstanceId() 56 instanceId, in log()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/pipeline/ |
D | MediaDataManagerTest.kt | 289 verify(logger).logMediaTimeout(anyInt(), eq(PACKAGE_NAME), eq(data.instanceId)) in testSetTimedOut_active_deactivatesMedia() 324 .logMediaTimeout(anyInt(), eq(PACKAGE_NAME), eq(mediaDataCaptor.value.instanceId)) in testSetTimedOut_resume_dismissesMedia() 393 eq(mediaDataCaptor.value.instanceId), in testOnMetaDataLoaded_callsListener() 427 eq(mediaDataCaptor.value.instanceId), in testOnNotificationAdded_isRcn_markedRemote() 516 verify(logger).logMediaRemoved(anyInt(), eq(PACKAGE_NAME), eq(data.instanceId)) in testOnNotificationRemoved_callsListener() 530 val instanceId = data.instanceId in testOnNotificationRemoved_emptyTitle_notConverted() constant 549 .logActiveConvertedToResume(anyInt(), eq(PACKAGE_NAME), eq(instanceId)) in testOnNotificationRemoved_emptyTitle_notConverted() 551 verify(logger).logMediaRemoved(anyInt(), eq(PACKAGE_NAME), eq(instanceId)) in testOnNotificationRemoved_emptyTitle_notConverted() 565 val instanceId = data.instanceId in testOnNotificationRemoved_blankTitle_notConverted() constant 584 .logActiveConvertedToResume(anyInt(), eq(PACKAGE_NAME), eq(instanceId)) in testOnNotificationRemoved_blankTitle_notConverted() [all …]
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | SessionMonitor.java | 92 public void onSessionStarted(@SessionFlags int sessionType, @NonNull InstanceId instanceId) { in onSessionStarted() argument 103 listener.onSessionStarted(sessionType, instanceId); in onSessionStarted() 117 public void onSessionEnded(@SessionFlags int sessionType, @NonNull InstanceId instanceId) { in onSessionEnded() argument 128 listener.onSessionEnded(sessionType, instanceId); in onSessionEnded()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStats.java | 319 final int instanceId = right.keyAt(i); in mergeEventMap() local 321 final int index = left.indexOfKey(instanceId); in mergeEventMap() 323 left.put(instanceId, Math.max(left.valueAt(index), event)); in mergeEventMap() 325 left.put(instanceId, event); in mergeEventMap() 479 private void updateActivity(String className, long timeStamp, int eventType, int instanceId) { in updateActivity() argument 488 final int index = mActivities.indexOfKey(instanceId); in updateActivity() 515 mActivities.put(instanceId, eventType); in updateActivity() 522 mActivities.put(instanceId, eventType); in updateActivity() 527 mActivities.delete(instanceId); in updateActivity() 585 public void update(String className, long timeStamp, int eventType, int instanceId) { in update() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistLogger.kt | 107 val instanceId = currentInstanceId ?: instanceIdSequence.newInstanceId() in getOrCreateInstanceId() constant 108 currentInstanceId = instanceId in getOrCreateInstanceId() 109 return instanceId in getOrCreateInstanceId()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivityLoggerImpl.java | 67 public void log(UiEventLogger.UiEventEnum event, InstanceId instanceId) { in log() argument 72 instanceId); in log()
|
/frameworks/base/core/java/com/android/internal/logging/ |
D | UiEventLoggerImpl.java | 45 public void log(UiEventEnum event, InstanceId instanceId) { in log() argument 46 logWithInstanceId(event, 0, null, instanceId); in log()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | IntervalStatsTests.java | 72 final int instanceId = i % 11; in populateIntervalStats() local 73 event.mClass = ".fake.class.name" + instanceId; in populateIntervalStats() 76 event.mInstanceId = instanceId; in populateIntervalStats()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/ |
D | MediaControlPanelTest.kt | 197 @Mock private lateinit var instanceId: InstanceId variable in com.android.systemui.media.controls.ui.MediaControlPanelTest 310 instanceId = instanceId, in setUp() 359 instanceId = instanceId in initDeviceMediaData() 1246 verify(logger).logOpenBroadcastDialog(anyInt(), eq(PACKAGE), eq(instanceId)) in bindBroadcastButton() 1275 verify(logger).logLongPressOpen(anyInt(), eq(PACKAGE), eq(instanceId)) in player_longClickWhenGutsClosed_gutsOpens() 1307 verify(logger).logLongPressSettings(anyInt(), eq(PACKAGE), eq(instanceId)) in player_settingsButtonClick() 1324 verify(logger).logLongPressDismiss(anyInt(), eq(PACKAGE), eq(instanceId)) in player_dismissButtonClick() 1468 verify(logger).logLongPressOpen(anyInt(), eq(PACKAGE), eq(instanceId)) in recommendations_longClickWhenGutsClosed_gutsOpens() 1501 verify(logger).logLongPressSettings(anyInt(), eq(PACKAGE), eq(instanceId)) in recommendations_settingsButtonClick() 1517 verify(logger).logLongPressDismiss(anyInt(), eq(PACKAGE), eq(instanceId)) in recommendations_dismissButtonClick() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ |
D | MediaTestUtils.kt | 42 instanceId = InstanceId.fakeInstanceId(-1),
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
D | SbnBuilder.java | 187 public SbnBuilder setInstanceId(InstanceId instanceId) { in setInstanceId() argument 188 mInstanceId = instanceId; in setInstanceId()
|
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/ |
D | BaseTemplateData.java | 594 private SubItemLoggingInfo(int instanceId, @FeatureType int featureType, in SubItemLoggingInfo() argument 596 mInstanceId = instanceId; in SubItemLoggingInfo() 685 public Builder(int instanceId, @FeatureType int featureType) { in Builder() argument 686 mInstanceId = instanceId; in Builder()
|