Home
last modified time | relevance | path

Searched refs:requests (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java83 Collection<ScanSettings> requests = Collections.emptyList(); in noRequest() local
85 mScheduler.updateSchedule(requests); in noRequest()
94 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleRequest() local
99 mScheduler.updateSchedule(requests); in singleRequest()
104 for (ScanSettings request : requests) { in singleRequest()
111 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleRequestWithoutPredefinedBucket() local
116 mScheduler.updateSchedule(requests); in singleRequestWithoutPredefinedBucket()
121 for (ScanSettings request : requests) { in singleRequestWithoutPredefinedBucket()
128 Collection<ScanSettings> requests = new ArrayList<>(); in fewRequests() local
129 requests.add(createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in fewRequests()
[all …]
/frameworks/ml/nn/runtime/test/generated/
Dall_generated_V1_1_vts_tests.cpp21 const std::vector<Request> requests = createRequests(add_relaxed::get_examples()); in TEST_F() local
22 validateEverything(model, requests); in TEST_F()
36 …const std::vector<Request> requests = createRequests(add_relaxed::get_examples_dynamic_output_shap… in TEST_F() local
37 validateEverything(model, requests); in TEST_F()
59 const std::vector<Request> requests = createRequests(avg_pool_float_1_relaxed::get_examples()); in TEST_F() local
60 validateEverything(model, requests); in TEST_F()
74 …const std::vector<Request> requests = createRequests(avg_pool_float_1_relaxed::get_examples_dynami… in TEST_F() local
75 validateEverything(model, requests); in TEST_F()
97 const std::vector<Request> requests = createRequests(avg_pool_float_2_relaxed::get_examples()); in TEST_F() local
98 validateEverything(model, requests); in TEST_F()
[all …]
Dall_generated_V1_0_vts_tests.cpp21 const std::vector<Request> requests = createRequests(add::get_examples()); in TEST_F() local
22 validateEverything(model, requests); in TEST_F()
36 const std::vector<Request> requests = createRequests(add::get_examples_dynamic_output_shape()); in TEST_F() local
37 validateEverything(model, requests); in TEST_F()
59 const std::vector<Request> requests = createRequests(add_broadcast_quant8::get_examples()); in TEST_F() local
60 validateEverything(model, requests); in TEST_F()
74 …const std::vector<Request> requests = createRequests(add_broadcast_quant8::get_examples_dynamic_ou… in TEST_F() local
75 validateEverything(model, requests); in TEST_F()
97 const std::vector<Request> requests = createRequests(add_quant8::get_examples()); in TEST_F() local
98 validateEverything(model, requests); in TEST_F()
[all …]
/frameworks/av/camera/ndk/
DNdkCameraCaptureSession.cpp72 int numRequests, ACaptureRequest** requests, in ACameraCaptureSession_capture() argument
75 if (session == nullptr || requests == nullptr || numRequests < 1) { in ACameraCaptureSession_capture()
77 __FUNCTION__, session, numRequests, requests); in ACameraCaptureSession_capture()
90 cbs, numRequests, requests, captureSequenceId); in ACameraCaptureSession_capture()
97 int numRequests, ACaptureRequest** requests, in ACameraCaptureSession_logicalCamera_capture() argument
100 if (session == nullptr || requests == nullptr || numRequests < 1) { in ACameraCaptureSession_logicalCamera_capture()
102 __FUNCTION__, session, numRequests, requests); in ACameraCaptureSession_logicalCamera_capture()
115 lcbs, numRequests, requests, captureSequenceId); in ACameraCaptureSession_logicalCamera_capture()
121 int numRequests, ACaptureRequest** requests, in ACameraCaptureSession_setRepeatingRequest() argument
124 if (session == nullptr || requests == nullptr || numRequests < 1) { in ACameraCaptureSession_setRepeatingRequest()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DCacheQuotaStrategyTest.java61 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testWriteOneQuota() local
62 requests.add(buildCacheQuotaHint("uuid", 0, 100)); in testWriteOneQuota()
64 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testWriteOneQuota()
76 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testWriteMultipleQuotas() local
77 requests.add(buildCacheQuotaHint("uuid", 0, 100)); in testWriteMultipleQuotas()
78 requests.add(buildCacheQuotaHint("uuid2", 10, 250)); in testWriteMultipleQuotas()
80 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testWriteMultipleQuotas()
93 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testNullUuidDoesntCauseCrash() local
94 requests.add(buildCacheQuotaHint(null, 0, 100)); in testNullUuidDoesntCauseCrash()
95 requests.add(buildCacheQuotaHint(null, 10, 250)); in testNullUuidDoesntCauseCrash()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAccessesTest.java89 List<RecentLocationAccesses.Access> requests = mRecentLocationAccesses.getAppList(); in testGetAppList_shouldFilterRecentAccesses() local
91 assertThat(requests).hasSize(2); in testGetAppList_shouldFilterRecentAccesses()
93 assertThat(requests.get(0).packageName).isEqualTo(TEST_PACKAGE_NAMES[0]); in testGetAppList_shouldFilterRecentAccesses()
94 assertThat(requests.get(0).accessFinishTime).isEqualTo(ONE_MIN_AGO); in testGetAppList_shouldFilterRecentAccesses()
95 assertThat(requests.get(1).packageName).isEqualTo(TEST_PACKAGE_NAMES[1]); in testGetAppList_shouldFilterRecentAccesses()
96 assertThat(requests.get(1).accessFinishTime).isEqualTo(TWENTY_THREE_HOURS_AGO); in testGetAppList_shouldFilterRecentAccesses()
118 List<RecentLocationAccesses.Access> requests = mRecentLocationAccesses.getAppList(); in testGetAppList_shouldNotShowAndroidOS() local
120 assertThat(requests).hasSize(2); in testGetAppList_shouldNotShowAndroidOS()
122 assertThat(requests.get(0).packageName).isEqualTo(TEST_PACKAGE_NAMES[0]); in testGetAppList_shouldNotShowAndroidOS()
123 assertThat(requests.get(0).accessFinishTime).isEqualTo(ONE_MIN_AGO); in testGetAppList_shouldNotShowAndroidOS()
[all …]
DRecentLocationAppsTest.java87 List<RecentLocationApps.Request> requests = mRecentLocationApps.getAppList(true); in testGetAppList_shouldFilterRecentApps() local
89 assertThat(requests).hasSize(2); in testGetAppList_shouldFilterRecentApps()
91 assertThat(requests.get(0).packageName).isEqualTo(TEST_PACKAGE_NAMES[0]); in testGetAppList_shouldFilterRecentApps()
92 assertThat(requests.get(0).requestFinishTime).isEqualTo(ONE_MIN_AGO + DURATION); in testGetAppList_shouldFilterRecentApps()
93 assertThat(requests.get(1).packageName).isEqualTo(TEST_PACKAGE_NAMES[1]); in testGetAppList_shouldFilterRecentApps()
94 assertThat(requests.get(1).requestFinishTime).isEqualTo(TWENTY_THREE_HOURS_AGO + DURATION); in testGetAppList_shouldFilterRecentApps()
116 List<RecentLocationApps.Request> requests = mRecentLocationApps.getAppList(true); in testGetAppList_shouldNotShowAndroidOS() local
118 assertThat(requests).hasSize(2); in testGetAppList_shouldNotShowAndroidOS()
120 assertThat(requests.get(0).packageName).isEqualTo(TEST_PACKAGE_NAMES[0]); in testGetAppList_shouldNotShowAndroidOS()
121 assertThat(requests.get(0).requestFinishTime).isEqualTo(ONE_MIN_AGO + DURATION); in testGetAppList_shouldNotShowAndroidOS()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraCaptureSessionImpl.java215 public int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, in captureBurst() argument
217 checkCaptureRequests(requests); in captureBurst()
225 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); in captureBurst()
230 return addPendingSequence(mDeviceImpl.captureBurst(requests, in captureBurst()
236 public int captureBurstRequests(List<CaptureRequest> requests, Executor executor, in captureBurstRequests() argument
243 checkCaptureRequests(requests); in captureBurstRequests()
251 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); in captureBurstRequests()
256 return addPendingSequence(mDeviceImpl.captureBurst(requests, in captureBurstRequests()
261 private void checkCaptureRequests(List<CaptureRequest> requests) { in checkCaptureRequests() argument
262 if (requests == null) { in checkCaptureRequests()
[all …]
DCameraConstrainedHighSpeedCaptureSessionImpl.java206 public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, in captureBurst() argument
208 if (!isConstrainedHighSpeedRequestList(requests)) { in captureBurst()
213 return mSessionImpl.captureBurst(requests, listener, handler); in captureBurst()
217 public int captureBurstRequests(List<CaptureRequest> requests, Executor executor, in captureBurstRequests() argument
219 if (!isConstrainedHighSpeedRequestList(requests)) { in captureBurstRequests()
224 return mSessionImpl.captureBurstRequests(requests, executor, listener); in captureBurstRequests()
242 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, in setRepeatingBurst() argument
244 if (!isConstrainedHighSpeedRequestList(requests)) { in setRepeatingBurst()
249 return mSessionImpl.setRepeatingBurst(requests, listener, handler); in setRepeatingBurst()
253 public int setRepeatingBurstRequests(List<CaptureRequest> requests, Executor executor, in setRepeatingBurstRequests() argument
[all …]
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DUtils.java31 String[] requests = requestList.split(","); in getTargetsFromLegacyJackConfig() local
35 assert requests.length == total; in getTargetsFromLegacyJackConfig()
41 config.add(new LockTarget(classes[i], requests[i], resets[i])); in getTargetsFromLegacyJackConfig()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraCaptureSession.h474 int numRequests, ACaptureRequest** requests,
528 int numRequests, ACaptureRequest** requests,
777 int numRequests, ACaptureRequest** requests,
788 int numRequests, ACaptureRequest** requests,
/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.inc31 int numRequests, ACaptureRequest** requests,
44 this, cbs, numRequests, requests, captureSequenceId);
53 int numRequests, ACaptureRequest** requests,
64 ret = dev->captureLocked(this, cbs, numRequests, requests, captureSequenceId);
DACameraDevice.inc32 int numRequests, ACaptureRequest** requests,
35 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/false);
43 int numRequests, ACaptureRequest** requests,
46 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/true);
53 int numRequests, ACaptureRequest** requests,
68 ret = allocateCaptureRequest(requests[i], req);
DACameraCaptureSession.h97 int numRequests, ACaptureRequest** requests,
103 int numRequests, ACaptureRequest** requests,
DACameraDevice.h134 int numRequests, ACaptureRequest** requests,
140 int numRequests, ACaptureRequest** requests,
147 int numRequests, ACaptureRequest** requests,
274 const Vector<sp<CaptureRequest> >& requests,
278 const Vector<sp<CaptureRequest> >& requests,
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java86 ArrayList<Request> requests = new ArrayList<>(appOpsCount); in getAppList() local
130 requests.add(request); in getAppList()
134 return requests; in getAppList()
144 List<Request> requests = getAppList(showSystemApps); in getAppListSorted() local
146 Collections.sort(requests, Collections.reverseOrder(new Comparator<Request>() { in getAppListSorted()
152 return requests; in getAppListSorted()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDeviceVendor.inc39 int numRequests, ACaptureRequest** requests,
42 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/false);
50 int numRequests, ACaptureRequest** requests,
53 session, cbs, numRequests, requests, captureSequenceId, /*isRepeating*/true);
60 int numRequests, ACaptureRequest** requests,
76 ret = allocateCaptureRequestLocked(requests[i], req);
81 addRequestSettingsMetadata(requests[i], req);
/frameworks/base/core/java/android/app/usage/
DCacheQuotaService.java73 List<CacheQuotaHint> requests); in onComputeCacheQuotaHints() argument
78 RemoteCallback callback, List<CacheQuotaHint> requests) { in computeCacheQuotaHints() argument
80 Pair.create(callback, requests); in computeCacheQuotaHints()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java459 public abstract int captureBurst(@NonNull List<CaptureRequest> requests, in captureBurst() argument
504 public int captureBurstRequests(@NonNull List<CaptureRequest> requests, in captureBurstRequests() argument
684 public abstract int setRepeatingBurst(@NonNull List<CaptureRequest> requests, in setRepeatingBurst() argument
723 public int setRepeatingBurstRequests(@NonNull List<CaptureRequest> requests, in setRepeatingBurstRequests() argument
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/
DCONTRIBUTING.md21 use GitHub pull requests for this purpose. Consult
22 [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
23 information on using pull requests.
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java136 List<CacheQuotaHint> requests = getUnfulfilledRequests(); in createServiceConnection()
140 mRemoteService.computeCacheQuotaHints(remoteCallback, requests); in createServiceConnection()
170 List<CacheQuotaHint> requests = new ArrayList<>(); in getUnfulfilledRequests() local
191 requests.add( in getUnfulfilledRequests()
204 return requests; in getUnfulfilledRequests()
321 List<CacheQuotaHint> requests, long bytesWhenCalculated) throws IOException { in saveToXml() argument
324 int requestSize = requests.size(); in saveToXml()
328 CacheQuotaHint request = requests.get(i); in saveToXml()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DBurstHolder.java41 public BurstHolder(int requestId, boolean repeating, CaptureRequest[] requests, in BurstHolder() argument
45 for (CaptureRequest r : requests) { in BurstHolder()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceUser.hal24 * This method must block till in-flight requests are completed and stop
25 * all the requests submitted through submitRequestList().
64 * Submit a list of capture requests.
71 * @param isRepeating Whether the set of requests repeats indefinitely.
78 * batch of repeating requests, if any. If there is no previous
96 * repeating requests, this will return -1 as the frameNumber.
116 * requests can be submitted.
168 * Status::INVALID_OPERATION if there are active repeating requests.
175 * flush all the requests pending on the device.
/frameworks/base/core/proto/android/server/location/
Denums.proto58 // Cellular control plane requests.
60 // All types of SUPL requests.
62 // All types of requests from IMS.
64 // All types of requests from SIM.
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java254 RangingRequest[] requests = new RangingRequest[numIter]; in testRangingFlow() local
259 requests[i] = RttTestUtils.getDummyRangingRequestMcOnly((byte) i); in testRangingFlow()
261 requests[i] = RttTestUtils.getDummyRangingRequest((byte) i); in testRangingFlow()
263 results.add(RttTestUtils.getDummyRangingResults(requests[i])); in testRangingFlow()
268 mDut.startRanging(mockIbinder, mPackageName, null, requests[i], mockCallback); in testRangingFlow()
274 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(requests[i]), eq(true)); in testRangingFlow()
292 verify(mockMetrics).recordRequest(eq(mDefaultWs), eq(requests[i])); in testRangingFlow()
293 verify(mockMetrics).recordResult(eq(requests[i]), eq(results.get(i).first)); in testRangingFlow()
377 RangingRequest[] requests = new RangingRequest[numIter]; in testRangingFlowNativeFailure() local
381 requests[i] = RttTestUtils.getDummyRangingRequest((byte) i); in testRangingFlowNativeFailure()
[all …]

123