HomeSort by relevance Sort by last modified time
    Searched refs:Authenticator (Results 1 - 25 of 432) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/net/
OldAuthenticatorRequestorTypeTest.java 19 import java.net.Authenticator;
25 assertEquals(Authenticator.RequestorType.PROXY,
26 Authenticator.RequestorType.valueOf("PROXY"));
27 assertEquals(Authenticator.RequestorType.SERVER,
28 Authenticator.RequestorType.valueOf("SERVER"));
30 Authenticator.RequestorType.valueOf("TEST");
37 Authenticator.RequestorType[] expectedTypes = {
38 Authenticator.RequestorType.PROXY,
39 Authenticator.RequestorType.SERVER
42 Authenticator.RequestorType[] types = Authenticator.RequestorType.values()
    [all...]
OldAuthenticatorTest.java 19 import java.net.Authenticator;
30 PasswordAuthentication pa = Authenticator.requestPasswordAuthentication(
35 Authenticator.setDefault(mock);
38 pa = Authenticator.requestPasswordAuthentication(addr, 80, "http", "promt", "HTTP");
41 Authenticator.setDefault(null);
55 class MockAuthenticator extends Authenticator {
60 public Authenticator.RequestorType getRequestorType() {
  /frameworks/base/obex/javax/obex/
Authenticator.java 83 public interface Authenticator {
SessionNotifier.java 53 * the handler to handle the requests from the client. No authenticator is
92 * <code>Authenticator</code> to use to respond to authentication challenge
120 * @param auth the <code>Authenticator</code> to use with this connection;
121 * if <code>null</code> then no <code>Authenticator</code> will be
127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException;
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
AuthenticationService.java 23 private Authenticator mAuthenticator;
27 mAuthenticator = new Authenticator(this);
BluetoothPbapObexAuthenticator.java 22 import javax.obex.Authenticator;
31 class BluetoothPbapObexAuthenticator implements Authenticator {
  /external/volley/src/main/java/com/android/volley/toolbox/
Authenticator.java 24 public interface Authenticator {
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
RecordingAuthenticator.java 18 import java.net.Authenticator;
23 public final class RecordingAuthenticator extends Authenticator {
RecordingOkAuthenticator.java 18 import com.squareup.okhttp.Authenticator;
25 public final class RecordingOkAuthenticator implements Authenticator {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Authenticator.java 24 public interface Authenticator {
  /frameworks/base/telecomm/java/android/telecom/
AuthenticatorService.java 29 * A generic stub account authenticator service often used for sync adapters that do not directly
35 private static Authenticator mAuthenticator;
39 mAuthenticator = new Authenticator(this);
48 * Stub account authenticator. All methods either return null or throw an exception.
50 public class Authenticator extends AbstractAccountAuthenticator {
51 public Authenticator(Context context) {
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
AuthenticationService.java 17 package com.example.android.samplesync.authenticator;
25 * Service to handle Account authentication. It instantiates the authenticator
32 private Authenticator mAuthenticator;
39 mAuthenticator = new Authenticator(this);
  /cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
StubAuthenticator.java 32 private Authenticator mAuthenticator;
36 mAuthenticator = new Authenticator(this);
44 public class Authenticator extends AbstractAccountAuthenticator {
45 public Authenticator(Context context) {
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/accounts/
GenericAccountService.java 33 private Authenticator mAuthenticator;
41 * that "caller uid XXXXX is different than the authenticator's uid".
62 mAuthenticator = new Authenticator(this);
75 public class Authenticator extends AbstractAccountAuthenticator {
76 public Authenticator(Context context) {
  /developers/samples/android/common/src/java/com/example/android/common/accounts/
GenericAccountService.java 33 private Authenticator mAuthenticator;
41 * that "caller uid XXXXX is different than the authenticator's uid".
62 mAuthenticator = new Authenticator(this);
75 public class Authenticator extends AbstractAccountAuthenticator {
76 public Authenticator(Context context) {
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/
GenericAccountService.java 33 private Authenticator mAuthenticator;
41 * that "caller uid XXXXX is different than the authenticator's uid".
62 mAuthenticator = new Authenticator(this);
75 public class Authenticator extends AbstractAccountAuthenticator {
76 public Authenticator(Context context) {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
AuthenticatorAdapter.java 18 import com.squareup.okhttp.Authenticator;
25 import java.net.Authenticator.RequestorType;
32 /** Adapts {@link java.net.Authenticator} to {@link com.squareup.okhttp.Authenticator}. */
33 public final class AuthenticatorAdapter implements Authenticator {
34 /** Uses the global authenticator to get the password. */
35 public static final Authenticator INSTANCE = new AuthenticatorAdapter();
45 PasswordAuthentication auth = java.net.Authenticator.requestPasswordAuthentication(
68 PasswordAuthentication auth = java.net.Authenticator.requestPasswordAuthentication(
  /libcore/ojluni/src/main/java/java/net/
Authenticator.java 29 * The class Authenticator represents an object that knows how to obtain
42 * with the system by calling {@link #setDefault(Authenticator)}.
50 * @see java.net.Authenticator#setDefault(java.net.Authenticator)
51 * @see java.net.Authenticator#getPasswordAuthentication()
60 class Authenticator {
62 // The system-wide authenticator object. See setDefault().
63 private static Authenticator theAuthenticator;
103 * Sets the authenticator that will be used by the networking code
111 * @param a The authenticator to be set. If a is {@code null} the
    [all...]
  /cts/hostsidetests/content/test-apps/SyncAccountAccessStubs/src/com/android/cts/stub/
StubAuthenticator.java 33 private Authenticator mAuthenticator;
37 mAuthenticator = new Authenticator(this);
45 public class Authenticator extends AbstractAccountAuthenticator {
46 public Authenticator(Context context) {
  /cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
TestAuthenticator.java 38 private static Authenticator sInstance;
43 sInstance = new Authenticator(getApplicationContext());
49 public static class Authenticator extends AbstractAccountAuthenticator {
53 public Authenticator(Context context) {
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsAuthenticator.java 33 * Authenticator for the sync test.
41 private static Authenticator sInstance;
46 sInstance = new Authenticator(getApplicationContext());
86 public static class Authenticator extends AbstractAccountAuthenticator {
90 public Authenticator(Context context) {
  /development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/
MyAuthenticator.java 38 private static Authenticator sInstance;
43 sInstance = new Authenticator(getApplicationContext());
62 public static class Authenticator extends AbstractAccountAuthenticator {
66 public Authenticator(Context context) {
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
Authenticate.java 18 import com.squareup.okhttp.Authenticator;
30 client.setAuthenticator(new Authenticator() {
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapAuthenticator.java 39 import javax.obex.Authenticator;
46 public class BluetoothPbapAuthenticator implements Authenticator {
  /cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/
TestAuthenticator.java 41 private static Authenticator sInstance;
46 sInstance = new Authenticator(getApplicationContext());
81 public static class Authenticator extends AbstractAccountAuthenticator {
85 public Authenticator(Context context) {

Completed in 1569 milliseconds

1 2 3 4 5 6 7 8 91011>>