Home
last modified time | relevance | path

Searched refs:pin (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/rs/toolkit/
DConvolve5x5.cpp42 void convolveU4(const uchar* pin, uchar* pout, size_t vectorSize, size_t sizeX, size_t sizeY,
199 const uchar* pin = (const uchar*)info->in; in kernelF4() local
208 const float4* py0 = (const float4*)(pin + stride * y0); in kernelF4()
209 const float4* py1 = (const float4*)(pin + stride * y1); in kernelF4()
210 const float4* py2 = (const float4*)(pin + stride * y2); in kernelF4()
211 const float4* py3 = (const float4*)(pin + stride * y3); in kernelF4()
212 const float4* py4 = (const float4*)(pin + stride * y4); in kernelF4()
221 const uchar* pin = (const uchar*)info->in; in RsdCpuScriptIntrinsicConvolve5x5_kernelF2() local
230 const float2* py0 = (const float2*)(pin + stride * y0); in RsdCpuScriptIntrinsicConvolve5x5_kernelF2()
231 const float2* py1 = (const float2*)(pin + stride * y1); in RsdCpuScriptIntrinsicConvolve5x5_kernelF2()
[all …]
DConvolve3x3.cpp41 void convolveU4(const uchar* pin, uchar* pout, size_t vectorSize, size_t sizeX, size_t sizeY,
174 const uchar* pin = (const uchar*)in; in RsdCpuScriptIntrinsicConvolve3x3_kernelF() local
179 const T* py0 = (const T*)(pin + stride * y2); in RsdCpuScriptIntrinsicConvolve3x3_kernelF()
180 const T* py1 = (const T*)(pin + stride * currentY); in RsdCpuScriptIntrinsicConvolve3x3_kernelF()
181 const T* py2 = (const T*)(pin + stride * y1); in RsdCpuScriptIntrinsicConvolve3x3_kernelF()
190 static void convolveU(const uchar* pin, uchar* pout, size_t vectorSize, size_t sizeX, size_t sizeY, in convolveU() argument
199 InputOutputType* py0 = (InputOutputType*)(pin + stride * y2); in convolveU()
200 InputOutputType* py1 = (InputOutputType*)(pin + stride * y); in convolveU()
201 InputOutputType* py2 = (InputOutputType*)(pin + stride * y1); in convolveU()
208 void Convolve3x3Task::convolveU4(const uchar* pin, uchar* pout, size_t vectorSize, size_t sizeX, in convolveU4() argument
[all …]
DResize.cpp351 const uchar *pin = mIn; in kernelU4() local
373 const uchar4 *yp0 = (const uchar4 *)(pin + stride * ys0); in kernelU4()
374 const uchar4 *yp1 = (const uchar4 *)(pin + stride * ys1); in kernelU4()
375 const uchar4 *yp2 = (const uchar4 *)(pin + stride * ys2); in kernelU4()
376 const uchar4 *yp3 = (const uchar4 *)(pin + stride * ys3); in kernelU4()
423 const uchar *pin = mIn; in kernelU2() local
444 const uchar2 *yp0 = (const uchar2 *)(pin + stride * ys0); in kernelU2()
445 const uchar2 *yp1 = (const uchar2 *)(pin + stride * ys1); in kernelU2()
446 const uchar2 *yp2 = (const uchar2 *)(pin + stride * ys2); in kernelU2()
447 const uchar2 *yp3 = (const uchar2 *)(pin + stride * ys3); in kernelU2()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPinBouncerViewModelTest.kt88 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>() constant
91 assertThat(pin).isEmpty() in <lambda>()
146 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>() constant
151 assertThat(pin).containsExactly(1) in <lambda>()
157 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>() constant
161 assertThat(pin).hasSize(1) in <lambda>()
165 assertThat(pin).isEmpty() in <lambda>()
171 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>() constant
182 assertThat(pin).containsExactly(1, 4, 5).inOrder() in <lambda>()
189 val pin by collectLastValue(underTest.pinInput.map { it.getPin() }) in <lambda>() constant
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java55 LockscreenCredential pin = LockscreenCredential.createPin("3456"); in testPinCredential() local
57 assertTrue(pin.isPin()); in testPinCredential()
58 assertEquals(4, pin.size()); in testPinCredential()
59 assertArrayEquals("3456".getBytes(), pin.getCredential()); in testPinCredential()
61 assertFalse(pin.isNone()); in testPinCredential()
62 assertFalse(pin.isPassword()); in testPinCredential()
63 assertFalse(pin.isPattern()); in testPinCredential()
64 assertFalse(pin.hasInvalidChars()); in testPinCredential()
65 pin.validateBasicRequirements(); in testPinCredential()
162 LockscreenCredential pin = LockscreenCredential.createPin("\n\n\n\n"); in testPinWithInvalidChars() local
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve5x5.cpp351 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() local
360 const uchar4 *py0 = (const uchar4 *)(pin + stride * y0); in kernelU4()
361 const uchar4 *py1 = (const uchar4 *)(pin + stride * y1); in kernelU4()
362 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2); in kernelU4()
363 const uchar4 *py3 = (const uchar4 *)(pin + stride * y3); in kernelU4()
364 const uchar4 *py4 = (const uchar4 *)(pin + stride * y4); in kernelU4()
411 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU2() local
420 const uchar2 *py0 = (const uchar2 *)(pin + stride * y0); in kernelU2()
421 const uchar2 *py1 = (const uchar2 *)(pin + stride * y1); in kernelU2()
422 const uchar2 *py2 = (const uchar2 *)(pin + stride * y2); in kernelU2()
[all …]
DrsCpuIntrinsicConvolve3x3.cpp188 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() local
193 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2); in kernelU4()
194 const uchar4 *py1 = (const uchar4 *)(pin + stride * info->current.y); in kernelU4()
195 const uchar4 *py2 = (const uchar4 *)(pin + stride * y1); in kernelU4()
235 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2() local
240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); in kernelU2()
241 const uchar2 *py1 = (const uchar2 *)(pin + stride * info->current.y); in kernelU2()
242 const uchar2 *py2 = (const uchar2 *)(pin + stride * y1); in kernelU2()
280 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1() local
285 const uchar *py0 = (const uchar *)(pin + stride * y2); in kernelU1()
[all …]
DrsCpuIntrinsicResize.cpp330 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() local
351 const uchar4 *yp0 = (const uchar4 *)(pin + stride * ys0); in kernelU4()
352 const uchar4 *yp1 = (const uchar4 *)(pin + stride * ys1); in kernelU4()
353 const uchar4 *yp2 = (const uchar4 *)(pin + stride * ys2); in kernelU4()
354 const uchar4 *yp3 = (const uchar4 *)(pin + stride * ys3); in kernelU4()
408 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2() local
428 const uchar2 *yp0 = (const uchar2 *)(pin + stride * ys0); in kernelU2()
429 const uchar2 *yp1 = (const uchar2 *)(pin + stride * ys1); in kernelU2()
430 const uchar2 *yp2 = (const uchar2 *)(pin + stride * ys2); in kernelU2()
431 const uchar2 *yp3 = (const uchar2 *)(pin + stride * ys3); in kernelU2()
[all …]
DrsCpuIntrinsicBlur.cpp158 extern void rsdIntrinsicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rc…
159 extern void rsdIntrinsicBlurHFU4_K(void *dst, const void *pin, const void *gptr, int rct, int x1, i…
160 extern void rsdIntrinsicBlurHFU1_K(void *dst, const void *pin, const void *gptr, int rct, int x1, i…
300 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() local
309 rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * info->current.y), in kernelU4()
328 const uchar *pi = pin + (y - cp->mIradius) * stride; in kernelU4()
333 OneVU4(info, fout, x1, y, pin, stride, cp->mFp, cp->mIradius); in kernelU4()
371 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1() local
384 rsdIntrinsicBlurU1_K(out, pin + stride * info->current.y, info->dim.x, info->dim.y, in kernelU1()
394 const uchar *pi = pin + (y - cp->mIradius) * stride; in kernelU1()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DPinPadViewBinder.kt43 val pin = LockscreenCredential.createPinOrNone(passwordField.text) in bind() constant
44 if (pin.size() > 0) { in bind()
50 pin.zeroize() in bind()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java110 mPinnedSliceManager.pin("pkg", FIRST_SPECS, mToken); in testSendPinnedOnPin()
124 mPinnedSliceManager.pin("pkg", FIRST_SPECS, mToken); in testPkgPin()
136 mPinnedSliceManager.pin("pkg", FIRST_SPECS, mToken); in testMultiPkgPin()
138 mPinnedSliceManager.pin("pkg2", FIRST_SPECS, t2); in testMultiPkgPin()
153 mPinnedSliceManager.pin(mContext.getPackageName(), FIRST_SPECS, binder); in testListenerDeath()
177 mPinnedSliceManager.pin("pkg", FIRST_SPECS, mToken); in testPinFailed()
/frameworks/base/media/java/android/media/
DMetadata.java398 final int pin = parcel.dataPosition(); // to roll back in case of errors. in parse() local
403 Log.e(TAG, "Bad size " + size + " avail " + parcel.dataAvail() + " position " + pin); in parse()
404 parcel.setDataPosition(pin); in parse()
412 parcel.setDataPosition(pin); in parse()
418 parcel.setDataPosition(pin); in parse()
/frameworks/base/core/java/android/security/net/config/
DPinSet.java41 for (Pin pin : pins) { in getPinAlgorithms()
42 algorithms.add(pin.digestAlgorithm); in getPinAlgorithms()
/frameworks/base/core/jni/
Dandroid_os_MemoryFile.cpp30 jboolean pin) { in android_os_MemoryFile_pin() argument
32 int result = (pin ? ashmem_pin_region(fd, 0, 0) : ashmem_unpin_region(fd, 0, 0)); in android_os_MemoryFile_pin()
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java272 PasswordMetrics pin = new PasswordMetrics(CREDENTIAL_TYPE_PIN); in testValidatePasswordMetrics_credentialTypes() local
276 pin.length = 4; in testValidatePasswordMetrics_credentialTypes()
286 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, pin)); in testValidatePasswordMetrics_credentialTypes()
294 validatePasswordMetrics(pin, PASSWORD_COMPLEXITY_NONE, pin)); in testValidatePasswordMetrics_credentialTypes()
307 validatePasswordMetrics(password, PASSWORD_COMPLEXITY_NONE, pin), in testValidatePasswordMetrics_credentialTypes()
413 private static PasswordMetrics metricsForPin(String pin) { in metricsForPin() argument
414 return PasswordMetrics.computeForCredential(LockscreenCredential.createPin(pin)); in metricsForPin()
/frameworks/base/core/java/com/android/internal/widget/
DLockscreenCredential.java150 public static LockscreenCredential createPin(@NonNull CharSequence pin) { in createPin() argument
151 return new LockscreenCredential(CREDENTIAL_TYPE_PIN, pin); in createPin()
170 public static LockscreenCredential createPinOrNone(@Nullable CharSequence pin) { in createPinOrNone() argument
171 if (TextUtils.isEmpty(pin)) { in createPinOrNone()
174 return createPin(pin); in createPinOrNone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DPinStorage.java222 public synchronized void storePin(String pin, int slotId) { in storePin() argument
225 if (!validatePin(pin) || !validateIccid(iccid) || !validateSlotId(slotId)) { in storePin()
240 storedPin.pin = pin; in storePin()
284 return storedPin.pin; in getPin()
888 String pin = getPin(slotId, getIccid(slotId)); in verifyPendingPin() local
889 if (pin.isEmpty()) { in verifyPendingPin()
900 profile.supplyPin(pin, onComplete); in verifyPendingPin()
950 private boolean validatePin(String pin) { in validatePin() argument
951 return pin != null && pin.length() >= MIN_PIN_LENGTH && pin.length() <= MAX_PIN_LENGTH; in validatePin()
DUiccCardApplication.java726 public void supplyPin (String pin, Message onComplete) { in supplyPin() argument
728 mCi.supplyIccPinForApp(pin, mAid, mHandler.obtainMessage(EVENT_PIN1_PUK1_DONE, in supplyPin()
776 public void supplyNetworkDepersonalization (String pin, Message onComplete) { in supplyNetworkDepersonalization() argument
779 mCi.supplyNetworkDepersonalization(pin, onComplete); in supplyNetworkDepersonalization()
784 String pin, Message onComplete) { in supplySimDepersonalization() argument
787 mCi.supplySimDepersonalization(persoType, pin, onComplete); in supplySimDepersonalization()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccCard.java108 public void supplyPin(String pin, Message onComplete) { in supplyPin() argument
138 public void supplyNetworkDepersonalization(String pin, Message onComplete) { in supplyNetworkDepersonalization() argument
DRadioSimProxy.java716 public void supplyIccPinForApp(int serial, String pin, String aid) throws RemoteException { in supplyIccPinForApp() argument
719 mSimProxy.supplyIccPinForApp(serial, pin, aid); in supplyIccPinForApp()
721 mRadioProxy.supplyIccPinForApp(serial, pin, aid); in supplyIccPinForApp()
751 public void supplyIccPukForApp(int serial, String puk, String pin, String aid) in supplyIccPukForApp() argument
755 mSimProxy.supplyIccPukForApp(serial, puk, pin, aid); in supplyIccPukForApp()
757 mRadioProxy.supplyIccPukForApp(serial, puk, pin, aid); in supplyIccPukForApp()
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DInitialLockSetupClient.java153 public void checkValidPin(byte[] pin) { in checkValidPin() argument
161 mCurrentValidateLockTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, pin); in checkValidPin()
199 public void saveLockPin(byte[] pin) { in saveLockPin() argument
209 mCurrentSaveLockTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, pin); in saveLockPin()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java263 final LockscreenCredential pin = LockscreenCredential.createPin(mNew); in runSetPin() local
264 if (!isNewCredentialSufficient(pin)) { in runSetPin()
267 mLockPatternUtils.setLockCredential(pin, getOldCredential(), mCurrentUserId); in runSetPin()
/frameworks/native/libs/binder/rust/src/
Dbinder_async.rs18 use std::pin::Pin;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimulatedCommands.java241 public void supplyIccPin(String pin, Message result) { in supplyIccPin() argument
251 if (pin != null && pin.equals(mPinCode)) { in supplyIccPin()
438 public void queryFacilityLock(String facility, String pin, in queryFacilityLock() argument
440 queryFacilityLockForApp(facility, pin, serviceClass, null, result); in queryFacilityLock()
444 public void queryFacilityLockForApp(String facility, String pin, int serviceClass, in queryFacilityLockForApp() argument
470 public void setFacilityLock(String facility, boolean lockEnabled, String pin, int serviceClass, in setFacilityLock() argument
472 setFacilityLockForApp(facility, lockEnabled, pin, serviceClass, null, result); in setFacilityLock()
477 String pin, int serviceClass, String appId, in setFacilityLockForApp() argument
481 if (pin != null && pin.equals(mPinCode)) { in setFacilityLockForApp()
499 if (pin != null && pin.equals(mPin2Code)) { in setFacilityLockForApp()
[all …]
/frameworks/native/libs/binder/rust/binder_tokio/
Dlib.rs139 Box::pin(after_spawn(result)) in spawn()
142 Box::pin(async move { in spawn()

123