Searched defs:handle (Results 226 - 250 of 253) sorted by relevance

1234567891011

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java182 public int handle; field in class:GLES20Canvas.ShaderParameter
199 handle = GLES20.glGetUniformLocation(program, mName);
211 handle = GLES20.glGetAttribLocation(program, mName);
517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0);
547 GLES20.glVertexAttribPointer(params[INDEX_POSITION].handle, COORDS_PER_VERTEX,
557 int positionHandle = params[INDEX_POSITION].handle;
570 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE);
670 GLES20.glUniformMatrix4fv(params[INDEX_TEXTURE_MATRIX].handle, 1, false, textureMatrix, 0);
709 GLES20.glUniform1i(params[INDEX_TEXTURE_SAMPLER].handle, 0);
711 GLES20.glUniform1f(params[INDEX_ALPHA].handle, getAlph
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsService.java832 long handle = getSyntheticPasswordHandleLocked(userId);
833 return mSpManager.getCredentialType(handle, userId) ==
845 long handle = getSyntheticPasswordHandleLocked(userId);
846 return mSpManager.getCredentialType(handle, userId) ==
858 long handle = getSyntheticPasswordHandleLocked(userId);
859 return mSpManager.getCredentialType(handle, userId) !=
1863 long handle = mSpManager.createPasswordBasedSyntheticPassword(getGateKeeperService(),
1867 // Since when initializing SP, we didn't provide an existing password handle
1880 setLong(SYNTHETIC_PASSWORD_HANDLE_KEY, handle, userId);
1893 long handle
2101 isEscrowTokenActive(long handle, int userId) argument
2109 removeEscrowToken(long handle, int userId) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_ContextHubService.cpp266 ALOGW("Context Hub handle %d restarted", mContextHubId);
269 ALOGW("Cannot handle event %u from hub %d", evt, mContextHubId);
304 // things are good, it's a lie because the handle
791 jint handle = *reinterpret_cast<jint *>(txnData); local
792 deleteAppInstance(handle, env);
/frameworks/base/telecomm/java/android/telecom/
H A DConnectionService.java1726 * not handle the call.
1745 * not handle the call.
1821 * @param phoneAccountHandle The phone account handle for the connection.
1833 * @param phoneAccountHandle The phone account handle for the connection.
1902 * not handle the call.
1991 * of {@link Connection#createFailedConnection(DisconnectCause)} to not handle the call.
2072 private String addExistingConnectionInternal(PhoneAccountHandle handle, Connection connection) { argument
2080 } else if (handle == null) {
2081 // If no phone account handle was provided, we cannot be sure the call ID is unique,
2085 // Phone account handle wa
[all...]
H A DCall.java510 * @return The handle (e.g., phone number) to which the {@code Call} is currently
518 * @return The presentation requirements for the handle. See
688 Uri handle,
704 mHandle = handle;
763 * You can handle these callbacks by extending the {@link Callback} class and overriding the
862 * Where possible, the Call should make an attempt to handle {@link Connection} events which
864 * it does not wish to handle. Unexpected events should be handled gracefully, as it is
1228 * No assumptions should be made as to how a {@link ConnectionService} will handle these events.
1283 * No assumptions should be made as to how an In-Call UI or service will handle these
686 Details( String telecomCallId, Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, PhoneAccountHandle accountHandle, int capabilities, int properties, DisconnectCause disconnectCause, long connectTimeMillis, GatewayInfo gatewayInfo, int videoState, StatusHints statusHints, Bundle extras, Bundle intentExtras, long creationTimeMillis) argument
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp1194 native_handle_t* handle = native_handle_create(1, 0); local
1195 if (handle == nullptr) {
1199 handle->data[0] = fd;
1202 android::hardware::Return<void> status = dumpstate_device->dumpstateBoard(handle);
1205 native_handle_close(handle);
1206 native_handle_delete(handle);
1213 native_handle_close(handle);
1214 native_handle_delete(handle);
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp171 const sp<IBinder>& id, const sp<IBinder>& handle,
456 const sp<IBinder>& handle, uint64_t frameNumber) {
463 s->barrierHandle = handle;
678 sp<IBinder> handle; local
686 windowType, ownerUid, &handle, &gbp);
689 sur = new SurfaceControl(this, handle, gbp);
820 const sp<IBinder>& handle, uint64_t frameNumber) {
821 return getComposer().deferTransactionUntil(this, id, handle, frameNumber);
454 deferTransactionUntil( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const sp<IBinder>& handle, uint64_t frameNumber) argument
819 deferTransactionUntil(const sp<IBinder>& id, const sp<IBinder>& handle, uint64_t frameNumber) argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DComposerHal.cpp40 // nullptr is not a valid handle to HIDL
60 native_handle_t* handle; local
62 handle = native_handle_init(mStorage, 1, 0);
63 handle->data[0] = fd;
65 // nullptr is not a valid handle to HIDL
66 handle = native_handle_init(mStorage, 0, 0);
68 mHandle = handle;
483 const native_handle_t* handle = nullptr; local
485 handle = target->getNativeBuffer()->handle;
598 const native_handle_t* handle = nullptr; local
[all...]
H A DHWC2.cpp662 auto handle = buffer->getNativeBuffer()->handle; local
663 auto intError = mDevice.mComposer->setOutputBuffer(mId, handle, fenceFd);
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp190 Surface* SurfaceFromHandle(VkSurfaceKHR handle) { argument
191 return reinterpret_cast<Surface*>(handle);
242 Swapchain* SwapchainFromHandle(VkSwapchainKHR handle) { argument
243 return reinterpret_cast<Swapchain*>(handle);
1091 image_native_buffer.handle = img.buffer->handle;
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp413 // plus 1 integer for the patch handle
677 ALOGV("convertAudioPortConfigToNative handle %d role %d type %d",
750 ALOGV("convertAudioPortConfigFromNative handle %d is a %s", nAudioPortConfig->id,
756 // create dummy port and port config objects with just the correct handle
761 jHandle, // handle
773 ALOGV("convertAudioPortConfigFromNative jAudioPort created for handle %d",
1106 jHandle, nAudioPort->ext.mix.handle,
1272 audio_patch_handle_t handle = (audio_patch_handle_t)0; local
1280 handle = (audio_patch_handle_t)env->GetIntField(jPatchHandle, gAudioHandleFields.mId);
1285 nPatch.id = handle;
1372 audio_patch_handle_t handle = (audio_patch_handle_t)0; local
[all...]
/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java175 public void startActivityAsUser(Intent intent, UserHandle handle) { argument
/frameworks/native/libs/binder/
H A DParcel.cpp119 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
127 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
132 if ((obj.cookie != 0) && (outAshmemSize != NULL) && ashmem_valid(obj.handle)) {
134 int size = ashmem_get_size_region(obj.handle);
167 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
175 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
181 if ((outAshmemSize != NULL) && ashmem_valid(obj.handle)) {
182 int size = ashmem_get_size_region(obj.handle);
188 close(obj.handle);
229 const int32_t handle local
263 const int32_t handle = proxy ? proxy->handle() : 0; local
1129 writeNativeHandle(const native_handle* handle) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp326 // can handle.
770 // we can only handle simple transformation
781 // we can only handle simple transformation
826 error = hwcLayer->setSidebandStream(mSidebandStream->handle());
829 mName.string(), mSidebandStream->handle(),
837 (mActiveBuffer != nullptr && mActiveBuffer->handle == nullptr)) {
891 mActiveBuffer->handle, to_string(error).c_str(),
1790 sp<Handle> handle = static_cast<Handle*>(relativeToHandle.get()); local
1791 if (handle == nullptr) {
1794 sp<Layer> relative = handle
1954 sp<Handle> handle = static_cast<Handle*>(barrierHandle.get()); local
2545 sp<Handle> handle = nullptr; local
[all...]
H A DSurfaceFlinger.cpp1204 // We handle initializing the primary display device for the VR
1963 // also handle displays that changed
2293 // handle hidden surfaces by setting the visible region to empty
2650 const sp<IBinder>& handle,
2677 client->attachLayer(handle, lbc);
3005 uint32_t windowType, uint32_t ownerUid, sp<IBinder>* handle,
3024 handle, gbp, &layer);
3029 handle, gbp, &layer);
3042 result = addClientLayer(client, *handle, *gbp, layer, *parent);
3078 sp<IBinder>* handle, s
2649 addClientLayer(const sp<Client>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbc, const sp<Layer>& lbc, const sp<Layer>& parent) argument
3001 createLayer( const String8& name, const sp<Client>& client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, uint32_t windowType, uint32_t ownerUid, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent) argument
3076 createNormalLayer(const sp<Client>& client, const String8& name, uint32_t w, uint32_t h, uint32_t flags, PixelFormat& format, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* outLayer) argument
3102 createDimLayer(const sp<Client>& client, const String8& name, uint32_t w, uint32_t h, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* outLayer) argument
3112 onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle) argument
[all...]
H A DSurfaceFlinger_hwc1.cpp1636 // also handle displays that changed
1975 // handle hidden surfaces by setting the visible region to empty
2315 const sp<IBinder>& handle,
2342 client->attachLayer(handle, lbc);
2665 uint32_t windowType, uint32_t ownerUid, sp<IBinder>* handle,
2684 handle, gbp, &layer);
2689 handle, gbp, &layer);
2702 result = addClientLayer(client, *handle, *gbp, layer, *parent);
2738 sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* outLayer)
2754 *handle
2314 addClientLayer(const sp<Client>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbc, const sp<Layer>& lbc, const sp<Layer>& parent) argument
2661 createLayer( const String8& name, const sp<Client>& client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, uint32_t windowType, uint32_t ownerUid, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent) argument
2736 createNormalLayer(const sp<Client>& client, const String8& name, uint32_t w, uint32_t h, uint32_t flags, PixelFormat& format, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* outLayer) argument
2762 createDimLayer(const sp<Client>& client, const String8& name, uint32_t w, uint32_t h, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* outLayer) argument
2772 onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle) argument
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp126 * display is connected, the display handle is stored in mDisplays. */
804 void setClientTarget(hwc2_display_t display, buffer_handle_t handle, argument
812 auto err = static_cast<hwc2_error_t>(pfn(mHwc2Device, display, handle,
1336 * 1) It attempts to set a valid property value to bad layer handle.
1616 buffer_handle_t handle = nullptr; local
1629 && testLayers->getBuffer(layer, &handle, &acquireFence) < 0)
1640 EXPECT_NO_FATAL_FAILURE(setLayerBuffer(display, layer, handle,
1689 buffer_handle_t handle; local
1693 clearLayers, flipClientTarget, displayArea, &handle,
1695 EXPECT_NO_FATAL_FAILURE(setClientTarget(display, handle, acquireFenc
1831 buffer_handle_t handle; local
3607 buffer_handle_t handle; local
3655 buffer_handle_t handle; local
4535 buffer_handle_t handle; local
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp367 // check a match for the requested module handle
709 ALOGE("no playback thread found for output handle %d", output);
791 // return handle to client
830 // should examine all callers and fix them to handle smaller counts
850 ALOGW("latency(): no playback thread found for output handle %d", output);
1708 // return handle to client
1796 audio_module_handle_t handle = (audio_module_handle_t) nextUniqueId(AUDIO_UNIQUE_ID_USE_MODULE); local
1797 mAudioHwDevs.add(handle, new AudioHwDevice(handle, name, dev, flags));
1799 ALOGI("loadHwModule() Loaded %s audio interface, handle
2860 sp<EffectHandle> handle; local
[all...]
H A DThreads.cpp167 // Supporting this option will require fixing HALs that can't handle large writes.
654 audio_patch_handle_t *handle)
657 sp<ConfigEvent> configEvent = (ConfigEvent *)new CreateAudioPatchConfigEvent(*patch, *handle);
662 *handle = data->mHandle;
668 const audio_patch_handle_t handle)
671 sp<ConfigEvent> configEvent = (ConfigEvent *)new ReleaseAudioPatchConfigEvent(handle);
822 dprintf(fd, " I/O handle: %d\n", mId);
1284 sp<EffectHandle> handle; local
1344 // create effect handle and connect it to effect module
1345 handle
652 sendCreateAudioPatchConfigEvent( const struct audio_patch *patch, audio_patch_handle_t *handle) argument
667 sendReleaseAudioPatchConfigEvent( const audio_patch_handle_t handle) argument
1374 disconnectEffectHandle(EffectHandle *handle, bool unpinIfLast) argument
3443 createAudioPatch_l(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
3458 createAudioPatch_l(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
3532 releaseAudioPatch_l(const audio_patch_handle_t handle) argument
3546 releaseAudioPatch_l(const audio_patch_handle_t handle) argument
7374 createAudioPatch_l(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
7440 releaseAudioPatch_l(const audio_patch_handle_t handle) argument
7515 start(const MmapStreamInterface::Client& client, audio_port_handle_t *handle) argument
7525 stop(audio_port_handle_t handle) argument
7608 start(const MmapStreamInterface::Client& client, audio_port_handle_t *handle) argument
7714 stop(audio_port_handle_t handle) argument
7912 createAudioPatch_l(const struct audio_patch *patch, audio_patch_handle_t *handle) argument
7993 releaseAudioPatch_l(const audio_patch_handle_t handle) argument
[all...]
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp94 // handle output devices
105 // handle output device connection
149 // handle output device disconnection
223 // handle input devices
230 // handle input device connection
264 // handle input device disconnection
536 // if leaving call state, handle special case of active streams
612 // if entering in call state, handle special case of active streams
1299 // handle special case for sonification while in call
1372 // always handle strea
2691 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, uid_t uid) argument
2957 releaseAudioPatch(audio_patch_handle_t handle, uid_t uid) argument
3199 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_patch_handle_t *handle, uid_t uid) argument
3850 audio_io_handle_t handle; local
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp3253 for (auto& handle : handlesCreated) {
3254 native_handle_delete(handle);
3368 int streamId, const native_handle_t* handle) {
3379 auto it = bIdMap.find(handle);
3382 __FUNCTION__, handle, streamId);
3388 __FUNCTION__, streamId, bIdMap.size(), handle);
3367 onBufferFreed( int streamId, const native_handle_t* handle) argument
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java525 * @param inputWindowHandle The handle of the input window associated with the
1342 InputMethodSubtypeHandle handle = new InputMethodSubtypeHandle(imeInfo, imeSubtype);
1346 keyboardLayoutDescriptor = mDataStore.getKeyboardLayout(key, handle);
1382 InputMethodSubtypeHandle handle = new InputMethodSubtypeHandle(imeInfo, imeSubtype);
1383 setKeyboardLayoutForInputDeviceInner(identifier, handle, keyboardLayoutDescriptor);
1491 InputMethodSubtypeHandle handle = new InputMethodSubtypeHandle(inputMethodInfo, subtype);
1492 if (!handle.equals(mCurrentImeHandle)) {
1493 mCurrentImeHandle = handle;
1494 handleSwitchKeyboardLayout(null, handle);
1500 InputMethodSubtypeHandle handle) {
1499 handleSwitchKeyboardLayout(@ullable InputDeviceIdentifier identifier, InputMethodSubtypeHandle handle) argument
[all...]
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp275 void* handle = NULL; local
277 handle = dlopen("libRS.so", RTLD_LAZY | RTLD_LOCAL);
282 handle = dlopen(libPathJni, RTLD_LAZY | RTLD_LOCAL);
285 handle = dlopen("libRSSupport.so", RTLD_LAZY | RTLD_LOCAL);
288 if (handle == NULL) {
293 if (loadSymbols(handle, dispatchTab, targetApi) == false) {
295 dlclose(handle);
2099 void* handle = NULL; local
2103 handle = dlopen(libPathJni, RTLD_LAZY | RTLD_LOCAL);
2106 handle
[all...]
/frameworks/av/media/libstagefright/
H A DACodec.cpp1360 mComponentName.c_str(), info->mBufferID, info->mGraphicBuffer->handle);
1487 info->mGraphicBuffer->handle == buf->handle) {
1504 info->mGraphicBuffer->handle);
1560 oldest->mGraphicBuffer->handle);
1678 // however when the same buffer is parcelled again, a new handle could be
1679 // created on server side, and some decoder doesn't recognize the handle
1801 // opaque handle, to which we don't have access.
1936 // Explicity reset the sideband handle of the window for
2043 // fallback for devices that do not handle fle
5820 sp<NativeHandle> handle = NativeHandle::create( local
6020 native_handle_t *handle = NULL; local
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java803 // Maps global key codes to the components that will handle them.
1340 // Figure out how to handle the key now that it has been released.
3375 // First we always handle the home key here, so applications
3377 // it handle it, because that gives us the correct 5 second
3434 // Remember that home is pressed and handle special actions.
3811 // Let the application handle the key.
4007 // Need to formalize an API to handle others
4014 Slog.w(TAG, "No activity to handle assist long press action.", e);
4048 private void startActivityAsUser(Intent intent, UserHandle handle) { argument
4050 mContext.startActivityAsUser(intent, handle);
[all...]

Completed in 8701 milliseconds

1234567891011