Home
last modified time | relevance | path

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

12345678910>>...19

/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_setString(mediametrics_handle_t handle, attr_t attr, in mediametrics_setString()
94 void mediametrics_setCString(mediametrics_handle_t handle, attr_t attr, in mediametrics_setCString()
103 void mediametrics_addInt32(mediametrics_handle_t handle, attr_t attr, in mediametrics_addInt32()
[all …]
/frameworks/native/libs/binder/
Dlibbinder_rpc_unstable.cpp49 static void freeObjectHandle(A* handle) { in freeObjectHandle()
56 static sp<T> handleToStrongPointer(A* handle) { in handleToStrongPointer()
160 ARpcServer* handle, const ARpcSession_FileDescriptorTransportMode modes[], in ARpcServer_setSupportedFileDescriptorTransportModes()
170 void ARpcServer_start(ARpcServer* handle) { in ARpcServer_start()
174 void ARpcServer_join(ARpcServer* handle) { in ARpcServer_join()
178 bool ARpcServer_shutdown(ARpcServer* handle) { in ARpcServer_shutdown()
182 void ARpcServer_free(ARpcServer* handle) { in ARpcServer_free()
194 void ARpcSession_free(ARpcSession* handle) { in ARpcSession_free()
198 AIBinder* ARpcSession_setupVsockClient(ARpcSession* handle, unsigned int cid, unsigned int port) { in ARpcSession_setupVsockClient()
208 AIBinder* ARpcSession_setupUnixDomainClient(ARpcSession* handle, const char* name) { in ARpcSession_setupUnixDomainClient()
[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/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerHalConcurrentCaptureHandlerTest.java63 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testBasic() local
94 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testStopBeforeActive() local
112 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testStopAfterActive() local
130 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testAbortWhileStop() local
160 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testActiveWhileStop() local
196 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testStopWhileActive() local
230 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testEventWhileActive() local
262 int handle = mHandler.loadSoundModel(TestUtil.createGenericSoundModel(), callback); in testNonFinalEventWhileActive() local
DSoundHw2CompatTest.java191 final int handle = 29; in loadGenericModel_2_0() local
224 final int handle = 29; in loadGenericModel_2_1() local
306 final int handle = 29; in loadPhraseModel_2_0() local
338 final int handle = 29; in loadPhraseModel_2_1() local
388 private void startRecognition_2_0(int handle, ISoundTriggerHal.ModelCallback canonicalCallback) in startRecognition_2_0()
408 private void startRecognition_2_1(int handle, ISoundTriggerHal.ModelCallback canonicalCallback) in startRecognition_2_1()
431 private void startRecognition_2_3(int handle) throws Exception { in startRecognition_2_3()
445 private void startRecognition(int handle, ISoundTriggerHal.ModelCallback canonicalCallback) in startRecognition()
461 final int handle = loadGenericModel(canonicalCallback); in testStartRecognition() local
619 final int handle = 85; in validateCallback_2_0() local
[all …]
DSoundTriggerMiddlewareImplTest.java83 int handle = module.loadModel(model); in loadGenericModel() local
102 int handle = module.loadPhraseModel(model); in loadPhraseModel() local
109 private void unloadModel(ISoundTriggerModule module, int handle, int hwHandle) in unloadModel()
116 private void startRecognition(ISoundTriggerModule module, int handle, int hwHandle) in startRecognition()
128 private void stopRecognition(ISoundTriggerModule module, int handle, int hwHandle) in stopRecognition()
178 int handle = loadGenericModel(module, hwHandle).first; in testLoadUnloadModel() local
191 int handle = loadResult.first; in testLoadPreemptModel() local
208 int handle = loadPhraseModel(module, hwHandle).first; in testLoadUnloadPhraseModel() local
220 int handle = loadGenericModel(module, hwHandle).first; in testStartStopRecognition() local
240 int handle = loadGenericModel(module, hwHandle).first; in testStartRecognitionBusy() local
[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()
77 void BatteryService::noteWakeupSensorEventImpl(int64_t elapsedNanos, uid_t uid, int handle) { in noteWakeupSensorEventImpl()
DBatteryService.h42 int handle; member
59 static void enableSensor(uid_t uid, int handle) { in enableSensor()
62 static void disableSensor(uid_t uid, int handle) { in disableSensor()
65 static void noteWakeupSensorEvent(int64_t elapsed, uid_t uid, int handle) { in noteWakeupSensorEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DWeakEscrowTokenTests.java65 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockListener); in testWeakTokenActivatedImmediatelyIfNoUserPassword() local
81 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockListener); in testWeakTokenActivatedLaterWithUserPassword() local
105 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockActivateListener); in testWeakTokensRemovedIfCredentialChanged() local
126 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockActivateListener); in testWeakTokenRemovedListenerRegistered() local
166 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockActivateListener); in testUnlockUserWithToken_weakEscrowToken() local
/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/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/native/services/surfaceflinger/
DClient.cpp55 sp<IBinder> handle; in createSurface() local
63 binder::Status Client::clearLayerFrameStats(const sp<IBinder>& handle) { in clearLayerFrameStats()
75 binder::Status Client::getLayerFrameStats(const sp<IBinder>& handle, gui::FrameStats* outStats) { in getLayerFrameStats()
103 sp<IBinder> handle; in mirrorSurface() local
111 sp<IBinder> handle; in mirrorDisplay() local
/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/core/tests/coretests/src/com/android/internal/inputmethod/
DInputMethodSubtypeHandleTest.java48 final InputMethodSubtypeHandle handle = in testCreateFromRawHandle() local
87 final InputMethodSubtypeHandle handle = InputMethodSubtypeHandle.of(imi, null); in testCreateFromInputMethodInfo() local
98 final InputMethodSubtypeHandle handle = InputMethodSubtypeHandle.of(imi, subtype); in testCreateFromInputMethodInfo() local
/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.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/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/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/av/services/audioflinger/
DPatchCommandThread.cpp44 void AudioFlinger::PatchCommandThread::createAudioPatch(audio_patch_handle_t handle, in createAudioPatch()
54 void AudioFlinger::PatchCommandThread::releaseAudioPatch(audio_patch_handle_t handle) { in releaseAudioPatch()
129 audio_patch_handle_t handle, const PatchPanel::Patch& patch) { in createAudioPatchCommand()
139 void AudioFlinger::PatchCommandThread::releaseAudioPatchCommand(audio_patch_handle_t handle) { in releaseAudioPatchCommand()
/frameworks/native/services/powermanager/
DPowerHalController.cpp94 std::shared_ptr<HalWrapper> handle = initHal(); in setBoost() local
100 std::shared_ptr<HalWrapper> handle = initHal(); in setMode() local
107 std::shared_ptr<HalWrapper> handle = initHal(); in createHintSession() local
113 std::shared_ptr<HalWrapper> handle = initHal(); in getHintSessionPreferredRate() local

12345678910>>...19