blob: 5605ba5b4d05fe504b54165bab0cd1d9be360cc3 [file] [edit]
/*
* Copyright (C) 2025 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.cts.verifier.notifications
import android.app.Activity
import android.app.Service
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.os.IBinder
// Stub services, receivers, and activities that let the test app hold the SMS role
class SmsReceiver : BroadcastReceiver() {
override fun onReceive(context: Context?, intent: Intent?) { /* stub */ }
}
class SmsReceiver2 : BroadcastReceiver() {
override fun onReceive(context: Context?, intent: Intent?) { /* stub */ }
}
class SmsService : Service() {
override fun onBind(intent: Intent?): IBinder? { return null }
}
class SmsActivity : Activity()