/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
H A D | BackgroundScanSchedulerTest.java | 88 mScheduler.updateSchedule(requests); in noRequest() 102 mScheduler.updateSchedule(requests); in singleRequest() 119 mScheduler.updateSchedule(requests); in singleRequestWithoutPredefinedBucket() 137 mScheduler.updateSchedule(requests); in fewRequests() 157 mScheduler.updateSchedule(requests); in manyRequests() 175 mScheduler.updateSchedule(requests); in requestsWithNoPeriodCommonDenominator() 197 mScheduler.updateSchedule(requests); in manyRequestsDifferentReportScans() 214 mScheduler.updateSchedule(requests); in exceedMaxBatch() 232 mScheduler.updateSchedule(requests); in defaultMaxBatch() 250 mScheduler.updateSchedule(requests); in exceedMaxAps() [all …]
|
/aosp12/hardware/qcom/gps/msm8998/location/ |
H A D | LocationAPIClientBase.cpp | 172 if (requests) { in locAPIStopTracking() 190 if (requests) { in locAPIUpdateTrackingOptions() 414 if (requests) { in locAPIGetBatchedLocations() 461 if (requests) { in locAPIRemoveGeofences() 488 if (requests) { in locAPIModifyGeofences() 515 if (requests) { in locAPIPauseGeofences() 542 if (requests) { in locAPIResumeGeofences() 573 if (requests) { in locAPIRemoveAllGeofences() 597 if (requests) { in locAPIGnssNiResponse() 617 if (requests) { in locAPIGnssDeleteAidingData() [all …]
|
/aosp12/hardware/qcom/sdm845/gps/msm8998/location/ |
H A D | LocationAPIClientBase.cpp | 172 if (requests) { in locAPIStopTracking() 190 if (requests) { in locAPIUpdateTrackingOptions() 414 if (requests) { in locAPIGetBatchedLocations() 461 if (requests) { in locAPIRemoveGeofences() 488 if (requests) { in locAPIModifyGeofences() 515 if (requests) { in locAPIPauseGeofences() 542 if (requests) { in locAPIResumeGeofences() 573 if (requests) { in locAPIRemoveAllGeofences() 597 if (requests) { in locAPIGnssNiResponse() 617 if (requests) { in locAPIGnssDeleteAidingData() [all …]
|
/aosp12/frameworks/av/camera/ndk/ |
H A 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 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 126 __FUNCTION__, session, numRequests, requests); in ACameraCaptureSession_setRepeatingRequest() 145 int numRequests, ACaptureRequest** requests, in ACameraCaptureSession_logicalCamera_setRepeatingRequest() argument [all …]
|
/aosp12/packages/modules/ExtServices/java/tests/src/android/ext/services/storage/ |
H A D | CacheQuotaServiceImplTest.java | 85 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testOneApp() local 87 requests.add(request); in testOneApp() 97 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testTwoAppsOneVolume() local 98 requests.add(makeNewRequest("com.test", sTestVolUuid, 1001, 100L)); in testTwoAppsOneVolume() 99 requests.add(makeNewRequest("com.test2", sTestVolUuid, 1002, 99L)); in testTwoAppsOneVolume() 112 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testTwoAppsTwoVolumes() local 113 requests.add(makeNewRequest("com.test", sTestVolUuid, 1001, 100L)); in testTwoAppsTwoVolumes() 125 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testMultipleAppsPerUidIsCollated() local 126 requests.add(makeNewRequest("com.test", sTestVolUuid, 1001, 100L)); in testMultipleAppsPerUidIsCollated() 127 requests.add(makeNewRequest("com.test2", sTestVolUuid, 1001, 99L)); in testMultipleAppsPerUidIsCollated() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
H A D | CacheQuotaStrategyTest.java | 63 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testWriteOneQuota() local 64 requests.add(buildCacheQuotaHint("uuid", 0, 100)); in testWriteOneQuota() 66 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testWriteOneQuota() 78 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testWriteMultipleQuotas() local 79 requests.add(buildCacheQuotaHint("uuid", 0, 100)); in testWriteMultipleQuotas() 80 requests.add(buildCacheQuotaHint("uuid2", 10, 250)); in testWriteMultipleQuotas() 82 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testWriteMultipleQuotas() 95 ArrayList<CacheQuotaHint> requests = new ArrayList<>(); in testNullUuidDoesntCauseCrash() local 96 requests.add(buildCacheQuotaHint(null, 0, 100)); in testNullUuidDoesntCauseCrash() 97 requests.add(buildCacheQuotaHint(null, 10, 250)); in testNullUuidDoesntCauseCrash() [all …]
|
/aosp12/art/runtime/gc/space/ |
H A D | large_object_space_test.cc | 56 std::vector<std::pair<mirror::Object*, size_t>> requests; in LargeObjectTest() local 59 while (requests.size() < num_allocations) { in LargeObjectTest() 77 for (size_t j = 0; j < requests.size(); ++j) { in LargeObjectTest() 78 std::swap(requests[j], requests[test_rand(&rand_seed) % requests.size()]); in LargeObjectTest() 84 for (const auto& pair : requests) { in LargeObjectTest() 89 for (const auto& pair : requests) { in LargeObjectTest() 96 size_t limit = phase == 0 ? requests.size() / 2 : 0; in LargeObjectTest() 97 while (requests.size() > limit) { in LargeObjectTest() 98 mirror::Object* obj = requests.back().first; in LargeObjectTest() 99 size_t request_size = requests.back().second; in LargeObjectTest() [all …]
|
/aosp12/build/soong/zip/ |
H A D | rate_limit.go | 23 requests chan request member 38 requests: make(chan request), 57 r.requests <- request 79 var requests chan request 82 requests = r.requests 86 case newRequest := <-requests:
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
H A 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 …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
H A D | RecentLocationRequestPreferenceControllerTest.java | 76 final List<RecentLocationApps.Request> requests = createMockRequest(6); in updateState_whenAppListMoreThanThree_shouldDisplayTopThreeApps() local 77 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_whenAppListMoreThanThree_shouldDisplayTopThreeApps() 86 final List<RecentLocationApps.Request> requests = createMockRequest(6); in updateState_workProfile_shouldShowOnlyWorkProfileApps() local 87 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_workProfile_shouldShowOnlyWorkProfileApps() 102 final List<RecentLocationApps.Request> requests = createMockRequest(6); in updateState_Personal_shouldShowOnlyPersonalApps() local 103 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_Personal_shouldShowOnlyPersonalApps() 118 final List<RecentLocationApps.Request> requests = new ArrayList<>(); in createMockRequest() local 125 requests.add(request); in createMockRequest() 127 return requests; in createMockRequest()
|
/aosp12/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraCaptureSessionImpl.java | 233 checkCaptureRequests(requests); in captureBurst() 259 checkCaptureRequests(requests); in captureBurstRequests() 278 if (requests == null) { in checkCaptureRequests() 280 } else if (requests.isEmpty()) { in checkCaptureRequests() 284 for (CaptureRequest request : requests) { in checkCaptureRequests() 352 public int setRepeatingBurst(List<CaptureRequest> requests, in setRepeatingBurst() argument 354 checkRepeatingRequests(requests); in setRepeatingBurst() 381 checkRepeatingRequests(requests); in setRepeatingBurstRequests() 401 if (requests == null) { in checkRepeatingRequests() 403 } else if (requests.isEmpty()) { in checkRepeatingRequests() [all …]
|
H A D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 215 public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, in captureBurst() argument 217 if (!isConstrainedHighSpeedRequestList(requests)) { in captureBurst() 222 return mSessionImpl.captureBurst(requests, listener, handler); in captureBurst() 226 public int captureBurstRequests(List<CaptureRequest> requests, Executor executor, in captureBurstRequests() argument 228 if (!isConstrainedHighSpeedRequestList(requests)) { in captureBurstRequests() 233 return mSessionImpl.captureBurstRequests(requests, executor, listener); in captureBurstRequests() 251 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, in setRepeatingBurst() argument 253 if (!isConstrainedHighSpeedRequestList(requests)) { in setRepeatingBurst() 258 return mSessionImpl.setRepeatingBurst(requests, listener, handler); in setRepeatingBurst() 264 if (!isConstrainedHighSpeedRequestList(requests)) { in setRepeatingBurstRequests() [all …]
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
H A D | RecentAppOpsAccessesTest.java | 125 assertThat(requests).hasSize(2); in testGetAppList_shouldFilterRecentAccesses() 127 assertThat(requests.get(0).packageName).isEqualTo(TEST_PACKAGE_NAMES[0]); in testGetAppList_shouldFilterRecentAccesses() 128 assertThat(requests.get(0).accessFinishTime).isEqualTo(ONE_MIN_AGO); in testGetAppList_shouldFilterRecentAccesses() 129 assertThat(requests.get(1).packageName).isEqualTo(TEST_PACKAGE_NAMES[1]); in testGetAppList_shouldFilterRecentAccesses() 130 assertThat(requests.get(1).accessFinishTime).isEqualTo(TWENTY_THREE_HOURS_AGO); in testGetAppList_shouldFilterRecentAccesses() 151 List<RecentAppOpsAccess.Access> requests = mRecentAppOpsAccess.getAppList(true); in testGetAppList_shouldNotShowAndroidOS() local 153 assertThat(requests).hasSize(2); in testGetAppList_shouldNotShowAndroidOS() 155 assertThat(requests.get(0).packageName).isEqualTo(TEST_PACKAGE_NAMES[0]); in testGetAppList_shouldNotShowAndroidOS() 156 assertThat(requests.get(0).accessFinishTime).isEqualTo(ONE_MIN_AGO); in testGetAppList_shouldNotShowAndroidOS() 157 assertThat(requests.get(1).packageName).isEqualTo(TEST_PACKAGE_NAMES[1]); in testGetAppList_shouldNotShowAndroidOS() [all …]
|
/aosp12/system/chre/core/ |
H A D | audio_request_manager.cc | 181 size_t lastNumRequests = requestList.requests.size(); in doConfigureSource() 199 requestList.requests.erase(requestIndex); in doConfigureSource() 251 requestList.requests.pop_back(); in createAudioRequest() 274 auto &requests = mAudioRequestLists[handle].requests; in findAudioRequestByInstanceId() local 275 for (size_t i = 0; i < requests.size(); i++) { in findAudioRequestByInstanceId() 276 auto &audioRequest = requests[i]; in findAudioRequestByInstanceId() 294 auto &requests = mAudioRequestLists[handle].requests; in findAudioRequestByConfiguration() local 295 for (size_t i = 0; i < requests.size(); i++) { in findAudioRequestByConfiguration() 296 auto &audioRequest = requests[i]; in findAudioRequestByConfiguration() 314 for (auto &req : reqList.requests) { in findNextAudioRequest() [all …]
|
H A D | sensor_request_multiplexer.cc | 27 const DynamicVector<SensorRequest> &requests = getRequests(); in findRequest() local 28 for (size_t i = 0; i < requests.size(); i++) { in findRequest() 29 const SensorRequest &sensorRequest = requests[i]; in findRequest()
|
/aosp12/hardware/google/camera/common/hal/tests/ |
H A D | result_processor_tests.cc | 97 std::vector<ProcessBlockRequest> requests(1); in TEST() local 98 requests[0].request.output_buffers = {StreamBuffer{}}; in TEST() 101 result_processor->AddPendingRequests(requests, requests[0].request), OK); in TEST() 170 std::vector<ProcessBlockRequest> requests(1); in TEST() local 171 requests[0].request.output_buffers = {StreamBuffer{}}; in TEST() 175 EXPECT_NE(result_processor->AddPendingRequests(requests, remaining_request), OK) in TEST()
|
/aosp12/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
H A D | FontManagerService.java | 77 public int updateFontFamily(@NonNull List<FontUpdateRequest> requests, int baseVersion) { in updateFontFamily() argument 80 Objects.requireNonNull(requests); in updateFontFamily() 84 update(baseVersion, requests); in updateFontFamily() 91 closeFileDescriptors(requests); in updateFontFamily() 95 private static void closeFileDescriptors(@Nullable List<FontUpdateRequest> requests) { in closeFileDescriptors() argument 98 if (requests == null) return; in closeFileDescriptors() 99 for (FontUpdateRequest request : requests) { in closeFileDescriptors() 233 /* package */ void update(int baseVersion, List<FontUpdateRequest> requests) in update() argument 248 mUpdatableFontDir.update(requests); in update()
|
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/ |
H A D | RemoteOptionsCoordinator.java | 44 public Builder(int subId, Collection<UceRequest> requests, RequestManagerCallback c) { in Builder() argument 45 mRemoteOptionsCoordinator = new RemoteOptionsCoordinator(subId, requests, c, in Builder() 49 public Builder(int subId, Collection<UceRequest> requests, RequestManagerCallback c, in Builder() argument 51 mRemoteOptionsCoordinator = new RemoteOptionsCoordinator(subId, requests, c, instance); in Builder() 90 private RemoteOptionsCoordinator(int subId, Collection<UceRequest> requests, in RemoteOptionsCoordinator() argument 92 super(subId, requests, requestMgrCallback); in RemoteOptionsCoordinator()
|
/aosp12/art/tools/ |
H A D | findbuildbotwarnings.py | 26 import requests 38 r = requests.get('https://build.chromium.org/p/client.art/json/builders') 50 r = requests.get( 65 r = requests.get(sl[1] + '/text')
|
/aosp12/hardware/google/camera/common/hal/google_camera_hal/ |
H A D | dual_ir_request_processor.cc | 120 std::map<uint32_t, CaptureRequest> requests; in ProcessRequest() local 126 auto request_iter = requests.find(camera_id); in ProcessRequest() 127 if (request_iter == requests.end()) { in ProcessRequest() 128 physical_request = &requests[camera_id]; in ProcessRequest() 141 for (auto& [camera_id, physical_request] : requests) { in ProcessRequest()
|
/aosp12/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
H A 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()
|
/aosp12/frameworks/av/camera/ndk/ndk_vendor/impl/ |
H A 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);
|
/aosp12/hardware/interfaces/camera/device/3.6/ |
H A D | ICameraDeviceSession.hal | 87 * For all requests that are going to be transferred to offline session, 90 * switchToOffline returns, camera HAL must have completed all requests not 92 * requests are going to continue in the offline session, in the 95 * If there are no requests qualified to be transferred to offline session, 98 * requests and unconfigure all streams before returning this call. 103 * all unfinished requests are now transferred to the offline session. 106 * camera and then send new capture requests with processCaptureRequest. In 109 * requests. 124 * @return offlineSessionInfo Information on what streams and requests will
|
/aosp12/system/core/libappfuse/tests/ |
H A D | FuseAppLoopTest.cc | 42 std::vector<CallbackRequest> requests; member in android::fuse::__anonab110af50110::Callback 56 requests.push_back({.code = FUSE_FSYNC, .inode = inode}); in OnFsync() 62 requests.push_back({.code = FUSE_WRITE, .inode = inode}); in OnWrite() 68 requests.push_back({.code = FUSE_READ, .inode = inode}); in OnRead() 73 requests.push_back({.code = FUSE_OPEN, .inode = inode}); in OnOpen() 78 requests.push_back({.code = FUSE_RELEASE, .inode = inode}); in OnRelease() 115 ASSERT_EQ(1u, callback_.requests.size()); in CheckCallback() 116 EXPECT_EQ(code, callback_.requests[0].code); in CheckCallback() 117 EXPECT_EQ(10u, callback_.requests[0].inode); in CheckCallback()
|
/aosp12/frameworks/av/camera/ndk/impl/ |
H A 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);
|