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.getResultContentUri(mContext), 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 231 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); in setTestResult() 232 values.put(TestResultsProvider.COLUMN_TEST_NAME, testName); in setTestResult() 233 values.put(TestResultsProvider.COLUMN_TEST_DETAILS, testDetails); in setTestResult() 234 values.put(TestResultsProvider.COLUMN_TEST_METRICS, serialize(reportLog)); in setTestResult() 239 TestResultsProvider.COLUMN_TEST_NAME + " = ?", in setTestResult()
|
D | TestListAdapter.java | 166 …resolver.registerContentObserver(TestResultsProvider.getResultContentUri(context), 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.getResultContentUri(mContext), REFRESH_PROJECTION, in getRefreshResults() 265 resolver.delete(TestResultsProvider.getResultContentUri(mContext), "1", null); in doInBackground() 293 TestResultsProvider.setTestResult(mContext, mTestName, mResult, mDetails, mReportLog); in doInBackground()
|
D | PassFailButtons.java | 331 cursor = resolver.query(TestResultsProvider.getTestNameUri(activity), in hasSeenInfoDialog() 332 new String[] {TestResultsProvider.COLUMN_TEST_INFO_SEEN}, null, null, null); in hasSeenInfoDialog() 391 values.put(TestResultsProvider.COLUMN_TEST_NAME, activity.getClass().getName()); in markSeenInfoDialog() 392 values.put(TestResultsProvider.COLUMN_TEST_INFO_SEEN, 1); in markSeenInfoDialog() 394 TestResultsProvider.getTestNameUri(activity), values, null, null); in markSeenInfoDialog() 396 resolver.insert(TestResultsProvider.getResultContentUri(activity), values); in markSeenInfoDialog()
|