Home
last modified time | relevance | path

Searched refs:request2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java117 NsdServiceInfo request2 = new NsdServiceInfo("another_name", "another_type"); in testRegisterService() local
119 request2.setPort(2202); in testRegisterService()
127 manager.registerService(request2, PROTOCOL, listener2); in testRegisterService()
131 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key2, request2); in testRegisterService()
132 verify(listener2, timeout(mTimeoutMs).times(1)).onServiceRegistered(request2); in testRegisterService()
159 verify(listener2, timeout(mTimeoutMs).times(1)).onUnregistrationFailed(request2, err); in testRegisterService()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp516 hardware::camera2::CaptureRequest request2; in TEST_F() local
517 request2.mMetadata = requestTemplate; in TEST_F()
518 request2.mSurfaceList.add(surface); in TEST_F()
519 request2.mIsReprocess = false; in TEST_F()
522 res = device->submitRequest(request2, /*streaming*/true, in TEST_F()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsObserversTest.java176 DataUsageRequest request2 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds() local
178 assertTrue(request2.requestId > request1.requestId); in testRegister_twoRequests_twoIds()
179 assertTrue(Objects.equals(sTemplateWifi, request2.template)); in testRegister_twoRequests_twoIds()
180 assertEquals(THRESHOLD_BYTES, request2.thresholdInBytes); in testRegister_twoRequests_twoIds()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java341 CaptureRequest request2 = builder.build(); in testSubmitBadRequest() local
343 SubmitInfo requestInfo = mCameraUser.submitRequest(request2, /* streaming */false); in testSubmitBadRequest()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1908 NetworkRequest request2 = new NetworkRequest.Builder() in testNoMutableNetworkRequests() local
1915 assertException(() -> { mCm.requestNetwork(request2, new NetworkCallback()); }, expected); in testNoMutableNetworkRequests()
1916 assertException(() -> { mCm.requestNetwork(request2, pendingIntent); }, expected); in testNoMutableNetworkRequests()