6c707a47da
1. Add additional trigger onUserMayRequestUnlock - point existing trigger points from SystemUI to this 2. Argument added to onUserRequestedUnlock to indicate if user wants to dismiss keyguard. 3. Callback for result of grantTrust calls. - curently only calls back if device was unlocked as a result of the call See design: go/au-noise-reduction Note: changes made to SystemUI are manually tested and may need refactoring which is being skipped now to meet the API Freeze deadline. Bug: 225231929 Test: atest TrustTests Test: Manual interaction with wake & fingerprint sensor CTS-Coverage-Bug: 213944235 Change-Id: I8d08229f09c9a1f2295b7eb464d12cad0c6b8303
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
// Copyright (C) 2022 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 {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
android_test {
|
|
name: "TrustTests",
|
|
srcs: [
|
|
"src/**/*.kt",
|
|
],
|
|
static_libs: [
|
|
"androidx.test.rules",
|
|
"androidx.test.ext.junit",
|
|
"androidx.test.uiautomator",
|
|
"mockito-target-minus-junit4",
|
|
"servicestests-utils",
|
|
"truth-prebuilt",
|
|
],
|
|
libs: [
|
|
"android.test.runner",
|
|
"android.test.base",
|
|
],
|
|
test_suites: [
|
|
"device-tests",
|
|
],
|
|
platform_apis: true,
|
|
certificate: "platform",
|
|
}
|