/external/autotest/site_utils/ |
D | pubsub_utils_unittest.py | 16 from oauth2client.client import GoogleCredentials 97 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 99 GoogleCredentials.from_stream( 110 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 112 credentials = self.mox.CreateMock(GoogleCredentials) 113 GoogleCredentials.from_stream( 134 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 136 credentials = self.mox.CreateMock(GoogleCredentials) 137 GoogleCredentials.from_stream(
|
D | pubsub_utils.py | 18 from oauth2client.client import GoogleCredentials 56 credential = GoogleCredentials.from_stream(self.credential_file)
|
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverStatsExporterTest.java | 23 import com.google.auth.oauth2.GoogleCredentials; 41 GoogleCredentials.newBuilder().setAccessToken(new AccessToken("fake", new Date(100))).build(); 89 GoogleCredentials.newBuilder().build(), null, ONE_SECOND); in createWithNullProjectId() 98 GoogleCredentials.newBuilder().build(), PROJECT_ID, null); in createWithNullDuration() 107 GoogleCredentials.newBuilder().build(), PROJECT_ID, NEG_ONE_SECOND); in createWithNegativeDuration()
|
D | StackdriverStatsConfigurationTest.java | 24 import com.google.auth.oauth2.GoogleCredentials; 36 GoogleCredentials.newBuilder().setAccessToken(new AccessToken("fake", new Date(100))).build();
|
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/ |
D | StackdriverExporter.java | 20 import com.google.auth.oauth2.GoogleCredentials; 85 .setCredentials(GoogleCredentials.getApplicationDefault()) in createAndRegisterWithProjectId() 111 .setCredentials(GoogleCredentials.getApplicationDefault()) in createAndRegister()
|
D | StackdriverTraceExporter.java | 22 import com.google.auth.oauth2.GoogleCredentials; 88 credentials != null ? credentials : GoogleCredentials.getApplicationDefault(), in createAndRegister()
|
/external/python/oauth2client/samples/ |
D | call_compute_service.py | 9 from oauth2client.client import GoogleCredentials 16 credentials = GoogleCredentials.get_application_default()
|
/external/python/oauth2client/samples/googleappengine/ |
D | call_compute_service_from_gae.py | 7 from oauth2client.client import GoogleCredentials 15 credentials = GoogleCredentials.get_application_default()
|
/external/python/oauth2client/scripts/ |
D | run_gce_system_tests.py | 23 from oauth2client.client import GoogleCredentials 30 default_creds = GoogleCredentials.get_application_default()
|
D | run_system_tests.py | 87 credentials = client.GoogleCredentials(
|
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/ |
D | StackdriverTraceConfigurationTest.java | 23 import com.google.auth.oauth2.GoogleCredentials; 34 GoogleCredentials.newBuilder().setAccessToken(new AccessToken("fake", new Date(100))).build();
|
D | StackdriverV2ExporterHandlerProtoTest.java | 28 import com.google.auth.oauth2.GoogleCredentials; 70 GoogleCredentials.newBuilder().setAccessToken(new AccessToken("fake", new Date(100))).build();
|
/external/autotest/server/cros/cfm/utils/ |
D | bond_http_api.py | 12 from oauth2client.client import GoogleCredentials 159 return GoogleCredentials.from_stream(_SERVICE_CREDS_FILE)
|
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/ |
D | gce_cluster_resolver.py | 29 from oauth2client.client import GoogleCredentials # pylint: disable=g-import-not-at-top 94 self._credentials = GoogleCredentials.get_application_default()
|
D | tpu_cluster_resolver.py | 42 from oauth2client.client import GoogleCredentials # pylint: disable=g-import-not-at-top 85 credentials = GoogleCredentials.get_application_default()
|
/external/grpc-grpc/tools/gcp/utils/ |
D | big_query_utils.py | 23 from oauth2client.client import GoogleCredentials 33 creds = GoogleCredentials.get_application_default()
|
/external/python/oauth2client/tests/ |
D | test_client.py | 285 self.assertIsInstance(credentials, client.GoogleCredentials) 295 return client.GoogleCredentials(None, None, None, None, 308 @mock.patch.object(client.GoogleCredentials, 311 @mock.patch.object(client.GoogleCredentials, 319 credentials = client.GoogleCredentials.get_application_default() 325 @mock.patch.object(client.GoogleCredentials, 328 @mock.patch.object(client.GoogleCredentials, 337 credentials = client.GoogleCredentials.get_application_default() 620 credentials = client.GoogleCredentials.get_application_default() 644 credentials = client.GoogleCredentials.get_application_default() [all …]
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/ |
D | GoogleDefaultChannelBuilder.java | 21 import com.google.auth.oauth2.GoogleCredentials; 117 credentials = MoreCallCredentials.from(GoogleCredentials.getApplicationDefault()); in build()
|
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/ |
D | GoogleAuthLibraryCallCredentialsTest.java | 34 import com.google.auth.oauth2.GoogleCredentials; 278 final Credentials credentials = GoogleCredentials.create(token); in googleCredential_privacyAndIntegrityAllowed() 298 final Credentials credentials = GoogleCredentials.create(token); in googleCredential_integrityDenied() 317 final Credentials credentials = GoogleCredentials.create(token); in googleCredential_nullSecurityDenied()
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/ |
D | _implementations_test.py | 42 creds = oauth2client_client.GoogleCredentials(
|
/external/python/google-api-python-client/googleapiclient/ |
D | _auth.py | 45 return oauth2client.client.GoogleCredentials.get_application_default()
|
/external/python/oauth2client/oauth2client/contrib/ |
D | devshell.py | 96 class DevshellCredentials(client.GoogleCredentials):
|
/external/python/oauth2client/oauth2client/ |
D | client.py | 1065 class GoogleCredentials(OAuth2Credentials): class 1118 super(GoogleCredentials, self).__init__( 1288 return GoogleCredentials._get_implicit_credentials() 1422 return GoogleCredentials( 1461 class AssertionCredentials(GoogleCredentials):
|
/external/python/google-api-python-client/tests/ |
D | test__auth.py | 108 credentials = mock.Mock(spec=oauth2client.client.GoogleCredentials)
|
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverStatsExporter.java | 26 import com.google.auth.oauth2.GoogleCredentials;
|