/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/ |
D | FailureType.java | 23 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];
|
D | FailureType.aidl | 20 parcelable FailureType;
|
D | PluginCallback.java | 34 void onFailure(FailureType failureType) throws RemoteException; in onFailure()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/ |
D | AttributionStatus.java | 88 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()
|
D | AttributionJobHandler.java | 197 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/ |
D | OnDevicePersonalizationPlugin.java | 29 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()
|
D | PluginProcessRunner.java | 32 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/ |
D | PluginControllerImpl.java | 24 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/ |
D | PluginTests.java | 31 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/ |
D | PluginExecutor.java | 24 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()
|
D | PluginExecutorService.java | 27 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()
|
D | CallbackConverter.java | 22 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 {
|
D | IPluginCallback.aidl | 21 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/ |
D | AdServicesLoggerImplTest.java | 655 .setFailureType(AttributionStatus.FailureType.UNKNOWN.getValue()) in testLogMeasurementAttributionStats() 673 .isEqualTo(AttributionStatus.FailureType.UNKNOWN.getValue()); in testLogMeasurementAttributionStats()
|
D | StatsdAdServicesLoggerTest.java | 669 .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/ |
D | AttributionJobHandlerTest.java | 6679 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()
|