Home
last modified time | relevance | path

Searched refs:ErrorPolicyManager (Results 1 – 7 of 7) sorted by relevance

/packages/services/Iwlan/src/com/google/android/iwlan/
DErrorPolicyManager.java57 public class ErrorPolicyManager { class
139 private static final 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()
486 private ErrorPolicyManager(Context context, int slotId) { in ErrorPolicyManager() method in ErrorPolicyManager
489 LOG_TAG = ErrorPolicyManager.class.getSimpleName() + "[" + slotId + "]"; in ErrorPolicyManager()
851 private static final String LOG_TAG = ErrorPolicyManager.class.getSimpleName();
DIwlanDataService.java1253 && ErrorPolicyManager.getInstance(mContext, getSlotIndex()) in shouldRetryWithInitialAttachForHandoverRequest()
1296 ErrorPolicyManager.getInstance(mContext, getSlotIndex()).dump(pw); in dump()
1469 ErrorPolicyManager.getInstance( in handleMessage()
1478 ErrorPolicyManager.getInstance( in handleMessage()
1505 ErrorPolicyManager.getInstance( in handleMessage()
1549 ErrorPolicyManager.getInstance( in handleMessage()
/packages/services/Iwlan/test/com/google/android/iwlan/
DErrorPolicyManagerTest.java135 private ErrorPolicyManager mErrorPolicyManager;
179 ErrorPolicyManager.resetAllInstances(); in setUp()
180 mErrorPolicyManager = spy(ErrorPolicyManager.getInstance(mMockContext, DEFAULT_SLOT_INDEX)); in setUp()
1418 mErrorPolicyManager = spy(ErrorPolicyManager.getInstance(mMockContext, DEFAULT_SLOT_INDEX)); in testShouldNotThrowWhenDefaultConfigInvalid()
DIwlanDataServiceTest.java143 @Mock private ErrorPolicyManager mMockErrorPolicyManager;
219 .mockStatic(ErrorPolicyManager.class) in setUp()
246 when(ErrorPolicyManager.getInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in setUp()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java64 import com.google.android.iwlan.ErrorPolicyManager;
120 @Mock private ErrorPolicyManager mMockErrorPolicyManager;
145 .mockStatic(ErrorPolicyManager.class) in setUp()
148 when(ErrorPolicyManager.getInstance(mMockContext, DEFAULT_SLOT_INDEX)) in setUp()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgSelector.java47 import com.google.android.iwlan.ErrorPolicyManager;
95 @NonNull private final ErrorPolicyManager mErrorPolicyManager;
171 mErrorPolicyManager = ErrorPolicyManager.getInstance(mContext, mSlotId); in EpdgSelector()
DEpdgTunnelManager.java81 import com.google.android.iwlan.ErrorPolicyManager;
3042 return ErrorPolicyManager.getInstance(mContext, mSlotId).reportIwlanError(apnName, error); in reportIwlanError()
3047 return ErrorPolicyManager.getInstance(mContext, mSlotId) in reportIwlanError()
3053 return ErrorPolicyManager.getInstance(mContext, mSlotId).getLastError(apnName); in getLastError()
3069 && !ErrorPolicyManager.getInstance(mContext, mSlotId).canBringUpTunnel(apnName)) { in canBringUpTunnel()