/frameworks/base/core/java/android/content/om/ |
D | OverlayManagerTransaction.java | 52 implements Iterable<OverlayManagerTransaction.Request>, Parcelable { 55 private final List<Request> mRequests; 57 OverlayManagerTransaction(@NonNull final List<Request> requests) { in OverlayManagerTransaction() 73 mRequests.add(new Request(request, overlay, userId, extras)); in OverlayManagerTransaction() 78 public Iterator<Request> iterator() { in iterator() 93 public static class Request { class in OverlayManagerTransaction 116 public Request(@RequestType final int type, @NonNull final OverlayIdentifier overlay, in Request() method in OverlayManagerTransaction.Request 121 public Request(@RequestType final int type, @NonNull final OverlayIdentifier overlay, in Request() method in OverlayManagerTransaction.Request 158 private final List<Request> mRequests = new ArrayList<>(); 189 @Request.RequestType final int type = in setEnabled() [all …]
|
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/ |
D | RequestProcessorImpl.java | 43 int submit(Request request, Callback callback); in submit() 50 int submit(List<Request> requests, Callback callback); in submit() 57 int setRepeating(Request request, Callback callback); in setRepeating() 74 interface Request { interface 97 Request request, in onCaptureStarted() 102 Request request, in onCaptureProgressed() 106 Request request, in onCaptureCompleted() 110 Request request, in onCaptureFailed() 114 Request request, in onCaptureBufferLost()
|
/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/ |
D | TextClassifierPerfTest.java | 52 TextClassification.Request request = in testClassifyText() 53 new TextClassification.Request.Builder(TEXT, 0, TEXT.length()).build(); in testClassifyText() 63 TextSelection.Request request = in testSuggestSelection() 64 new TextSelection.Request.Builder( in testSuggestSelection() 77 TextLinks.Request request = in testGenerateLinks() 78 new TextLinks.Request.Builder(TEXT).build(); in testGenerateLinks() 92 ConversationActions.Request request = new ConversationActions.Request.Builder( in testSuggestConversationActions() 104 TextLanguage.Request request = new TextLanguage.Request.Builder(TEXT).build(); in testDetectLanguage()
|
/frameworks/av/media/utils/ |
D | TimerThread.cpp | 40 auto request = std::make_shared<const Request>(now, now + in scheduleTask() 48 auto request = std::make_shared<const Request>(now, now, in trackTask() 54 std::shared_ptr<const Request> request = isNoTimeoutHandle(handle) ? in cancelTask() 65 std::vector<std::shared_ptr<const Request>> timeoutRequests; in toString() 66 std::vector<std::shared_ptr<const Request>> retiredRequests; in toString() 69 std::vector<std::shared_ptr<const Request>> pendingRequests = in toString() 115 bool TimerThread::isRequestFromHal(const std::shared_ptr<const Request>& request) { in isRequestFromHal() 125 const std::vector<std::shared_ptr<const Request>>& timeoutRequests, in analyzeTimeout() 126 const std::vector<std::shared_ptr<const Request>>& pendingRequests) { in analyzeTimeout() 131 const std::shared_ptr<const Request> timeout = timeoutRequests.back(); in analyzeTimeout() [all …]
|
/frameworks/av/media/utils/include/mediautils/ |
D | TimerThread.h | 210 struct Request { struct 211 Request(std::chrono::system_clock::time_point _scheduled, in Request() function 242 void add(std::shared_ptr<const Request>); argument 245 void copyRequests(std::vector<std::shared_ptr<const Request>>& requests, 252 std::shared_ptr<const Request>>> 261 std::map<Handle, std::shared_ptr<const Request>> mMap GUARDED_BY(mNTMutex); 270 Handle add(std::shared_ptr<const Request> request); 271 std::shared_ptr<const Request> remove(Handle handle); 272 void copyRequests(std::vector<std::shared_ptr<const Request>>& requests) const; 286 std::map<Handle, std::pair<std::shared_ptr<const Request>, TimerCallback>> [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/ |
D | UceRequestDispatcher.java | 40 private static class Request { class in UceRequestDispatcher 45 public Request(long coordinatorId, long taskId) { in Request() method in UceRequestDispatcher.Request 77 private final List<Request> mWaitingRequests = new ArrayList<>(); 80 private final List<Request> mExecutingRequests = new ArrayList<>(); 105 Request request = new Request(coordinatorId, taskId); in addRequest() 136 List<Request> requestList = getRequestFromWaitingCollection(numCapacity); in onRequestUpdated() 145 private List<Request> getRequestFromWaitingCollection(int numCapacity) { in getRequestFromWaitingCollection() 150 List<Request> requestList = new ArrayList<>(); in getRequestFromWaitingCollection() 162 private void notifyStartOfRequest(List<Request> requestList) { in notifyStartOfRequest() 180 Request request = requestList.get(i); in notifyStartOfRequest() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 75 public List<Request> getAppList(boolean showSystemApps) { in getAppList() 86 ArrayList<Request> requests = new ArrayList<>(appOpsCount); in getAppList() 132 Request request = getRequestFromOps(now, ops); in getAppList() 147 public List<Request> getAppListSorted(boolean showSystemApps) { in getAppListSorted() 148 List<Request> requests = getAppList(showSystemApps); in getAppListSorted() 150 Collections.sort(requests, Collections.reverseOrder(new Comparator<Request>() { in getAppListSorted() 152 public int compare(Request request1, Request request2) { in getAppListSorted() 166 private Request getRequestFromOps(long now, in getRequestFromOps() 202 Request request = null; in getRequestFromOps() 221 request = new Request(packageName, userHandle, icon, appLabel, highBattery, in getRequestFromOps() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextLanguage.java | 212 public static final class Request implements Parcelable { class in TextLanguage 214 …public static final @android.annotation.NonNull Creator<Request> CREATOR = new Creator<Request>() { 216 public Request createFromParcel(Parcel in) { 221 public Request[] newArray(int size) { 222 return new Request[size]; 230 private Request(CharSequence text, Bundle bundle) { in Request() method in TextLanguage.Request 295 private static Request readFromParcel(Parcel in) { in readFromParcel() 300 final Request request = new Request(text, extra); in readFromParcel() 337 public Request build() { in build() 338 return new Request(mText.toString(), mBundle == null ? Bundle.EMPTY : mBundle); in build()
|
D | TextSelection.java | 255 public static final class Request implements Parcelable { class in TextSelection 266 private Request( in Request() method in TextSelection.Request 464 public Request build() { in build() 465 return new Request(new SpannedString(mText), mStartIndex, mEndIndex, in build() 488 private static Request readFromParcel(Parcel in) { in readFromParcel() 497 final Request request = new Request(text, startIndex, endIndex, defaultLocales, in readFromParcel() 503 public static final @android.annotation.NonNull Parcelable.Creator<Request> CREATOR = 504 new Parcelable.Creator<Request>() { 506 public Request createFromParcel(Parcel in) { 511 public Request[] newArray(int size) { [all …]
|
D | ConversationActions.java | 286 public static final class Request implements Parcelable { class in ConversationActions 319 private Request( in Request() method in ConversationActions.Request 332 private static Request readFromParcel(Parcel in) { in readFromParcel() 342 Request request = new Request( in readFromParcel() 367 public static final @android.annotation.NonNull Creator<Request> CREATOR = 368 new Creator<Request>() { 370 public Request createFromParcel(Parcel in) { 375 public Request[] newArray(int size) { 376 return new Request[size]; 509 public Request build() { in build() [all …]
|
D | TextLinks.java | 335 public static final class Request implements Parcelable { class in TextLinks 345 private Request( in Request() method in TextLinks.Request 536 public Request build() { in build() 537 return new Request( in build() 559 private static Request readFromParcel(Parcel in) { in readFromParcel() 569 final Request request = new Request(text, defaultLocales, entityConfig, in readFromParcel() 575 public static final @android.annotation.NonNull Parcelable.Creator<Request> CREATOR = 576 new Parcelable.Creator<Request>() { 578 public Request createFromParcel(Parcel in) { 583 public Request[] newArray(int size) { [all …]
|
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
D | TestHttpServer.kt | 30 private val responses = HashMap<Request, Response>() in <lambda>() 35 val requestsRecord = ArrayTrackRecord<Request>() in <lambda>() 40 data class Request( in <lambda>() dataClass 60 addResponse(Request(uri.path in <lambda>() 69 request: Request, in <lambda>() 82 val request = Request(session.uri in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 20 import android.app.DownloadManager.Request; 78 Request request = new Request(uri); in doErrorTest() 162 Request request = new Request(uri); in testDownloadToExternal_fileExists() 199 Request request = new Request(uri); in testDownloadToExternal() 230 Request request = new Request(uri); in testDownloadToProhibitedDirectory() 305 Request request = new Request(uri); in testRelativeRedirect() 349 Request request = new Request(uri); in testSetTitle() 378 Request request = new Request(uri); in testDownloadNoWifi() 379 request.setAllowedNetworkTypes(Request.NETWORK_WIFI); in testDownloadNoWifi()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerTestApp.java | 19 import android.app.DownloadManager.Request; 139 Request request = new Request(remoteUri); in initiateDownload() 230 Request request = new Request(remoteUri); in runLargeDownloadOverWiFi() 278 Request request = new Request(remoteUri); in runDownloadMultipleSwitching() 285 request.setAllowedNetworkTypes(Request.NETWORK_MOBILE | Request.NETWORK_WIFI); in runDownloadMultipleSwitching() 354 Request request = new Request(remoteUri); in runDownloadMultipleWiFiEnableDisable() 361 request.setAllowedNetworkTypes(Request.NETWORK_WIFI); in runDownloadMultipleWiFiEnableDisable() 424 Request request = new Request(remoteUri); in runDownloadMultipleAirplaneModeEnableDisable() 431 request.setAllowedNetworkTypes(Request.NETWORK_WIFI); in runDownloadMultipleAirplaneModeEnableDisable() 489 Request request = new Request(remoteUri); in runDownloadMultipleSimultaneously()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipHelper.java | 65 import javax.sip.message.Request; 198 Request request = (caller == callee) in sendOptions() 199 ? createRequest(Request.OPTIONS, caller, tag) in sendOptions() 200 : createRequest(Request.OPTIONS, caller, callee, tag); in sendOptions() 214 Request request = createRequest(Request.REGISTER, userProfile, tag); in sendRegister() 233 private Request createRequest(String requestType, SipProfile userProfile, in createRequest() 246 Request request = mMessageFactory.createRequest(requestURI, in createRequest() 269 private Request createRequest(String requestType, SipProfile caller, in createRequest() 279 Request request = mMessageFactory.createRequest(requestURI, in createRequest() 291 Request request = createRequest(Request.INVITE, caller, callee, tag); in sendInvite() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | IRequestProcessorImpl.aidl | 21 import android.hardware.camera2.extension.Request; 27 int submit(in Request request, in IRequestCallback callback); in submit() 28 int submitBurst(in List<Request> requests, in IRequestCallback callback); in submitBurst() 29 int setRepeating(in Request request, in IRequestCallback callback); in setRepeating()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | RequestWrapper.java | 31 private final ActivityStarter.Request mRequest; 33 private RequestWrapper(ActivityStarter.Request request) { in RequestWrapper() 39 public static RequestWrapper create(@Nullable ActivityStarter.Request request) { in create() 46 public ActivityStarter.Request getRequest() { in getRequest()
|
/frameworks/base/core/java/android/service/textclassifier/ |
D | ITextClassifierService.aidl | 39 in TextSelection.Request request, in onSuggestSelection() 44 in TextClassification.Request request, in onClassifyText() 49 in TextLinks.Request request, in onGenerateLinks() 70 in TextLanguage.Request request, in onDetectLanguage() 75 in ConversationActions.Request request, in onSuggestConversationActions()
|
D | TextClassifierService.java | 128 TextSelection.Request request, ITextClassifierCallback callback) { 139 TextClassification.Request request, ITextClassifierCallback callback) { 149 TextLinks.Request request, ITextClassifierCallback callback) { 177 TextLanguage.Request request, 188 ConversationActions.Request request, 260 @NonNull TextSelection.Request request, in onSuggestSelection() 276 @NonNull TextClassification.Request request, in onClassifyText() 292 @NonNull TextLinks.Request request, in onGenerateLinks() 307 @NonNull TextLanguage.Request request, in onDetectLanguage() 325 @NonNull ConversationActions.Request request, in onSuggestConversationActions()
|
/frameworks/base/core/java/android/app/ |
D | VoiceInteractor.java | 75 static final Request[] NO_REQUESTS = new Request[0]; 91 Request request; 214 final ArrayMap<IBinder, Request> mActiveRequests = new ArrayMap<>(); 228 public static abstract class Request { class in VoiceInteractor 234 Request() { in Request() method in VoiceInteractor.Request 344 public static class ConfirmationRequest extends Request { 406 public static class PickOptionRequest extends Request { 621 public static class CompleteVoiceRequest extends Request { 680 public static class AbortVoiceRequest extends Request { 743 public static class CommandRequest extends Request { [all …]
|
D | DownloadManager.java | 382 public static class Request { class in DownloadManager 462 public Request(Uri uri) { in Request() method in DownloadManager.Request 473 Request(String uriString) { in Request() method in DownloadManager.Request 499 public Request setDestinationUri(Uri uri) { in setDestinationUri() 522 public Request setDestinationInExternalFilesDir(Context context, String dirType, in setDestinationInExternalFilesDir() 563 public Request setDestinationInExternalPublicDir(String dirType, String subPath) { in setDestinationInExternalPublicDir() 625 public Request addRequestHeader(String header, String value) { in addRequestHeader() 645 public Request setTitle(CharSequence title) { in setTitle() 654 public Request setDescription(CharSequence description) { in setDescription() 666 public Request setMimeType(String mimeType) { in setMimeType() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccPhoneBookInterfaceManager.java | 63 private static final class Request { class in IccPhoneBookInterfaceManager 73 Request request = (Request) ar.userObj; 111 private void notifyPending(Request request, Object result) { 214 Request updateRequest = new Request(); in updateAdnRecordsInEfBySearchForSubscriber() 270 Request updateRequest = new Request(); in updateAdnRecordsInEfByIndex() 306 Request getSizeRequest = new Request(); in getAdnRecordsSize() 343 Request loadRequest = new Request(); in getAdnRecordsInEf() 374 protected void waitForResult(Request request) { in waitForResult()
|
/frameworks/base/libs/hwui/ |
D | Animator.cpp | 90 mStagingRequests.push_back(Request::Start); in start() 96 mStagingRequests.push_back(Request::Cancel); in cancel() 102 mStagingRequests.push_back(Request::Reset); in reset() 108 mStagingRequests.push_back(Request::Reverse); in reverse() 114 mStagingRequests.push_back(Request::End); in end() 118 void BaseRenderNodeAnimator::resolveStagingRequest(Request request) { in resolveStagingRequest() 120 case Request::Start: in resolveStagingRequest() 127 case Request::Reverse: in resolveStagingRequest() 134 case Request::Reset: in resolveStagingRequest() 139 case Request::Cancel: in resolveStagingRequest() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/ |
D | AsyncMessageInvocation.java | 36 public abstract class AsyncMessageInvocation<Request, Response> implements Handler.Callback { 45 Request request, AsyncResultCallback<Response> resultCallback, Handler handler) { in invoke() 68 protected abstract void sendRequestMessage(Request request, Message msg); in sendRequestMessage()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextLanguageTest.java | 77 final TextLanguage.Request reference = new TextLanguage.Request.Builder(text) in testRequestParcel() 87 final TextLanguage.Request result = TextLanguage.Request.CREATOR.createFromParcel(parcel); in testRequestParcel()
|