Searched refs:TestResultsProvider (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsBackupHelper.java | 56 cursor = resolver.query(TestResultsProvider.RESULTS_CONTENT_URI, in performBackup() 58 int nameIndex = cursor.getColumnIndex(TestResultsProvider.COLUMN_TEST_NAME); in performBackup() 59 int resultIndex = cursor.getColumnIndex(TestResultsProvider.COLUMN_TEST_RESULT); in performBackup() 60 int infoSeenIndex = cursor.getColumnIndex(TestResultsProvider.COLUMN_TEST_INFO_SEEN); in performBackup() 61 int detailsIndex = cursor.getColumnIndex(TestResultsProvider.COLUMN_TEST_DETAILS); in performBackup() 62 int metricsIndex = cursor.getColumnIndex(TestResultsProvider.COLUMN_TEST_METRICS); in performBackup() 118 values[i].put(TestResultsProvider.COLUMN_TEST_NAME, name); in restoreEntity() 119 values[i].put(TestResultsProvider.COLUMN_TEST_RESULT, result); in restoreEntity() 120 values[i].put(TestResultsProvider.COLUMN_TEST_INFO_SEEN, infoSeen); in restoreEntity() 121 values[i].put(TestResultsProvider.COLUMN_TEST_DETAILS, details); in restoreEntity() [all …]
|
D | TestResultsProvider.java | 38 public class TestResultsProvider extends ContentProvider { class 217 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); in setTestResult() 218 values.put(TestResultsProvider.COLUMN_TEST_NAME, testName); in setTestResult() 219 values.put(TestResultsProvider.COLUMN_TEST_DETAILS, testDetails); in setTestResult() 220 values.put(TestResultsProvider.COLUMN_TEST_METRICS, serialize(reportLog)); in setTestResult() 223 int numUpdated = resolver.update(TestResultsProvider.RESULTS_CONTENT_URI, values, in setTestResult() 224 TestResultsProvider.COLUMN_TEST_NAME + " = ?", in setTestResult() 228 resolver.insert(TestResultsProvider.RESULTS_CONTENT_URI, values); in setTestResult()
|
D | TestListAdapter.java | 166 resolver.registerContentObserver(TestResultsProvider.RESULTS_CONTENT_URI, true, observer); in TestListAdapter() 225 TestResultsProvider._ID, 226 TestResultsProvider.COLUMN_TEST_NAME, 227 TestResultsProvider.COLUMN_TEST_RESULT, 228 TestResultsProvider.COLUMN_TEST_DETAILS, 229 TestResultsProvider.COLUMN_TEST_METRICS, 239 cursor = resolver.query(TestResultsProvider.RESULTS_CONTENT_URI, REFRESH_PROJECTION, in getRefreshResults() 265 resolver.delete(TestResultsProvider.RESULTS_CONTENT_URI, "1", null); in doInBackground() 293 TestResultsProvider.setTestResult(mContext, mTestName, mResult, mDetails, mReportLog); in doInBackground()
|
D | PassFailButtons.java | 328 TestResultsProvider.getTestNameUri(activity.getClass().getName()), in hasSeenInfoDialog() 329 new String[] {TestResultsProvider.COLUMN_TEST_INFO_SEEN}, null, null, null); in hasSeenInfoDialog() 388 values.put(TestResultsProvider.COLUMN_TEST_NAME, activity.getClass().getName()); in markSeenInfoDialog() 389 values.put(TestResultsProvider.COLUMN_TEST_INFO_SEEN, 1); in markSeenInfoDialog() 391 TestResultsProvider.getTestNameUri(activity.getClass().getName()), in markSeenInfoDialog() 394 resolver.insert(TestResultsProvider.RESULTS_CONTENT_URI, values); in markSeenInfoDialog()
|