Home
last modified time | relevance | path

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

12345678910>>...17

/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/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerHalConcurrentCaptureHandlerTest.java63 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testBasic() local
93 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testStopBeforeActive() local
111 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testStopAfterActive() local
126 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testAbortWhileStop() local
154 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testActiveWhileStop() local
186 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testStopWhileActive() local
216 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testEventWhileActive() local
249 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testNonFinalEventWhileActive() local
DSoundHw2CompatTest.java189 final int handle = 29; in loadGenericModel_2_0() local
222 final int handle = 29; in loadGenericModel_2_1() local
304 final int handle = 29; in loadPhraseModel_2_0() local
336 final int handle = 29; in loadPhraseModel_2_1() local
386 private void startRecognition_2_0(int handle, ISoundTriggerHal.ModelCallback canonicalCallback) in startRecognition_2_0()
406 private void startRecognition_2_1(int handle, ISoundTriggerHal.ModelCallback canonicalCallback) in startRecognition_2_1()
429 private void startRecognition_2_3(int handle) throws Exception { in startRecognition_2_3()
443 private void startRecognition(int handle, ISoundTriggerHal.ModelCallback canonicalCallback) in startRecognition()
459 final int handle = loadGenericModel(canonicalCallback); in testStartRecognition() local
617 final int handle = 85; in validateCallback_2_0() local
[all …]
DSoundTriggerMiddlewareImplTest.java82 int handle = module.loadModel(model); in loadGenericModel() local
101 int handle = module.loadPhraseModel(model); in loadPhraseModel() local
108 private void unloadModel(ISoundTriggerModule module, int handle, int hwHandle) in unloadModel()
115 private void startRecognition(ISoundTriggerModule module, int handle, int hwHandle) in startRecognition()
127 private void stopRecognition(ISoundTriggerModule module, int handle, int hwHandle) in stopRecognition()
177 int handle = loadGenericModel(module, hwHandle).first; in testLoadUnloadModel() local
190 int handle = loadResult.first; in testLoadPreemptModel() local
207 int handle = loadPhraseModel(module, hwHandle).first; in testLoadUnloadPhraseModel() local
219 int handle = loadGenericModel(module, hwHandle).first; in testStartStopRecognition() local
244 int handle = loadGenericModel(module, hwHandle).first; in testStartRecognitionBusy() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DWeakEscrowTokenTests.java59 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockListener); in testWeakTokenActivatedImmediatelyIfNoUserPassword() local
75 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockListener); in testWeakTokenActivatedLaterWithUserPassword() local
99 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockActivateListener); in testWeakTokensRemovedIfCredentialChanged() local
120 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockActivateListener); in testWeakTokenRemovedListenerRegistered() local
160 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockActivateListener); in testUnlockUserWithToken_weakEscrowToken() local
DSyntheticPasswordTests.java87 long handle = manager.createPasswordBasedSyntheticPassword(mGateKeeperService, in testPasswordBasedSyntheticPassword() local
245 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedResetPassword() local
275 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedClearPassword() local
282 mLocalService.setLockCredentialWithToken(nonePassword(), handle, token, PRIMARY_USER_ID); in testTokenBasedClearPassword() local
301 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testTokenBasedResetPasswordAfterCredentialChanges() local
322 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNeedsMigration() local
339 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNoMigration() local
355 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testEscrowTokenActivatedLaterWithUserPasswordNeedsMigration() local
416 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testSetLockCredentialWithTokenFailsWithoutLockScreen() local
533 long handle = mLocalService.addEscrowToken(token, PRIMARY_USER_ID, null); in testUnlockUserWithToken() local
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecStandbyModeHandler.java28 boolean handle(HdmiCecMessage message); in handle() method
33 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.Bystander
40 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.Bypasser
51 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.Aborter
59 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.AutoOnHandler
71 public boolean handle(HdmiCecMessage message) { in handle() method in HdmiCecStandbyModeHandler.UserControlProcessedHandler
/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.h38 int handle; member
54 static void enableSensor(uid_t uid, int handle) { in enableSensor()
57 static void disableSensor(uid_t uid, int handle) { in disableSensor()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java172 private static native void nativeClose(long handle); in nativeClose()
174 private static native long nativeSumNativeBinaries(long handle, String cpuAbi, in nativeSumNativeBinaries()
177 private native static int nativeCopyNativeBinaries(long handle, String sharedLibraryPath, in nativeCopyNativeBinaries()
180 private static long sumNativeBinaries(Handle handle, String abi) { in sumNativeBinaries()
196 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { in copyNativeBinaries()
214 public static int findSupportedAbi(Handle handle, String[] supportedAbis) { in findSupportedAbi()
239 private native static int nativeFindSupportedAbi(long handle, String[] supportedAbis, in nativeFindSupportedAbi()
310 private static long sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) { in sumNativeBinariesForSupportedAbi()
319 public static int copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, in copyNativeBinariesForSupportedAbi()
372 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()
83 sp<EffectHandle> handle; in createEffect_l() local
185 EffectHandle *handle, bool unpinIfLast) { in disconnectEffectHandle()
265 audio_patch_handle_t handle, const PatchPanel::Patch& patch) in createAudioPatchCommand()
273 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.java582 int getCredentialType(long handle, int userId) { in getCredentialType()
705 private int loadWeaverSlot(long handle, int userId) { in loadWeaverSlot()
721 private void saveWeaverSlot(int slot, long handle, int userId) { in saveWeaverSlot()
728 private void destroyWeaverSlot(long handle, int userId) { in destroyWeaverSlot()
793 long handle = generateHandle(); in createPasswordBasedSyntheticPassword() local
886 public void migrateFrpPasswordLocked(long handle, UserInfo userInfo, int requestedQuality) { in migrateFrpPasswordLocked()
958 long handle = generateHandle(); in createTokenBasedSyntheticPassword() local
988 public boolean removePendingToken(long handle, int userId) { in removePendingToken()
995 public boolean activateTokenBasedSyntheticPassword(long handle, AuthenticationToken authToken, in activateTokenBasedSyntheticPassword()
1028 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/av/services/camera/libcameraservice/device3/
DCamera3OutputUtilsTemplated.h103 inline bool isHandleNull(const hardware::hidl_handle &handle) { in isHandleNull()
107 inline bool isHandleNull(const aidl::android::hardware::common::NativeHandle &handle) { in isHandleNull()
111 inline size_t numFdsInHandle(const hardware::hidl_handle &handle) { in numFdsInHandle()
115 inline size_t numFdsInHandle(const aidl::android::hardware::common::NativeHandle &handle) { in numFdsInHandle()
119 inline int32_t getHandleFirstFd(const hardware::hidl_handle &handle) { in getHandleFirstFd()
126 inline int32_t getHandleFirstFd(const aidl::android::hardware::common::NativeHandle &handle) { in getHandleFirstFd()
/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.java434 private void endSendObject(int handle, boolean succeeded) { in endSendObject()
447 private void rescanFile(String path, int handle, int format) { in rescanFile()
477 private MtpPropertyList getObjectPropertyList(int handle, int format, int property, in getObjectPropertyList()
565 private int renameFile(int handle, String newName) { in renameFile()
597 private int beginMoveObject(int handle, int newParent, int newStorage) { in beginMoveObject()
634 private int beginCopyObject(int handle, int newParent, int newStorage) { in beginCopyObject()
644 private void endCopyObject(int handle, boolean success) { in endCopyObject()
669 private int setObjectProperty(int handle, int property, in setObjectProperty()
755 private boolean getObjectInfo(int handle, int[] outStorageFormatParent, in getObjectInfo()
775 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/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/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/native/libs/binder/tests/parcel_fuzzer/
Dhwbinder.cpp111 size_t handle = 0; in __anon756f931e0702() local
121 size_t handle = 0; in __anon756f931e0802() local
131 size_t handle = 0; in __anon756f931e0902() local
143 size_t handle = 0; in __anon756f931e0a02() local
155 const native_handle_t* handle = nullptr; in __anon756f931e0b02() local

12345678910>>...17