Home
last modified time | relevance | path

Searched refs:createRequest (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java22 import static com.android.server.wifi.ScanTestUtil.createRequest;
97 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleRequest()
114 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleRequestWithoutPredefinedBucket()
132 requests.add(createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in fewRequests()
134 requests.add(createRequest(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY, 14000, 0, 20, in fewRequests()
150 requests.add(createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in manyRequests()
152 requests.add(createRequest(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY, 15000, 0, 20, in manyRequests()
154 requests.add(createRequest(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY, 10000, 0, 20, in manyRequests()
170 requests.add(createRequest(WifiScanner.WIFI_BAND_BOTH, 299999, 0, 20, in requestsWithNoPeriodCommonDenominator()
172 requests.add(createRequest(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY, 10500, 0, 20, in requestsWithNoPeriodCommonDenominator()
[all …]
DScanScheduleUtilFilterTest.java20 import static com.android.server.wifi.ScanTestUtil.createRequest;
62 ScanSettings settings = createRequest( in reportFullResultTrueForBandsWithNoBucketInfo()
73 ScanSettings settings = createRequest( in reportFullResultFalseForBandsWithNoBucketInfo()
84 ScanSettings settings = createRequest( in reportFullResultTrueForChannelsWithNoBucketInfo()
95 ScanSettings settings = createRequest( in reportFullResultFalseForChannelsWithNoBucketInfo()
106 ScanSettings settings = createRequest( in reportFullResultTrueForChannelsWithBucketDefinitlyScanned()
117 ScanSettings settings = createRequest( in reportFullResultFalseForChannelsWithBucketDefinitlyNotScanned()
128 ScanSettings settings = createRequest( in filterScanDataEmptyWithNoBucketInfo()
140 ScanSettings settings = createRequest( in filterScanDataSingleNotMatchingWithNoBucketInfo()
152 ScanSettings settings = createRequest( in filterScanDataSingleNotMatchingWithDefinitlyScannedBucketIndex()
[all …]
DChannelHelperTest.java21 import static com.android.server.wifi.ScanTestUtil.createRequest;
58 WifiScanner.ScanSettings scanSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, in scanSettings_band()
68 WifiScanner.ScanSettings scanSettings = createRequest(channelsToSpec(5150, 2400), in scanSettings_channels()
78 WifiScanner.ScanSettings scanSettings = createRequest(WifiScanner.WIFI_BAND_5_GHZ, in bucketSettings_band()
89 WifiScanner.ScanSettings scanSettings = createRequest(channelsToSpec(2400, 5100), in bucketSettings_channels()
145 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(5150, 2400), in addChannelsWifiScanner_channels()
159 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, in addChannelsWifiScanner_band()
DWifiScanningServiceTest.java31 import static com.android.server.wifi.ScanTestUtil.createRequest;
266 return createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in generateValidScanSettings()
497 client.sendSingleScanRequest(createRequest(WifiScanner.WIFI_BAND_ALL, in startServiceAndTriggerSingleScanWithoutDriverLoaded()
626 WifiScanner.ScanSettings requestSettings = createRequest(WifiScanner.WIFI_BAND_ALL, in sendSingleScanBandRequest()
637 WifiScanner.ScanSettings requestSettings = createRequest(channelsToSpec(2412, 5160, 5175), in sendSingleScanChannelsRequest()
648 WifiScanner.ScanSettings requestSettings = createRequest( in sendSingleScanAllChannelsRequest()
660 WifiScanner.ScanSettings requestSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, 0, in sendSingleScanRequestWithNoResults()
674 WifiScanner.ScanSettings requestSettings = createRequest( in testPscIsIgnoredForPartialScan()
695 WifiScanner.ScanSettings requestSettings = createRequest(WifiScanner.WIFI_BAND_ALL, 0, in testPscChannelAddedWhenScanning6GhzBand()
729 WifiScanner.ScanSettings requestSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, in testPscChannelNotAddedWhenNotScanning6GhzBand()
[all …]
DKnownBandsChannelHelperTest.java22 import static com.android.server.wifi.ScanTestUtil.createRequest;
86 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(2412, 2450, 5200), in fewChannels()
98 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_24_GHZ, in band()
233 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(), in emptySettings()
246 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(2412, 5650), in settingsWithChannels()
259 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_24_GHZ, in settingsWithBand()
273 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, in settingsWithMultiBand()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DEthernetNetworkUpdateRequestTest.java54 private EthernetNetworkUpdateRequest createRequest(@NonNull final NetworkCapabilities nc, in createRequest() method in EthernetNetworkUpdateRequestTest
64 final EthernetNetworkUpdateRequest r = createRequest(DEFAULT_CAPS, DEFAULT_IP_CONFIG); in testGetNetworkCapabilities()
70 final EthernetNetworkUpdateRequest r = createRequest(DEFAULT_CAPS, DEFAULT_IP_CONFIG); in testGetIpConfiguration()
76 final EthernetNetworkUpdateRequest r = createRequest(DEFAULT_CAPS, DEFAULT_IP_CONFIG); in testBuilderWithRequest()
89 () -> createRequest(null, null)); in testNullIpConfigurationAndNetworkCapabilitiesThrows()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceInfo.java129 sb.append(createRequest(serviceType + ".local.", DNS_TYPE_PTR, VERSION_1)); in createPtrServiceQuery()
159 sb.append(createRequest((instanceName + "." + serviceType + ".local."), in createTxtServiceQuery()
180 static String createRequest(String dnsName, int dnsType, int version) { in createRequest() method in WifiP2pDnsSdServiceInfo
DWifiP2pDnsSdServiceRequest.java50 super(WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR, WifiP2pDnsSdServiceInfo.createRequest( in WifiP2pDnsSdServiceRequest()
/packages/apps/Camera2/src/com/android/camera/device/
DMultiCameraDeviceLifecycle.java294 result = deviceLifecycle.createRequest(requestLifetime); in openDevice()
302 result = deviceLifecycle.createRequest(requestLifetime); in openDevice()
311 result = deviceLifecycle.createRequest(requestLifetime); in openDevice()
DSingleDeviceLifecycle.java37 public ListenableFuture<TDevice> createRequest(Lifetime lifetime); in createRequest() method
DCameraDeviceLifecycle.java62 public ListenableFuture<TDevice> createRequest(Lifetime lifetime) { in createRequest() method in CameraDeviceLifecycle
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java64 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, in createRequest() method in ScanTestUtil
76 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, int batch, in createRequest() method in ScanTestUtil
78 return createRequest(WifiScanner.SCAN_TYPE_HIGH_ACCURACY, band, period, 0, 0, in createRequest()
82 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, in createRequest() method in ScanTestUtil
84 return createRequest(WifiScanner.SCAN_TYPE_HIGH_ACCURACY, band, period, 0, 0, batch, in createRequest()
91 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, in createRequest() method in ScanTestUtil
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include/nnapi/
DTestUtils.h29 GeneralResult<Request> createRequest(const ::test_helper::TestModel& testModel);
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp65 const auto request = NN_TRY(test::createRequest(testModel)); in runTest()
/packages/modules/NeuralNetworks/runtime/test/
DGeneratedTestUtils.h101 void createRequest(const test_helper::TestModel& testModel, test_wrapper::Execution* execution,
DGeneratedTestUtils.cpp224 void createRequest(const TestModel& testModel, Execution* execution, function
DTestGenerated.cpp261 createRequest(testModel, &execution, &outputs); in executeInternal()
DSupportLibraryTestGenerated.cpp258 createRequest(testModel, execution, outputs); in computeWithPtrs()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DTestRandomGraph.cpp266 generated_tests::createRequest(goldenModel, &execution, &outputs); in computeGoldenResults()
326 generated_tests::createRequest(mTestModel, &execution, &outputs); in computeAndVerifyResultsForDevice()
362 generated_tests::createRequest(mTestModel, &execution, &outputs); in computeAndVerifyResults()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp150 GeneralResult<Request> createRequest(const TestModel& testModel) { in createRequest() function
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java1360 private static @NonNull PendingIntent createRequest(@NonNull ContentResolver resolver, in createRequest() method in MediaStore
1423 return createRequest(resolver, CREATE_WRITE_REQUEST_CALL, uris, null); in createWriteRequest()
1464 return createRequest(resolver, CREATE_TRASH_REQUEST_CALL, uris, values); in createTrashRequest()
1505 return createRequest(resolver, CREATE_FAVORITE_REQUEST_CALL, uris, values); in createFavoriteRequest()
1537 return createRequest(resolver, CREATE_DELETE_REQUEST_CALL, uris, null); in createDeleteRequest()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java1260 int createRequest = CarStatsLog in testCreateUser_success() local
1266 anyInt(), eq(createRequest), eq(0), eq(100), eq(100), eq(110), in testCreateUser_success()
1298 int createRequest = CarStatsLog in testCreateUser_failure() local
1304 anyInt(), eq(createRequest), eq(0), eq(100), eq(100), eq(110), in testCreateUser_failure()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java7216 final PendingIntent pi = createRequest(method, extras);
7596 private PendingIntent createRequest(@NonNull String method, @NonNull Bundle extras) {