Searched refs:ErrorPolicyManager (Results 1 – 6 of 6) sorted by relevance
/packages/services/Iwlan/test/com/google/android/iwlan/ |
D | ErrorPolicyManagerTest.java | 58 private ErrorPolicyManager mErrorPolicyManager; 88 mErrorPolicyManager = spy(ErrorPolicyManager.getInstance(mMockContext, DEFAULT_SLOT_INDEX)); in setUp() 140 bundle.putString(ErrorPolicyManager.KEY_ERROR_POLICY_CONFIG_STRING, config); in testValidCarrierConfig() 211 bundle.putString(ErrorPolicyManager.KEY_ERROR_POLICY_CONFIG_STRING, config); in testInvalidCarrierConfig() 256 bundle.putString(ErrorPolicyManager.KEY_ERROR_POLICY_CONFIG_STRING, config); in testChoosingFallbackPolicy() 310 bundle.putString(ErrorPolicyManager.KEY_ERROR_POLICY_CONFIG_STRING, config); in testCanBringUpTunnel() 362 bundle.putString(ErrorPolicyManager.KEY_ERROR_POLICY_CONFIG_STRING, config); in testNoErrorScenario() 409 bundle.putString(ErrorPolicyManager.KEY_ERROR_POLICY_CONFIG_STRING, config); in testWifiDisableUnthrottle() 460 bundle.putString(ErrorPolicyManager.KEY_ERROR_POLICY_CONFIG_STRING, config); in testWFCDisableUnthrottle() 511 bundle.putString(ErrorPolicyManager.KEY_ERROR_POLICY_CONFIG_STRING, config); in testAPMUnthrottle() [all …]
|
D | IwlanDataServiceTest.java | 101 @Mock private ErrorPolicyManager mMockErrorPolicyManager; 170 .mockStatic(ErrorPolicyManager.class) in setUp() 490 when(ErrorPolicyManager.getInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testHandoverFailureModeNormal() 528 when(ErrorPolicyManager.getInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testHandoverFailureModeHandover() 734 when(ErrorPolicyManager.getInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in testIwlanTunnelStatsFailureCounts()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | ErrorPolicyManager.java | 57 public class ErrorPolicyManager { class 141 private static Map<Integer, ErrorPolicyManager> mInstances = new ConcurrentHashMap<>(); 177 public static ErrorPolicyManager getInstance(@NonNull Context context, int slotId) { in getInstance() 178 return mInstances.computeIfAbsent(slotId, k -> new ErrorPolicyManager(context, slotId)); in getInstance() 423 private ErrorPolicyManager(Context context, int slotId) { in ErrorPolicyManager() method in ErrorPolicyManager 426 LOG_TAG = ErrorPolicyManager.class.getSimpleName() + "[" + slotId + "]"; in ErrorPolicyManager()
|
D | IwlanDataService.java | 390 ErrorPolicyManager.getInstance(mContext, getSlotIndex()) in onClosed() 393 ErrorPolicyManager.getInstance(mContext, getSlotIndex()) in onClosed() 1115 ErrorPolicyManager.getInstance(mContext, getSlotIndex()).dump(fd, pw, args); in dump()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgTunnelManager.java | 69 import com.google.android.iwlan.ErrorPolicyManager; 1821 return ErrorPolicyManager.getInstance(mContext, mSlotId).reportIwlanError(apnName, error); in reportIwlanError() 1826 return ErrorPolicyManager.getInstance(mContext, mSlotId) in reportIwlanError() 1832 return ErrorPolicyManager.getInstance(mContext, mSlotId).getLastError(apnName); in getLastError() 1837 return ErrorPolicyManager.getInstance(mContext, mSlotId).canBringUpTunnel(apnName); in canBringUpTunnel()
|
/packages/services/Iwlan/assets/ |
D | defaultiwlanerrorconfig.json | 11 # String should match @ErrorPolicyErrorType in @ErrorPolicyManager
|