/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/ |
D | HttpHelperTest.java | 51 private TestHttpHelper mHelper; field in HttpHelperTest 55 mHelper = new TestHttpHelper(); in setUp() 60 mHelper.close(); in tearDown() 68 assertEquals("key=value", mHelper.buildParameters(paramMap)); in testBuildParams() 73 String params = mHelper.buildParameters(paramMap); in testBuildParams() 81 assertEquals("key=value1&key=value2", mHelper.buildParameters(paramMap)); in testBuildParams() 85 assertEquals("key%2Bf%3Fo%3Do%3B=value", mHelper.buildParameters(paramMap)); in testBuildParams() 91 assertEquals("http://foo", mHelper.buildUrl(TEST_URL_STRING, null)); in testBuildUrl() 94 assertEquals("http://foo", mHelper.buildUrl(TEST_URL_STRING, paramMap)); in testBuildUrl() 97 assertEquals("http://foo?key=value", mHelper.buildUrl(TEST_URL_STRING, paramMap)); in testBuildUrl() [all …]
|
D | HttpMultipartPostTest.java | 36 private IHttpHelper mHelper; field in HttpMultipartPostTest 49 mHelper = EasyMock.createMock(IHttpHelper.class); in setUp() 61 EasyMock.expect(mHelper.doPostWithRetry("www.example.com", expectedContents, in testSendRequest() 63 EasyMock.replay(mHelper); in testSendRequest() 65 HttpMultipartPost testPost = new HttpMultipartPost("www.example.com", mHelper); in testSendRequest() 71 EasyMock.verify(mHelper); in testSendRequest()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 75 private ShardHelper mHelper; field in ShardHelperTest 84 mHelper = in setUp() 138 assertTrue(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testSplitWithShardCount() 164 assertTrue(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testSplit_noShardCount() 196 assertTrue(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testSplitWithShardCount_notEnoughTest() 241 assertTrue(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testCloneStatusChecker() 288 assertTrue(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testCloneMetricCollector() 317 mHelper = in testClone_withKeystore() 362 assertTrue(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testClone_withKeystore() 383 mHelper = in testClone_withKeystore_loadingFails() [all …]
|
D | StrictShardHelperTest.java | 65 private StrictShardHelper mHelper; field in StrictShardHelperTest 73 mHelper = new StrictShardHelper(); in setUp() 95 assertTrue(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testShardConfig_internal() 124 assertFalse(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testShardConfig_internal_shardIndex() 155 assertFalse(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testShardConfig_internal_shardIndex_notShardable_shard0() 186 assertFalse(mHelper.shardConfig(mConfig, mContext, mRescheduler)); in testShardConfig_internal_shardIndex_notShardable_shard1() 252 mHelper.shardConfig(mConfig, mContext, mRescheduler); in testShard() 317 mHelper.shardConfig(mConfig, mContext, mRescheduler); in testShardSuite() 368 mHelper.shardConfig(mConfig, mContext, mRescheduler); in testSuite_withAllInterfaces() 399 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); in testDistribution_hightests_highcount() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/remote/ |
D | GcsRemoteFileResolver.java | 34 private GCSDownloaderHelper mHelper = null; field in GcsRemoteFileResolver 59 if (mHelper == null) { in getDownloader() 60 mHelper = new GCSDownloaderHelper(); in getDownloader() 62 return mHelper; in getDownloader()
|
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
D | HttpMultipartPost.java | 45 private IHttpHelper mHelper; field in HttpMultipartPost 50 mHelper = httpHelper; in HttpMultipartPost() 121 mHelper.doPostWithRetry(mUrl, mBuilder.toString(), in send()
|
/tools/dexter/testdata/expected/ |
D | medium.rewrite | 91523 103| iget-object v8, v8, com.android.calendar.event.EditEventFragment.mHelper 93368 118| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 93381 138| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 93790 11| iput-object v0, v2, com.android.calendar.event.EditEventFragment.mHelper
|
D | medium.wrap_invoke | 91523 103| iget-object v8, v8, com.android.calendar.event.EditEventFragment.mHelper 93368 118| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 93381 138| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 93790 11| iput-object v0, v2, com.android.calendar.event.EditEventFragment.mHelper
|
D | medium.scratch_regs | 107015 115| iget-object v8, v8, com.android.calendar.event.EditEventFragment.mHelper 109016 130| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 109029 150| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 109465 29| iput-object v10, v12, com.android.calendar.event.EditEventFragment.mHelper
|
D | medium.exit_hook | 96166 103| iget-object v8, v8, com.android.calendar.event.EditEventFragment.mHelper 98065 118| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 98078 138| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 98501 11| iput-object v0, v2, com.android.calendar.event.EditEventFragment.mHelper
|
D | medium.entry_hook | 93970 106| iget-object v8, v8, com.android.calendar.event.EditEventFragment.mHelper 95847 121| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 95860 141| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 96275 14| iput-object v0, v2, com.android.calendar.event.EditEventFragment.mHelper
|
D | medium.compact_cfg | 109830 103| iget-object v8, v8, com.android.calendar.event.EditEventFragment.mHelper 112047 118| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 112064 138| iget-object v0, v14, com.android.calendar.event.EditEventFragment.mHelper 112573 11| iput-object v0, v2, com.android.calendar.event.EditEventFragment.mHelper
|