Searched refs:request1 (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdManagerTest.java | 131 NsdServiceInfo request1 = new NsdServiceInfo("a_name", "a_type"); in testRegisterService() local 133 request1.setPort(2201); in testRegisterService() 139 manager.registerService(request1, PROTOCOL, listener1); in testRegisterService() 150 sendResponse(NsdManager.REGISTER_SERVICE_FAILED, err, key1, request1); in testRegisterService() 151 verify(listener1, timeout(mTimeoutMs).times(1)).onRegistrationFailed(request1, err); in testRegisterService() 154 manager.registerService(request1, PROTOCOL, listener1); in testRegisterService() 157 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key3, request1); in testRegisterService() 158 verify(listener1, timeout(mTimeoutMs).times(1)).onServiceRegistered(request1); in testRegisterService() 166 verify(listener1, timeout(mTimeoutMs).times(1)).onServiceUnregistered(request1); in testRegisterService()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 879 RangingRequest request1 = RttTestUtils.getDummyRangingRequest((byte) 1); in testRangingTimeout() local 882 request1); in testRangingTimeout() 887 mDut.startRanging(mockIbinder, mPackageName, null, request1, mockCallback); in testRangingTimeout() 892 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(request1), eq(true)); in testRangingTimeout() 916 verify(mockMetrics).recordRequest(eq(mDefaultWs), eq(request1)); in testRangingTimeout() 937 RangingRequest request1 = RttTestUtils.getDummyRangingRequest((byte) 1); in testRangingThrottleBackground() local 944 request1); in testRangingThrottleBackground() 959 mDut.startRanging(mockIbinder, mPackageName, null, request1, mockCallback); in testRangingThrottleBackground() 962 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(request1), eq(true)); in testRangingThrottleBackground() 1023 verify(mockMetrics).recordRequest(eq(mDefaultWs), eq(request1)); in testRangingThrottleBackground() [all …]
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 161 DataUsageRequest request1 = mStatsObservers.register(inputRequest, mMessenger, mockBinder, in testRegister_twoRequests_twoIds() local 163 assertTrue(request1.requestId > 0); in testRegister_twoRequests_twoIds() 164 assertTrue(Objects.equals(sTemplateWifi, request1.template)); in testRegister_twoRequests_twoIds() 165 assertEquals(THRESHOLD_BYTES, request1.thresholdInBytes); in testRegister_twoRequests_twoIds() 169 assertTrue(request2.requestId > request1.requestId); in testRegister_twoRequests_twoIds()
|
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 336 CaptureRequest request1 = builder.build(); in testSubmitBadRequest() local 338 SubmitInfo requestInfo = mCameraUser.submitRequest(request1, /* streaming */false); in testSubmitBadRequest()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 2483 NetworkRequest request1 = new NetworkRequest.Builder() in testNoMutableNetworkRequests() local 2491 assertThrows(expected, () -> mCm.requestNetwork(request1, new NetworkCallback())); in testNoMutableNetworkRequests() 2492 assertThrows(expected, () -> mCm.requestNetwork(request1, pendingIntent)); in testNoMutableNetworkRequests()
|