Home
last modified time | relevance | path

Searched refs:Params (Results 1 – 25 of 57) sorted by relevance

123

/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigInvalidTest.kt34 data class Params( class in com.android.safetycenter.config.ParserConfigInvalidTest
44 @Parameterized.Parameter lateinit var params: Params in toString()
66 Params( in parameters()
73 Params( in parameters()
79 Params( in parameters()
86 Params( in parameters()
92 Params( in parameters()
99 Params( in parameters()
105 Params( in parameters()
111 Params( in parameters()
[all …]
/packages/modules/Permission/SafetyCenter/Persistence/tests/java/com/android/safetycenter/persistence/
DSafetyCenterIssuesPersistenceInvalidTest.kt30 data class Params( class in com.android.safetycenter.persistence.SafetyCenterIssuesPersistenceInvalidTest
39 @Parameterized.Parameter lateinit var params: Params in toString()
61 Params(
67 Params(
73 Params(
79 Params(
85 Params(
91 Params(
97 Params(
103 Params(
[all …]
DSafetyCenterIssuesPersistenceValidTest.kt29 data class Params( dataClass
37 @Parameterized.Parameter lateinit var params: Params in toString()
53 Params("FileNotFound", "file_not_found.xml", emptyList()),
54 Params("ValidV0", "valid_file_v0.xml", listOf(ISSUE_1, ISSUE_2)),
55 Params("ValidV1", "valid_file_v1.xml", listOf(ISSUE_0, ISSUE_1, ISSUE_2, ISSUE_3)),
56 Params(
DSafetyCenterIssuesPersistenceWriteTest.kt28 data class Params( class in com.android.safetycenter.persistence.SafetyCenterIssuesPersistenceWriteTest
36 @Parameterized.Parameter lateinit var params: Params in toString()
54 Params("WithoutIssues", "valid_file_without_issues_written.xml", emptyList()),
55 Params(
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DInferenceInputTest.java54 InferenceInput.Params params = in buildInput_success()
55 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInput_success()
78 InferenceInput.Params params = in buildInputWithSetters()
79 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInputWithSetters()
106 InferenceInput.Params params = in buildInput_batchNotSet_success()
107 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInput_batchNotSet_success()
121 InferenceInput.Params params = in buildParams_success()
122 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY) in buildParams_success()
126 assertThat(params.getDelegateType()).isEqualTo(InferenceInput.Params.DELEGATE_CPU); in buildParams_success()
128 .isEqualTo(InferenceInput.Params.MODEL_TYPE_TENSORFLOW_LITE); in buildParams_success()
[all …]
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DInferenceInputTest.java47 InferenceInput.Params.Builder builder = in buildParams_reusable()
48 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY); in buildParams_reusable()
51 InferenceInput.Params params = builder.setModelKey("other_kay").build(); in buildParams_reusable()
62 InferenceInput.Params params = in buildInferenceInput_reusable()
63 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInferenceInput_reusable()
82 InferenceInput.Params params = in buildInput_success()
83 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInput_success()
106 InferenceInput.Params params = in buildInput_batchNotSet_success()
107 new InferenceInput.Params.Builder(mRemoteData, MODEL_KEY).build(); in buildInput_batchNotSet_success()
121 InferenceInput.Params params = in buildParams_success()
[all …]
DFederatedComputeSchedulerTest.java59 FederatedComputeScheduler.Params params = new FederatedComputeScheduler.Params(interval); in testScheduleSuccess()
75 FederatedComputeScheduler.Params params = new FederatedComputeScheduler.Params(interval); in testScheduleNull()
88 FederatedComputeScheduler.Params params = new FederatedComputeScheduler.Params(interval); in testScheduleErr()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DInferenceInputParcel.java40 private @InferenceInput.Params.Delegate int mDelegate;
59 private @InferenceInput.Params.ModelType int mModelType =
60 InferenceInput.Params.MODEL_TYPE_TENSORFLOW_LITE;
120 @InferenceInput.Params.Delegate int delegate, in InferenceInputParcel()
124 @InferenceInput.Params.ModelType int modelType, in InferenceInputParcel()
129 AnnotationValidations.validate(InferenceInput.Params.Delegate.class, null, mDelegate); in InferenceInputParcel()
136 AnnotationValidations.validate(InferenceInput.Params.ModelType.class, null, mModelType); in InferenceInputParcel()
153 public @InferenceInput.Params.Delegate int getDelegate() { in getDelegate()
184 public @InferenceInput.Params.ModelType int getModelType() { in getModelType()
239 AnnotationValidations.validate(InferenceInput.Params.Delegate.class, null, mDelegate); in InferenceInputParcel()
[all …]
DInferenceInput.java40 @NonNull private Params mParams;
81 public static class Params { class in InferenceInput
172 public Params( in Params() method in InferenceInput.Params
248 Params that = (Params) o; in equals()
359 public @NonNull Params build() { in build()
371 Params o = in build()
372 new Params( in build()
412 @NonNull Params params, in InferenceInput()
429 public @NonNull Params getParams() { in getParams()
520 private @NonNull Params mParams;
[all …]
DFederatedComputeScheduler.java64 public void schedule(@NonNull Params params, @NonNull FederatedComputeInput input) { in schedule()
200 public static class Params { class in FederatedComputeScheduler
210 public Params(@NonNull TrainingInterval trainingInterval) { in Params() method in FederatedComputeScheduler.Params
/packages/apps/Messaging/src/com/android/messaging/util/
DSafeAsyncTask.java36 public abstract class SafeAsyncTask<Params, Progress, Result>
37 extends AsyncTask<Params, Progress, Result> {
81 public final SafeAsyncTask<Params, Progress, Result> executeOnThreadPool( in executeOnThreadPool()
82 final Params... params) { in executeOnThreadPool()
89 protected abstract Result doInBackgroundTimed(final Params... params); in doInBackgroundTimed()
92 protected final Result doInBackground(final Params... params) { in doInBackground()
/packages/apps/Contacts/src/com/android/contacts/util/
DWeakAsyncTask.java23 public abstract class WeakAsyncTask<Params, Progress, Result, WeakTarget> extends
24 AsyncTask<Params, Progress, Result> {
42 protected final Result doInBackground(Params... params) { in doInBackground()
64 protected abstract Result doInBackground(WeakTarget target, Params... params); in doInBackground()
/packages/modules/Uwb/indev_uwb_adaptation/java/com/android/server/uwb/indev/
DUwbServiceCore.java26 import com.google.uwb.support.base.Params;
152 public boolean initSession(int sessionId, byte sessionType, Params appConfigParams) { in initSession()
193 public boolean reconfigure(int sessionId, Params params) { in reconfigure()
253 Params appConfigParams); in nativeInitSession()
261 private native boolean nativeReconfigure(int sessionId, Params appConfigParams); in nativeReconfigure()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigurationManager.java30 import com.google.uwb.support.base.Params;
48 public int setAppConfigurations(int sessionId, Params params, String chipId, in setAppConfigurations()
91 public <T extends Params> Pair<Integer, T> getAppConfigurations(int sessionId, in getAppConfigurations()
106 public <T extends Params> Pair<Integer, T> getCapsInfo(String protocolName, in getCapsInfo()
119 public <T extends Params> Pair<Integer, T> decodeTLV(String protocolName, in decodeTLV()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/base/
DParams.java30 public abstract class Params { class
71 return obj instanceof Params && Arrays.equals(this.toBytes(), ((Params) obj).toBytes()); in equals()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DSyscalls.cpp28 template <typename FnT, typename... Params>
29 typename std::invoke_result<FnT, Params...>::type syscallRetry(FnT fn, Params&&... params) { in syscallRetry()
30 auto rv = fn(std::forward<Params>(params)...); in syscallRetry()
32 rv = fn(std::forward<Params>(params)...); in syscallRetry()
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DRadarEncoder.java32 import com.google.uwb.support.base.Params;
41 public TlvBuffer getTlvBuffer(Params param, ProtocolVersion protocolVersion) { in getTlvBuffer()
48 private TlvBuffer getTlvBufferFromRadarOpenSessionParams(Params baseParam) { in getTlvBufferFromRadarOpenSessionParams()
DCccEncoder.java30 import com.google.uwb.support.base.Params;
45 public TlvBuffer getTlvBuffer(Params param, ProtocolVersion protocolVersion) { in getTlvBuffer()
56 private TlvBuffer getTlvBufferFromCccOpenRangingParams(Params baseParam) { in getTlvBufferFromCccOpenRangingParams()
159 private TlvBuffer getTlvBufferFromCccRangingReconfiguredParams(Params baseParam) { in getTlvBufferFromCccRangingReconfiguredParams()
DTlvEncoder.java22 import com.google.uwb.support.base.Params;
51 public abstract TlvBuffer getTlvBuffer(Params param, ProtocolVersion protocolVersion); in getTlvBuffer()
DRadarDecoder.java22 import com.google.uwb.support.base.Params;
30 public <T extends Params> T getParams(TlvDecoderBuffer tlvs, Class<T> paramsType, in getParams()
DTlvDecoder.java22 import com.google.uwb.support.base.Params;
49 public abstract <T extends Params> T getParams(TlvDecoderBuffer tlvs, Class<T> paramType, in getParams()
/packages/modules/OnDevicePersonalization/framework/api/
Dcurrent.txt100 …ull android.adservices.ondevicepersonalization.FederatedComputeScheduler.Params, @NonNull android.…
103 public static class FederatedComputeScheduler.Params {
104 …ctor public FederatedComputeScheduler.Params(@NonNull android.adservices.ondevicepersonalization.T…
112 …method @NonNull public android.adservices.ondevicepersonalization.InferenceInput.Params getParams(…
116 …ilder(@NonNull android.adservices.ondevicepersonalization.InferenceInput.Params, @NonNull Object[]…
121 …Input.Builder setParams(@NonNull android.adservices.ondevicepersonalization.InferenceInput.Params);
124 public static class InferenceInput.Params {
134 public static final class InferenceInput.Params.Builder {
135 …ctor public InferenceInput.Params.Builder(@NonNull android.adservices.ondevicepersonalization.KeyV…
136 method @NonNull public android.adservices.ondevicepersonalization.InferenceInput.Params build();
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/generic/
DGenericParams.java24 import com.google.uwb.support.base.Params;
27 public abstract class GenericParams extends Params {
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionManagerTest.java131 import com.google.uwb.support.base.Params;
511 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_success_extendedMacAddress()
557 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_success_shortMacAddress()
608 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_success_multipleAdvertisers()
667 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_CheckPointedTarget_Failed()
746 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_incorrectRangingRoundUsage()
774 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_incorrectDeviceRole()
797 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_receivedDataNotCalled()
831 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_receivedDataDifferentMacAddress()
872 Params firaParams = setupFiraParams( in onRangeDataNotificationReceived_owrAoa_receivedDataDifferentUwbSession()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSet.java77 private final Params mParams;
112 public static final class Params { class in KeyboardLayoutSet
162 KeyboardLayoutSet(final Context context, @Nonnull final Params params) { in KeyboardLayoutSet()
262 private final Params mParams = new Params();
270 final Params params = mParams; in Builder()

123