OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TestResultsProvider
(Results
1 - 6
of
6
) sorted by null
/cts/apps/CtsVerifier/tests/src/com/android/cts/verifier/
TestResultsProviderTest.java
8
public class TestResultsProviderTest extends ProviderTestCase2<
TestResultsProvider
> {
14
private
TestResultsProvider
mProvider;
17
super(
TestResultsProvider
.class,
TestResultsProvider
.AUTHORITY);
27
Cursor cursor = mProvider.query(
TestResultsProvider
.RESULTS_CONTENT_URI,
28
TestResultsProvider
.ALL_COLUMNS, null, null, null);
32
values.put(
TestResultsProvider
.COLUMN_TEST_NAME, FOO_TEST_NAME);
33
values.put(
TestResultsProvider
.COLUMN_TEST_RESULT, TestResult.TEST_RESULT_FAILED);
34
assertNotNull(mProvider.insert(
TestResultsProvider
.RESULTS_CONTENT_URI, values));
36
cursor = mProvider.query(
TestResultsProvider
.RESULTS_CONTENT_URI, TestResultsProvider.ALL_COLUMNS
[
all
...]
TestListActivityTest.java
65
resolver.delete(
TestResultsProvider
.RESULTS_CONTENT_URI, "1", null);
67
Cursor cursor = resolver.query(
TestResultsProvider
.RESULTS_CONTENT_URI,
68
TestResultsProvider
.ALL_COLUMNS, null, null, null);
96
Cursor cursor = resolver.query(
TestResultsProvider
.RESULTS_CONTENT_URI,
97
TestResultsProvider
.ALL_COLUMNS, null, null, null);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestListActivity.java
49
resolver.registerContentObserver(
TestResultsProvider
.RESULTS_CONTENT_URI, true, observer);
88
values.put(
TestResultsProvider
.COLUMN_TEST_RESULT, testResult.getResult());
89
values.put(
TestResultsProvider
.COLUMN_TEST_NAME, testResult.getName());
92
int numUpdated = resolver.update(
TestResultsProvider
.RESULTS_CONTENT_URI, values,
93
TestResultsProvider
.COLUMN_TEST_NAME + " = ?",
97
resolver.insert(
TestResultsProvider
.RESULTS_CONTENT_URI, values);
127
resolver.delete(
TestResultsProvider
.RESULTS_CONTENT_URI, "1", null);
PassFailButtons.java
111
TestResultsProvider
.getTestNameUri(activity.getClass().getName()),
112
new String[] {
TestResultsProvider
.COLUMN_TEST_INFO_SEEN}, null, null, null);
147
values.put(
TestResultsProvider
.COLUMN_TEST_NAME, activity.getClass().getName());
148
values.put(
TestResultsProvider
.COLUMN_TEST_INFO_SEEN, 1);
150
TestResultsProvider
.getTestNameUri(activity.getClass().getName()),
153
resolver.insert(
TestResultsProvider
.RESULTS_CONTENT_URI, values);
TestResultsProvider.java
30
public class
TestResultsProvider
extends ContentProvider {
34
public static final String AUTHORITY = "com.android.cts.verifier.
testresultsprovider
";
TestListAdapter.java
222
cursor = resolver.query(
TestResultsProvider
.RESULTS_CONTENT_URI,
223
TestResultsProvider
.ALL_COLUMNS, null, null, null);
Completed in 62 milliseconds