Searched defs:handle (Results 201 - 225 of 253) sorted by relevance

1234567891011

/frameworks/base/services/core/java/com/android/server/
H A DSyntheticPasswordManager.java48 * The SP has an associated password handle, which binds to the SID for that user. The password
49 * handle is persisted by SyntheticPasswordManager internally.
54 * SP_HANDLE_NAME: GateKeeper password handle of synthetic password. Only available if user
59 * for each SP blob under the user (stored under the corresponding handle):
70 private static final String SP_HANDLE_NAME = "handle";
218 public int getCredentialType(long handle, int userId) { argument
219 byte[] passwordData = loadState(PASSWORD_DATA_NAME, handle, userId);
237 * (the corresponding synthetic password handle is persisted by SyntheticPasswordManager
241 * SyntheticPasswordManager will nuke any SP handle previously persisted. In this case,
270 * Enroll a new password handle an
389 removePendingToken(long handle, int userId) argument
396 activateTokenBasedSyntheticPassword(long handle, AuthenticationToken authToken, int userId) argument
415 createSyntheticPasswordBlob(long handle, byte type, AuthenticationToken authToken, byte[] applicationId, long sid, int userId) argument
436 unwrapPasswordBasedSyntheticPassword(IGateKeeperService gatekeeper, long handle, String credential, int userId) argument
486 unwrapTokenBasedSyntheticPassword( IGateKeeperService gatekeeper, long handle, byte[] token, int userId) argument
507 unwrapSyntheticPasswordBlob(long handle, byte type, byte[] applicationId, int userId) argument
581 existsHandle(long handle, int userId) argument
585 destroyTokenBasedSyntheticPassword(long handle, int userId) argument
590 destroyPasswordBasedSyntheticPassword(long handle, int userId) argument
596 destroySyntheticPassword(long handle, int userId) argument
610 createSecdiscardable(long handle, int userId) argument
616 loadSecdiscardable(long handle, int userId) argument
620 hasState(String stateName, long handle, int userId) argument
624 loadState(String stateName, long handle, int userId) argument
628 saveState(String stateName, byte[] data, long handle, int userId) argument
632 destroyState(String stateName, long handle, int userId) argument
670 getHandleName(long handle) argument
683 sidFromPasswordHandle(byte[] handle) argument
691 nativeSidFromPasswordHandle(byte[] handle) argument
[all...]
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java234 public boolean removeEscrowToken(long handle, int userId) { argument
235 return mLockPatternUtils.removeEscrowToken(handle, userId);
238 public boolean isEscrowTokenActive(long handle, int userId) { argument
239 return mLockPatternUtils.isEscrowTokenActive(handle, userId);
242 public void unlockUserWithToken(long handle, byte[] token, int userId) { argument
243 mLockPatternUtils.unlockUserWithToken(handle, token, userId);
252 Log.e(TAG, "refreshAgentList(userId=" + userIdOrAll + "): Invalid user handle,"
406 Log.e(TAG, "refreshDeviceLockedForUser(userId=" + userId + "): Invalid user handle,"
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowSurfaceController.java75 // However, we need to somehow handle the situation where the cropping would completely hide
464 void deferTransactionUntil(IBinder handle, long frame) { argument
466 mSurfaceControl.deferTransactionUntil(handle, frame);
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerHelper.java304 int[] handle = new int[] { INVALID_VALUE };
305 int status = mModule.loadSoundModel(soundModel, handle);
310 if (handle[0] == INVALID_VALUE) {
311 Slog.w(TAG, "loadSoundModel call returned invalid sound model handle");
314 modelData.setHandle(handle[0]);
316 Slog.d(TAG, "Sound model loaded with handle:" + handle[0]);
603 Slog.w(TAG, "Generic recognition event: Model does not exist for handle: " +
610 Slog.w(TAG, "Generic recognition event: Null callback for model handle: " +
627 Slog.w(TAG, "Generic recognition event: Null RecognitionConfig for model handle
1224 setHandle(int handle) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DTelecomManager.java224 * The extra used by a {@link ConnectionService} to provide the handle of the caller that
680 * @return The phone account handle of the current sim call manager.
698 * @return The phone account handle of the current sim call manager.
718 * @return The phone account handle of the current connection manager.
1072 * @param accountHandle The handle for the account to check the voicemail number against
1093 * @param accountHandle The handle for the phone account.
1115 * @param accountHandle The handle for the account retrieve a number for.
1451 * @param accountHandle The handle for the account the MMI code should apply to.
1472 * @param accountHandle The handle for the account to derive an adn query URI for or
1591 * @param handle Handl
1597 enablePhoneAccount(PhoneAccountHandle handle, boolean isEnabled) argument
[all...]
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp124 if (btd->target.handle < 1024) {
126 out << "target.desc=" << btd->target.handle;
256 out << ": handle=" << h << " (death cookie " << (void*)(long)c << ")";
559 status_t IPCThreadState::transact(int32_t handle, argument
570 << handle << " / code " << TypeCode(code) << ": "
577 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL);
610 << handle << ": ";
621 void IPCThreadState::incStrongHandle(int32_t handle) argument
623 LOG_REMOTEREFS("IPCThreadState::incStrongHandle(%d)\n", handle);
625 mOut.writeInt32(handle);
628 decStrongHandle(int32_t handle) argument
635 incWeakHandle(int32_t handle) argument
642 decWeakHandle(int32_t handle) argument
649 attemptIncStrongHandle(int32_t handle) argument
673 expungeHandle(int32_t handle, IBinder* binder) argument
681 requestDeathNotification(int32_t handle, BpBinder* proxy) argument
689 clearDeathNotification(int32_t handle, BpBinder* proxy) argument
914 writeTransactionData(int32_t cmd, uint32_t binderFlags, int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) argument
[all...]
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp41 * \brief Take an fd and create a native handle containing only the given fd.
42 * The created handle will need to be deleted manually with
47 * supplied \p fd is negative, the created native handle will contain no file
50 * If the native handle cannot be created, the return value will be
68 * \brief Extract a file descriptor from a native handle.
131 t->nativeHandle = hidl_handle(l.handle);
145 native_handle_t* handle = t.nativeHandle == nullptr ? local
149 static_cast<size_t>(handle ? handle->numInts : 0);
152 size_t numFds = static_cast<size_t>(handle
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp282 int handle = s->getSensor().getHandle(); local
284 if (mSensors.add(handle, s, isDebug, isVirtual)){
285 mRecentEvent.emplace(handle, new RecentEventLogger(type));
296 bool SensorService::unregisterDynamicSensorLocked(int handle) { argument
297 bool ret = mSensors.remove(handle);
299 const auto i = mRecentEvent.find(handle);
426 int handle = mActiveSensors.keyAt(i); local
427 result.appendFormat("%s (handle=0x%08x, connections=%zu)\n",
428 getSensorName(handle).string(),
429 handle,
494 int handle = buffer[i].sensor; local
637 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; local
661 int handle = mSensorEventBuffer[i].dynamic_sensor_meta.handle; local
798 int handle = event.sensor; local
1133 int handle = mActiveSensors.keyAt(i); local
1183 enable(const sp<SensorEventConnection>& connection, int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags, const String16& opPackageName) argument
1310 disable(const sp<SensorEventConnection>& connection, int handle) argument
1329 cleanupWithoutDisable( const sp<SensorEventConnection>& connection, int handle) argument
1335 cleanupWithoutDisableLocked( const sp<SensorEventConnection>& connection, int handle) argument
1358 setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns, const String16& opPackageName) argument
1389 const int handle = connection->mSensorInfo.keyAt(i); local
[all...]
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.cpp44 const native_handle_t* handle,
47 handle, GraphicBuffer::CLONE_HANDLE, metadata.width, metadata.height,
88 bool HwcDisplay::SetClientTarget(const native_handle_t* handle, argument
90 if (handle)
91 buffer_ = CreateGraphicBuffer(handle, buffer_metadata_);
43 CreateGraphicBuffer( const native_handle_t* handle, const IVrComposerClient::BufferMetadata& metadata) argument
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java128 * <code>obj</code> contains handle of message as allocated by MSE
419 String handle = req.getMsgHandle();
421 client.sendToClient(EVENT_PUSH_MESSAGE, request.isSuccess(), handle);
956 * @param handle handle of message to retrieve
965 public boolean getMessage(String handle, boolean attachment) { argument
972 new BigInteger(handle, 16);
980 new BluetoothMasRequestGetMessage(handle, CharsetType.UTF_8, attachment);
990 * @param handle handle o
995 setMessageReadStatus(String handle, boolean read) argument
1024 setMessageDeletedStatus(String handle, boolean deleted) argument
[all...]
/frameworks/opt/net/wifi/libwifi_hal/
H A Dhal_tool.cpp25 wifi_error wifi_initialize_stub(wifi_handle* handle) { argument
29 void wifi_cleanup_stub(wifi_handle handle, wifi_cleaned_up_handler handler) {} argument
31 void wifi_event_loop_stub(wifi_handle handle) {} argument
35 wifi_error wifi_get_supported_feature_set_stub(wifi_interface_handle handle, argument
40 wifi_error wifi_get_concurrency_matrix_stub(wifi_interface_handle handle, argument
46 wifi_error wifi_set_scanning_mac_oui_stub(wifi_interface_handle handle, argument
52 wifi_error wifi_get_supported_channels_stub(wifi_handle handle, int* size, argument
58 wifi_error wifi_is_epr_supported_stub(wifi_handle handle) { argument
63 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int* num_ifaces, argument
128 wifi_interface_handle handle, wifi_gscan_capabilitie
127 wifi_get_gscan_capabilities_stub( wifi_interface_handle handle, wifi_gscan_capabilities* capabilities) argument
150 wifi_get_valid_channels_stub(wifi_interface_handle handle, int band, int max_channels, wifi_channel* channels, int* num_channels) argument
330 wifi_get_tx_pkt_fates_stub(wifi_interface_handle handle, wifi_tx_report* tx_report_bufs, size_t n_requested_fates, size_t* n_provided_fates) argument
337 wifi_get_rx_pkt_fates_stub(wifi_interface_handle handle, wifi_rx_report* rx_report_bufs, size_t n_requested_fates, size_t* n_provided_fates) argument
413 wifi_nan_get_version_stub(wifi_handle handle, NanVersion* version) argument
452 wifi_get_packet_filter_capabilities_stub( wifi_interface_handle handle, u32* version, u32* max_len) argument
457 wifi_set_packet_filter_stub(wifi_interface_handle handle, const u8* program, u32 len) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuBLASDispatch.h455 void* handle = NULL; local
456 handle = dlopen("libblasV8.so", RTLD_LAZY | RTLD_LOCAL);
458 if (handle == NULL) {
464 x = (FnPtr_##x)dlsym(handle, #x); \
/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp1067 audio_patch_handle_t *handle)
1071 return aps->createAudioPatch(patch, handle);
1074 status_t AudioSystem::releaseAudioPatch(audio_patch_handle_t handle) argument
1078 return aps->releaseAudioPatch(handle);
1200 audio_patch_handle_t *handle)
1204 return aps->startAudioSource(source, attributes, handle);
1207 status_t AudioSystem::stopAudioSource(audio_patch_handle_t handle) argument
1211 return aps->stopAudioSource(handle);
1066 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
1198 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_patch_handle_t *handle) argument
H A DIAudioFlinger.cpp850 audio_patch_handle_t *handle)
852 if (patch == NULL || handle == NULL) {
858 data.write(handle, sizeof(audio_patch_handle_t));
864 reply.read(handle, sizeof(audio_patch_handle_t));
867 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument
871 data.write(&handle, sizeof(audio_patch_handle_t));
1415 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local
1416 if (data.read(&handle, sizeof(audio_patch_handle_t)) != NO_ERROR) {
1419 status_t status = createAudioPatch(&patch, &handle);
1422 reply->write(&handle, sizeo
849 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
1428 audio_patch_handle_t handle; local
[all...]
H A DIAudioPolicyService.cpp585 audio_patch_handle_t *handle)
587 if (patch == NULL || handle == NULL) {
593 data.write(handle, sizeof(audio_patch_handle_t));
599 reply.read(handle, sizeof(audio_patch_handle_t));
603 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument
607 data.write(&handle, sizeof(audio_patch_handle_t));
754 audio_patch_handle_t *handle)
758 if (source == NULL || attributes == NULL || handle == NULL) {
771 *handle = (audio_patch_handle_t)reply.readInt32();
775 virtual status_t stopAudioSource(audio_patch_handle_t handle) argument
584 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
752 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_patch_handle_t *handle) argument
1242 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local
1256 audio_patch_handle_t handle; local
1374 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local
1383 audio_patch_handle_t handle = (audio_patch_handle_t) data.readInt32(); local
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp356 extern "C" int EffectRelease(effect_handle_t handle){ argument
357 ALOGV("\n\tEffectRelease start %p", handle);
358 EffectContext * pContext = (EffectContext *)handle;
360 ALOGV("\tEffectRelease start handle: %p, context %p", handle, pContext->pBundledContext);
604 /* Init sets the instance handle */
753 LvmStatus = LVM_Process(pContext->pBundledContext->hInstance, /* Instance handle */
1999 // pBassBoost - handle to instance data
2076 // pBassBoost - handle to instance data
2115 // pVirtualizer - handle t
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp375 void OMXNodeInstance::setHandle(OMX_HANDLETYPE handle) { argument
376 CLOG_LIFE(allocateNode, "handle=%p", handle);
378 mHandle = handle;
379 if (handle != NULL) {
395 OMX_HANDLETYPE OMXNodeInstance::handle() { function in class:android::OMXNodeInstance
404 CLOG_LIFE(freeNode, "handle=%p", mHandle);
1201 reinterpret_cast<const OMX_U8*>(graphicBuffer->handle));
1283 portString(portIndex), portIndex, bufferMeta, graphicBuffer->handle);
1299 *buffer, portIndex, "GB=%p", graphicBuffer->handle));
[all...]
/frameworks/av/services/audioflinger/
H A DEffects.cpp117 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle) argument
122 int priority = handle->priority();
131 // first non destroyed handle is considered in control
139 // if inserted in first place, move effect control from previous owner to this handle
146 handle->setControl(true /*hasControl*/, false /*signal*/, enabled /*enabled*/);
151 ALOGV("addHandle() %p added handle %p in position %zu", this, handle, i);
152 mHandles.insertAt(handle, i);
156 ssize_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle) argument
159 return removeHandle_l(handle);
162 removeHandle_l(EffectHandle *handle) argument
212 disconnectHandle(EffectHandle *handle, bool unpinIfLast) argument
908 EffectHandle *handle = mHandles[i]; local
1134 EffectHandle *handle = mHandles[i]; local
2040 EffectHandle *handle = effect->controlHandle_l(); local
[all...]
H A DThreads.h179 audio_patch_handle_t handle) :
180 mPatch(patch), mHandle(handle) {}
183 snprintf(buffer, size, "Patch handle: %u\n", mHandle);
193 audio_patch_handle_t handle) :
195 mData = new CreateAudioPatchConfigEventData(patch, handle);
203 explicit ReleaseAudioPatchConfigEventData(const audio_patch_handle_t handle) : argument
204 mHandle(handle) {}
207 snprintf(buffer, size, "Patch handle: %u\n", mHandle);
215 explicit ReleaseAudioPatchConfigEvent(const audio_patch_handle_t handle) : argument
217 mData = new ReleaseAudioPatchConfigEventData(handle);
178 CreateAudioPatchConfigEventData(const struct audio_patch patch, audio_patch_handle_t handle) argument
192 CreateAudioPatchConfigEvent(const struct audio_patch patch, audio_patch_handle_t handle) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentResolver.java1110 // Client can't handle a sub-section of a file, so close what
2776 * @return a handle that can be used to remove the listener at a later time
2798 * @param handle the handle that was returned by {@link #addStatusChangeListener}
2800 public static void removeStatusChangeListener(Object handle) { argument
2801 if (handle == null) {
2802 throw new IllegalArgumentException("you passed in a null handle");
2805 getContentService().removeStatusChangeListener((ISyncStatusObserver.Stub) handle);
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java102 IBinder handle, long frame);
106 IBinder handle);
430 public void deferTransactionUntil(IBinder handle, long frame) { argument
432 nativeDeferTransactionUntil(mNativeObject, handle, frame);
101 nativeDeferTransactionUntil(long nativeObject, IBinder handle, long frame) argument
105 nativeReparentChildren(long nativeObject, IBinder handle) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java152 public static final String SYNTHETIC_PASSWORD_HANDLE_KEY = "sp-handle";
1416 * @return a unique 64-bit token handle which is needed to refer to this token later.
1428 * @return true if the given handle refers to a valid token previously returned from
1431 public boolean removeEscrowToken(long handle, int userId) { argument
1433 return getLockSettings().removeEscrowToken(handle, userId);
1443 public boolean isEscrowTokenActive(long handle, int userId) { argument
1445 return getLockSettings().isEscrowTokenActive(handle, userId);
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp421 __FUNCTION__, i, nModules[i].handle, nModules[i].implementor,
447 nModules[i].handle, nModules[i].class_id,
572 radio_handle_t handle = (radio_handle_t)env->GetIntField(thiz, gModuleFields.mId); local
583 sp<Radio> module = Radio::attach(handle, configPtr, (bool)withAudio, callback);
H A Dandroid_hardware_SoundTrigger.cpp428 i, nModules[i].handle, nModules[i].properties.description,
432 nModules[i].handle,
467 sound_trigger_module_handle_t handle = local
470 sp<SoundTrigger> module = SoundTrigger::attach(handle, callback);
512 sound_model_handle_t handle = 0; local
655 status = module->loadSoundModel(memory, &handle);
656 ALOGV("loadSoundModel status %d handle %d", status, handle);
660 nHandle[0] = (jint)handle;
H A Dandroid_view_SurfaceControl.cpp295 sp<IBinder> handle = ibinderForJavaObject(env, relativeTo); local
297 ctrl->setRelativeLayer(handle, zorder);
707 sp<IBinder> handle = ibinderForJavaObject(env, handleObject); local
709 ctrl->deferTransactionUntil(handle, frameNumber);
723 sp<IBinder> handle = ibinderForJavaObject(env, newParentObject); local
725 ctrl->reparentChildren(handle);

Completed in 3842 milliseconds

1234567891011