Home
last modified time | relevance | path

Searched refs:Request (Results 1 – 25 of 88) sorted by relevance

1234

/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()
36 …const std::vector<Request> requests = createRequests(add_relaxed::get_examples_dynamic_output_shap… in TEST_F()
59 const std::vector<Request> requests = createRequests(avg_pool_float_1_relaxed::get_examples()); in TEST_F()
74 …const std::vector<Request> requests = createRequests(avg_pool_float_1_relaxed::get_examples_dynami… in TEST_F()
97 const std::vector<Request> requests = createRequests(avg_pool_float_2_relaxed::get_examples()); in TEST_F()
112 …const std::vector<Request> requests = createRequests(avg_pool_float_2_relaxed::get_examples_dynami… in TEST_F()
135 const std::vector<Request> requests = createRequests(avg_pool_float_3_relaxed::get_examples()); in TEST_F()
150 …const std::vector<Request> requests = createRequests(avg_pool_float_3_relaxed::get_examples_dynami… in TEST_F()
173 const std::vector<Request> requests = createRequests(avg_pool_float_4_relaxed::get_examples()); in TEST_F()
188 …const std::vector<Request> requests = createRequests(avg_pool_float_4_relaxed::get_examples_dynami… in TEST_F()
[all …]
Dall_generated_V1_2_vts_tests.cpp21 const std::vector<Request> requests = createRequests(abs::get_examples()); in TEST_F()
35 const std::vector<Request> requests = createRequests(abs::get_examples_relaxed()); in TEST_F()
49 const std::vector<Request> requests = createRequests(abs::get_examples_float16()); in TEST_F()
64 const std::vector<Request> requests = createRequests(abs::get_examples_dynamic_output_shape()); in TEST_F()
80 …const std::vector<Request> requests = createRequests(abs::get_examples_dynamic_output_shape_relaxe… in TEST_F()
96 …const std::vector<Request> requests = createRequests(abs::get_examples_dynamic_output_shape_float1… in TEST_F()
119 const std::vector<Request> requests = createRequests(add_v1_2::get_examples()); in TEST_F()
134 …const std::vector<Request> requests = createRequests(add_v1_2::get_examples_dynamic_output_shape()… in TEST_F()
149 const std::vector<Request> requests = createRequests(add_v1_2::get_examples_2()); in TEST_F()
164 …const std::vector<Request> requests = createRequests(add_v1_2::get_examples_dynamic_output_shape_2… in TEST_F()
[all …]
Dall_generated_V1_0_vts_tests.cpp21 const std::vector<Request> requests = createRequests(add::get_examples()); in TEST_F()
36 const std::vector<Request> requests = createRequests(add::get_examples_dynamic_output_shape()); in TEST_F()
59 const std::vector<Request> requests = createRequests(add_broadcast_quant8::get_examples()); in TEST_F()
74 …const std::vector<Request> requests = createRequests(add_broadcast_quant8::get_examples_dynamic_ou… in TEST_F()
97 const std::vector<Request> requests = createRequests(add_quant8::get_examples()); in TEST_F()
112 …const std::vector<Request> requests = createRequests(add_quant8::get_examples_dynamic_output_shape… in TEST_F()
135 const std::vector<Request> requests = createRequests(avg_pool_float_1::get_examples()); in TEST_F()
150 …const std::vector<Request> requests = createRequests(avg_pool_float_1::get_examples_dynamic_output… in TEST_F()
173 const std::vector<Request> requests = createRequests(avg_pool_float_2::get_examples()); in TEST_F()
188 …const std::vector<Request> requests = createRequests(avg_pool_float_2::get_examples_dynamic_output… in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierTest.java89 TextSelection.Request request = new TextSelection.Request.Builder( in testSuggestSelection()
110 TextSelection.Request request = new TextSelection.Request.Builder( in testSuggestSelection_url()
128 TextSelection.Request request = new TextSelection.Request.Builder( in testSmartSelection_withEmoji()
146 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText()
163 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_url()
178 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_address()
195 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_url_inCaps()
213 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_date()
235 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_datetime()
255 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_foreignText()
[all …]
DTextLanguageTest.java75 final TextLanguage.Request reference = new TextLanguage.Request.Builder(text) in testRequestParcel()
83 final TextLanguage.Request result = TextLanguage.Request.CREATOR.createFromParcel(parcel); in testRequestParcel()
DTextSelectionTest.java80 final TextSelection.Request reference = in testParcelRequest()
81 new TextSelection.Request.Builder(text, 0, text.length()) in testParcelRequest()
91 final TextSelection.Request result = TextSelection.Request.CREATOR.createFromParcel(parcel); in testParcelRequest()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java75 public List<Request> getAppList(boolean showSystemApps) { in getAppList()
86 ArrayList<Request> requests = new ArrayList<>(appOpsCount); in getAppList()
128 Request request = getRequestFromOps(now, ops); in getAppList()
143 public List<Request> getAppListSorted(boolean showSystemApps) { in getAppListSorted()
144 List<Request> requests = getAppList(showSystemApps); in getAppListSorted()
146 Collections.sort(requests, Collections.reverseOrder(new Comparator<Request>() { in getAppListSorted()
148 public int compare(Request request1, Request request2) { in getAppListSorted()
162 private Request getRequestFromOps(long now, in getRequestFromOps()
198 Request request = null; in getRequestFromOps()
217 request = new Request(packageName, userHandle, icon, appLabel, highBattery, in getRequestFromOps()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextLanguage.java214 public static final class Request implements Parcelable { class in TextLanguage
216 …public static final @android.annotation.NonNull Creator<Request> CREATOR = new Creator<Request>() {
218 public Request createFromParcel(Parcel in) {
223 public Request[] newArray(int size) {
224 return new Request[size];
234 private Request(CharSequence text, Bundle bundle) { in Request() method in TextLanguage.Request
307 private static Request readFromParcel(Parcel in) { in readFromParcel()
313 final Request request = new Request(text, extra); in readFromParcel()
351 public Request build() { in build()
352 return new Request(mText.toString(), mBundle == null ? Bundle.EMPTY : mBundle); in build()
DTextSelection.java207 public static final class Request implements Parcelable { class in TextSelection
219 private Request( in Request() method in TextSelection.Request
400 public Request build() { in build()
401 return new Request(new SpannedString(mText), mStartIndex, mEndIndex, in build()
423 private static Request readFromParcel(Parcel in) { in readFromParcel()
432 final Request request = new Request(text, startIndex, endIndex, defaultLocales, in readFromParcel()
439 public static final @android.annotation.NonNull Parcelable.Creator<Request> CREATOR =
440 new Parcelable.Creator<Request>() {
442 public Request createFromParcel(Parcel in) {
447 public Request[] newArray(int size) {
[all …]
DConversationActions.java290 public static final class Request implements Parcelable { class in ConversationActions
326 private Request( in Request() method in ConversationActions.Request
339 private static Request readFromParcel(Parcel in) { in readFromParcel()
349 Request request = new Request( in readFromParcel()
376 public static final @android.annotation.NonNull Creator<Request> CREATOR =
377 new Creator<Request>() {
379 public Request createFromParcel(Parcel in) {
384 public Request[] newArray(int size) {
385 return new Request[size];
524 public Request build() { in build()
[all …]
DTextLinks.java336 public static final class Request implements Parcelable { class in TextLinks
347 private Request( in Request() method in TextLinks.Request
515 public Request build() { in build()
516 return new Request( in build()
538 private static Request readFromParcel(Parcel in) { in readFromParcel()
546 final Request request = new Request(text, defaultLocales, entityConfig, in readFromParcel()
553 public static final @android.annotation.NonNull Parcelable.Creator<Request> CREATOR =
554 new Parcelable.Creator<Request>() {
556 public Request createFromParcel(Parcel in) {
561 public Request[] newArray(int size) {
[all …]
DTextClassification.java547 public static final class Request implements Parcelable {
559 private Request(
735 public Request build() {
736 return new Request(new SpannedString(mText), mStartIndex, mEndIndex,
759 private static Request readFromParcel(Parcel in) {
771 final Request request = new Request(text, startIndex, endIndex,
778 public static final @android.annotation.NonNull Parcelable.Creator<Request> CREATOR =
779 new Parcelable.Creator<Request>() {
781 public Request createFromParcel(Parcel in) {
786 public Request[] newArray(int size) {
[all …]
DTextClassifier.java195 default TextSelection suggestSelection(@NonNull TextSelection.Request request) { in suggestSelection()
234 final TextSelection.Request request = new TextSelection.Request.Builder( in suggestSelection()
254 default TextClassification classifyText(@NonNull TextClassification.Request request) { in classifyText()
293 final TextClassification.Request request = new TextClassification.Request.Builder( in classifyText()
315 default TextLinks generateLinks(@NonNull TextLinks.Request request) { in generateLinks()
348 default TextLanguage detectLanguage(@NonNull TextLanguage.Request request) { in detectLanguage()
360 @NonNull ConversationActions.Request request) { in suggestConversationActions()
717 public static TextLinks generateLegacyLinks(@NonNull TextLinks.Request request) { in generateLegacyLinks()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java20 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/
DDownloadManagerTestApp.java19 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/
DSipHelper.java65 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/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java55 private static final class Request { class in IccPhoneBookInterfaceManager
65 Request request = (Request) ar.userObj;
103 private void notifyPending(Request request, Object result) {
185 Request updateRequest = new Request(); in updateAdnRecordsInEfBySearch()
235 Request updateRequest = new Request(); in updateAdnRecordsInEfByIndex()
261 Request getSizeRequest = new Request(); in getAdnRecordsSize()
298 Request loadRequest = new Request(); in getAdnRecordsInEf()
321 protected void waitForResult(Request request) { in waitForResult()
/frameworks/base/core/java/android/service/textclassifier/
DITextClassifierService.aidl39 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()
DTextClassifierService.java116 TextSelection.Request request, ITextClassifierCallback callback) {
127 TextClassification.Request request, ITextClassifierCallback callback) {
137 TextLinks.Request request, ITextClassifierCallback callback) {
165 TextLanguage.Request request,
176 ConversationActions.Request request,
222 @NonNull TextSelection.Request request, in onSuggestSelection()
238 @NonNull TextClassification.Request request, in onClassifyText()
254 @NonNull TextLinks.Request request, in onGenerateLinks()
269 @NonNull TextLanguage.Request request, in onDetectLanguage()
287 @NonNull ConversationActions.Request request, in onSuggestConversationActions()
/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/
DTextClassifierPerfTest.java69 ConversationActions.Request request = createConversationActionsRequest(text); in testSuggestConversationActions()
80 TextLanguage.Request request = createTextLanguageRequest(text); in testDetectLanguage()
87 private static ConversationActions.Request createConversationActionsRequest(CharSequence text) { in createConversationActionsRequest()
93 return new ConversationActions.Request.Builder(Collections.singletonList(message)) in createConversationActionsRequest()
97 private static TextLanguage.Request createTextLanguageRequest(CharSequence text) { in createTextLanguageRequest()
98 return new TextLanguage.Request.Builder(text).build(); in createTextLanguageRequest()
/frameworks/base/core/java/android/app/
DVoiceInteractor.java75 static final Request[] NO_REQUESTS = new Request[0];
93 Request request;
216 final ArrayMap<IBinder, Request> mActiveRequests = new ArrayMap<>();
230 public static abstract class Request { class in VoiceInteractor
236 Request() { in Request() method in VoiceInteractor.Request
346 public static class ConfirmationRequest extends Request {
408 public static class PickOptionRequest extends Request {
623 public static class CompleteVoiceRequest extends Request {
682 public static class AbortVoiceRequest extends Request {
745 public static class CommandRequest extends Request {
[all …]
DDownloadManager.java375 public static class Request { class in DownloadManager
455 public Request(Uri uri) { in Request() method in DownloadManager.Request
466 Request(String uriString) { in Request() method in DownloadManager.Request
492 public Request setDestinationUri(Uri uri) { in setDestinationUri()
515 public Request setDestinationInExternalFilesDir(Context context, String dirType, in setDestinationInExternalFilesDir()
556 public Request setDestinationInExternalPublicDir(String dirType, String subPath) { in setDestinationInExternalPublicDir()
618 public Request addRequestHeader(String header, String value) { in addRequestHeader()
638 public Request setTitle(CharSequence title) { in setTitle()
647 public Request setDescription(CharSequence description) { in setDescription()
659 public Request setMimeType(String mimeType) { in setMimeType()
[all …]
/frameworks/base/libs/hwui/
DAnimator.cpp90 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/
DAsyncMessageInvocation.java36 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/java/android/provider/
DDownloads.java604 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || in isNotificationToBeDisplayed()
605 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; in isNotificationToBeDisplayed()
811 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE;
818 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
823 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN;

1234