| D | AppManifestConfigMetricsLoggerTest.java | 82 @ApiType private static final int API = API_TOPICS; field in AppManifestConfigMetricsLoggerTest 85 String.format(Locale.US, PREFS_KEY_TEMPLATE, PKG_NAME, API); 106 /* packageName= */ null, API, RESULT_ALLOWED_APP_ALLOWS_ALL)); in testLogUsage_nullArgs() 115 AppManifestConfigCall call = new AppManifestConfigCall(PKG_NAME, API); in testLogUsage_callWithInvalidResult() 127 logUsageAndWait(PKG_NAME, API, RESULT_ALLOWED_APP_ALLOWS_ALL); in testLogUsage_firstTime() 134 assertMetricsLogged(PKG_NAME, API, RESULT_ALLOWED_APP_ALLOWS_ALL); in testLogUsage_firstTime() 140 logUsageAndWait(PKG_NAME, API, RESULT_ALLOWED_APP_ALLOWS_ALL); in testLogUsage_secondTimeSameResult() 144 logUsageAndDontWait(PKG_NAME, API, RESULT_ALLOWED_APP_ALLOWS_ALL); in testLogUsage_secondTimeSameResult() 153 assertMetricsLogged(PKG_NAME, API, RESULT_ALLOWED_APP_ALLOWS_ALL); in testLogUsage_secondTimeSameResult() 161 logUsageAndWait(PKG_NAME, API, result); in testLogUsage_secondTimeDifferentResult() [all …]
|