Example usage for android.service.trust TrustAgentService subclass-usage

List of usage examples for android.service.trust TrustAgentService subclass-usage

Introduction

In this page you can find the example usage for android.service.trust TrustAgentService subclass-usage.

Usage

From source file com.android.trustagent.test.SampleTrustAgent.java

public class SampleTrustAgent extends TrustAgentService
        implements SharedPreferences.OnSharedPreferenceChangeListener {

    /**
     * If true, allows anyone to control this trust agent, e.g. using adb:
     * <pre>

From source file org.nick.ghettounlock.GhettoTrustAgent.java

public class GhettoTrustAgent extends TrustAgentService
        implements SharedPreferences.OnSharedPreferenceChangeListener {

    private static final String ACTION_GRANT_TRUST = "action.ghetoo_trust_agent.grant_trust";
    private static final String ACTION_REVOKE_TRUST = "action.ghetto_trust_agent.revoke_trust";

From source file com.android.car.trust.CarBleTrustAgent.java

/**
 * A sample trust agent that demonstrates how to use the escrow token unlock APIs. </p>
 *
 * This trust agent runs during direct boot and binds to a BLE service that listens for remote
 * devices to trigger an unlock. <p/>
 *