Home
last modified time | relevance | path

Searched refs:FailureType (Results 1 – 16 of 16) sorted by relevance

/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/
DFailureType.java23 public enum FailureType implements Parcelable { enum
29 public static final Creator<FailureType> CREATOR =
30 new Creator<FailureType>() {
32 public FailureType createFromParcel(Parcel in) {
33 return FailureType.values()[in.readInt()];
37 public FailureType[] newArray(int size) {
38 return new FailureType[size];
DFailureType.aidl20 parcelable FailureType;
DPluginCallback.java34 void onFailure(FailureType failureType) throws RemoteException; in onFailure()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionStatus.java88 public enum FailureType { enum in AttributionStatus
101 FailureType(int value) { in FailureType() method in AttributionStatus.FailureType
113 private FailureType mFailureType;
128 mFailureType = FailureType.UNKNOWN; in AttributionStatus()
205 public FailureType getFailureType() { in getFailureType()
210 public void setFailureType(FailureType failureType) { in setFailureType()
217 setFailureType(FailureType.TRIGGER_IGNORED); in setFailureTypeFromTriggerStatus()
219 setFailureType(FailureType.TRIGGER_ALREADY_ATTRIBUTED); in setFailureTypeFromTriggerStatus()
221 setFailureType(FailureType.TRIGGER_MARKED_FOR_DELETION); in setFailureTypeFromTriggerStatus()
DAttributionJobHandler.java197 AttributionStatus.FailureType.TRIGGER_NOT_FOUND); in performAttribution()
215 AttributionStatus.FailureType.TRIGGER_IGNORED); in performAttribution()
243 AttributionStatus.FailureType.NO_MATCHING_SOURCE); in performAttribution()
284 AttributionStatus.FailureType.TOP_LEVEL_FILTER_MATCH_FAILURE); in performAttribution()
314 AttributionStatus.FailureType.RATE_LIMIT_EXCEEDED); in performAttribution()
362 AttributionStatus.FailureType.NO_REPORTS_GENERATED); in performAttribution()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/process/
DOnDevicePersonalizationPlugin.java29 import com.android.ondevicepersonalization.libraries.plugin.FailureType;
62 sendErrorResult(FailureType.ERROR_EXECUTING_PLUGIN); in onExecute()
69 sendErrorResult(FailureType.ERROR_EXECUTING_PLUGIN); in onExecute()
77 sendErrorResult(FailureType.ERROR_EXECUTING_PLUGIN); in onExecute()
101 mPluginCallback.onFailure(FailureType.ERROR_EXECUTING_PLUGIN); in onExecute()
111 sendErrorResult(FailureType.ERROR_EXECUTING_PLUGIN); in onExecute()
115 private void sendErrorResult(FailureType failure) { in sendErrorResult()
DPluginProcessRunner.java32 import com.android.ondevicepersonalization.libraries.plugin.FailureType;
171 @Override public void onFailure(FailureType failure) { in loadPlugin()
195 @Override public void onFailure(FailureType failure) {
219 @Override public void onFailure(FailureType failure) {
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/impl/
DPluginControllerImpl.java24 import com.android.ondevicepersonalization.libraries.plugin.FailureType;
91 callback.onFailure(FailureType.ERROR_LOADING_PLUGIN); in load()
106 callback.onFailure(FailureType.ERROR_LOADING_PLUGIN); in load()
115 callback.onFailure(FailureType.ERROR_UNLOADING_PLUGIN); in unload()
125 callback.onFailure(FailureType.ERROR_UNLOADING_PLUGIN); in unload()
134 callback.onFailure(FailureType.ERROR_EXECUTING_PLUGIN); in execute()
143 callback.onFailure(FailureType.ERROR_EXECUTING_PLUGIN); in execute()
/packages/modules/OnDevicePersonalization/tests/plugintests/src/com/android/ondevicepersonalization/libraries/plugin/
DPluginTests.java31 FailureType ft = FailureType.ERROR_LOADING_PLUGIN; in testFailureType()
36 FailureType ft2 = FailureType.CREATOR.createFromParcel(parcel); in testFailureType()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginExecutor.java24 import com.android.ondevicepersonalization.libraries.plugin.FailureType;
85 callback.onFailure(FailureType.ERROR_LOADING_PLUGIN); in load()
108 callback.onFailure(FailureType.ERROR_EXECUTING_PLUGIN); in execute()
123 callback.onFailure(FailureType.ERROR_UNLOADING_PLUGIN); in unload()
130 callback.onFailure(FailureType.ERROR_UNLOADING_PLUGIN); in unload()
DPluginExecutorService.java27 import com.android.ondevicepersonalization.libraries.plugin.FailureType;
92 pluginCallback.onFailure(FailureType.ERROR_LOADING_PLUGIN); in onBind()
111 pluginCallback.onFailure(FailureType.ERROR_EXECUTING_PLUGIN); in onBind()
126 pluginCallback.onFailure(FailureType.ERROR_UNLOADING_PLUGIN); in onBind()
DCallbackConverter.java22 import com.android.ondevicepersonalization.libraries.plugin.FailureType;
42 public void onFailure(FailureType failureType) throws RemoteException { in toIPluginCallback()
57 public void onFailure(FailureType failureType) throws RemoteException {
DIPluginCallback.aidl21 import com.android.ondevicepersonalization.libraries.plugin.FailureType;
36 void onFailure(in FailureType failureType); in onFailure()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DAdServicesLoggerImplTest.java655 .setFailureType(AttributionStatus.FailureType.UNKNOWN.getValue()) in testLogMeasurementAttributionStats()
673 .isEqualTo(AttributionStatus.FailureType.UNKNOWN.getValue()); in testLogMeasurementAttributionStats()
DStatsdAdServicesLoggerTest.java669 .setFailureType(AttributionStatus.FailureType.UNKNOWN.getValue()) in logMeasurementAttribution_success()
711 eq(AttributionStatus.FailureType.UNKNOWN.getValue()), in logMeasurementAttribution_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java6679 AttributionStatus.FailureType.TRIGGER_NOT_FOUND.getValue());
6719 AttributionStatus.FailureType.TOP_LEVEL_FILTER_MATCH_FAILURE.getValue(),
7660 AttributionStatus.FailureType.TRIGGER_IGNORED.getValue(), in performAttribution_triggerNoAggrDataNoEventTriggerData_returnAndIgnoreTrigger()
7696 AttributionStatus.FailureType.NO_MATCHING_SOURCE.getValue(), in testNullAggregateReport_noSource()
7752 AttributionStatus.FailureType.TOP_LEVEL_FILTER_MATCH_FAILURE.getValue(), in testNullAggregateReports_topLevelFiltersDontMatch()
8014 AttributionStatus.FailureType.NO_MATCHING_SOURCE.getValue(), in testNullAggregateReports_NullOrEmptyTriggerAggregatableData()