Searched refs:request2 (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdManagerTest.java | 132 NsdServiceInfo request2 = new NsdServiceInfo("another_name", "another_type"); in testRegisterService() local 134 request2.setPort(2202); in testRegisterService() 142 manager.registerService(request2, PROTOCOL, listener2); in testRegisterService() 146 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key2, request2); in testRegisterService() 147 verify(listener2, timeout(mTimeoutMs).times(1)).onServiceRegistered(request2); in testRegisterService() 174 verify(listener2, timeout(mTimeoutMs).times(1)).onUnregistrationFailed(request2, err); in testRegisterService()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 880 RangingRequest request2 = RttTestUtils.getDummyRangingRequest((byte) 2); in testRangingTimeout() local 884 request2); in testRangingTimeout() 888 mDut.startRanging(mockIbinder, mPackageName, null, request2, mockCallback); in testRangingTimeout() 903 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(request2), eq(true)); in testRangingTimeout() 917 verify(mockMetrics).recordRequest(eq(mDefaultWs), eq(request2)); in testRangingTimeout() 918 verify(mockMetrics).recordResult(eq(request2), eq(result2.first)); in testRangingTimeout() 938 RangingRequest request2 = RttTestUtils.getDummyRangingRequest((byte) 2); in testRangingThrottleBackground() local 974 mDut.startRanging(mockIbinder, mPackageName, null, request2, mockCallback); in testRangingThrottleBackground() 1024 verify(mockMetrics).recordRequest(eq(mDefaultWs), eq(request2)); in testRangingThrottleBackground() 1073 RangingRequest request2 = RttTestUtils.getDummyRangingRequest((byte) 2); in runTestRangingThrottleBackgroundWorkSources() local [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 152 public int compare(Request request1, Request request2) { in getAppListSorted() 153 return Long.compare(request1.requestFinishTime, request2.requestFinishTime); in getAppListSorted()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 167 DataUsageRequest request2 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds() local 169 assertTrue(request2.requestId > request1.requestId); in testRegister_twoRequests_twoIds() 170 assertTrue(Objects.equals(sTemplateWifi, request2.template)); in testRegister_twoRequests_twoIds() 171 assertEquals(THRESHOLD_BYTES, request2.thresholdInBytes); in testRegister_twoRequests_twoIds()
|
/frameworks/av/camera/tests/ |
D | CameraBinderTests.cpp | 560 hardware::camera2::CaptureRequest request2; in TEST_F() local 561 request2.mPhysicalCameraSettings.push_back({cameraId8.string(), requestTemplate}); in TEST_F() 562 request2.mSurfaceList.add(surface); in TEST_F() 563 request2.mIsReprocess = false; in TEST_F() 566 res = device->submitRequest(request2, /*streaming*/true, in TEST_F()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 347 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/ |
D | ConnectivityServiceTest.java | 2486 NetworkRequest request2 = new NetworkRequest.Builder() in testNoMutableNetworkRequests() local 2493 assertThrows(expected, () -> mCm.requestNetwork(request2, new NetworkCallback())); in testNoMutableNetworkRequests() 2494 assertThrows(expected, () -> mCm.requestNetwork(request2, pendingIntent)); in testNoMutableNetworkRequests()
|