Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/av/media/libmediametrics/
DMediaMetrics.cpp44 void mediametrics_delete(mediametrics_handle_t handle) { in mediametrics_delete()
50 mediametricskey_t mediametrics_getKey(mediametrics_handle_t handle) { in mediametrics_getKey()
57 void mediametrics_setUid(mediametrics_handle_t handle, uid_t uid) { in mediametrics_setUid()
65 void mediametrics_setInt32(mediametrics_handle_t handle, attr_t attr, in mediametrics_setInt32()
71 void mediametrics_setInt64(mediametrics_handle_t handle, attr_t attr, in mediametrics_setInt64()
77 void mediametrics_setDouble(mediametrics_handle_t handle, attr_t attr, in mediametrics_setDouble()
83 void mediametrics_setRate(mediametrics_handle_t handle, attr_t attr, in mediametrics_setRate()
89 void mediametrics_setCString(mediametrics_handle_t handle, attr_t attr, in mediametrics_setCString()
98 void mediametrics_addInt32(mediametrics_handle_t handle, attr_t attr, in mediametrics_addInt32()
104 void mediametrics_addInt64(mediametrics_handle_t handle, attr_t attr, in mediametrics_addInt64()
[all …]
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.cpp72 void MtpMockDatabase::endSendObject(MtpObjectHandle handle, bool succeeded) { in endSendObject()
77 void MtpMockDatabase::rescanFile(const char* path, MtpObjectHandle handle, MtpObjectFormat format) { in rescanFile()
115 MtpResponseCode MtpMockDatabase::getObjectPropertyValue(MtpObjectHandle handle, in getObjectPropertyValue()
123 MtpResponseCode MtpMockDatabase::setObjectPropertyValue(MtpObjectHandle handle, in setObjectPropertyValue()
148 MtpResponseCode MtpMockDatabase::getObjectPropertyList(MtpObjectHandle handle, uint32_t format, in getObjectPropertyList()
158 MtpResponseCode MtpMockDatabase::getObjectInfo(MtpObjectHandle handle, MtpObjectInfo& info) { in getObjectInfo()
187 void* MtpMockDatabase::getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) { in getThumbnail()
201 MtpResponseCode MtpMockDatabase::getObjectFilePath(MtpObjectHandle handle, in getObjectFilePath()
260 MtpResponseCode MtpMockDatabase::beginDeleteObject(MtpObjectHandle handle) { in beginDeleteObject()
264 void MtpMockDatabase::endDeleteObject(MtpObjectHandle handle, bool succeeded) { in endDeleteObject()
[all …]
/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/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/native/libs/binder/tests/parcel_fuzzer/
Dhwbinder.cpp109 size_t handle = 0; in __anon2ab79a190702() local
119 size_t handle = 0; in __anon2ab79a190802() local
129 size_t handle = 0; in __anon2ab79a190902() local
141 size_t handle = 0; in __anon2ab79a190a02() local
155 const native_handle_t* handle = nullptr; in __anon2ab79a190b02() local
166 const native_handle_t* handle = nullptr; in __anon2ab79a190c02() local
175 const native_handle_t* handle = nullptr; in __anon2ab79a190d02() local
185 const native_handle_t* handle = nullptr; in __anon2ab79a190e02() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java80 long handle = manager.createPasswordBasedSyntheticPassword(mGateKeeperService, in testPasswordBasedSyntheticPassword() local
238 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedResetPassword() local
268 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedClearPassword() local
275 mLocalService.setLockCredentialWithToken(nonePassword(), handle, token, PRIMARY_USER_ID); in testTokenBasedClearPassword() local
294 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedResetPasswordAfterCredentialChanges() local
315 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNeedsMigration() local
332 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNoMigration() local
348 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testEscrowTokenActivatedLaterWithUserPasswordNeedsMigration() local
409 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testSetLockCredentialWithTokenFailsWithoutLockScreen() local
526 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testUnlockUserWithToken() local
[all …]
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java173 private static native void nativeClose(long handle); in nativeClose()
175 private static native long nativeSumNativeBinaries(long handle, String cpuAbi, in nativeSumNativeBinaries()
178 private native static int nativeCopyNativeBinaries(long handle, String sharedLibraryPath, in nativeCopyNativeBinaries()
181 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries()
197 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries()
215 public static int findSupportedAbi(Handle handle, String[] supportedAbis) { in findSupportedAbi()
240 private native static int nativeFindSupportedAbi(long handle, String[] supportedAbis, in nativeFindSupportedAbi()
311 private static long sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) { in sumNativeBinariesForSupportedAbi()
320 public static int copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, in copyNativeBinariesForSupportedAbi()
373 public static int copyNativeBinariesWithOverride(Handle handle, File libraryRoot, in copyNativeBinariesWithOverride()
[all …]
/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/av/services/audioflinger/
DDeviceEffectManager.cpp35 void AudioFlinger::DeviceEffectManager::createAudioPatch(audio_patch_handle_t handle, in createAudioPatch()
45 void AudioFlinger::DeviceEffectManager::onCreateAudioPatch(audio_patch_handle_t handle, in onCreateAudioPatch()
58 void AudioFlinger::DeviceEffectManager::releaseAudioPatch(audio_patch_handle_t handle) { in releaseAudioPatch()
63 void AudioFlinger::DeviceEffectManager::onReleaseAudioPatch(audio_patch_handle_t handle) { in onReleaseAudioPatch()
82 sp<EffectHandle> handle; in createEffect_l() local
182 EffectHandle *handle, bool unpinIfLast) { in disconnectEffectHandle()
262 audio_patch_handle_t handle, const PatchPanel::Patch& patch) in createAudioPatchCommand()
270 audio_patch_handle_t handle) in releaseAudioPatchCommand()
/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 …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java529 int getCredentialType(long handle, int userId) { in getCredentialType()
652 private int loadWeaverSlot(long handle, int userId) { in loadWeaverSlot()
668 private void saveWeaverSlot(int slot, long handle, int userId) { in saveWeaverSlot()
675 private void destroyWeaverSlot(long handle, int userId) { in destroyWeaverSlot()
740 long handle = generateHandle(); in createPasswordBasedSyntheticPassword() local
833 public void migrateFrpPasswordLocked(long handle, UserInfo userInfo, int requestedQuality) { in migrateFrpPasswordLocked()
885 long handle = generateHandle(); in createTokenBasedSyntheticPassword() local
913 public boolean removePendingToken(long handle, int userId) { in removePendingToken()
920 public boolean activateTokenBasedSyntheticPassword(long handle, AuthenticationToken authToken, in activateTokenBasedSyntheticPassword()
953 private void createSyntheticPasswordBlob(long handle, byte type, AuthenticationToken authToken, in createSyntheticPasswordBlob()
[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/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/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/media/java/android/mtp/
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()
157 private native final void native_send_object_added(int handle); in native_send_object_added()
158 private native final void native_send_object_removed(int handle); in native_send_object_removed()
159 private native final void native_send_object_info_changed(int handle); in native_send_object_info_changed()
DMtpDatabase.java432 private void endSendObject(int handle, boolean succeeded) { in endSendObject()
445 private void rescanFile(String path, int handle, int format) { in rescanFile()
475 private MtpPropertyList getObjectPropertyList(int handle, int format, int property, in getObjectPropertyList()
563 private int renameFile(int handle, String newName) { in renameFile()
595 private int beginMoveObject(int handle, int newParent, int newStorage) { in beginMoveObject()
632 private int beginCopyObject(int handle, int newParent, int newStorage) { in beginCopyObject()
642 private void endCopyObject(int handle, boolean success) { in endCopyObject()
667 private int setObjectProperty(int handle, int property, in setObjectProperty()
751 private boolean getObjectInfo(int handle, int[] outStorageFormatParent, in getObjectInfo()
771 private int getObjectFilePath(int handle, char[] outFilePath, long[] outFileLengthFormat) { in getObjectFilePath()
[all …]
/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/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java397 int handle = module.loadModel(model); in loadGenericModel_2_0() local
450 int handle = module.loadModel(model); in loadGenericModel_2_1() local
514 int handle = module.loadPhraseModel(model); in loadPhraseModel_2_0() local
586 int handle = module.loadPhraseModel(model); in loadPhraseModel_2_1() local
627 private void unloadModel(ISoundTriggerModule module, int handle, int hwHandle) in unloadModel()
634 private void startRecognition_2_0(ISoundTriggerModule module, int handle, in startRecognition_2_0()
666 private void startRecognition_2_1(ISoundTriggerModule module, int handle, in startRecognition_2_1()
702 private void startRecognition_2_3(ISoundTriggerModule module, int handle, in startRecognition_2_3()
742 private void startRecognition(ISoundTriggerModule module, int handle, in startRecognition()
769 private void stopRecognition(ISoundTriggerModule module, int handle, int hwHandle) in stopRecognition()
[all …]
/frameworks/native/services/powermanager/
DPowerHalController.cpp90 std::shared_ptr<HalWrapper> handle = initHal(); in setBoost() local
96 std::shared_ptr<HalWrapper> handle = initHal(); in setMode() local
103 std::shared_ptr<HalWrapper> handle = initHal(); in createHintSession() local
109 std::shared_ptr<HalWrapper> handle = initHal(); in getHintSessionPreferredRate() local
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DIBlobStoreManager.aidl26 long createSession(in BlobHandle handle, in String packageName); in createSession()
28 ParcelFileDescriptor openBlob(in BlobHandle handle, in String packageName); in openBlob()
31 void acquireLease(in BlobHandle handle, int descriptionResId, in CharSequence description, in acquireLease()
33 void releaseLease(in BlobHandle handle, in String packageName); in releaseLease()
/frameworks/av/media/utils/
DAImageReaderUtils.cpp28 const native_handle_t *handle) { in convertNativeHandleToHGBP()
40 const native_handle_t *handle) { in AImageReader_getHGBPFromHandle()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DAidlNativeHandleUtils.java42 public static @Nullable android.hardware.common.NativeHandle dup( in dup()
67 public static void close(@Nullable android.hardware.common.NativeHandle handle) in close()
/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()

12345678910>>...16