1a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey/* 2a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * Copyright (C) 2011 The Android Open Source Project 3a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * 4a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * Licensed under the Apache License, Version 2.0 (the "License"); 5a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * you may not use this file except in compliance with the License. 6a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * You may obtain a copy of the License at 7a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * 8a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * http://www.apache.org/licenses/LICENSE-2.0 9a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * 10a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * Unless required by applicable law or agreed to in writing, software 11a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * distributed under the License is distributed on an "AS IS" BASIS, 12a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * See the License for the specific language governing permissions and 14a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * limitations under the License. 15a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey * 16a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey */ 17a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey 18a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkeypackage com.android.frameworks.coretests; 19a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey 20a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkeyimport android.content.ContentProvider; 21a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkeyimport android.content.ContentValues; 22a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkeyimport android.database.Cursor; 23a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkeyimport android.net.Uri; 24a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey 25a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkeypublic class TestReceiver extends ContentProvider { 26a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey 27a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey @Override 28a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey public boolean onCreate() { 29a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey return false; 30a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey } 31a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey 32a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey @Override 33a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 34a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey String sortOrder) { 35a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey return null; 36a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey } 37a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey 38a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey @Override 39a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey public String getType(Uri uri) { 40a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey return null; 41a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey } 4278a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey 4378a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey @Override 4478a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey public Uri insert(Uri uri, ContentValues values) { 4578a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey return null; 4678a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey } 4778a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey 4878a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey @Override 4978a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey public int delete(Uri uri, String selection, String[] selectionArgs) { 5078a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey return 0; 5178a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey } 5278a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey 5378a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey @Override 5478a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 5578a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey return 0; 5678a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey } 5778a130144bdd047665f00782c481d31edb3e5fb7Jeff Sharkey} 58a10311434778ea1be1621c2251c0c8c2966f337bJeff Sharkey