Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/frameworks/av/media/libmediametrics/
DMediaMetrics.cpp41 void mediametrics_delete(mediametrics_handle_t handle) { in mediametrics_delete()
47 mediametricskey_t mediametrics_getKey(mediametrics_handle_t handle) { in mediametrics_getKey()
54 void mediametrics_setUid(mediametrics_handle_t handle, uid_t uid) { in mediametrics_setUid()
62 void mediametrics_setInt32(mediametrics_handle_t handle, attr_t attr, in mediametrics_setInt32()
68 void mediametrics_setInt64(mediametrics_handle_t handle, attr_t attr, in mediametrics_setInt64()
74 void mediametrics_setDouble(mediametrics_handle_t handle, attr_t attr, in mediametrics_setDouble()
80 void mediametrics_setRate(mediametrics_handle_t handle, attr_t attr, in mediametrics_setRate()
86 void mediametrics_setCString(mediametrics_handle_t handle, attr_t attr, in mediametrics_setCString()
95 void mediametrics_addInt32(mediametrics_handle_t handle, attr_t attr, in mediametrics_addInt32()
101 void mediametrics_addInt64(mediametrics_handle_t handle, attr_t attr, in mediametrics_addInt64()
[all …]
/frameworks/av/soundtrigger/
DISoundTrigger.cpp55 sound_model_handle_t *handle) in loadSoundModel()
74 virtual status_t unloadSoundModel(sound_model_handle_t handle) in unloadSoundModel()
86 virtual status_t startRecognition(sound_model_handle_t handle, in startRecognition()
105 virtual status_t stopRecognition(sound_model_handle_t handle) in stopRecognition()
117 virtual status_t getModelState(sound_model_handle_t handle) in getModelState()
149 sound_model_handle_t handle; in onTransact() local
159 sound_model_handle_t handle; in onTransact() local
167 sound_model_handle_t handle; in onTransact() local
179 sound_model_handle_t handle; in onTransact() local
187 sound_model_handle_t handle; in onTransact() local
/frameworks/base/core/java/android/app/
DNativeActivity.java95 private native void unloadNativeCode(long handle); in unloadNativeCode()
96 private native void onStartNative(long handle); in onStartNative()
97 private native void onResumeNative(long handle); in onResumeNative()
98 private native byte[] onSaveInstanceStateNative(long handle); in onSaveInstanceStateNative()
99 private native void onPauseNative(long handle); in onPauseNative()
100 private native void onStopNative(long handle); in onStopNative()
101 private native void onConfigurationChangedNative(long handle); in onConfigurationChangedNative()
102 private native void onLowMemoryNative(long handle); in onLowMemoryNative()
103 private native void onWindowFocusChangedNative(long handle, boolean focused); in onWindowFocusChangedNative()
104 private native void onSurfaceCreatedNative(long handle, Surface surface); in onSurfaceCreatedNative()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java80 long handle = manager.createPasswordBasedSyntheticPassword(mGateKeeperService, in testPasswordBasedSyntheticPassword() local
256 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedResetPassword() local
288 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedClearPassword() local
316 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedResetPasswordAfterCredentialChanges() local
341 long handle = mLocalService.addEscrowToken(token.getBytes(), PRIMARY_USER_ID, null); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNeedsMigration() local
352 long handle = mLocalService.addEscrowToken(token.getBytes(), PRIMARY_USER_ID, null); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNoMigration() local
369 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testEscrowTokenActivatedLaterWithUserPasswordNeedsMigration() local
388 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testSetLockCredentialWithTokenFailsWithoutLockScreen() local
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp93 void GraphicBufferMapper::getTransportSize(buffer_handle_t handle, in getTransportSize()
99 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) in freeBuffer()
108 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, in lock()
114 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, in lockYCbCr()
120 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) in unlock()
131 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, in lockAsync()
138 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, uint64_t producerUsage, in lockAsync()
150 status_t GraphicBufferMapper::lockAsyncYCbCr(buffer_handle_t handle, in lockAsyncYCbCr()
158 status_t GraphicBufferMapper::unlockAsync(buffer_handle_t handle, int *fenceFd) in unlockAsync()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecStandbyModeHandler.java27 boolean handle(HdmiCecMessage message); in handle() method
32 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.Bystander
39 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.Bypasser
50 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.Aborter
58 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.AutoOnHandler
69 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.UserControlProcessedHandler
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java168 private static native void nativeClose(long handle); in nativeClose()
170 private static native long nativeSumNativeBinaries(long handle, String cpuAbi, in nativeSumNativeBinaries()
173 private native static int nativeCopyNativeBinaries(long handle, String sharedLibraryPath, in nativeCopyNativeBinaries()
176 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries()
192 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries()
210 public static int findSupportedAbi(Handle handle, String[] supportedAbis) { in findSupportedAbi()
235 private native static int nativeFindSupportedAbi(long handle, String[] supportedAbis, in nativeFindSupportedAbi()
306 private static long sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) { in sumNativeBinariesForSupportedAbi()
315 public static int copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, in copyNativeBinariesForSupportedAbi()
348 public static int copyNativeBinariesWithOverride(Handle handle, File libraryRoot, in copyNativeBinariesWithOverride()
[all …]
/frameworks/av/services/audioflinger/
DDeviceEffectManager.cpp33 void AudioFlinger::DeviceEffectManager::createAudioPatch(audio_patch_handle_t handle, in createAudioPatch()
43 void AudioFlinger::DeviceEffectManager::onCreateAudioPatch(audio_patch_handle_t handle, in onCreateAudioPatch()
56 void AudioFlinger::DeviceEffectManager::releaseAudioPatch(audio_patch_handle_t handle) { in releaseAudioPatch()
61 void AudioFlinger::DeviceEffectManager::onReleaseAudioPatch(audio_patch_handle_t handle) { in onReleaseAudioPatch()
79 sp<EffectHandle> handle; in createEffect_l() local
169 EffectHandle *handle, bool unpinIfLast) { in disconnectEffectHandle()
249 audio_patch_handle_t handle, const PatchPanel::Patch& patch) in createAudioPatchCommand()
257 audio_patch_handle_t handle) in releaseAudioPatchCommand()
/frameworks/native/libs/vr/libpdx/fuzz/
Dhelpers.h179 const LocalChannelHandle& handle) { in MessageReplyChannelHandle()
187 const BorrowedChannelHandle& handle) { in MessageReplyChannelHandle()
195 const RemoteChannelHandle& handle) { in MessageReplyChannelHandle()
222 const LocalHandle& handle) { in PushFileHandle()
229 const BorrowedHandle& handle) { in PushFileHandle()
236 const RemoteHandle& handle) { in PushFileHandle()
243 const LocalChannelHandle& handle) { in PushChannelHandle()
250 Message* message, const BorrowedChannelHandle& handle) { in PushChannelHandle()
257 Message* message, const RemoteChannelHandle& handle) { in PushChannelHandle()
/frameworks/base/tests/CoreTests/android/core/
DRequestAPITest.java71 RequestHandle handle = in verifyFailure() local
121 RequestHandle handle = mRequestQueue.queueRequest( in verifySuccess() local
197 RequestHandle handle = mRequestQueue.queueRequest( in testGet() local
270 RequestHandle handle = mRequestQueue.queueRequest( in testHead() local
297 RequestHandle handle = mRequestQueue.queueRequest( in testChunked() local
433 RequestHandle handle = mRequestQueue.queueRequest( in testPost() local
471 RequestHandle handle = mRequestQueue.queueRequest( in testPostWithData() local
/frameworks/av/media/mtp/
DMtpServer.cpp255 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
260 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
265 void MtpServer::sendObjectInfoChanged(MtpObjectHandle handle) { in sendObjectInfoChanged()
295 void MtpServer::addEditObject(MtpObjectHandle handle, MtpStringBuffer& path, in addEditObject()
301 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { in getEditObject()
310 void MtpServer::removeEditObject(MtpObjectHandle handle) { in removeEditObject()
629 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences() local
649 MtpStorageID handle = mRequest.getParameter(1); in doSetObjectReferences() local
664 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue() local
677 MtpObjectHandle handle = mRequest.getParameter(1); in doSetObjectPropValue() local
[all …]
DMtpDevice.cpp428 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { in getObjectInfo()
450 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { in getThumbnail()
519 bool MtpDevice::sendObject(MtpObjectHandle handle, uint32_t size, int srcFD) { in sendObject()
539 bool MtpDevice::deleteObject(MtpObjectHandle handle) { in deleteObject()
552 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { in getParent()
563 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) { in getStorageID()
632 bool MtpDevice::getObjectPropValue(MtpObjectHandle handle, MtpProperty* property) { in getObjectPropValue()
651 bool MtpDevice::readObject(MtpObjectHandle handle, in readObject()
659 bool MtpDevice::readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) { in readObject()
678 bool MtpDevice::readObject(MtpObjectHandle handle, int fd) { in readObject()
[all …]
/frameworks/native/services/sensorservice/
DBatteryService.cpp36 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor()
48 bool BatteryService::removeSensor(uid_t uid, int handle) { in removeSensor()
58 void BatteryService::enableSensorImpl(uid_t uid, int handle) { in enableSensorImpl()
67 void BatteryService::disableSensorImpl(uid_t uid, int handle) { in disableSensorImpl()
DBatteryService.h39 int handle; member
55 static void enableSensor(uid_t uid, int handle) { in enableSensor()
58 static void disableSensor(uid_t uid, int handle) { in disableSensor()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java431 public int getCredentialType(long handle, int userId) { in getCredentialType()
538 private int loadWeaverSlot(long handle, int userId) { in loadWeaverSlot()
554 private void saveWeaverSlot(int slot, long handle, int userId) { in saveWeaverSlot()
561 private void destroyWeaverSlot(long handle, int userId) { in destroyWeaverSlot()
635 long handle = generateHandle(); in createPasswordBasedSyntheticPassword() local
706 public void migrateFrpPasswordLocked(long handle, UserInfo userInfo, int requestedQuality) { in migrateFrpPasswordLocked()
758 long handle = generateHandle(); in createTokenBasedSyntheticPassword() local
786 public boolean removePendingToken(long handle, int userId) { in removePendingToken()
793 public boolean activateTokenBasedSyntheticPassword(long handle, AuthenticationToken authToken, in activateTokenBasedSyntheticPassword()
828 private void createSyntheticPasswordBlob(long handle, byte type, AuthenticationToken authToken, in createSyntheticPasswordBlob()
[all …]
/frameworks/native/libs/sensor/
DISensorEventConnection.cpp61 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, in enableDisable()
75 virtual status_t setEventRate(int handle, nsecs_t ns) in setEventRate()
92 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) { in configureChannel()
133 int handle = data.readInt32(); in onTransact() local
145 int handle = data.readInt32(); in onTransact() local
159 int handle = data.readInt32(); in onTransact() local
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_manager.cpp14 void ChannelManager::CloseHandle(int32_t handle) { in CloseHandle()
29 const int32_t handle = data_fd.Get(); in CreateHandle() local
44 ChannelEventReceiver* ChannelManager::GetChannelData(int32_t handle) { in GetChannelData()
/frameworks/native/libs/vr/libpdx/
Dclient.cpp230 Status<FileReference> Transaction::PushFileHandle(const LocalHandle& handle) { in PushFileHandle()
237 const BorrowedHandle& handle) { in PushFileHandle()
243 Status<FileReference> Transaction::PushFileHandle(const RemoteHandle& handle) { in PushFileHandle()
248 const LocalChannelHandle& handle) { in PushChannelHandle()
255 const BorrowedChannelHandle& handle) { in PushChannelHandle()
262 const RemoteChannelHandle& handle) { in PushChannelHandle()
266 bool Transaction::GetFileHandle(FileReference ref, LocalHandle* handle) { in GetFileHandle()
272 LocalChannelHandle* handle) { in GetChannelHandle()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java417 private void endSendObject(int handle, boolean succeeded) { in endSendObject()
430 private void rescanFile(String path, int handle, int format) { in rescanFile()
459 private MtpPropertyList getObjectPropertyList(int handle, int format, int property, in getObjectPropertyList()
547 private int renameFile(int handle, String newName) { in renameFile()
603 private int beginMoveObject(int handle, int newParent, int newStorage) { in beginMoveObject()
673 private int beginCopyObject(int handle, int newParent, int newStorage) { in beginCopyObject()
683 private void endCopyObject(int handle, boolean success) { in endCopyObject()
696 private int setObjectProperty(int handle, int property, in setObjectProperty()
759 private boolean getObjectInfo(int handle, int[] outStorageFormatParent, in getObjectInfo()
779 private int getObjectFilePath(int handle, char[] outFilePath, long[] outFileLengthFormat) { in getObjectFilePath()
[all …]
DMtpServer.java123 public void sendObjectAdded(int handle) { in sendObjectAdded()
127 public void sendObjectRemoved(int handle) { in sendObjectRemoved()
131 public void sendObjectInfoChanged(int handle) { in sendObjectInfoChanged()
162 private native final void native_send_object_added(int handle); in native_send_object_added()
163 private native final void native_send_object_removed(int handle); in native_send_object_removed()
164 private native final void native_send_object_info_changed(int handle); in native_send_object_info_changed()
/frameworks/av/camera/
DICameraRecordingProxyListener.cpp53 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { in recordingFrameHandleCallbackTimestamp()
84 for (auto& handle : handles) { in recordingFrameHandleCallbackTimestampBatch() local
91 for (auto& handle : handles) { in recordingFrameHandleCallbackTimestampBatch() local
125 native_handle_t* handle = data.readNativeHandle(); in onTransact() local
159 native_handle_t* handle = data.readNativeHandle(); in onTransact() local
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java315 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
325 public void onEscrowTokenStateReceived(long handle, @TokenState int tokenState) { in onEscrowTokenStateReceived()
335 public void onEscrowTokenRemoved(long handle, boolean successful) { in onEscrowTokenRemoved()
501 public final void isEscrowTokenActive(long handle, UserHandle user) { in isEscrowTokenActive()
524 public final void removeEscrowToken(long handle, UserHandle user) { in removeEscrowToken()
546 public final void unlockUserWithToken(long handle, byte[] token, UserHandle user) { in unlockUserWithToken()
650 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
658 public void onTokenStateReceived(long handle, int tokenState) { in onTokenStateReceived()
665 public void onEscrowTokenRemoved(long handle, boolean successful) { in onEscrowTokenRemoved()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp285 void* handle = OpenNativeLibrary(env, in loadNativeCode_native() local
400 unloadNativeCode_native(JNIEnv* env, jobject clazz, jlong handle) in unloadNativeCode_native()
412 onStart_native(JNIEnv* env, jobject clazz, jlong handle) in onStart_native()
426 onResume_native(JNIEnv* env, jobject clazz, jlong handle) in onResume_native()
440 onSaveInstanceState_native(JNIEnv* env, jobject clazz, jlong handle) in onSaveInstanceState_native()
469 onPause_native(JNIEnv* env, jobject clazz, jlong handle) in onPause_native()
483 onStop_native(JNIEnv* env, jobject clazz, jlong handle) in onStop_native()
497 onConfigurationChanged_native(JNIEnv* env, jobject clazz, jlong handle) in onConfigurationChanged_native()
511 onLowMemory_native(JNIEnv* env, jobject clazz, jlong handle) in onLowMemory_native()
525 onWindowFocusChanged_native(JNIEnv* env, jobject clazz, jlong handle, jboolean focused) in onWindowFocusChanged_native()
[all …]
/frameworks/av/media/utils/
DAImageReaderUtils.cpp28 const native_handle_t *handle) { in convertNativeHandleToHGBP()
40 const native_handle_t *handle) { in AImageReader_getHGBPFromHandle()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java72 long nativeInstance, int handle, int type, float[] floatValues, int[] intValues); in nativeSetOperationParameter()
633 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, in nativeEnableSensor()
635 private static native int nativeDisableSensor(long eventQ, int handle); in nativeDisableSensor()
638 private static native int nativeInjectSensorData(long eventQ, int handle, in nativeInjectSensorData()
666 int handle = sensor.getHandle(); in addSensor() local
686 int handle = mActiveSensors.keyAt(i); in removeAllSensors() local
701 final int handle = sensor.getHandle(); in removeSensor() local
751 protected int injectSensorDataBase(int handle, float[] values, int accuracy, in injectSensorDataBase()
763 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, in dispatchSensorEvent()
766 protected abstract void dispatchFlushCompleteEvent(int handle); in dispatchFlushCompleteEvent()
[all …]

12345678910>>...15