Searched refs:GoogleCredentials (Results 1 – 25 of 39) sorted by relevance
12
/external/autotest/site_utils/ |
D | pubsub_utils_unittest.py | 19 from oauth2client.client import GoogleCredentials 100 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 102 GoogleCredentials.from_stream( 113 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 115 credentials = self.mox.CreateMock(GoogleCredentials) 116 GoogleCredentials.from_stream( 137 self.mox.StubOutWithMock(GoogleCredentials, 'from_stream') 139 credentials = self.mox.CreateMock(GoogleCredentials) 140 GoogleCredentials.from_stream(
|
D | pubsub_utils.py | 19 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();
|
/external/perfetto/infra/ci/ |
D | common_utils.py | 22 from oauth2client.client import GoogleCredentials 74 creds = GoogleCredentials.get_application_default().create_scoped(SCOPES)
|
/external/autotest/server/cros/cfm/utils/ |
D | bond_http_api.py | 12 from oauth2client.client import GoogleCredentials 179 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 117 self._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/rust/crates/grpcio-sys/grpc/tools/gcp/utils/ |
D | big_query_utils.py | 25 from oauth2client.client import GoogleCredentials 35 creds = GoogleCredentials.get_application_default()
|
/external/protobuf/benchmarks/util/ |
D | big_query_utils.py | 11 from oauth2client.client import GoogleCredentials 21 creds = GoogleCredentials.get_application_default()
|
/external/perfetto/infra/ci/worker/ |
D | artifacts_uploader.py | 31 from oauth2client.client import GoogleCredentials 47 creds = GoogleCredentials.get_application_default().create_scoped(scopes)
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/ |
D | GoogleDefaultChannelBuilder.java | 19 import com.google.auth.oauth2.GoogleCredentials; 85 credentials = MoreCallCredentials.from(GoogleCredentials.getApplicationDefault()); in build()
|
/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/src/python/grpcio_tests/tests/unit/beta/ |
D | _implementations_test.py | 42 creds = oauth2client_client.GoogleCredentials(
|
/external/oss-fuzz/infra/build/functions/ |
D | build_project.py | 34 from oauth2client.client import GoogleCredentials 413 credentials = GoogleCredentials.get_application_default()
|
/external/python/google-api-python-client/googleapiclient/ |
D | _auth.py | 47 return oauth2client.client.GoogleCredentials.get_application_default()
|
/external/python/oauth2client/oauth2client/contrib/ |
D | devshell.py | 96 class DevshellCredentials(client.GoogleCredentials):
|
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/ |
D | GoogleAuthLibraryCallCredentialsTest.java | 34 import com.google.auth.oauth2.GoogleCredentials; 272 final Credentials credentials = GoogleCredentials.create(token); in googleCredential_privacyAndIntegrityAllowed() 290 final Credentials credentials = GoogleCredentials.create(token); in googleCredential_integrityDenied()
|
12