Home
last modified time | relevance | path

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

123456789

/aosp14/frameworks/base/core/java/android/app/
H A 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()
104 private native void onSurfaceCreatedNative(long handle, Surface surface); in onSurfaceCreatedNative()
105 private native void onSurfaceChangedNative(long handle, Surface surface, in onSurfaceChangedNative()
[all …]
/aosp14/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
H A 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
H A 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
461 final int handle = loadGenericModel(canonicalCallback); in testStartRecognition() local
619 final int handle = 85; in validateCallback_2_0() local
636 final int handle = 92; in validateCallback_2_0() local
659 final int handle = 85; in validateCallback_2_1() local
677 final int handle = 87; in validateCallback_2_1() local
694 final int handle = 92; in validateCallback_2_1() local
[all …]
H A DSoundTriggerMiddlewareImplTest.java83 int handle = module.loadModel(model); in loadGenericModel() local
102 int handle = module.loadPhraseModel(model); in loadPhraseModel() local
191 int handle = loadResult.first; in testLoadPreemptModel() local
285 int handle = modelHandles.first; in testRecognition() local
330 int handle = modelHandles.first; in testPhraseRecognition() local
360 int handle = modelHandles.first; in testForceRecognition() local
397 int handle = modelHandles.first; in testForceRecognitionNotSupported() local
428 int handle = modelHandles.first; in testForcePhraseRecognition() local
465 int handle = modelHandles.first; in testForcePhraseRecognitionNotSupported() local
497 int handle = loadResult.first; in testAbortRecognition() local
[all …]
/aosp14/system/core/trusty/storage/tests/
H A Dmain.cpp251 file_handle_t handle; in TEST_P() local
296 file_handle_t handle; in TEST_P() local
333 file_handle_t handle; in TEST_P() local
367 file_handle_t handle; in TEST_P() local
395 file_handle_t handle; in TEST_P() local
422 file_handle_t handle; in TEST_P() local
464 file_handle_t handle; in TEST_P() local
590 file_handle_t handle; in TEST_P() local
636 file_handle_t handle; in TEST_P() local
679 file_handle_t handle; in TEST_P() local
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A 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
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A 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
/aosp14/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java172 private static native void nativeClose(long handle); in nativeClose()
174 private static native long nativeSumNativeBinaries(long handle, String cpuAbi, in nativeSumNativeBinaries()
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()
319 public static int copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, in copyNativeBinariesForSupportedAbi()
372 public static int copyNativeBinariesWithOverride(Handle handle, File libraryRoot, in copyNativeBinariesWithOverride()
435 public static long sumNativeBinariesWithOverride(Handle handle, String abiOverride) in sumNativeBinariesWithOverride()
483 private static int incrementalConfigureNativeBinariesForSupportedAbi(Handle handle, in incrementalConfigureNativeBinariesForSupportedAbi()
[all …]
/aosp14/system/core/libcutils/
H A Dnative_handle.cpp48 uint64_t get_fdsan_tag(const native_handle_t* handle) { in get_fdsan_tag()
73 void swap_fdsan_tags(const native_handle_t* handle, uint64_t expected_tag, uint64_t new_tag) { in swap_fdsan_tags()
92 native_handle_t* handle = (native_handle_t*)storage; in native_handle_init() local
116 void native_handle_set_fdsan_tag(const native_handle_t* handle) { in native_handle_set_fdsan_tag()
120 void native_handle_unset_fdsan_tag(const native_handle_t* handle) { in native_handle_unset_fdsan_tag()
124 native_handle_t* native_handle_clone(const native_handle_t* handle) { in native_handle_clone()
/aosp14/frameworks/base/tests/CoreTests/android/core/
H A 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
/aosp14/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java434 private void endSendObject(int handle, boolean succeeded) { in endSendObject()
447 private void rescanFile(String path, int handle, int format) { in rescanFile()
565 private int renameFile(int handle, String newName) { in renameFile()
644 private void endCopyObject(int handle, boolean success) { in endCopyObject()
669 private int setObjectProperty(int handle, int property, in setObjectProperty()
819 private int getObjectFormat(int handle) { in getObjectFormat()
853 public boolean getThumbnailInfo(int handle, long[] outLongs) { in getThumbnailInfo()
902 public byte[] getThumbnailData(int handle) { in getThumbnailData()
941 private int beginDeleteObject(int handle) { in beginDeleteObject()
953 private void endDeleteObject(int handle, boolean success) { in endDeleteObject()
[all …]
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
H A 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
/aosp14/system/core/fastboot/
H A Dusb_windows.cpp71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in WindowsUsbTransport()
231 void usb_cleanup_handle(usb_handle* handle) { in usb_cleanup_handle()
247 void usb_kick(usb_handle* handle) { in usb_kick()
278 int recognized_device(usb_handle* handle, ifc_match_func callback) { in recognized_device()
338 std::unique_ptr<usb_handle> handle; in find_usb_device() local
385 std::unique_ptr<usb_handle> handle = find_usb_device(callback); in usb_open() local
/aosp14/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp285 void* handle = OpenNativeLibrary(env, in loadNativeCode_native() local
400 unloadNativeCode_native(JNIEnv* env, jobject clazz, jlong handle) in unloadNativeCode_native()
412 onStart_native(JNIEnv* env, jobject clazz, jlong handle) in onStart_native()
426 onResume_native(JNIEnv* env, jobject clazz, jlong handle) in onResume_native()
440 onSaveInstanceState_native(JNIEnv* env, jobject clazz, jlong handle) in onSaveInstanceState_native()
469 onPause_native(JNIEnv* env, jobject clazz, jlong handle) in onPause_native()
483 onStop_native(JNIEnv* env, jobject clazz, jlong handle) in onStop_native()
497 onConfigurationChanged_native(JNIEnv* env, jobject clazz, jlong handle) in onConfigurationChanged_native()
511 onLowMemory_native(JNIEnv* env, jobject clazz, jlong handle) in onLowMemory_native()
604 onSurfaceRedrawNeeded_native(JNIEnv* env, jobject clazz, jlong handle) in onSurfaceRedrawNeeded_native()
[all …]
/aosp14/system/core/fastboot/device/
H A Dflashing.cpp79 int FlashRawDataChunk(PartitionHandle* handle, const char* data, size_t len) { in FlashRawDataChunk()
113 int FlashRawData(PartitionHandle* handle, const std::vector<char>& downloaded_data) { in FlashRawData()
122 PartitionHandle* handle = reinterpret_cast<PartitionHandle*>(priv); in WriteCallback() local
134 int FlashSparseData(PartitionHandle* handle, std::vector<char>& downloaded_data) { in FlashSparseData()
145 int FlashBlockDevice(PartitionHandle* handle, std::vector<char>& downloaded_data) { in FlashBlockDevice()
177 PartitionHandle handle; in Flash() local
/aosp14/frameworks/base/apex/blobstore/framework/java/android/app/blob/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
H A 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()
/aosp14/system/core/libutils/
H A DNativeHandle.cpp22 sp<NativeHandle> NativeHandle::create(native_handle_t* handle, bool ownsHandle) { in create()
26 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) in NativeHandle()
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A Dextensions.cpp100 bool ExtractPartitions(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractPartitions()
132 bool ExtractPacked(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractPacked()
195 bool ExtractGetVars(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractGetVars()
212 bool ExtractOem(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractOem()
262 bool ExtractChecksum(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractChecksum()
283 tinyxml2::XMLConstHandle handle(&doc); in ParseXml() local
/aosp14/frameworks/base/core/java/android/service/trust/
H A DITrustAgentService.aidl36 oneway void onEscrowTokenAdded(in byte[] token, long handle, in UserHandle user); in onEscrowTokenAdded()
37 oneway void onTokenStateReceived(long handle, int tokenState); in onTokenStateReceived()
38 oneway void onEscrowTokenRemoved(long handle, boolean successful); in onEscrowTokenRemoved()
H A DTrustAgentService.java391 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
401 public void onEscrowTokenStateReceived(long handle, @TokenState int tokenState) { in onEscrowTokenStateReceived()
411 public void onEscrowTokenRemoved(long handle, boolean successful) { in onEscrowTokenRemoved()
588 public final void isEscrowTokenActive(long handle, UserHandle user) { in isEscrowTokenActive()
611 public final void removeEscrowToken(long handle, UserHandle user) { in removeEscrowToken()
633 public final void unlockUserWithToken(long handle, byte[] token, UserHandle user) { in unlockUserWithToken()
768 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded()
776 public void onTokenStateReceived(long handle, int tokenState) { in onTokenStateReceived()
783 public void onEscrowTokenRemoved(long handle, boolean successful) { in onEscrowTokenRemoved()
H A DITrustAgentServiceCallback.aidl35 void isEscrowTokenActive(long handle, int userId); in isEscrowTokenActive()
36 void removeEscrowToken(long handle, int userId); in removeEscrowToken()
37 void unlockUserWithToken(long handle, in byte[] token, int userId); in unlockUserWithToken()
/aosp14/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
H A DFrontendResource.java70 public void addExclusiveGroupMemberFeHandle(int handle) { in addExclusiveGroupMemberFeHandle()
88 public void removeExclusiveGroupMemberFeId(int handle) { in removeExclusiveGroupMemberFeId()
107 Builder(int handle) { in Builder()
/aosp14/frameworks/base/opengl/java/android/opengl/
H A DEGLObjectHandle.java32 protected EGLObjectHandle(int handle) { in EGLObjectHandle()
35 protected EGLObjectHandle(long handle) { in EGLObjectHandle()

123456789