Home
last modified time | relevance | path

Searched refs:execute (Results 1 – 25 of 51) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAoaTargetPreparerTest.java87 verify(mPreparer).execute(eq(mDevice), eq("wake")); in testSetUp()
96 verify(mPreparer, never()).execute(eq(mDevice), any()); in testSetUp_noActions()
114 verify(mPreparer).execute(eq(mDevice), eq("wake")); in testSetUp_skipDeviceCheck()
120 mPreparer.execute(mDevice, "click 1 23"); in testClick()
128 mPreparer.execute(mDevice, "longClick 23 4"); in testLongClick()
136 mPreparer.execute(mDevice, "swipe 3 45 123 6 78"); in testSwipe()
145 mPreparer.execute(mDevice, "write Test 0123"); in testWrite()
153 mPreparer.execute(mDevice, "key 43"); // accepts decimal values in testKeys()
154 mPreparer.execute(mDevice, "key 0x2B"); // accepts hexadecimal values in testKeys()
155 mPreparer.execute(mDevice, "key tab"); // accepts key descriptions in testKeys()
[all …]
/tools/acloud/internal/lib/
Dbase_cloud_client_test.py76 requests[rid][0].execute()
85 mock_batch.execute = _Execute
114 self.assertEqual(requests["r1"].execute.call_count, 1)
115 self.assertEqual(requests["r2"].execute.call_count,
117 self.assertEqual(requests["r3"].execute.call_count,
129 api_mock.execute.side_effect = [response_1, response_2]
142 api_mock.execute.side_effect = error
146 api_mock.execute.side_effect = FakeError("fake retriable error.")
153 self.assertEqual(api_mock.execute.call_count, client.RETRY_COUNT + 1)
Dgcompute_client_test.py111 mock_api.execute = mock.MagicMock(return_value=mock_result)
187 mock_api.execute = mock.MagicMock(return_value={"name": self.IMAGE})
199 mock_api.execute = mock.MagicMock(return_value={"name": self.IMAGE_OTHER})
366 mock_api.execute = mock.MagicMock(return_value={"name": self.IMAGE})
376 mock_api.execute = mock.MagicMock(
406 mock_batch.execute = _Execute
481 mock_api.execute = mock.MagicMock(return_value={"name": self.INSTANCE})
1095 mock_api.execute = mock.MagicMock(
1117 mock_api.execute = mock.MagicMock(return_value=response)
1513 mock_api.execute = mock.MagicMock(return_value={"name": self.DISK})
Dgstorage_client_test.py42 self.assertTrue(mock_api.execute.called)
78 mock_api.execute = mock.MagicMock(return_value=mock_response)
109 self.assertTrue(mock_api.execute.called)
129 self.assertEqual(mock_api.execute.call_count, 2)
Dandroid_build_client_test.py122 mock_api_request.execute.side_effect = errors.HttpError(503,
132 self.assertEqual(mock_api_request.execute.call_count, 6)
141 mock_api.execute = mock.MagicMock(return_value=build_info)
155 mock_api.execute = mock.MagicMock(return_value=build_info)
Dbase_cloud_client.py165 return api.execute()
252 batch.execute()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterClient.java70 getApiHelper().execute("POST", new String[] {REST_API_METHOD}, null, eventData); in doUploadEvents()
86 getApiHelper().execute("POST", new String[] {REST_API_METHOD}, null, eventData); in doUploadEvents()
126 .execute( in leaseHostCommands()
146 .execute( in getTestEnvironment()
163 .execute( in getTestResources()
184 .execute( in getTestContext()
204 .execute( in updateTestContext()
225 .execute( in getCommandStatus()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandInterrupterTest.java54 execute( in testAllowInterrupt() method
67 execute( in testInterrupt() method
86 execute( in testInterrupt_blocked() method
108 execute( in testInterrupt_clearsFlag() method
130 execute( in testAllowInterruptAsync() method
155 execute( in testAllowInterruptsAsync_alreadyAllowed() method
170 private static void execute(Runnable runnable) throws InterruptedException { in execute() method in CommandInterrupterTest
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java224 public LowLevelHttpResponse execute() throws IOException { in buildRequest()
237 return factory.buildRequest("GET", new GenericUrl("http://example.com"), null).execute();
394 mMockApiHelper.execute(
453 mMockApiHelper.execute(
1498 Mockito.when(mMockApiHelper.execute(any(), any(), any(), any()))
1504 Mockito.when(mMockApiHelper.execute(any(), any(), any(), any()))
1510 Mockito.when(mMockApiHelper.execute(any(), any(), any(), any()))
1515 Mockito.verify(mMockApiHelper, Mockito.times(3)).execute(any(), any(), any(), any());
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java73 .execute(); in createFile()
129 Objects objects = listOperation.execute(); in tearDown()
148 batchRequest.execute(); in tearDown()
347 .execute(); in testCheckFreshness_folder_removeFile()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java97 return getStorage().objects().get(bucketName, remoteFilename).execute(); in getRemoteFileMetaData()
224 Objects objects = listOperation.execute(); in listRemoteFilesUnderFolder()
271 .execute(); in isRemoteFolder()
DGCSFileUploader.java66 .execute() in uploadFile()
74 getWritableStorage().objects().insert(bucketName, object, inputStreamData).execute(); in uploadFile()
DRestApiHelper.java105 public HttpResponse execute( in execute() method in RestApiHelper
115 return request.execute(); in execute()
DIRestApiHelper.java38 public HttpResponse execute( in execute() method
/tools/asuite/asuite_plugin/
Dgradlew.bat59 if "x%~1" == "x" goto execute
63 :execute label
/tools/trebuchet/
Dgradlew.bat59 if "x%~1" == "x" goto execute
63 :execute label
/tools/metalava/
Dgradlew.bat59 if "x%~1" == "x" goto execute
63 :execute label
/tools/test/connectivity/acts/tests/google/wifi/aware/
DREADME.md33 directory which lists all tests in the directory. E.g. to execute all functional
34 tests execute:
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DAoaTargetPreparer.java168 mActions.forEach(action -> execute(device, action)); in configure()
179 void execute(AoaDevice device, String input) { in execute() method in AoaTargetPreparer
/tools/test/connectivity/acts/
DREADME.md41 3. Sequentially execute test classes
163 will execute test_make_toast and test_make_bagel:
/tools/tradefederation/core/atest/docs/
Datest_structure.md86 Test Runners are classes that execute the tests. They consume a ```TestInfo```
87 and execute the test as specified.
/tools/asuite/atest/docs/
Datest_structure.md86 Test Runners are classes that execute the tests. They consume a ```TestInfo```
87 and execute the test as specified.
/tools/repohooks/
DREADME.md13 Normally these execute automatically when you run `repo upload`. If you want to
14 run them by hand, you can execute `pre-upload.py` directly. By default, that
/tools/apksig/src/main/java/com/android/apksig/util/
DRunnablesExecutor.java22 void execute(RunnablesProvider provider); in execute() method
/tools/tradefederation/core/test_framework/
DREADME.md6 write and execute tests.

123