/frameworks/native/services/sensorservice/ |
H A D | SensorService.h | 77 status_t enable(const sp<SensorEventConnection>& connection, int handle, 81 status_t disable(const sp<SensorEventConnection>& connection, int handle); 83 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns, 200 int32_t handle, int32_t type, const Vector<float> &floats, const Vector<int32_t> &ints); 202 String8 getSensorName(int handle) const; 203 bool isVirtualSensor(int handle) const; 204 sp<SensorInterface> getSensorInterfaceFromHandle(int handle) const; 212 bool unregisterDynamicSensorLocked(int handle); 213 status_t cleanupWithoutDisable(const sp<SensorEventConnection>& connection, int handle); 214 status_t cleanupWithoutDisableLocked(const sp<SensorEventConnection>& connection, int handle); [all...] |
H A D | SensorDevice.h | 74 void handleDynamicSensorConnection(int handle, bool connected); 80 status_t activate(void* ident, int handle, int enabled); 81 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, 84 status_t setDelay(void* ident, int handle, int64_t ns); 85 status_t flush(void* ident, int handle); 96 void autoDisable(void *ident, int handle);
|
H A D | CorrectedGyroSensor.h | 41 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
|
H A D | GravitySensor.h | 41 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
|
H A D | LinearAccelerationSensor.h | 43 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
|
/frameworks/native/libs/binder/ |
H A D | ProcessState.cpp | 231 ProcessState::handle_entry* ProcessState::lookupHandleLocked(int32_t handle) argument 234 if (N <= (size_t)handle) { 238 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); 241 return &mHandleToObject.editItemAt(handle); 244 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) argument 250 handle_entry* e = lookupHandleLocked(handle); 258 if (handle == 0) { 274 // stop special casing handle 0 for context manager and add 275 // a driver API to get a handle to the context manager with 285 b = BpBinder::create(handle); 301 getWeakProxyForHandle(int32_t handle) argument 332 expungeHandle(int32_t handle, IBinder* binder) argument [all...] |
H A D | IPCThreadState.cpp | 124 if (btd->target.handle < 1024) { 126 out << "target.desc=" << btd->target.handle; 256 out << ": handle=" << h << " (death cookie " << (void*)(long)c << ")"; 594 status_t IPCThreadState::transact(int32_t handle, argument 605 << handle << " / code " << TypeCode(code) << ": " 611 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL); 643 << handle << ": "; 654 void IPCThreadState::incStrongHandle(int32_t handle, BpBinder *proxy) argument 656 LOG_REMOTEREFS("IPCThreadState::incStrongHandle(%d)\n", handle); 658 mOut.writeInt32(handle); 664 decStrongHandle(int32_t handle) argument 671 incWeakHandle(int32_t handle, BpBinder *proxy) argument 681 decWeakHandle(int32_t handle) argument 688 attemptIncStrongHandle(int32_t handle) argument 712 expungeHandle(int32_t handle, IBinder* binder) argument 720 requestDeathNotification(int32_t handle, BpBinder* proxy) argument 728 clearDeathNotification(int32_t handle, BpBinder* proxy) argument 955 writeTransactionData(int32_t cmd, uint32_t binderFlags, int32_t handle, uint32_t code, const Parcel& data, status_t* statusBuffer) argument [all...] |
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 71 descriptor.handle = 73 ALOGI("loaded default module %s, handle %d", descriptor.properties.description, 74 descriptor.handle); 77 mModules.add(descriptor.handle, module); 109 status_t SoundTriggerHwService::attach(const sound_trigger_module_handle_t handle, argument 113 ALOGV("attach module %d", handle); 124 ssize_t index = mModules.indexOfKey(handle); 559 sound_model_handle_t *handle) 561 ALOGV("loadSoundModel() handle"); 609 this, handle); 557 loadSoundModel(const sp<IMemory>& modelMemory, sp<ModuleClient> moduleClient, sound_model_handle_t *handle) argument 626 unloadSoundModel(sound_model_handle_t handle) argument 655 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument 708 stopRecognition(sound_model_handle_t handle) argument 797 getModel( sound_model_handle_t handle) argument 902 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle, audio_devices_t device, sound_trigger_sound_model_type_t type, sp<ModuleClient>& moduleClient) argument 961 loadSoundModel(const sp<IMemory>& modelMemory, sound_model_handle_t *handle) argument 977 unloadSoundModel(sound_model_handle_t handle) argument 992 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument 1008 stopRecognition(sound_model_handle_t handle) argument [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 97 buffer_handle_t* handle, uint32_t* stride, 118 Gralloc2::Error error = mAllocator->allocate(info, stride, handle); 132 list.add(*handle, rec); 144 status_t GraphicBufferAllocator::free(buffer_handle_t handle) argument 149 // mapper to get the handle. We just need to free the handle now. 150 mMapper.freeBuffer(handle); 154 list.removeItem(handle); 95 allocate(uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, buffer_handle_t* handle, uint32_t* stride, uint64_t , std::string requestorName) argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | SystemSensorManager.java | 71 long nativeInstance, int handle, int type, float[] floatValues, int[] intValues); 480 * Find the difference of two List<Sensor> assuming List are sorted by handle of sensor, 481 * assuming the input list is already sorted by handle. Inputs are ol and nl; outputs are 632 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, argument 634 private static native int nativeDisableSensor(long eventQ, int handle); argument 637 private static native int nativeInjectSensorData(long eventQ, int handle, argument 665 int handle = sensor.getHandle(); 666 if (mActiveSensors.get(handle)) return false; 669 mActiveSensors.put(handle, true); 685 int handle 70 nativeSetOperationParameter( long nativeInstance, int handle, int type, float[] floatValues, int[] intValues) argument 750 injectSensorDataBase(int handle, float[] values, int accuracy, long timestamp) argument 761 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 763 dispatchFlushCompleteEvent(int handle) argument 765 dispatchAdditionalInfoEvent( int handle, int type, int serial, float[] floatValues, int[] intValues) argument 803 dispatchSensorEvent(int handle, float[] values, int inAccuracy, long timestamp) argument 839 dispatchFlushCompleteEvent(int handle) argument 854 dispatchAdditionalInfoEvent( int handle, int type, int serial, float[] floatValues, int[] intValues) argument 898 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 927 dispatchFlushCompleteEvent(int handle) argument 936 injectSensorData(int handle, float[] values, int accuracy, long timestamp) argument 941 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument 946 dispatchFlushCompleteEvent(int handle) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_HwBlob.h | 37 static jobject NewObject(JNIEnv *env, const void *ptr, size_t handle); 42 void setTo(const void *ptr, size_t handle); 44 status_t getHandle(size_t *handle) const;
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 202 * @param objectHandle handle of the object to read 217 * @param objectHandle handle of the object to read 239 * @param objectHandle handle of the object to read 258 * @param objectHandle handle of the object to read 278 * @param objectHandle the handle of the object 290 * @param objectHandle handle of the object to delete 298 * Retrieves the object handle for the parent of an object on the device. 300 * @param objectHandle handle of the object to query 301 * @return the parent's handle, or zero if it is in the root of the storage 310 * @param objectHandle handle o 414 getObjectSizeLong(int handle, int format) argument 442 native_reap_event_request(int handle) argument 443 native_discard_event_request(int handle) argument 444 native_get_object_size_long(int handle, int format) argument [all...] |
H A D | MtpDatabase.java | 384 private void endSendObject(int handle, boolean succeeded) { argument 385 MtpStorageManager.MtpObject obj = mManager.getObject(handle); 423 private void rescanFile(String path, int handle, int format) { argument 424 // handle abstract playlists separately 443 values.put(MediaColumns.MEDIA_SCANNER_NEW_OBJECT_ID, handle); 451 mMediaScanner.scanMtpFile(path, handle, format); 473 private MtpPropertyList getObjectPropertyList(int handle, int format, int property, argument 482 if (depth == 0xFFFFFFFF && (handle == 0 || handle == 0xFFFFFFFF)) { 484 handle 554 renameFile(int handle, String newName) argument 618 beginMoveObject(int handle, int newParent, int newStorage) argument 692 beginCopyObject(int handle, int newParent, int newStorage) argument 701 endCopyObject(int handle, boolean success) argument 743 setObjectProperty(int handle, int property, long intValue, String stringValue) argument 803 getObjectInfo(int handle, int[] outStorageFormatParent, char[] outName, long[] outCreatedModified) argument 822 getObjectFilePath(int handle, char[] outFilePath, long[] outFileLengthFormat) argument 838 getObjectFormat(int handle) argument 846 beginDeleteObject(int handle) argument 857 endDeleteObject(int handle, boolean success) argument 917 getObjectReferences(int handle) argument 952 setObjectReferences(int handle, int[] references) argument [all...] |
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | service_endpoint.h | 56 Message* message, const LocalChannelHandle& handle) override; 58 Message* message, const BorrowedChannelHandle& handle) override; 60 Message* message, const RemoteChannelHandle& handle) override; 66 const LocalHandle& handle) override; 68 const BorrowedHandle& handle) override; 70 const RemoteHandle& handle) override; 72 Message* message, const LocalChannelHandle& handle) override; 74 Message* message, const BorrowedChannelHandle& handle) override; 76 Message* message, const RemoteChannelHandle& handle) override;
|
/frameworks/av/include/drm/ |
H A D | drm_framework_common.h | 254 * Defines decryption handle 321 bool operator<(const DecryptHandle& handle) const { 322 return (decryptId < handle.decryptId); 325 bool operator==(const DecryptHandle& handle) const { 326 return (decryptId == handle.decryptId);
|
/frameworks/av/include/media/ |
H A D | EffectsFactoryApi.h | 94 // a handle on the effect control interface. 106 // pHandle: address where to return the effect handle. 113 // *pHandle: updated with the effect handle. 124 // Description: Releases the effect engine whose handle is given as argument. 129 // handle: handle on the effect interface to be released. 134 // -EINVAL invalid interface handle 138 int EffectRelease(effect_handle_t handle);
|
/frameworks/av/media/libaaudio/src/binding/ |
H A D | IAAudioClient.h | 36 virtual void onStreamChange(aaudio::aaudio_handle_t handle, int32_t opcode, int32_t value) = 0;
|
H A D | IAAudioClient.cpp | 45 void onStreamChange(aaudio_handle_t handle, int32_t opcode, int32_t value) override { 48 data.writeInt32(handle);
|
/frameworks/av/media/libeffects/factory/include/media/ |
H A D | EffectsFactoryApi.h | 94 // a handle on the effect control interface. 106 // pHandle: address where to return the effect handle. 113 // *pHandle: updated with the effect handle. 124 // Description: Releases the effect engine whose handle is given as argument. 129 // handle: handle on the effect interface to be released. 134 // -EINVAL invalid interface handle 138 int EffectRelease(effect_handle_t handle);
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | DrcPresModeWrap.h | 33 void setDecoderHandle(const HANDLE_AACDECODER handle);
|
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
H A D | amrwbdec_test.cpp | 82 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); local 83 if (handle == NULL) { 163 sf_writef_short(handle, outputBuf, kSamplesPerFrame / kChannels); 168 sf_close(handle);
|
/frameworks/av/media/libstagefright/include/ |
H A D | SecureBuffer.h | 32 * the size information. For decryption, it exposes underlying handle/pointer 38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
|
/frameworks/base/libs/hwui/ |
H A D | AnimationContext.cpp | 46 AnimationHandle* handle = new AnimationHandle(node, *this); local 47 addAnimationHandle(handle); 51 void AnimationContext::addAnimationHandle(AnimationHandle* handle) { argument 52 handle->insertAfter(&mNextFrameAnimations); 110 "Releasing the handle for an RenderNode with outstanding animators!");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | SyntheticPasswordTests.java | 74 long handle = manager.createPasswordBasedSyntheticPassword(mGateKeeperService, PASSWORD, 79 mGateKeeperService, handle, PASSWORD, USER_ID, null); 82 result = manager.unwrapPasswordBasedSyntheticPassword(mGateKeeperService, handle, 335 long handle = mLocalService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); 336 assertFalse(mLocalService.isEscrowTokenActive(handle, PRIMARY_USER_ID)); 340 assertTrue(mLocalService.isEscrowTokenActive(handle, PRIMARY_USER_ID)); 343 handle, TOKEN.getBytes(), PASSWORD_QUALITY_SOMETHING, PRIMARY_USER_ID); 364 long handle = mLocalService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); 365 assertFalse(mLocalService.isEscrowTokenActive(handle, PRIMARY_USER_ID)); 369 assertTrue(mLocalService.isEscrowTokenActive(handle, PRIMARY_USER_I [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ContentProviderRecord.java | 98 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 99 if (handle == null) { 100 handle = new ExternalProcessHandle(token); 101 externalProcessTokenToHandle.put(token, handle); 103 handle.mAcquisitionCount++; 111 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 112 if (handle != null) { 114 handle.mAcquisitionCount--; 115 if (handle.mAcquisitionCount == 0) { 130 ExternalProcessHandle handle [all...] |