Home
last modified time | relevance | path

Searched refs:createRequest (Results 1 – 21 of 21) 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()
149 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(5150, 2400), in addChannelsWifiScanner_channels()
163 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, in addChannelsWifiScanner_band()
DWifiScanningServiceTest.java31 import static com.android.server.wifi.ScanTestUtil.createRequest;
225 return createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in generateValidScanSettings()
527 sendSingleScanRequest(controlChannel, 122, createRequest(WifiScanner.WIFI_BAND_ALL, in startServiceAndTriggerSingleScanWithoutDriverLoaded()
718 WifiScanner.ScanSettings requestSettings = createRequest(WifiScanner.WIFI_BAND_ALL, in sendSingleScanBandRequest()
729 WifiScanner.ScanSettings requestSettings = createRequest(channelsToSpec(2412, 5160, 5175), in sendSingleScanChannelsRequest()
740 WifiScanner.ScanSettings requestSettings = createRequest( in sendSingleScanAllChannelsRequest()
752 WifiScanner.ScanSettings requestSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, 0, in sendSingleScanRequestWithNoResults()
764 WifiScanner.ScanSettings requestSettings = createRequest( in testPscIsIgnoredForPartialScan()
785 WifiScanner.ScanSettings requestSettings = createRequest(WifiScanner.WIFI_BAND_ALL, 0, in testPscChannelAddedWhenScanning6GhzBand()
819 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/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java61 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, in createRequest() method in ScanTestUtil
73 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, int batch, in createRequest() method in ScanTestUtil
75 return createRequest(WifiScanner.SCAN_TYPE_HIGH_ACCURACY, band, period, 0, 0, in createRequest()
79 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, in createRequest() method in ScanTestUtil
81 return createRequest(WifiScanner.SCAN_TYPE_HIGH_ACCURACY, band, period, 0, 0, batch, in createRequest()
88 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, in createRequest() method in ScanTestUtil
/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/NeuralNetworks/tools/test_generator/test_harness/include/nnapi/
DTestUtils.h28 Request createRequest(const ::test_helper::TestModel& testModel);
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp178 V1_3::Request createRequest(const TestModel& testModel) { in createRequest() function
320 const auto request = createRequest(testModel); in nnapiFuzzTest()
/packages/modules/NeuralNetworks/runtime/test/
DGeneratedTestUtils.h101 void createRequest(const test_helper::TestModel& testModel, test_wrapper::Execution* execution,
DGeneratedTestUtils.cpp223 void createRequest(const TestModel& testModel, Execution* execution, function
DTestGenerated.cpp258 createRequest(testModel, &execution, &outputs); in executeInternal()
DSupportLibraryTestGenerated.cpp249 createRequest(testModel, execution, outputs); in computeWithPtrs()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java977 private static @NonNull PendingIntent createRequest(@NonNull ContentResolver resolver, in createRequest() method in MediaStore
1040 return createRequest(resolver, CREATE_WRITE_REQUEST_CALL, uris, null); in createWriteRequest()
1081 return createRequest(resolver, CREATE_TRASH_REQUEST_CALL, uris, values); in createTrashRequest()
1122 return createRequest(resolver, CREATE_FAVORITE_REQUEST_CALL, uris, values); in createFavoriteRequest()
1154 return createRequest(resolver, CREATE_DELETE_REQUEST_CALL, uris, null); in createDeleteRequest()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DTestRandomGraph.cpp262 generated_tests::createRequest(goldenModel, &execution, &outputs); in computeGoldenResults()
322 generated_tests::createRequest(mTestModel, &execution, &outputs); in computeAndVerifyResultsForDevice()
358 generated_tests::createRequest(mTestModel, &execution, &outputs); in computeAndVerifyResults()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp143 Request createRequest(const TestModel& testModel) { in createRequest() function
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5717 final PendingIntent pi = createRequest(method, extras);
5836 private @NonNull PendingIntent createRequest(@NonNull String method, @NonNull Bundle extras) {