/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 572 audio_patch_handle_t *handle) 574 if (patch == NULL || handle == NULL) { 580 data.write(handle, sizeof(audio_patch_handle_t)); 586 reply.read(handle, sizeof(audio_patch_handle_t)); 590 virtual status_t releaseAudioPatch(audio_patch_handle_t handle) argument 594 data.write(&handle, sizeof(audio_patch_handle_t)); 741 audio_io_handle_t *handle) 745 if (source == NULL || attributes == NULL || handle == NULL) { 758 *handle = (audio_io_handle_t)reply.readInt32(); 762 virtual status_t stopAudioSource(audio_io_handle_t handle) argument 571 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 739 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_io_handle_t *handle) argument 1203 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local 1217 audio_patch_handle_t handle; local 1335 audio_io_handle_t handle = {}; local 1344 audio_io_handle_t handle = (audio_io_handle_t)data.readInt32(); local [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 221 void OMXNodeInstance::setHandle(OMX::node_id node_id, OMX_HANDLETYPE handle) { argument 223 CLOG_LIFE(allocateNode, "handle=%p", handle); 225 mHandle = handle; 253 CLOG_LIFE(freeNode, "handle=%p", mHandle); 755 reinterpret_cast<const OMX_U8*>(graphicBuffer->handle)); 831 portString(portIndex), portIndex, bufferMeta, graphicBuffer->handle); 847 *buffer, portIndex, "GB=%p", graphicBuffer->handle)); 877 metadata.pHandle = graphicBuffer == NULL ? NULL : graphicBuffer->handle; 892 graphicBuffer == NULL ? NULL : graphicBuffer->handle); [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 107 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle) argument 112 int priority = handle->priority(); 121 // first non destroyed handle is considered in control 129 // if inserted in first place, move effect control from previous owner to this handle 136 handle->setControl(true /*hasControl*/, false /*signal*/, enabled /*enabled*/); 141 ALOGV("addHandle() %p added handle %p in position %zu", this, handle, i); 142 mHandles.insertAt(handle, i); 146 size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle) argument 152 if (mHandles[i] == handle) { 194 disconnect(EffectHandle *handle, bool unpinIfLast) argument 793 EffectHandle *handle = mHandles[i]; local 1021 EffectHandle *handle = mHandles[i]; local 1807 EffectHandle *handle = effect->controlHandle_l(); local [all...] |
H A D | Threads.h | 175 audio_patch_handle_t handle) : 176 mPatch(patch), mHandle(handle) {} 179 snprintf(buffer, size, "Patch handle: %u\n", mHandle); 189 audio_patch_handle_t handle) : 191 mData = new CreateAudioPatchConfigEventData(patch, handle); 199 ReleaseAudioPatchConfigEventData(const audio_patch_handle_t handle) : argument 200 mHandle(handle) {} 203 snprintf(buffer, size, "Patch handle: %u\n", mHandle); 211 ReleaseAudioPatchConfigEvent(const audio_patch_handle_t handle) : argument 213 mData = new ReleaseAudioPatchConfigEventData(handle); 174 CreateAudioPatchConfigEventData(const struct audio_patch patch, audio_patch_handle_t handle) argument 188 CreateAudioPatchConfigEvent(const struct audio_patch patch, audio_patch_handle_t handle) argument [all...] |
H A D | AudioFlinger.cpp | 308 // check a match for the requested module handle 642 ALOGE("no playback thread found for output handle %d", output); 723 // return handle to client 762 // should examine all callers and fix them to handle smaller counts 782 ALOGW("latency(): no playback thread found for output handle %d", output); 1588 // return handle to client 1682 audio_module_handle_t handle = (audio_module_handle_t) nextUniqueId(AUDIO_UNIQUE_ID_USE_MODULE); local 1683 mAudioHwDevs.add(handle, new AudioHwDevice(handle, name, dev, flags)); 1685 ALOGI("loadHwModule() Loaded %s audio interface from %s (%s) handle 2600 sp<EffectHandle> handle; local [all...] |
H A D | Threads.cpp | 157 // Supporting this option will require fixing HALs that can't handle large writes. 781 audio_patch_handle_t *handle) 784 sp<ConfigEvent> configEvent = (ConfigEvent *)new CreateAudioPatchConfigEvent(*patch, *handle); 789 *handle = data->mHandle; 795 const audio_patch_handle_t handle) 798 sp<ConfigEvent> configEvent = (ConfigEvent *)new ReleaseAudioPatchConfigEvent(handle); 935 dprintf(fd, " I/O handle: %d\n", mId); 1270 sp<EffectHandle> handle; local 1373 // create effect handle and connect it to effect module 1374 handle 779 sendCreateAudioPatchConfigEvent( const struct audio_patch *patch, audio_patch_handle_t *handle) argument 794 sendReleaseAudioPatchConfigEvent( const audio_patch_handle_t handle) argument 3295 createAudioPatch_l(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 3305 createAudioPatch_l(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 3381 releaseAudioPatch_l(const audio_patch_handle_t handle) argument 3390 releaseAudioPatch_l(const audio_patch_handle_t handle) argument 7289 createAudioPatch_l(const struct audio_patch *patch, audio_patch_handle_t *handle) argument 7357 releaseAudioPatch_l(const audio_patch_handle_t handle) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 845 // Client can't handle a sub-section of a file, so close what 2483 * @return a handle that can be used to remove the listener at a later time 2504 * @param handle the handle that was returned by {@link #addStatusChangeListener} 2506 public static void removeStatusChangeListener(Object handle) { argument 2507 if (handle == null) { 2508 throw new IllegalArgumentException("you passed in a null handle"); 2511 getContentService().removeStatusChangeListener((ISyncStatusObserver.Stub) handle);
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 88 IBinder handle, long frame); 383 public void deferTransactionUntil(IBinder handle, long frame) { argument 384 nativeDeferTransactionUntil(mNativeObject, handle, frame); 87 nativeDeferTransactionUntil(long nativeObject, IBinder handle, long frame) argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Radio.cpp | 418 __FUNCTION__, i, nModules[i].handle, nModules[i].implementor, 444 nModules[i].handle, nModules[i].class_id, 569 radio_handle_t handle = (radio_handle_t)env->GetIntField(thiz, gModuleFields.mId); local 580 sp<Radio> module = Radio::attach(handle, configPtr, (bool)withAudio, callback);
|
H A D | android_hardware_SoundTrigger.cpp | 428 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; local 655 status = module->loadSoundModel(memory, &handle); 656 ALOGV("loadSoundModel status %d handle %d", status, handle); 660 nHandle[0] = (jint)handle;
|
H A D | android_media_AudioSystem.cpp | 406 // plus 1 integer for the patch handle 658 ALOGV("convertAudioPortConfigToNative handle %d role %d type %d", 731 ALOGV("convertAudioPortConfigFromNative handle %d is a %s", nAudioPortConfig->id, 737 // create dummy port and port config objects with just the correct handle 742 jHandle, // handle 754 ALOGV("convertAudioPortConfigFromNative jAudioPort created for handle %d", 1049 jHandle, nAudioPort->ext.mix.handle, 1215 audio_patch_handle_t handle = (audio_patch_handle_t)0; local 1223 handle = (audio_patch_handle_t)env->GetIntField(jPatchHandle, gAudioHandleFields.mId); 1228 nPatch.id = handle; 1315 audio_patch_handle_t handle = (audio_patch_handle_t)0; local [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 182 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/telecomm/java/android/telecom/ |
H A D | Call.java | 478 * @return The handle (e.g., phone number) to which the {@code Call} is currently 486 * @return The presentation requirements for the handle. See 631 Uri handle, 646 mHandle = handle; 986 * No assumptions should be made as to how a {@link ConnectionService} will handle these events. 1001 * No assumptions should be made as to how an In-Call UI or service will handle these 629 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) argument
|
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 144 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); 152 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); 159 int ret = fstat(obj.handle, &st); 162 int size = ashmem_get_size_region(obj.handle); 196 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); 204 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); 212 int ret = fstat(obj.handle, &st); 214 int size = ashmem_get_size_region(obj.handle); 221 close(obj.handle); 255 const int32_t handle local 289 const int32_t handle = proxy ? proxy->handle() : 0; local 1143 writeNativeHandle(const native_handle* handle) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 295 // can handle. 315 * The layer handle is just a BBinder object passed to the client 320 * this layer when the handle is destroyed. 655 // we can only handle simple transformation 666 // we can only handle simple transformation 712 error = hwcLayer->setSidebandStream(mSidebandStream->handle()); 715 mName.string(), mSidebandStream->handle(), 722 if (mActiveBuffer == nullptr || mActiveBuffer->handle == nullptr || 746 error = hwcLayer->setBuffer(mActiveBuffer->handle, acquireFence); 749 mActiveBuffer->handle, to_strin 1274 sp<Handle> handle = static_cast<Handle*>(mCurrentState.handle.get()); local 1620 deferTransactionUntil(const sp<IBinder>& handle, uint64_t frameNumber) argument [all...] |
H A D | SurfaceFlinger.cpp | 1385 // also handle displays that changed 1718 // handle hidden surfaces by setting the visible region to empty 2063 const sp<IBinder>& handle, 2078 client->attachLayer(handle, lbc); 2313 layer->deferTransactionUntil(s.handle, s.frameNumber); 2330 sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) 2347 handle, gbp, &layer); 2352 handle, gbp, &layer); 2363 result = addClientLayer(client, *handle, *gbp, layer); 2374 sp<IBinder>* handle, s 2062 addClientLayer(const sp<Client>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbc, const sp<Layer>& lbc) argument 2326 createLayer( const String8& name, const sp<Client>& client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument 2372 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 2398 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 2408 onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle) argument [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 1398 // also handle displays that changed 1737 // handle hidden surfaces by setting the visible region to empty 2079 const sp<IBinder>& handle, 2094 client->attachLayer(handle, lbc); 2329 layer->deferTransactionUntil(s.handle, s.frameNumber); 2346 sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) 2363 handle, gbp, &layer); 2368 handle, gbp, &layer); 2379 result = addClientLayer(client, *handle, *gbp, layer); 2390 sp<IBinder>* handle, s 2078 addClientLayer(const sp<Client>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbc, const sp<Layer>& lbc) argument 2342 createLayer( const String8& name, const sp<Client>& client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument 2388 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 2414 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 2424 onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle) argument [all...] |
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_WifiNative.cpp | 331 void android_net_wifi_hal_cleaned_up_handler(wifi_handle handle) { argument 415 wifi_interface_handle handle = (wifi_interface_handle) value; local 416 int result = hal_fn.wifi_get_iface_name(handle, buf, sizeof(buf)); 456 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 457 // ALOGD("starting scan on interface[%d] = %p", iface, handle); 526 return hal_fn.wifi_start_gscan(id, handle, params, handler) == WIFI_SUCCESS; 532 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 533 // ALOGD("stopping scan on interface[%d] = %p", iface, handle); 535 return hal_fn.wifi_stop_gscan(id, handle) == WIFI_SUCCESS; 551 wifi_interface_handle handle local 617 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 773 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 831 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 886 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 952 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1004 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1021 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1086 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1206 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1274 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1307 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1357 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1367 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1395 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1422 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1434 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1477 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1513 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1523 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1537 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1570 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1597 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1643 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1674 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1700 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1818 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1844 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1871 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1946 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 1973 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 2183 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 2268 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 2281 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 2328 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 2363 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 2385 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 2399 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local 2413 wifi_interface_handle handle = getIfaceHandle(helper, cls, iface); local [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 78 // handle output devices 89 // handle output device connection 131 // handle output device disconnection 207 // handle input devices 214 // handle input device connection 246 // handle input device disconnection 468 // if leaving call state, handle special case of active streams 544 // if entering in call state, handle special case of active streams 1197 // handle special case for sonification while in call 1265 // always handle strea 2400 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, uid_t uid) argument 2666 releaseAudioPatch(audio_patch_handle_t handle, uid_t uid) argument 2909 startAudioSource(const struct audio_port_config *source, const audio_attributes_t *attributes, audio_io_handle_t *handle, uid_t uid) argument 3532 audio_io_handle_t handle; local [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 497 * @param inputWindowHandle The handle of the input window associated with the 1314 InputMethodSubtypeHandle handle = new InputMethodSubtypeHandle(imeInfo, imeSubtype); 1318 keyboardLayoutDescriptor = mDataStore.getKeyboardLayout(key, handle); 1354 InputMethodSubtypeHandle handle = new InputMethodSubtypeHandle(imeInfo, imeSubtype); 1355 setKeyboardLayoutForInputDeviceInner(identifier, handle, keyboardLayoutDescriptor); 1463 InputMethodSubtypeHandle handle = new InputMethodSubtypeHandle(inputMethodInfo, subtype); 1464 if (!handle.equals(mCurrentImeHandle)) { 1465 mCurrentImeHandle = handle; 1466 handleSwitchKeyboardLayout(null, handle); 1472 InputMethodSubtypeHandle handle) { 1471 handleSwitchKeyboardLayout(@ullable InputDeviceIdentifier identifier, InputMethodSubtypeHandle handle) argument [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 275 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); 2086 void* handle = NULL; local 2090 handle = dlopen(libPathJni, RTLD_LAZY | RTLD_LOCAL); 2093 handle [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 884 // either the pointer to the secure buffer, or the opaque handle as on 885 // some devices ptr is actually an opaque handle, not a pointer. 887 // TRICKY2: use native handle as the base of the ABuffer if received one, 890 native_handle == NULL ? NULL : native_handle->handle(); 1417 info->mGraphicBuffer->handle == buf->handle) { 1493 oldest->mGraphicBuffer->handle, oldest->mData->base()); 1807 // opaque handle, to which we don't have access. 1934 // Explicity reset the sideband handle of the window for 2053 // fallback for devices that do not handle fle 5304 addBuffer( IOMX::buffer_id id, const sp<ABuffer> &buffer, const sp<NativeHandle> &handle, const sp<RefBase> &memRef) argument 6031 native_handle_t *handle = NULL; local [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 583 /** When window is currently dismissing the keyguard, dismissing the keyguard must handle 690 // Maps global key codes to the components that will handle them. 1102 // Figure out how to handle the key now that it has been released. 3012 // First we always handle the home key here, so applications 3014 // it handle it, because that gives us the correct 5 second 3076 // Remember that home is pressed and handle special actions. 3445 // Let the application handle the key. 3551 // Need to formalize an API to handle others 3558 Slog.w(TAG, "No activity to handle assist long press action.", e); 3592 private void startActivityAsUser(Intent intent, UserHandle handle) { argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 6514 public Sensor(BatteryStatsImpl bsi, Uid uid, int handle) { argument 6517 mHandle = handle;
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |