Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/av/soundtrigger/
DISoundTrigger.cpp54 sound_model_handle_t *handle) in loadSoundModel()
73 virtual status_t unloadSoundModel(sound_model_handle_t handle) in unloadSoundModel()
85 virtual status_t startRecognition(sound_model_handle_t handle, in startRecognition()
104 virtual status_t stopRecognition(sound_model_handle_t handle) in stopRecognition()
136 sound_model_handle_t handle; in onTransact() local
146 sound_model_handle_t handle; in onTransact() local
154 sound_model_handle_t handle; in onTransact() local
166 sound_model_handle_t handle; in onTransact() local
/frameworks/base/core/java/android/app/
DNativeActivity.java92 private native void unloadNativeCode(long handle); in unloadNativeCode()
93 private native void onStartNative(long handle); in onStartNative()
94 private native void onResumeNative(long handle); in onResumeNative()
95 private native byte[] onSaveInstanceStateNative(long handle); in onSaveInstanceStateNative()
96 private native void onPauseNative(long handle); in onPauseNative()
97 private native void onStopNative(long handle); in onStopNative()
98 private native void onConfigurationChangedNative(long handle); in onConfigurationChangedNative()
99 private native void onLowMemoryNative(long handle); in onLowMemoryNative()
100 private native void onWindowFocusChangedNative(long handle, boolean focused); in onWindowFocusChangedNative()
101 private native void onSurfaceCreatedNative(long handle, Surface surface); in onSurfaceCreatedNative()
[all …]
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp68 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) in freeBuffer()
86 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, in lock()
92 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, in lockYCbCr()
98 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) in unlock()
109 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, in lockAsync()
115 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, in lockAsync()
155 status_t GraphicBufferMapper::lockAsyncYCbCr(buffer_handle_t handle, in lockAsyncYCbCr()
175 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.java155 private static native void nativeClose(long handle); in nativeClose()
157 private static native long nativeSumNativeBinaries(long handle, String cpuAbi, in nativeSumNativeBinaries()
160 private native static int nativeCopyNativeBinaries(long handle, String sharedLibraryPath, in nativeCopyNativeBinaries()
164 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries()
180 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries()
198 public static int findSupportedAbi(Handle handle, String[] supportedAbis) { in findSupportedAbi()
223 private native static int nativeFindSupportedAbi(long handle, String[] supportedAbis, in nativeFindSupportedAbi()
291 private static long sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) { in sumNativeBinariesForSupportedAbi()
300 public static int copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, in copyNativeBinariesForSupportedAbi()
333 public static int copyNativeBinariesWithOverride(Handle handle, File libraryRoot, in copyNativeBinariesWithOverride()
[all …]
/frameworks/av/services/soundtrigger/
DSoundTriggerHalLegacy.cpp80 sound_model_handle_t *handle) in loadSoundModel()
88 int SoundTriggerHalLegacy::unloadSoundModel(sound_model_handle_t handle) in unloadSoundModel()
96 int SoundTriggerHalLegacy::startRecognition(sound_model_handle_t handle, in startRecognition()
107 int SoundTriggerHalLegacy::stopRecognition(sound_model_handle_t handle) in stopRecognition()
/frameworks/base/tests/CoreTests/android/core/
DRequestAPITest.java72 RequestHandle handle = in verifyFailure() local
122 RequestHandle handle = mRequestQueue.queueRequest( in verifySuccess() local
198 RequestHandle handle = mRequestQueue.queueRequest( in testGet() local
271 RequestHandle handle = mRequestQueue.queueRequest( in testHead() local
298 RequestHandle handle = mRequestQueue.queueRequest( in testChunked() local
434 RequestHandle handle = mRequestQueue.queueRequest( in testPost() local
472 RequestHandle handle = mRequestQueue.queueRequest( in testPostWithData() local
/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()
DSensorEventConnection.cpp105 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor()
117 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { in removeSensor()
138 const int handle = mSensorInfo.keyAt(i); in hasOneShotSensors() local
151 void SensorService::SensorEventConnection::setFirstFlushPending(int32_t handle, in setFirstFlushPending()
182 const int handle = mSensorInfo.keyAt(i); in updateLooperRegistrationLocked() local
212 void SensorService::SensorEventConnection::incrementPendingFlushCount(int32_t handle) { in incrementPendingFlushCount()
404 const int handle = mSensorInfo.keyAt(i); in sendPendingFlushEventsLocked() local
525 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, in enableDisable()
540 int handle, nsecs_t samplingPeriodNs) in setEventRate()
549 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel()
/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/av/media/mtp/
DMtpServer.cpp270 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
275 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
305 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, in addEditObject()
311 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { in getEditObject()
320 void MtpServer::removeEditObject(MtpObjectHandle handle) { in removeEditObject()
631 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences() local
651 MtpStorageID handle = mRequest.getParameter(1); in doSetObjectReferences() local
666 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue() local
679 MtpObjectHandle handle = mRequest.getParameter(1); in doSetObjectPropValue() local
723 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropList() 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, int 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/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/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java401 public int getCredentialType(long handle, int userId) { in getCredentialType()
508 private int loadWeaverSlot(long handle, int userId) { in loadWeaverSlot()
524 private void saveWeaverSlot(int slot, long handle, int userId) { in saveWeaverSlot()
531 private void destroyWeaverSlot(long handle, int userId) { in destroyWeaverSlot()
582 long handle = generateHandle(); in createPasswordBasedSyntheticPassword() local
651 public void migrateFrpPasswordLocked(long handle, UserInfo userInfo, int requestedQuality) { in migrateFrpPasswordLocked()
698 long handle = generateHandle(); in createTokenBasedSyntheticPassword() local
725 public boolean removePendingToken(long handle, int userId) { in removePendingToken()
732 public boolean activateTokenBasedSyntheticPassword(long handle, AuthenticationToken authToken, in activateTokenBasedSyntheticPassword()
762 private void createSyntheticPasswordBlob(long handle, byte type, AuthenticationToken authToken, in createSyntheticPasswordBlob()
[all …]
/frameworks/native/libs/vr/libpdx/
Dclient.cpp226 Status<FileReference> Transaction::PushFileHandle(const LocalHandle& handle) { in PushFileHandle()
233 const BorrowedHandle& handle) { in PushFileHandle()
239 Status<FileReference> Transaction::PushFileHandle(const RemoteHandle& handle) { in PushFileHandle()
244 const LocalChannelHandle& handle) { in PushChannelHandle()
251 const BorrowedChannelHandle& handle) { in PushChannelHandle()
258 const RemoteChannelHandle& handle) { in PushChannelHandle()
262 bool Transaction::GetFileHandle(FileReference ref, LocalHandle* handle) { in GetFileHandle()
268 LocalChannelHandle* handle) { in GetChannelHandle()
/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()
625 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
633 public void onTokenStateReceived(long handle, int tokenState) { in onTokenStateReceived()
640 public void onEscrowTokenRemoved(long handle, boolean successful) { in onEscrowTokenRemoved()
DITrustAgentService.aidl34 oneway void onEscrowTokenAdded(in byte[] token, long handle, in UserHandle user); in onEscrowTokenAdded()
35 oneway void onTokenStateReceived(long handle, int tokenState); in onTokenStateReceived()
36 oneway void onEscrowTokenRemoved(long handle, boolean successful); in onEscrowTokenRemoved()
DITrustAgentServiceCallback.aidl32 void isEscrowTokenActive(long handle, int userId); in isEscrowTokenActive()
33 void removeEscrowToken(long handle, int userId); in removeEscrowToken()
34 void unlockUserWithToken(long handle, in byte[] token, int userId); in unlockUserWithToken()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp282 void* handle = OpenNativeLibrary(env, in loadNativeCode_native() local
388 unloadNativeCode_native(JNIEnv* env, jobject clazz, jlong handle) in unloadNativeCode_native()
400 onStart_native(JNIEnv* env, jobject clazz, jlong handle) in onStart_native()
414 onResume_native(JNIEnv* env, jobject clazz, jlong handle) in onResume_native()
428 onSaveInstanceState_native(JNIEnv* env, jobject clazz, jlong handle) in onSaveInstanceState_native()
457 onPause_native(JNIEnv* env, jobject clazz, jlong handle) in onPause_native()
471 onStop_native(JNIEnv* env, jobject clazz, jlong handle) in onStop_native()
485 onConfigurationChanged_native(JNIEnv* env, jobject clazz, jlong handle) in onConfigurationChanged_native()
499 onLowMemory_native(JNIEnv* env, jobject clazz, jlong handle) in onLowMemory_native()
513 onWindowFocusChanged_native(JNIEnv* env, jobject clazz, jlong handle, jboolean focused) in onWindowFocusChanged_native()
[all …]
/frameworks/av/services/oboeservice/
DAAudioStreamTracker.cpp58 aaudio_handle_t AAudioStreamTracker::bumpHandle(aaudio_handle_t handle) { in bumpHandle()
69 aaudio_handle_t handle = mPreviousHandle.load(); in addStreamForHandle() local
96 aaudio_handle_t handle = it.second->getHandle(); in dump() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java65 long handle = manager.createPasswordBasedSyntheticPassword(mGateKeeperService, PASSWORD, in testPasswordBasedSyntheticPassword() local
273 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testTokenBasedResetPassword() local
302 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testTokenBasedClearPassword() local
326 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testTokenBasedResetPasswordAfterCredentialChanges() local
346 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNeedsMigration() local
355 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNoMigration() local
370 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testEscrowTokenActivatedLaterWithUserPasswordNeedsMigration() local
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java71 long nativeInstance, int handle, int type, float[] floatValues, int[] intValues); in nativeSetOperationParameter()
630 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, in nativeEnableSensor()
632 private static native int nativeDisableSensor(long eventQ, int handle); in nativeDisableSensor()
635 private static native int nativeInjectSensorData(long eventQ, int handle, in nativeInjectSensorData()
663 int handle = sensor.getHandle(); in addSensor() local
683 int handle = mActiveSensors.keyAt(i); in removeAllSensors() local
698 final int handle = sensor.getHandle(); in removeSensor() local
748 protected int injectSensorDataBase(int handle, float[] values, int accuracy, in injectSensorDataBase()
758 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, in dispatchSensorEvent()
760 protected abstract void dispatchFlushCompleteEvent(int handle); in dispatchFlushCompleteEvent()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DICallService.aidl38 void isCompatibleWith(String handle); in isCompatibleWith()
48 void call(String handle); in call()

12345678910>>...12