HomeSort by relevance Sort by last modified time
    Searched refs:filterLevel (Results 1 - 19 of 19) sorted by null

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

Completed in 113 milliseconds