Home
last modified time | relevance | path

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

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DProvisionInfo.java30 @IntDef(value = {ProvisionInfoType.REGULAR, ProvisionInfoType.TERMS_AND_CONDITIONS,
31 ProvisionInfoType.SUPPORT})
32 public @interface ProvisionInfoType { annotation in ProvisionInfo
41 @ProvisionInfoType
49 public ProvisionInfo(int drawableId, int textId, @ProvisionInfoType int type) { in ProvisionInfo()
63 @ProvisionInfoType
DDeviceFinancingProvisionInfoViewModel.java22 import com.android.devicelockcontroller.activities.ProvisionInfo.ProvisionInfoType;
38 ProvisionInfoType.REGULAR),
41 ProvisionInfoType.TERMS_AND_CONDITIONS),
44 ProvisionInfoType.SUPPORT)};
DDeviceSubsidyProvisionInfoViewModel.java34 ProvisionInfo.ProvisionInfoType.REGULAR),
37 ProvisionInfo.ProvisionInfoType.TERMS_AND_CONDITIONS),
40 ProvisionInfo.ProvisionInfoType.SUPPORT)};
DProvisionInfoViewModel.java75 case ProvisionInfo.ProvisionInfoType.REGULAR -> provisionInfo.setUrl( in retrieveData()
77 case ProvisionInfo.ProvisionInfoType.TERMS_AND_CONDITIONS -> in retrieveData()
79 case ProvisionInfo.ProvisionInfoType.SUPPORT -> provisionInfo.setUrl( in retrieveData()
DProvisionInfoListAdapter.java32 import com.android.devicelockcontroller.activities.ProvisionInfo.ProvisionInfoType;
99 } else if (provisionInfo.getType() == ProvisionInfoType.REGULAR) { in bindProvisionInfo()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DProvisionInfoListAdapterTest.java35 import com.android.devicelockcontroller.activities.ProvisionInfo.ProvisionInfoType;
87 assume().that(regularInfo.getType()).isEqualTo(ProvisionInfoType.REGULAR); in onBindViewHolder_regularView_noProviderName_setEmptyText()
101 assume().that(regularInfo.getType()).isEqualTo(ProvisionInfoType.REGULAR); in onBindViewHolder_regularView_providerNameAvailable_setText()
119 assume().that(urlProvisionInfo.getType()).isNotEqualTo(ProvisionInfoType.REGULAR); in onBindViewHolder_urlProvisionInfo_urlNotAvailable_setTextWithEmptyUrl()
138 assume().that(urlProvisionInfo.getType()).isNotEqualTo(ProvisionInfoType.REGULAR); in onBindViewHolder_urlProvisionInfo_urlAvailable_setTextWithUrl()
DProvisionInfoTest.java21 import com.android.devicelockcontroller.activities.ProvisionInfo.ProvisionInfoType;
34 private static final int TYPE_1 = ProvisionInfoType.REGULAR;
35 private static final int TYPE_2 = ProvisionInfoType.TERMS_AND_CONDITIONS;