/system/bt/stack/include/ |
avct_api.h | 38 #define AVCT_BAD_HANDLE 2 /* Bad handle */ 104 typedef void(tAVCT_CTRL_CBACK)(uint8_t handle, uint8_t event, uint16_t result, 109 typedef void(tAVCT_MSG_CBACK)(uint8_t handle, uint8_t label, uint8_t cr, 190 extern uint16_t AVCT_RemoveConn(uint8_t handle); 209 extern uint16_t AVCT_CreateBrowse(uint8_t handle, uint8_t role); 224 extern uint16_t AVCT_RemoveBrowse(uint8_t handle); 236 extern uint16_t AVCT_GetBrowseMtu(uint8_t handle); 248 extern uint16_t AVCT_GetPeerMtu(uint8_t handle); 273 extern uint16_t AVCT_MsgReq(uint8_t handle, uint8_t label, uint8_t cr,
|
bnep_api.h | 62 BNEP_WRONG_HANDLE, /* Wrong handle for the connection */ 77 * Connection handle 84 typedef void(tBNEP_CONN_STATE_CB)(uint16_t handle, const RawAddress& rem_bda, 89 * and flag to indicate role change and handle to the connection 93 typedef void(tBNEP_CONNECT_IND_CB)(uint16_t handle, const RawAddress& bd_addr, 99 * Handle to the connection 107 typedef void(tBNEP_DATA_BUF_CB)(uint16_t handle, const RawAddress& src, 112 * Handle to the connection 121 typedef void(tBNEP_DATA_IND_CB)(uint16_t handle, const RawAddress& src, 127 * Handle to the connectio [all...] |
/system/core/trusty/storage/tests/ |
main.cpp | 102 void WriteReadAtOffsetHelper(file_handle_t handle, size_t blk, size_t cnt, bool complete); 104 void WriteZeroChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, bool complete ); 105 void WritePatternChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, bool complete); 106 void WritePattern(file_handle_t handle, storage_off_t off, size_t data_len, size_t chunk_len, bool complete); 108 void ReadChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, 110 void ReadPattern(file_handle_t handle, storage_off_t off, size_t data_len, size_t chunk_len); 111 void ReadPatternEOF(file_handle_t handle, storage_off_t off, size_t chunk_len, size_t exp_len); 125 void StorageServiceTest::WriteZeroChunk(file_handle_t handle, storage_off_t off, 136 rc = storage_write(handle, off, data_buf, sizeof(data_buf), 141 void StorageServiceTest::WritePatternChunk(file_handle_t handle, storage_off_t off 251 file_handle_t handle; local 296 file_handle_t handle; local 333 file_handle_t handle; local 367 file_handle_t handle; local 395 file_handle_t handle; local 422 file_handle_t handle; local 464 file_handle_t handle; local 590 file_handle_t handle; local 636 file_handle_t handle; local 679 file_handle_t handle; local 793 file_handle_t handle; local 821 file_handle_t handle; local 844 file_handle_t handle; local 865 file_handle_t handle; local 897 file_handle_t handle; local 917 file_handle_t handle; local 938 file_handle_t handle; local 958 file_handle_t handle; local 978 file_handle_t handle; local 995 file_handle_t handle; local 1012 file_handle_t handle; local 1029 file_handle_t handle; local 1054 file_handle_t handle; local 1081 file_handle_t handle; local 1124 file_handle_t handle; local 1237 file_handle_t handle; local 1281 file_handle_t handle; local 1327 file_handle_t handle; local 1445 file_handle_t handle; local 1494 file_handle_t handle; local 1549 file_handle_t handle; local 1596 file_handle_t handle; local 1642 file_handle_t handle; local 1666 file_handle_t handle; local 1745 file_handle_t handle; local 1852 file_handle_t handle; local 1944 file_handle_t handle; local 2001 file_handle_t handle; local 2081 file_handle_t handle; local 2330 file_handle_t handle; local 2423 file_handle_t handle; local 2471 file_handle_t handle; local 2528 file_handle_t handle; local [all...] |
/external/selinux/libsemanage/src/ |
ibendport_record.c | 23 #include "handle.h" 48 int semanage_ibendport_key_create(semanage_handle_t *handle, 53 return sepol_ibendport_key_create(handle->sepolh, ibdev_name, port, key_ptr); 56 int semanage_ibendport_key_extract(semanage_handle_t *handle, 60 return sepol_ibendport_key_extract(handle->sepolh, ibendport, key_ptr); 72 int semanage_ibendport_get_ibdev_name(semanage_handle_t *handle, 76 return sepol_ibendport_get_ibdev_name(handle->sepolh, ibendport, ibdev_name_ptr); 81 int semanage_ibendport_set_ibdev_name(semanage_handle_t *handle, 85 return sepol_ibendport_set_ibdev_name(handle->sepolh, ibendport, ibdev_name); 111 int semanage_ibendport_set_con(semanage_handle_t *handle, [all...] |
iface_record.c | 23 #include "handle.h" 52 int semanage_iface_key_create(semanage_handle_t * handle, 56 return sepol_iface_key_create(handle->sepolh, name, key_ptr); 59 int semanage_iface_key_extract(semanage_handle_t * handle, 64 return sepol_iface_key_extract(handle->sepolh, iface, key_ptr); 86 int semanage_iface_set_name(semanage_handle_t * handle, 90 return sepol_iface_set_name(handle->sepolh, iface, name); 104 int semanage_iface_set_ifcon(semanage_handle_t * handle, 108 return sepol_iface_set_ifcon(handle->sepolh, iface, con); 121 int semanage_iface_set_msgcon(semanage_handle_t * handle, [all...] |
/external/selinux/libsepol/src/ |
boolean_record.c | 21 int sepol_bool_key_create(sepol_handle_t * handle, 29 ERR(handle, "out of memory, " "could not create boolean key"); 35 ERR(handle, "out of memory, " "could not create boolean key"); 54 int sepol_bool_key_extract(sepol_handle_t * handle, 59 if (sepol_bool_key_create(handle, boolean->name, key_ptr) < 0) { 60 ERR(handle, "could not extract key from boolean %s", 99 int sepol_bool_set_name(sepol_handle_t * handle, 105 ERR(handle, "out of memory, could not set boolean name"); 133 int sepol_bool_create(sepol_handle_t * handle, sepol_bool_t ** bool_ptr) 139 ERR(handle, "out of memory, [all...] |
context.h | 8 #include <sepol/handle.h> 11 extern int context_from_record(sepol_handle_t * handle, 16 extern int context_to_record(sepol_handle_t * handle, 22 extern int context_from_string(sepol_handle_t * handle, 32 extern int context_to_string(sepol_handle_t * handle,
|
/external/tpm2/ |
Session.c | 116 // This function test a session handle references a loaded session. The handle must have previously been 117 // checked to make sure that it is a valid handle for an authorization session. 129 TPM_HANDLE handle // IN: session handle 132 pAssert( HandleGetType(handle) == TPM_HT_POLICY_SESSION 133 || HandleGetType(handle) == TPM_HT_HMAC_SESSION); 134 handle = handle & HR_HANDLE_MASK; 137 if( handle >= MAX_ACTIVE_SESSION [all...] |
/external/webrtc/webrtc/common_audio/vad/ |
vad_unittest.cc | 62 VadInst* handle = WebRtcVad_Create(); local 79 RTC_CHECK(handle); 82 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0])); 83 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0])); 86 ASSERT_EQ(0, WebRtcVad_Init(handle)); 90 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, 93 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, 100 WebRtcVad_Process(handle, kRates[0], nullptr, kFrameLengths[0])); 102 EXPECT_EQ(-1, WebRtcVad_Process(handle, 9999, speech, kFrameLengths[0])); 104 EXPECT_EQ(0, WebRtcVad_Process(handle, kRates[0], zeros, kFrameLengths[0])) [all...] |
/frameworks/av/services/oboeservice/ |
AAudioStreamTracker.cpp | 63 // The port handle is only available when the stream is started. 83 // advance to next legal handle value 85 aaudio_handle_t AAudioStreamTracker::bumpHandle(aaudio_handle_t handle) { 86 handle++; 88 if (handle <= 0) { 89 handle = 1; 91 return handle; 96 aaudio_handle_t handle = mPreviousHandle; local 97 // Assign a unique handle. 99 handle = bumpHandle(handle) 123 aaudio_handle_t handle = it.second->getHandle(); local [all...] |
/system/bt/bta/ag/ |
bta_ag_api.cc | 111 void BTA_AgDeregister(uint16_t handle) { 113 base::Bind(&bta_ag_sm_execute_by_handle, handle, 130 void BTA_AgOpen(uint16_t handle, const RawAddress& bd_addr, tBTA_SEC sec_mask) { 134 do_in_bta_thread(FROM_HERE, base::Bind(&bta_ag_sm_execute_by_handle, handle, 149 void BTA_AgClose(uint16_t handle) { 151 base::Bind(&bta_ag_sm_execute_by_handle, handle, 166 void BTA_AgAudioOpen(uint16_t handle) { 168 base::Bind(&bta_ag_sm_execute_by_handle, handle, 183 void BTA_AgAudioClose(uint16_t handle) { 185 FROM_HERE, base::Bind(&bta_ag_sm_execute_by_handle, handle, [all...] |
/bootable/recovery/tests/unit/ |
zip_test.cpp | 37 ZipArchiveHandle handle; local 38 ASSERT_EQ(0, OpenArchiveFromMemory(map.addr, map.length, zip_path.c_str(), &handle)); 44 ASSERT_EQ(0, FindEntry(handle, binary_path, &binary_entry)); 48 ASSERT_EQ(0, ExtractEntryToFile(handle, &binary_entry, tmp_binary.fd)); 50 CloseArchive(handle);
|
/external/tensorflow/tensorflow/core/platform/posix/ |
load_library.cc | 26 Status LoadLibrary(const char* library_filename, void** handle) { 27 *handle = dlopen(library_filename, RTLD_NOW | RTLD_LOCAL); 28 if (!*handle) { 34 Status GetSymbolFromLibrary(void* handle, const char* symbol_name, 36 *symbol = dlsym(handle, symbol_name);
|
/external/webrtc/webrtc/modules/audio_processing/ |
processing_component.h | 50 void* handle(size_t index) const; 55 virtual int InitializeHandle(void* handle) const = 0; 56 virtual int ConfigureHandle(void* handle) const = 0; 57 virtual void DestroyHandle(void* handle) const = 0; 59 virtual int GetHandleError(void* handle) const = 0;
|
/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.h | 47 virtual int setDelay(int32_t handle, int64_t ns); 48 virtual int setEnable(int32_t handle, int enabled); 49 virtual int64_t getDelay(int32_t handle); 50 virtual int getEnable(int32_t handle); 62 int handle2id(int32_t handle);
|
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/ |
PnwPrimaryPlane.cpp | 43 bool PnwPrimaryPlane::setDataBuffer(uint32_t handle) 45 PnwGrallocBuffer tmpBuf(handle); 48 ATRACE("handle = %#x", handle); 51 if (!handle || (GRALLOC_USAGE_HW_FB & usage)) { 56 return DisplayPlane::setDataBuffer(handle);
|
/hardware/qcom/display/msm8996/libqdutils/ |
qdMetaData.cpp | 38 static int validateAndMap(private_handle_t* handle) { 39 if (private_handle_t::validate(handle)) { 40 ALOGE("%s: Private handle is invalid - handle:%p id: %" PRIu64, 41 __func__, handle, handle->id); 44 if (handle->fd_metadata == -1) { 45 ALOGE("%s: Invalid metadata fd - handle:%p id: %" PRIu64 "fd: %d", 46 __func__, handle, handle->id, handle->fd_metadata) [all...] |
/system/chre/chre_api/include/chre_api/chre/ |
audio.h | 180 uint32_t handle; member in struct:chreAudioSourceStatusEvent 227 * The handle for which this audio data originated from. 229 uint32_t handle; member in struct:chreAudioDataEvent 295 * @param handle The handle for an audio source to obtain details for. The 298 * @return true if the query was successful, false if the provided handle is 303 bool chreAudioGetSource(uint32_t handle, struct chreAudioSource *audioSource); 365 * @param handle The handle for this audio source. The handle for the desire [all...] |
/system/core/libion/include/ion/ |
ion.h | 34 unsigned int flags, ion_user_handle_t *handle); 38 int ion_free(int fd, ion_user_handle_t handle); 39 int ion_map(int fd, ion_user_handle_t handle, size_t length, int prot, 41 int ion_share(int fd, ion_user_handle_t handle, int *share_fd); 42 int ion_import(int fd, int share_fd, ion_user_handle_t *handle);
|
/system/core/libvndksupport/tests/ |
linker_test.cpp | 52 void* handle = android_load_sphal_library(name.c_str(), RTLD_NOW | RTLD_LOCAL); local 53 ASSERT_NE(nullptr, handle); 54 android_unload_sphal_library(handle); 58 void* handle = android_load_sphal_library("libNeverUseThisName.so", RTLD_NOW | RTLD_LOCAL); local 59 ASSERT_EQ(nullptr, handle);
|
/external/libxml2/ |
xmlmodule.c | 29 void *handle; member in struct:_xmlModule 33 static int xmlModulePlatformClose(void *handle); 34 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result); 46 * Handle an out of memory condition 75 * Returns a handle for the module or NULL in case of error 90 module->handle = xmlModulePlatformOpen(name); 92 if (module->handle == NULL) { 130 rc = xmlModulePlatformSymbol(module->handle, name, symbol); 146 * @module: the module handle 166 rc = xmlModulePlatformClose(module->handle); 425 void *handle; local [all...] |
/external/libusb/examples/ |
hotplugtest.c | 27 libusb_device_handle *handle = NULL; variable 41 if (handle) { 42 libusb_close (handle); 43 handle = NULL; 46 rc = libusb_open (dev, &handle); 60 if (handle) { 61 libusb_close (handle); 62 handle = NULL; 115 if (handle) { 116 libusb_close (handle); [all...] |
/external/skia/src/gpu/vk/ |
GrVkUniformHandler.h | 70 const GrShaderVar& samplerVariable(SamplerHandle handle) const override { 71 return fSamplers[handle.toIndex()].fVariable; 73 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { 74 return fSamplerSwizzles[handle.toIndex()]; 76 uint32_t samplerVisibility(SamplerHandle handle) const { 77 return fSamplers[handle.toIndex()].fVisibility; 84 const GrShaderVar& texelBufferVariable(TexelBufferHandle handle) const override { 85 return fTexelBuffers[handle.toIndex()].fVariable; 87 uint32_t texelBufferVisibility(TexelBufferHandle handle) const { 88 return fTexelBuffers[handle.toIndex()].fVisibility [all...] |
/external/skqp/src/gpu/vk/ |
GrVkUniformHandler.h | 70 const GrShaderVar& samplerVariable(SamplerHandle handle) const override { 71 return fSamplers[handle.toIndex()].fVariable; 73 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { 74 return fSamplerSwizzles[handle.toIndex()]; 76 uint32_t samplerVisibility(SamplerHandle handle) const { 77 return fSamplers[handle.toIndex()].fVisibility; 84 const GrShaderVar& texelBufferVariable(TexelBufferHandle handle) const override { 85 return fTexelBuffers[handle.toIndex()].fVariable; 87 uint32_t texelBufferVisibility(TexelBufferHandle handle) const { 88 return fTexelBuffers[handle.toIndex()].fVisibility [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
Windows.h | 45 HANDLE handle; member in class:AutoHandle 48 AutoHandle(HANDLE h) : handle(h) {} 51 if (handle) 52 CloseHandle(handle); 55 operator HANDLE() { 56 return handle; 59 AutoHandle &operator=(HANDLE h) { 60 handle = h [all...] |