Home
last modified time | relevance | path

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

12

/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.py77 requests[rid][0].execute()
86 mock_batch.execute = _Execute
117 self.assertEqual(requests["r1"].execute.call_count, 1)
118 self.assertEqual(requests["r2"].execute.call_count,
120 self.assertEqual(requests["r3"].execute.call_count,
132 api_mock.execute.side_effect = [response_1, response_2]
145 api_mock.execute.side_effect = error
149 api_mock.execute.side_effect = FakeError("fake retriable error.")
156 self.assertEqual(api_mock.execute.call_count, client.RETRY_COUNT + 1)
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.py166 return api.execute()
253 batch.execute()
Dgcompute_client_test.py112 mock_api.execute = mock.MagicMock(return_value=mock_result)
188 mock_api.execute = mock.MagicMock(return_value={"name": self.IMAGE})
200 mock_api.execute = mock.MagicMock(return_value={"name": self.IMAGE_OTHER})
367 mock_api.execute = mock.MagicMock(return_value={"name": self.IMAGE})
377 mock_api.execute = mock.MagicMock(
407 mock_batch.execute = _Execute
480 mock_api.execute = mock.MagicMock(return_value={"name": self.INSTANCE})
1094 mock_api.execute = mock.MagicMock(
1116 mock_api.execute = mock.MagicMock(return_value=response)
/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/apksig/src/main/java/com/android/apksig/util/
DRunnablesExecutor.java34 public void execute(RunnablesProvider provider) {
50 mExecutor.execute(task);
60 void execute(RunnablesProvider provider); in execute() method
/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()
220 .execute( in getCommandState()
/tools/ndkports/src/test/kotlin/com/android/ndkports/
DResultTest.kt35 fun `onFailure does not execute block on success`() { in onFailure does not execute block on success()
57 fun `onSuccess does not execute block on failure`() { in onSuccess does not execute block on failure()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileUploader.java66 .execute() in uploadFile()
74 getWritableStorage().objects().insert(bucketName, object, inputStreamData).execute(); in uploadFile()
DIRestApiHelper.java38 public HttpResponse execute( in execute() method
DRestApiHelper.java105 public HttpResponse execute( in execute() method in RestApiHelper
115 return request.execute(); in execute()
DGCSFileDownloader.java97 return getStorage().objects().get(bucketName, remoteFilename).execute(); in getRemoteFileMetaData()
224 Objects objects = listOperation.execute(); in listRemoteFilesUnderFolder()
271 .execute(); in isRemoteFolder()
/tools/tradefederation/core/test_framework/
DREADME.md6 write and execute tests.
/tools/ndkports/
Dgradlew.bat59 if "x%~1" == "x" goto execute
63 :execute label
/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/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/
DExecutorCompressor.java52 executor.execute(() -> { in compress()
/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()
DGCSFileUploaderFuncTest.java63 storage.objects().delete(BUCKET_NAME, mTestFile.getName()).execute(); in tearDown()
/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/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTraceViewerWindow.kt92 }.execute() in <lambda>()
/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

12