/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | IncidentdTest.java | 26 public void testIncidentReportDump(final int filterLevel, final String dest) throws Exception { in testIncidentReportDump() argument 33 SystemPropertiesTest.verifySystemPropertiesProto(dump.getSystemProperties(), filterLevel); in testIncidentReportDump() local 35 StackTraceIncidentTest.verifyBackTraceProto(dump.getNativeTraces(), filterLevel); in testIncidentReportDump() local 36 StackTraceIncidentTest.verifyBackTraceProto(dump.getHalTraces(), filterLevel); in testIncidentReportDump() local 37 StackTraceIncidentTest.verifyBackTraceProto(dump.getJavaTraces(), filterLevel); in testIncidentReportDump() local 40 … FingerprintIncidentTest.verifyFingerprintServiceDumpProto(dump.getFingerprint(), filterLevel); in testIncidentReportDump() local 43 NetstatsIncidentTest.verifyNetworkStatsServiceDumpProto(dump.getNetstats(), filterLevel); in testIncidentReportDump() local 45 SettingsIncidentTest.verifySettingsServiceDumpProto(dump.getSettings(), filterLevel); in testIncidentReportDump() local 47 … NotificationIncidentTest.verifyNotificationServiceDumpProto(dump.getNotification(), filterLevel); in testIncidentReportDump() local 49 … BatteryStatsIncidentTest.verifyBatteryStatsServiceDumpProto(dump.getBatterystats(), filterLevel); in testIncidentReportDump() local [all …]
|
D | UsbIncidentTest.java | 42 …static void verifyUsbServiceDumpProto(UsbServiceDumpProto dump, final int filterLevel) throws Exce… in verifyUsbServiceDumpProto() argument 43 verifyUsbDeviceManagerProto(dump.getDeviceManager(), filterLevel); in verifyUsbServiceDumpProto() local 44 verifyUsbHostManagerProto(dump.getHostManager(), filterLevel); in verifyUsbServiceDumpProto() local 45 verifyUsbSettingsManagerProto(dump.getSettingsManager(), filterLevel); in verifyUsbServiceDumpProto() local 48 …void verifyUsbDeviceManagerProto(UsbDeviceManagerProto udmp, final int filterLevel) throws Excepti… in verifyUsbDeviceManagerProto() argument 49 verifyUsbHandlerProto(udmp.getHandler(), filterLevel); in verifyUsbDeviceManagerProto() local 50 verifyUsbDebuggingManagerProto(udmp.getDebuggingManager(), filterLevel); in verifyUsbDeviceManagerProto() local 53 …private static void verifyUsbHandlerProto(UsbHandlerProto uhp, final int filterLevel) throws Excep… in verifyUsbHandlerProto() argument 60 verifyUsbAccessoryProto(uhp.getCurrentAccessory(), filterLevel); in verifyUsbHandlerProto() local 63 …private static void verifyUsbAccessoryProto(UsbAccessoryProto uap, final int filterLevel) throws E… in verifyUsbAccessoryProto() argument [all …]
|
D | PrintProtoTest.java | 57 …static void verifyPrintServiceDumpProto(PrintServiceDumpProto dump, final int filterLevel) throws … in verifyPrintServiceDumpProto() argument 65 verifyActivePrintServiceProto(aps, filterLevel); in verifyPrintServiceDumpProto() 68 verifyPrintJobInfoProto(cpj.getPrintJob(), filterLevel); in verifyPrintServiceDumpProto() local 71 verifyPrinterDiscoverySessionProto(pds, filterLevel); in verifyPrintServiceDumpProto() 73 verifyPrintSpoolerStateProto(pus.getPrintSpoolerState(), filterLevel); in verifyPrintServiceDumpProto() local 77 …d verifyActivePrintServiceProto(ActivePrintServiceProto aps, final int filterLevel) throws Excepti… in verifyActivePrintServiceProto() argument 79 verifyPrinterIdProto(pip, filterLevel); in verifyActivePrintServiceProto() 83 …interDiscoverySessionProto(PrinterDiscoverySessionProto pds, final int filterLevel) throws Excepti… in verifyPrinterDiscoverySessionProto() argument 85 verifyPrinterIdProto(pip, filterLevel); in verifyPrinterDiscoverySessionProto() 88 verifyPrinterInfoProto(pip, filterLevel); in verifyPrinterDiscoverySessionProto() [all …]
|
D | ActivityManagerIncidentTest.java | 113 …pServicesProto(ActivityManagerServiceDumpServicesProto dump, final int filterLevel) throws Excepti… in verifyActivityManagerServiceDumpServicesProto() argument 116 verifyServiceRecordProto(srp, filterLevel); in verifyActivityManagerServiceDumpServicesProto() 121 …private static void verifyServiceRecordProto(ServiceRecordProto srp, final int filterLevel) throws… in verifyServiceRecordProto() argument 122 if (filterLevel == PRIVACY_AUTO) { in verifyServiceRecordProto() 131 verifyServiceRecordProtoStartItem(si, filterLevel); in verifyServiceRecordProto() 134 verifyServiceRecordProtoStartItem(si, filterLevel); in verifyServiceRecordProto() 137 verifyConnectionRecordProto(crp, filterLevel); in verifyServiceRecordProto() 141 …ServiceRecordProtoStartItem(ServiceRecordProto.StartItem si, final int filterLevel) throws Excepti… in verifyServiceRecordProtoStartItem() argument 142 verifyNeededUriGrantsProto(si.getNeededGrants(), filterLevel); in verifyServiceRecordProtoStartItem() local 143 verifyUriPermissionOwnerProto(si.getUriPermissions(), filterLevel); in verifyServiceRecordProtoStartItem() local [all …]
|
D | WindowManagerIncidentTest.java | 30 …wManagerServiceDumpProto(WindowManagerServiceDumpProto dump, final int filterLevel) throws Excepti… in verifyWindowManagerServiceDumpProto() argument 31 verifyWindowManagerPolicyProto(dump.getPolicy(), filterLevel); in verifyWindowManagerServiceDumpProto() local 32 verifyRootWindowContainerProto(dump.getRootWindowContainer(), filterLevel); in verifyWindowManagerServiceDumpProto() local 33 verifyIdentifierProto(dump.getFocusedWindow(), filterLevel); in verifyWindowManagerServiceDumpProto() local 34 verifyIdentifierProto(dump.getInputMethodWindow(), filterLevel); in verifyWindowManagerServiceDumpProto() local 37 …verifyWindowManagerPolicyProto(WindowManagerPolicyProto wmp, final int filterLevel) throws Excepti… in verifyWindowManagerPolicyProto() argument 42 …private static void verifyIdentifierProto(IdentifierProto ip, final int filterLevel) throws Except… in verifyIdentifierProto() argument 43 if (filterLevel == PRIVACY_AUTO) { in verifyIdentifierProto() 48 …erifyRootWindowContainerProto(RootWindowContainerProto rwcp, final int filterLevel) throws Excepti… in verifyRootWindowContainerProto() argument 50 verifyIdentifierProto(ip, filterLevel); in verifyRootWindowContainerProto()
|
D | AlarmManagerIncidentTest.java | 44 …rmManagerServiceDumpProto(AlarmManagerServiceDumpProto dump, final int filterLevel) throws Excepti… in verifyAlarmManagerServiceDumpProto() argument 107 testAlarmProtoList(b.getAlarmsList(), filterLevel); in verifyAlarmManagerServiceDumpProto() local 110 testAlarmProtoList(dump.getPendingUserBlockedBackgroundAlarmsList(), filterLevel); in verifyAlarmManagerServiceDumpProto() local 112 testAlarmProto(dump.getPendingIdleUntil(), filterLevel); in verifyAlarmManagerServiceDumpProto() local 114 testAlarmProtoList(dump.getPendingWhileIdleAlarmsList(), filterLevel); in verifyAlarmManagerServiceDumpProto() local 116 testAlarmProto(dump.getNextWakeFromIdle(), filterLevel); in verifyAlarmManagerServiceDumpProto() local 118 testAlarmProtoList(dump.getPastDueNonWakeupAlarmsList(), filterLevel); in verifyAlarmManagerServiceDumpProto() local 135 testFilterStatsProto(f.getFilterStats(), filterLevel); in verifyAlarmManagerServiceDumpProto() local 136 if (filterLevel == PRIVACY_AUTO) { in verifyAlarmManagerServiceDumpProto() 148 testFilterStatsProto(ta.getFilter(), filterLevel); in verifyAlarmManagerServiceDumpProto() local [all …]
|
D | NotificationIncidentTest.java | 105 …private static void verifyRankingHelperProto(RankingHelperProto rhProto, final int filterLevel) th… in verifyRankingHelperProto() argument 135 …private static void verifyZenModeProto(ZenModeProto zenProto, final int filterLevel) throws Except… in verifyZenModeProto() argument 143 if (filterLevel == PRIVACY_AUTO) { in verifyZenModeProto() 180 …ificationServiceDumpProto(NotificationServiceDumpProto dump, final int filterLevel) throws Excepti… in verifyNotificationServiceDumpProto() argument 182 verifyNotificationRecordProto(nr, filterLevel); in verifyNotificationServiceDumpProto() 184 verifyZenModeProto(dump.getZen(), filterLevel); in verifyNotificationServiceDumpProto() local 185 verifyManagedServicesProto(dump.getNotificationListeners(), filterLevel); in verifyNotificationServiceDumpProto() local 186 verifyManagedServicesProto(dump.getNotificationAssistants(), filterLevel); in verifyNotificationServiceDumpProto() local 187 verifyManagedServicesProto(dump.getConditionProviders(), filterLevel); in verifyNotificationServiceDumpProto() local 188 verifyRankingHelperProto(dump.getRankingConfig(), filterLevel); in verifyNotificationServiceDumpProto() local [all …]
|
D | SettingsIncidentTest.java | 60 …static void verifySettingsServiceDumpProto(SettingsServiceDumpProto dump, final int filterLevel) t… in verifySettingsServiceDumpProto() argument 66 verifySettings(userSettings.getSecureSettings(), filterLevel); in verifySettingsServiceDumpProto() local 68 verifySettings(userSettings.getSystemSettings(), filterLevel); in verifySettingsServiceDumpProto() local 72 verifySettings(dump.getGlobalSettings(), filterLevel); in verifySettingsServiceDumpProto() local 75 private static void verifySettings(Message settings, final int filterLevel) throws Exception { in verifySettings() argument 76 verifySettings(getSettingProtos(settings), filterLevel); in verifySettings() local 83 if (filterLevel == PRIVACY_AUTO) { in verifySettings() 150 …void verifySettings(Map<SettingProto, Destination> settings, final int filterLevel) throws Excepti… in verifySettings() argument 164 if (filterLevel < PRIVACY_LOCAL) { in verifySettings() 167 …+ "' with LOCAL privacy didn't strip data for filter level '" + privacyToString(filterLevel) + "'"; in verifySettings() [all …]
|
D | JobSchedulerIncidentTest.java | 41 …SchedulerServiceDumpProto(JobSchedulerServiceDumpProto dump, final int filterLevel) throws Excepti… in verifyJobSchedulerServiceDumpProto() argument 49 testJobStatusShortInfoProto(rj.getInfo(), filterLevel); in verifyJobSchedulerServiceDumpProto() local 54 testStateControllerProto(c, filterLevel); in verifyJobSchedulerServiceDumpProto() 65 testJobPackageHistoryProto(dump.getHistory(), filterLevel); in verifyJobSchedulerServiceDumpProto() local 70 testJobStatusShortInfoProto(pj.getInfo(), filterLevel); in verifyJobSchedulerServiceDumpProto() local 80 testJobStatusShortInfoProto(ajRj.getInfo(), filterLevel); in verifyJobSchedulerServiceDumpProto() local 145 …private static void testJobPackageHistoryProto(JobPackageHistoryProto jph, int filterLevel) throws… in testJobPackageHistoryProto() argument 167 …id testJobStatusShortInfoProto(JobStatusShortInfoProto jssi, final int filterLevel) throws Excepti… in testJobStatusShortInfoProto() argument 257 …private static void testStateControllerProto(StateControllerProto sc, int filterLevel) throws Exce… in testStateControllerProto() argument 262 testJobStatusShortInfoProto(tj.getInfo(), filterLevel); in testStateControllerProto() local [all …]
|
D | SystemPropertiesTest.java | 27 … static void verifySystemPropertiesProto(SystemPropertiesProto properties, final int filterLevel) { in verifySystemPropertiesProto() argument 29 if (filterLevel == PRIVACY_LOCAL) { in verifySystemPropertiesProto() 35 … assertEquals(filterLevel == PRIVACY_AUTO, properties.getPersist().getSysTimezone().isEmpty()); in verifySystemPropertiesProto()
|
D | StackTraceIncidentTest.java | 24 static void verifyBackTraceProto(BackTraceProto dump, final int filterLevel) throws Exception { in verifyBackTraceProto() argument 25 if (filterLevel == PRIVACY_AUTO) { in verifyBackTraceProto()
|
D | NetstatsIncidentTest.java | 397 …workStatsServiceDumpProto(NetworkStatsServiceDumpProto dump, final int filterLevel) throws Excepti… in verifyNetworkStatsServiceDumpProto() argument 398 if (filterLevel == PRIVACY_AUTO) { in verifyNetworkStatsServiceDumpProto() 400 verifyNetworkInterfaceProto(nip, filterLevel); in verifyNetworkStatsServiceDumpProto() 403 verifyNetworkInterfaceProto(nip, filterLevel); in verifyNetworkStatsServiceDumpProto() 408 … void verifyNetworkInterfaceProto(NetworkInterfaceProto nip, final int filterLevel) throws Excepti… in verifyNetworkInterfaceProto() argument 410 if (filterLevel == PRIVACY_AUTO) { in verifyNetworkInterfaceProto()
|
D | DiskStatsProtoTest.java | 41 …ifyDiskStatsServiceDumpProto(DiskStatsServiceDumpProto dump, final int filterLevel, ITestDevice de… in verifyDiskStatsServiceDumpProto() argument 48 if (filterLevel == PRIVACY_AUTO) { in verifyDiskStatsServiceDumpProto()
|
D | PackageIncidentTest.java | 96 …static void verifyPackageServiceDumpProto(PackageServiceDumpProto dump, final int filterLevel) thr… in verifyPackageServiceDumpProto() argument 116 if (filterLevel == PRIVACY_AUTO) { in verifyPackageServiceDumpProto()
|
D | BatteryIncidentTest.java | 41 static void verifyBatteryServiceDumpProto(BatteryServiceDumpProto dump, final int filterLevel) { in verifyBatteryServiceDumpProto() argument
|
D | FingerprintIncidentTest.java | 44 … static void verifyFingerprintServiceDumpProto(FingerprintServiceDumpProto dump, int filterLevel) { in verifyFingerprintServiceDumpProto() argument
|
D | PowerIncidentTest.java | 40 …tatic void verifyPowerManagerServiceDumpProto(PowerManagerServiceDumpProto dump, int filterLevel) { in verifyPowerManagerServiceDumpProto() argument
|
D | BatteryStatsIncidentTest.java | 63 …teryStatsServiceDumpProto(BatteryStatsServiceDumpProto dump, final int filterLevel) throws Excepti… in verifyBatteryStatsServiceDumpProto() argument 77 testUidProto(u, filterLevel); in verifyBatteryStatsServiceDumpProto() 324 private static void testUidProto(UidProto u, final int filterLevel) throws Exception { in testUidProto() argument
|
D | MemInfoIncidentTest.java | 34 …static void verifyMemInfoDumpProto(MemInfoDumpProto dump, final int filterLevel) throws Exception { in verifyMemInfoDumpProto() argument
|