Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 283) 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.cpp64 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) in freeBuffer()
82 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, in lock()
88 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, in lockYCbCr()
94 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) in unlock()
105 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, in lockAsync()
111 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, in lockAsync()
151 status_t GraphicBufferMapper::lockAsyncYCbCr(buffer_handle_t handle, in lockAsyncYCbCr()
171 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/base/services/core/java/com/android/server/
DSyntheticPasswordManager.java218 public int getCredentialType(long handle, int userId) { in getCredentialType()
345 long handle = generateHandle(); in createPasswordBasedSyntheticPassword() local
372 long handle = generateHandle(); in createTokenBasedSyntheticPassword() local
389 public boolean removePendingToken(long handle, int userId) { in removePendingToken()
396 public boolean activateTokenBasedSyntheticPassword(long handle, AuthenticationToken authToken, in activateTokenBasedSyntheticPassword()
415 private void createSyntheticPasswordBlob(long handle, byte type, AuthenticationToken authToken, in createSyntheticPasswordBlob()
437 long handle, String credential, int userId) throws RemoteException { in unwrapPasswordBasedSyntheticPassword()
487 IGateKeeperService gatekeeper, long handle, byte[] token, int userId) in unwrapTokenBasedSyntheticPassword()
507 private AuthenticationToken unwrapSyntheticPasswordBlob(long handle, byte type, in unwrapSyntheticPasswordBlob()
581 public boolean existsHandle(long handle, int userId) { in existsHandle()
[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/native/libs/sensor/
DISensorEventConnection.cpp60 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, in enableDisable()
74 virtual status_t setEventRate(int handle, nsecs_t ns) in setEventRate()
91 virtual int32_t configureChannel(int32_t handle, int32_t rateLevel) { in configureChannel()
121 int handle = data.readInt32(); in onTransact() local
133 int handle = data.readInt32(); in onTransact() local
147 int handle = data.readInt32(); in onTransact() local
/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/av/media/mtp/
DMtpServer.cpp268 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
273 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
303 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, in addEditObject()
309 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { in getEditObject()
318 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
721 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/vr/libpdx/
Dclient.cpp227 Status<FileReference> Transaction::PushFileHandle(const LocalHandle& handle) { in PushFileHandle()
234 const BorrowedHandle& handle) { in PushFileHandle()
240 Status<FileReference> Transaction::PushFileHandle(const RemoteHandle& handle) { in PushFileHandle()
245 const LocalChannelHandle& handle) { in PushChannelHandle()
252 const BorrowedChannelHandle& handle) { in PushChannelHandle()
259 const RemoteChannelHandle& handle) { in PushChannelHandle()
263 bool Transaction::GetFileHandle(FileReference ref, LocalHandle* handle) { in GetFileHandle()
269 LocalChannelHandle* handle) { in GetChannelHandle()
Dservice_tests.cpp420 LocalHandle handle{kFakeFd}; in TEST_F() local
428 LocalHandle handle{-EINVAL}; in TEST_F() local
436 BorrowedHandle handle{kFakeFd}; in TEST_F() local
443 BorrowedHandle handle{-EACCES}; in TEST_F() local
450 RemoteHandle handle{123}; in TEST_F() local
457 RemoteHandle handle{-EIO}; in TEST_F() local
464 LocalChannelHandle handle{nullptr, 12345}; in TEST_F() local
472 BorrowedChannelHandle handle{12345}; in TEST_F() local
481 RemoteChannelHandle handle{12345}; in TEST_F() local
565 LocalHandle handle{kFakeFd}; in TEST_F() local
[all …]
/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
157 native_handle_t* handle = data.readNativeHandle(); in onTransact() 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.cpp92 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor()
104 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { in removeSensor()
125 const int handle = mSensorInfo.keyAt(i); in hasOneShotSensors() local
138 void SensorService::SensorEventConnection::setFirstFlushPending(int32_t handle, in setFirstFlushPending()
169 const int handle = mSensorInfo.keyAt(i); in updateLooperRegistrationLocked() local
199 void SensorService::SensorEventConnection::incrementPendingFlushCount(int32_t handle) { in incrementPendingFlushCount()
391 const int handle = mSensorInfo.keyAt(i); in sendPendingFlushEventsLocked() local
505 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, in enableDisable()
520 int handle, nsecs_t samplingPeriodNs) in setEventRate()
529 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()
28 int32_t handle = data_fd.Get(); in CreateHandle() local
36 ChannelManager::ChannelData* ChannelManager::GetChannelData(int32_t handle) { in GetChannelData()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DSyntheticPasswordTests.java53 long handle = manager.createPasswordBasedSyntheticPassword(mGateKeeperService, PASSWORD, in testPasswordBasedSyntheticPassword() local
248 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testTokenBasedResetPassword() local
268 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testTokenBasedClearPassword() local
290 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testTokenBasedResetPasswordAfterCredentialChanges() local
308 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNeedsMigration() local
317 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNoMigration() local
332 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID); in testEscrowTokenActivatedLaterWithUserPasswordNeedsMigration() local
/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/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/java/android/hardware/
DSystemSensorManager.java630 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()
763 int handle, int type, int serial, float[] floatValues, int[] intValues) { in dispatchAdditionalInfoEvent()
[all …]
/frameworks/base/core/java/android/bluetooth/
DIBluetoothGattCallback.aidl32 void onCharacteristicRead(in String address, in int status, in int handle, in byte[] value); in onCharacteristicRead()
33 void onCharacteristicWrite(in String address, in int status, in int handle); in onCharacteristicWrite()
35 void onDescriptorRead(in String address, in int status, in int handle, in byte[] value); in onDescriptorRead()
36 void onDescriptorWrite(in String address, in int status, in int handle); in onDescriptorWrite()
37 void onNotify(in String address, in int handle, in byte[] value); in onNotify()

12345678910>>...12