Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java133 NsdServiceInfo request2 = new NsdServiceInfo("another_name", "another_type"); in testRegisterService() local
135 request2.setPort(2202); in testRegisterService()
143 manager.registerService(request2, PROTOCOL, listener2); in testRegisterService()
147 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key2, request2); in testRegisterService()
148 verify(listener2, timeout(mTimeoutMs).times(1)).onServiceRegistered(request2); in testRegisterService()
175 verify(listener2, timeout(mTimeoutMs).times(1)).onUnregistrationFailed(request2, err); in testRegisterService()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java873 RangingRequest request2 = RttTestUtils.getDummyRangingRequest((byte) 2); in testRangingTimeout() local
877 request2); in testRangingTimeout()
881 mDut.startRanging(mockIbinder, mPackageName, null, request2, mockCallback); in testRangingTimeout()
896 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(request2), eq(true)); in testRangingTimeout()
910 verify(mockMetrics).recordRequest(eq(mDefaultWs), eq(request2)); in testRangingTimeout()
911 verify(mockMetrics).recordResult(eq(request2), eq(result2.first)); in testRangingTimeout()
931 RangingRequest request2 = RttTestUtils.getDummyRangingRequest((byte) 2); in testRangingThrottleBackground() local
967 mDut.startRanging(mockIbinder, mPackageName, null, request2, mockCallback); in testRangingThrottleBackground()
1017 verify(mockMetrics).recordRequest(eq(mDefaultWs), eq(request2)); in testRangingThrottleBackground()
1066 RangingRequest request2 = RttTestUtils.getDummyRangingRequest((byte) 2); in runTestRangingThrottleBackgroundWorkSources() local
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java107 public int compare(Request request1, Request request2) { in getAppListSorted()
108 return Long.compare(request1.requestFinishTime, request2.requestFinishTime); in getAppListSorted()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp526 hardware::camera2::CaptureRequest request2; in TEST_F() local
527 request2.mPhysicalCameraSettings.push_back({cameraId8.string(), requestTemplate}); in TEST_F()
528 request2.mSurfaceList.add(surface); in TEST_F()
529 request2.mIsReprocess = false; in TEST_F()
532 res = device->submitRequest(request2, /*streaming*/true, in TEST_F()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsObserversTest.java178 DataUsageRequest request2 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds() local
180 assertTrue(request2.requestId > request1.requestId); in testRegister_twoRequests_twoIds()
181 assertTrue(Objects.equals(sTemplateWifi, request2.template)); in testRegister_twoRequests_twoIds()
182 assertEquals(THRESHOLD_BYTES, request2.thresholdInBytes); in testRegister_twoRequests_twoIds()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java347 CaptureRequest request2 = builder.build(); in testSubmitBadRequest() local
349 SubmitInfo requestInfo = mCameraUser.submitRequest(request2, /* streaming */false); in testSubmitBadRequest()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java2244 NetworkRequest request2 = new NetworkRequest.Builder() in testNoMutableNetworkRequests() local
2251 assertException(() -> { mCm.requestNetwork(request2, new NetworkCallback()); }, expected); in testNoMutableNetworkRequests()
2252 assertException(() -> { mCm.requestNetwork(request2, pendingIntent); }, expected); in testNoMutableNetworkRequests()