/frameworks/base/core/java/com/android/internal/widget/ |
D | LockSettingsInternal.java | 61 long tokenHandle, byte[] token, int requestedQuality, int userId); in setLockCredentialWithToken() argument 63 public abstract boolean unlockUserWithToken(long tokenHandle, byte[] token, int userId); in unlockUserWithToken() argument
|
D | LockPatternUtils.java | 1813 long tokenHandle, byte[] token, int userId) { 1826 if (!localService.setLockCredentialWithToken(credential, type, tokenHandle, token, 1839 if (!localService.setLockCredentialWithToken(null, CREDENTIAL_TYPE_NONE, tokenHandle, 1865 public boolean unlockUserWithToken(long tokenHandle, byte[] token, int userId) { 1866 return getLockSettingsInternal().unlockUserWithToken(tokenHandle, token, userId);
|
/frameworks/native/services/bufferhub/ |
D | BufferHubService.cpp | 91 Return<void> BufferHubService::importBuffer(const hidl_handle& tokenHandle, in importBuffer() argument 93 if (!tokenHandle.getNativeHandle() || tokenHandle->numFds != 0 || tokenHandle->numInts <= 1) { in importBuffer() 100 int tokenId = tokenHandle->data[0]; in importBuffer() 117 if (tokenHandle->numInts - 1 != numIntsForHMAC) { in importBuffer() 120 tokenId, numIntsForHMAC, tokenHandle->numInts - 1); in importBuffer() 127 if (memcmp(tokenHMAC.data(), &tokenHandle->data[1], hmacSize) != 0) { in importBuffer()
|
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/ |
D | VtsHalBufferHubV1_0TargetTest.cpp | 272 native_handle_t* tokenHandle = native_handle_create(/*numFds=*/0, /*numInts=*/2); in TEST_F() local 273 tokenHandle->data[0] = 0; in TEST_F() 275 tokenHandle->data[1] = 42; in TEST_F() 277 hidl_handle invalidToken(tokenHandle); in TEST_F()
|
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 571 sp<NativeHandle> tokenHandle = mBufferHubBuffer->duplicate(); in flattenBufferHubBuffer() local 572 if (tokenHandle == nullptr || tokenHandle->handle() == nullptr || in flattenBufferHubBuffer() 573 tokenHandle->handle()->numFds != 0) { in flattenBufferHubBuffer() 579 int numIntsInToken = tokenHandle->handle()->numInts; in flattenBufferHubBuffer() 591 memcpy(buf + 2, tokenHandle->handle()->data, static_cast<size_t>(numIntsInToken) * sizeof(int)); in flattenBufferHubBuffer()
|
/frameworks/native/services/bufferhub/include/bufferhub/ |
D | BufferHubService.h | 49 Return<void> importBuffer(const hidl_handle& tokenHandle, importBuffer_cb _hidl_cb) override;
|
/frameworks/native/libs/ui/tests/ |
D | BufferHubBuffer_test.cpp | 239 sp<NativeHandle> tokenHandle = NativeHandle::create(token, /*ownHandle=*/true); in TEST_F() local 240 auto b1 = BufferHubBuffer::import(tokenHandle); in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 2899 private boolean setLockCredentialWithToken(byte[] credential, int type, long tokenHandle, in setLockCredentialWithToken() argument 2906 result = setLockCredentialWithTokenInternalLocked(credential, type, tokenHandle, token, in setLockCredentialWithToken() 2927 long tokenHandle, byte[] token, int requestedQuality, int userId) in setLockCredentialWithTokenInternalLocked() argument 2931 getGateKeeperService(), tokenHandle, token, userId); in setLockCredentialWithTokenInternalLocked() 2954 private boolean unlockUserWithToken(long tokenHandle, byte[] token, int userId) in unlockUserWithToken() argument 2962 tokenHandle, token, userId); in unlockUserWithToken() 3153 long tokenHandle, byte[] token, int requestedQuality, int userId) { in setLockCredentialWithToken() argument 3160 tokenHandle, token, requestedQuality, userId); in setLockCredentialWithToken() 3167 public boolean unlockUserWithToken(long tokenHandle, byte[] token, int userId) { in unlockUserWithToken() argument 3169 return LockSettingsService.this.unlockUserWithToken(tokenHandle, token, userId); in unlockUserWithToken()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 5105 private boolean resetPasswordInternal(String password, long tokenHandle, byte[] token, in resetPasswordInternal() argument 5213 quality, tokenHandle, token, userHandle); in resetPasswordInternal() 5217 quality, tokenHandle, token, userHandle); in resetPasswordInternal()
|