/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BackgroundScanSchedulerTest.java | 85 Collection<ScanSettings> requests = Collections.emptyList(); in noRequest() local 87 mScheduler.updateSchedule(requests); in noRequest() 96 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleRequest() local 101 mScheduler.updateSchedule(requests); in singleRequest() 106 for (ScanSettings request : requests) { in singleRequest() 113 Collection<ScanSettings> requests = Collections.singleton(createRequest( in singleRequestWithoutPredefinedBucket() local 118 mScheduler.updateSchedule(requests); in singleRequestWithoutPredefinedBucket() 123 for (ScanSettings request : requests) { in singleRequestWithoutPredefinedBucket() 130 Collection<ScanSettings> requests = new ArrayList<>(); in fewRequests() local 131 requests.add(createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in fewRequests() [all …]
|
/frameworks/av/camera/ndk/ |
D | NdkCameraCaptureSession.cpp | 72 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/ |
D | CacheQuotaStrategyTest.java | 61 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/ |
D | RecentLocationAccessesTest.java | 89 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 …]
|
D | RecentLocationAppsTest.java | 88 List<RecentLocationApps.Request> requests = mRecentLocationApps.getAppList(true); in testGetAppList_shouldFilterRecentApps() local 90 assertThat(requests).hasSize(2); in testGetAppList_shouldFilterRecentApps() 92 assertThat(requests.get(0).packageName).isEqualTo(TEST_PACKAGE_NAMES[0]); in testGetAppList_shouldFilterRecentApps() 93 assertThat(requests.get(0).requestFinishTime).isEqualTo(ONE_MIN_AGO + DURATION); in testGetAppList_shouldFilterRecentApps() 94 assertThat(requests.get(1).packageName).isEqualTo(TEST_PACKAGE_NAMES[1]); in testGetAppList_shouldFilterRecentApps() 95 assertThat(requests.get(1).requestFinishTime).isEqualTo(TWENTY_THREE_HOURS_AGO + DURATION); in testGetAppList_shouldFilterRecentApps() 117 List<RecentLocationApps.Request> requests = mRecentLocationApps.getAppList(true); in testGetAppList_shouldNotShowAndroidOS() local 119 assertThat(requests).hasSize(2); in testGetAppList_shouldNotShowAndroidOS() 121 assertThat(requests.get(0).packageName).isEqualTo(TEST_PACKAGE_NAMES[0]); in testGetAppList_shouldNotShowAndroidOS() 122 assertThat(requests.get(0).requestFinishTime).isEqualTo(ONE_MIN_AGO + DURATION); in testGetAppList_shouldNotShowAndroidOS() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraCaptureSessionImpl.java | 230 public int captureBurst(List<CaptureRequest> requests, CaptureCallback callback, in captureBurst() argument 232 checkCaptureRequests(requests); in captureBurst() 240 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); in captureBurst() 245 return addPendingSequence(mDeviceImpl.captureBurst(requests, in captureBurst() 251 public int captureBurstRequests(List<CaptureRequest> requests, Executor executor, in captureBurstRequests() argument 258 checkCaptureRequests(requests); in captureBurstRequests() 266 CaptureRequest[] requestArray = requests.toArray(new CaptureRequest[0]); in captureBurstRequests() 271 return addPendingSequence(mDeviceImpl.captureBurst(requests, in captureBurstRequests() 276 private void checkCaptureRequests(List<CaptureRequest> requests) { in checkCaptureRequests() argument 277 if (requests == null) { in checkCaptureRequests() [all …]
|
D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 208 public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, in captureBurst() argument 210 if (!isConstrainedHighSpeedRequestList(requests)) { in captureBurst() 215 return mSessionImpl.captureBurst(requests, listener, handler); in captureBurst() 219 public int captureBurstRequests(List<CaptureRequest> requests, Executor executor, in captureBurstRequests() argument 221 if (!isConstrainedHighSpeedRequestList(requests)) { in captureBurstRequests() 226 return mSessionImpl.captureBurstRequests(requests, executor, listener); in captureBurstRequests() 244 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, in setRepeatingBurst() argument 246 if (!isConstrainedHighSpeedRequestList(requests)) { in setRepeatingBurst() 251 return mSessionImpl.setRepeatingBurst(requests, listener, handler); in setRepeatingBurst() 255 public int setRepeatingBurstRequests(List<CaptureRequest> requests, Executor executor, in setRepeatingBurstRequests() argument [all …]
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Utils.java | 31 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/ |
D | NdkCameraCaptureSession.h | 474 int numRequests, ACaptureRequest** requests, 528 int numRequests, ACaptureRequest** requests, 777 int numRequests, ACaptureRequest** requests, 788 int numRequests, ACaptureRequest** requests,
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraDeviceVendor.inc | 39 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);
|
D | ACameraDevice.h | 160 int numRequests, ACaptureRequest** requests, 166 int numRequests, ACaptureRequest** requests, 173 int numRequests, ACaptureRequest** requests, 304 const Vector<sp<CaptureRequest>>& requests, 308 const Vector<sp<CaptureRequest>>& requests,
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 86 ArrayList<Request> requests = new ArrayList<>(appOpsCount); in getAppList() local 134 requests.add(request); in getAppList() 138 return requests; in getAppList() 148 List<Request> requests = getAppList(showSystemApps); in getAppListSorted() local 150 Collections.sort(requests, Collections.reverseOrder(new Comparator<Request>() { in getAppListSorted() 156 return requests; in getAppListSorted()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraDevice.inc | 32 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);
|
D | ACameraCaptureSession.inc | 31 int numRequests, ACaptureRequest** requests, 44 this, cbs, numRequests, requests, captureSequenceId); 53 int numRequests, ACaptureRequest** requests, 64 ret = dev->captureLocked(this, cbs, numRequests, requests, captureSequenceId);
|
D | ACameraDevice.h | 135 int numRequests, ACaptureRequest** requests, 141 int numRequests, ACaptureRequest** requests, 148 int numRequests, ACaptureRequest** requests, 290 const Vector<sp<CaptureRequest> >& requests, 294 const Vector<sp<CaptureRequest> >& requests,
|
D | ACameraCaptureSession.h | 97 int numRequests, ACaptureRequest** requests, 103 int numRequests, ACaptureRequest** requests,
|
/frameworks/base/core/java/android/app/usage/ |
D | CacheQuotaService.java | 73 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/ |
D | CameraCaptureSession.java | 462 public abstract int captureBurst(@NonNull List<CaptureRequest> requests, in captureBurst() argument 507 public int captureBurstRequests(@NonNull List<CaptureRequest> requests, in captureBurstRequests() argument 687 public abstract int setRepeatingBurst(@NonNull List<CaptureRequest> requests, in setRepeatingBurst() argument 726 public int setRepeatingBurstRequests(@NonNull List<CaptureRequest> requests, in setRepeatingBurstRequests() argument
|
/frameworks/base/location/java/android/location/ |
D | AbstractListenerManager.java | 198 protected TRequest merge(@NonNull List<TRequest> requests) { in merge() argument 199 for (TRequest request : requests) { in merge() 226 ArrayList<TRequest> requests = new ArrayList<>(mListeners.size()); in mergeRequests() local 228 requests.add(mListeners.valueAt(index).getRequest()); in mergeRequests() 230 return merge(requests); in mergeRequests()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 137 List<CacheQuotaHint> requests = getUnfulfilledRequests(); in createServiceConnection() 141 mRemoteService.computeCacheQuotaHints(remoteCallback, requests); in createServiceConnection() 171 List<CacheQuotaHint> requests = new ArrayList<>(); in getUnfulfilledRequests() local 192 requests.add( in getUnfulfilledRequests() 205 return requests; in getUnfulfilledRequests() 322 List<CacheQuotaHint> requests, long bytesWhenCalculated) throws IOException { in saveToXml() argument 325 int requestSize = requests.size(); in saveToXml() 329 CacheQuotaHint request = requests.get(i); in saveToXml()
|
/frameworks/hardware/interfaces/cameraservice/device/2.0/ |
D | ICameraDeviceUser.hal | 24 * 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/java/android/hardware/camera2/legacy/ |
D | BurstHolder.java | 41 public BurstHolder(int requestId, boolean repeating, CaptureRequest[] requests, in BurstHolder() argument 45 for (CaptureRequest r : requests) { in BurstHolder()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 257 RangingRequest[] requests = new RangingRequest[numIter]; in testRangingFlow() local 262 requests[i] = RttTestUtils.getDummyRangingRequestMcOnly((byte) i); in testRangingFlow() 264 requests[i] = RttTestUtils.getDummyRangingRequest((byte) i); in testRangingFlow() 266 results.add(RttTestUtils.getDummyRangingResults(requests[i])); in testRangingFlow() 274 mDut.startRanging(mockIbinder, mPackageName, mFeatureId, null, requests[i], in testRangingFlow() 282 verify(mockNative).rangeRequest(mIntCaptor.capture(), eq(requests[i]), eq(true)); in testRangingFlow() 300 verify(mockMetrics).recordRequest(eq(mDefaultWs), eq(requests[i])); in testRangingFlow() 301 verify(mockMetrics).recordResult(eq(requests[i]), eq(results.get(i).second), in testRangingFlow() 392 RangingRequest[] requests = new RangingRequest[numIter]; in testRangingFlowNativeFailure() local 396 requests[i] = RttTestUtils.getDummyRangingRequest((byte) i); in testRangingFlowNativeFailure() [all …]
|
/frameworks/base/core/proto/android/server/location/ |
D | enums.proto | 58 // 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/av/services/camera/libcameraservice/hidl/ |
D | HidlCameraDeviceUser.cpp | 169 std::vector<hardware::camera2::CaptureRequest> requests; in submitRequestList() local 171 requests.emplace_back(); in submitRequestList() 172 auto &request = requests.back(); in submitRequestList() 178 mDeviceRemote->submitRequestList(requests, streaming, &submitInfo); in submitRequestList()
|