Home
last modified time | relevance | path

Searched refs:PIN (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericControllerTest.java129 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_Default()
139 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_QualityUnspecified()
149 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_QualitySomething()
159 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_QualityNumeric()
169 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_QualityNumericComplex()
179 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isFalse(); in isScreenLockEnabled_QualityAlphabetic()
189 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isFalse(); in isScreenLockEnabled_QualityComplex()
199 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isFalse(); in isScreenLockEnabled_QualityManaged()
210 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_NoneComplexity()
221 assertThat(mController.isScreenLockEnabled(ScreenLockType.PIN)).isTrue(); in isScreenLockEnabled_lowComplexity()
[all …]
DSetupChooseLockGenericTest.java155 assertThat(fragment.getBiometricsPreferenceTitle(ScreenLockType.PIN)).contains( in updatePreferenceTextShowScreenLockAndShowFaceAndShowFingerprint()
157 assertThat(fragment.getBiometricsPreferenceTitle(ScreenLockType.PIN)).contains( in updatePreferenceTextShowScreenLockAndShowFaceAndShowFingerprint()
181 assertThat(fragment.getBiometricsPreferenceTitle(ScreenLockType.PIN)).contains( in updatePreferenceTextShowScreenLockAndShowFingerprint()
183 assertThat(fragment.getBiometricsPreferenceTitle(ScreenLockType.PIN)).doesNotContain( in updatePreferenceTextShowScreenLockAndShowFingerprint()
DChooseLockGenericTest.java624 (String) mFragment.findPreference(ScreenLockType.PIN.preferenceKey).getTitle(); in updatePreferenceText_supportBiometrics_setScreenLockFingerprintFace_inOrder()
642 assertThat(mFragment.findPreference(ScreenLockType.PIN.preferenceKey).getTitle()).isEqualTo( in updatePreferenceText_supportFingerprint_showFingerprint()
660 assertThat(mFragment.findPreference(ScreenLockType.PIN.preferenceKey).getTitle()).isEqualTo( in updatePreferenceText_supportFace_showFace()
/packages/apps/Settings/tests/uitests/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollmentActivityTest.kt173 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
208 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
241 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
271 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
304 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
327 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
357 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
395 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
431 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
445 LockScreenUtil.setLockscreen(LockScreenUtil.LockscreenType.PIN, TEST_PIN, true) in <lambda>()
[all …]
/packages/apps/Car/Launcher/docklib-util/src/com/android/car/dockutil/events/
DDockEvent.java26 PIN("com.android.car.docklib.events.PIN"), enumConstant
48 } else if (PIN.toString().equals(str)) { in toDockEvent()
49 return PIN; in toDockEvent()
DDockEventSenderHelper.java56 sendEventBroadcast(DockEvent.PIN, taskInfo); in sendPinEvent()
63 sendEventBroadcast(DockEvent.PIN, componentName); in sendPinEvent()
/packages/apps/Settings/src/com/android/settings/password/
DScreenLockType.java36 PIN( enumConstant
86 return ScreenLockType.PIN; in fromQuality()
DChooseLockGenericController.java178 case PIN: in isScreenLockVisible()
224 case PIN: in getTitle()
DChooseLockGeneric.java632 findPreference(ScreenLockType.PIN.preferenceKey).setViewId(R.id.lock_pin); in addPreferences()
661 setPreferenceTitle(ScreenLockType.PIN, R.string.fingerprint_unlock_set_unlock_pin); in updatePreferenceText()
667 setPreferenceTitle(ScreenLockType.PIN, R.string.face_unlock_set_unlock_pin); in updatePreferenceText()
673 setPreferenceTitle(ScreenLockType.PIN, in updatePreferenceText()
674 getBiometricsPreferenceTitle(ScreenLockType.PIN)); in updatePreferenceText()
1041 case PIN: in setUnlockMethod()
DChooseLockSettingsHelper.java521 return Optional.of(KeyguardManager.PIN); in passwordQualityToLockTypes()
553 case KeyguardManager.PIN: in determineAppropriateActivityClass()
DSetupChooseLockPassword.java152 ScreenLockType.PASSWORD : ScreenLockType.PIN; in onLockTypeSelected()
DChooseLockTypeDialogFragment.java172 case PIN: in getIconForScreenLock()
/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DScreenLockTypeTest.java43 .isEqualTo(ScreenLockType.PIN); in fromQuality_shouldReturnLockWithAssociatedQuality()
45 .isEqualTo(ScreenLockType.PIN); in fromQuality_shouldReturnLockWithAssociatedQuality()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java72 private static final String PIN = "5678"; field in SupplicantP2pIfaceHalTest
335 when(mP2pIfaceHalAidlMock.connect(any(WifiP2pConfig.class), anyBoolean())).thenReturn(PIN); in testConnect()
336 assertEquals(PIN, mDut.connect(config, ENABLE)); in testConnect()
598 assertTrue(mDut.startWpsPinKeypad(IFACE_NAME, PIN)); in testStartWpsPinKeypad()
599 verify(mP2pIfaceHalAidlMock).startWpsPinKeypad(eq(IFACE_NAME), eq(PIN)); in testStartWpsPinKeypad()
608 when(mP2pIfaceHalAidlMock.startWpsPinDisplay(anyString(), anyString())).thenReturn(PIN); in testStartWpsPinDisplay()
609 assertEquals(PIN, mDut.startWpsPinDisplay(IFACE_NAME, BSSID)); in testStartWpsPinDisplay()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/events/
DDockEventsReceiver.java67 case PIN: in onReceive()
90 intentFilter.addAction(DockEvent.PIN.toString()); in registerDockReceiver()
/packages/apps/Settings/tests/uitests/src/com/android/settings/biometrics2/utils/
DLockScreenUtil.java61 case PIN: in setLockscreen()
109 PIN, enumConstant
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java91 LockConfig pinConfig = service.getLockConfig(LockTypes.PIN); in testGetLockConfig_returnsCorrectConfig()
124 int result = service.checkValidLock(LockTypes.PIN, "12a3".getBytes()); in testCheckValidLockPin_withLetters()
191 int result = service.setLock(LockTypes.PIN, password); in testSetLockPin_setsDevicePin()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java96 case LockTypes.PIN: in getLockConfig()
111 case LockTypes.PIN: in createLockscreenCredential()
/packages/apps/Car/Launcher/docklib-util/tests/src/com/android/car/dockutil/events/
DDockEventSenderHelperTest.java131 mDockEventSenderHelper.sendEventBroadcast(DockEvent.PIN, mRunningTaskInfo); in sendEventBroadcast_pinEvent_broadcastSent()
135 assertThat(intentSent.getAction()).isEqualTo(DockEvent.PIN.toString()); in sendEventBroadcast_pinEvent_broadcastSent()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUserManagerTest.java62 private static final int PIN = 2345; field in CarUserManagerTest
308 setUserLockCredentials(guestUserId, PIN); in testSecuredGuestUserResumeToSameUser()
316 clearUserLockCredentials(guestUserId, PIN); in testSecuredGuestUserResumeToSameUser()
/packages/apps/ManagedProvisioning/studio-dev/
DREADME.md93 import static com.example.myapplication.MainActivity.LockTypes.PIN;
98 PIN,
103 int PIN = 1;
112 LockTypes.PIN,
117 int PIN = 1;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java80 private static final String PIN = "5678"; field in SupplicantStaIfaceHalTest
851 assertTrue(mDut.startWpsPinKeypad(IFACE_NAME, PIN)); in testStartWpsPinKeypad()
852 verify(mStaIfaceHalAidlMock).startWpsPinKeypad(eq(IFACE_NAME), eq(PIN)); in testStartWpsPinKeypad()
861 when(mStaIfaceHalAidlMock.startWpsPinDisplay(anyString(), anyString())).thenReturn(PIN); in testStartWpsPinDisplay()
862 assertEquals(PIN, mDut.startWpsPinDisplay(IFACE_NAME, BSSID)); in testStartWpsPinDisplay()
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto173 // Voicemail status has updated in the voicemail tab and the change PIN
177 // User has clicked the change PIN action in the voicemail tab
263 // The use has clicked the decline ToS button but the PIN has been
264 // randomized. A dialog to instruct the user to set the PIN has been shown
/packages/modules/Bluetooth/system/blueberry/facade/security/
Dfacade.proto70 PIN = 3; enumerator
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskOverlayFactory.java112 TaskShortcutFactory.PIN,

12