/frameworks/ml/nn/runtime/test/benchmark/libnnbenchmark/ |
H A D | benchmark_jni.cpp | 38 void* handle = new BenchmarkModel(modelFileName); local 41 return (jlong)(uintptr_t)handle;
|
/frameworks/native/cmds/servicemanager/ |
H A D | bctest.c | 13 uint32_t handle; local 25 handle = bio_get_ref(&reply); 27 if (handle) 28 binder_acquire(bs, handle); 32 return handle; 63 uint32_t handle; local 75 handle = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr"); 76 if (!handle) { 80 svcmgr = handle; 81 fprintf(stderr,"svcmgr is via %x\n", handle); [all...] |
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
H A D | ion_buffer.h | 16 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, 18 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, 29 // Frees the underlying native handle and leaves the instance initialized to 33 // Allocates a new native handle with the given parameters, freeing the 34 // previous native handle if necessary. Returns 0 on success or a negative 35 // errno code otherwise. If allocation fails the previous native handle is 40 // Resets the underlying native handle and parameters, freeing the previous 41 // native handle if necessary. 42 void Reset(buffer_handle_t handle, uint32_t width, uint32_t height, 46 // Like Reset but also registers the native handle, whic 74 buffer_handle_t handle() const { function in class:android::dvr::IonBuffer [all...] |
/frameworks/native/libs/vr/libbufferhubqueue/ |
H A D | buffer_hub_queue_parcelable.cpp | 19 return {}; // Returns an empty channel handle. 22 // Take channel handle out of the parcelable and reset the parcelable. 23 pdx::LocalChannelHandle handle = channel_parcelable_->TakeChannelHandle(); local 27 return handle;
|
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | channel_manager.cpp | 14 void ChannelManager::CloseHandle(int32_t handle) { argument 16 auto channel = channels_.find(handle); 18 ALOGE("Invalid channel handle: %d", handle); 29 const int32_t handle = data_fd.Get(); local 31 handle, 34 return LocalChannelHandle(this, handle); 44 ChannelEventReceiver* ChannelManager::GetChannelData(int32_t handle) { argument 46 auto channel = channels_.find(handle);
|
/frameworks/native/services/sensorservice/ |
H A D | BatteryService.cpp | 36 bool BatteryService::addSensor(uid_t uid, int handle) { argument 38 Info key(uid, handle); 48 bool BatteryService::removeSensor(uid_t uid, int handle) { argument 50 ssize_t index = mActivations.indexOf(Info(uid, handle)); 58 void BatteryService::enableSensorImpl(uid_t uid, int handle) { argument 60 if (addSensor(uid, handle)) { 62 mBatteryStatService->noteStartSensor(uid, handle); 67 void BatteryService::disableSensorImpl(uid_t uid, int handle) { argument 69 if (removeSensor(uid, handle)) { 71 mBatteryStatService->noteStopSensor(uid, handle); [all...] |
H A D | BatteryService.h | 33 void enableSensorImpl(uid_t uid, int handle); 34 void disableSensorImpl(uid_t uid, int handle); 39 int handle; member in struct:android::BatteryService::Info 41 Info() : uid(0), handle(0), count(0) { } 42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { } argument 44 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid); 50 bool addSensor(uid_t uid, int handle); 55 enableSensor(uid_t uid, int handle) argument 58 disableSensor(uid_t uid, int handle) argument [all...] |
H A D | LinearAccelerationSensor.cpp | 39 .handle = '_lin', 68 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { argument 69 return mGravitySensor.setDelay(ident, handle, ns);
|
/frameworks/support/room/runtime/src/main/java/androidx/room/ |
H A D | EntityDeletionOrUpdateAdapter.java | 66 public final int handle(T entity) { method in class:EntityDeletionOrUpdateAdapter
|
/frameworks/av/media/libaaudio/src/binding/ |
H A D | AAudioBinderClient.h | 56 * @return handle to the stream or a negative error 111 void onStreamChange(aaudio_handle_t handle, int32_t opcode, int32_t value) { argument 134 void onStreamChange(aaudio_handle_t handle, int32_t opcode, int32_t value) { argument 137 client->onStreamChange(handle, opcode, value);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
H A D | mp3dec_test.cpp | 80 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); local 81 if (handle == NULL) { 119 sf_writef_short(handle, outputBuf, 125 sf_close(handle);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioHwDevice.h | 40 AudioHwDevice(audio_module_handle_t handle, argument 44 : mHandle(handle) 58 audio_module_handle_t handle() const { return mHandle; } function in class:android::AudioHwDevice 71 audio_io_handle_t handle,
|
H A D | SpdifStreamOut.cpp | 47 audio_io_handle_t handle, 94 handle, 46 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
|
/frameworks/av/services/audiopolicy/tests/ |
H A D | audiopolicymanager_tests.cpp | 53 ALOGE("%s: Module handle %d has not been allocated yet (next is %d)", 69 ALOGE("%s: Module handle %d has not been allocated yet (next is %d)", 78 audio_patch_handle_t* handle, 80 *handle = mNextPatchHandle++; 81 mActivePatches.insert(*handle); 85 status_t releaseAudioPatch(audio_patch_handle_t handle, 87 if (mActivePatches.erase(handle) != 1) { 88 if (handle >= mNextPatchHandle) { 89 ALOGE("%s: Patch handle %d has not been allocated yet (next is %d)", 90 __func__, handle, mNextPatchHandl 137 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local 170 audio_patch_handle_t handle = AUDIO_PATCH_HANDLE_NONE; local [all...] |
/frameworks/av/services/oboeservice/ |
H A D | 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) { argument 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 123 aaudio_handle_t handle = it.second->getHandle(); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockSettingsInternal.java | 35 * @return a unique 64-bit token handle which is needed to refer to this token later. 41 * @return true if the given handle refers to a valid token previously returned from 44 public abstract boolean removeEscrowToken(long handle, int userId); argument 50 public abstract boolean isEscrowTokenActive(long handle, int userId); argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioMixPort.java | 24 * - the unique audio I/O handle assigned by AudioFlinger to this mix. 33 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, argument 36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks,
|
/frameworks/base/media/java/android/media/projection/ |
H A D | MediaProjectionInfo.java | 30 public MediaProjectionInfo(String packageName, UserHandle handle) { argument 32 mUserHandle = handle;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_ArcVideoService.cpp | 43 mojo::ScopedHandle handle, const std::string& token) { 46 mojo::edk::PassWrappedPlatformHandle(handle.release().value(), &scoped_platform_handle); 53 base::ScopedFD fd(scoped_platform_handle.release().handle); 42 onCaptureResult(arc::Future<arc::MojoBootstrapResult>* future, uint32_t version, mojo::ScopedHandle handle, const std::string& token) argument
|
/frameworks/av/camera/ |
H A D | ICameraRecordingProxy.cpp | 74 void releaseRecordingFrameHandle(native_handle_t *handle) { argument 78 data.writeNativeHandle(handle); 82 // Close the native handle because camera received a dup copy. 83 native_handle_close(handle); 84 native_handle_delete(handle); 93 for (auto& handle : handles) { 94 data.writeNativeHandle(handle); 98 // Close the native handle because camera received a dup copy. 99 for (auto& handle : handles) { 100 native_handle_close(handle); 155 native_handle_t* handle = data.readNativeHandle(); local [all...] |
H A D | ICameraRecordingProxyListener.cpp | 53 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument 58 data.writeNativeHandle(handle); 62 // The native handle is dupped in ICameraClient so we need to free it here. 63 native_handle_close(handle); 64 native_handle_delete(handle); 84 for (auto& handle : handles) { 85 data.writeNativeHandle(handle); 90 // The native handle is dupped in ICameraClient so we need to free it here. 91 for (auto& handle : handles) { 92 native_handle_close(handle); 125 native_handle_t* handle = data.readNativeHandle(); local 159 native_handle_t* handle = data.readNativeHandle(); local [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.h | 50 void *handle; member in struct:lib_entry_s
|
/frameworks/av/media/libmedia/ |
H A D | OMXBuffer.cpp | 59 OMXBuffer::OMXBuffer(const sp<NativeHandle> &handle) argument 61 mNativeHandle(handle) { 105 return parcel->writeNativeHandle(mNativeHandle->handle()); 160 sp<NativeHandle> handle = NativeHandle::create( local 163 mNativeHandle = handle;
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | DrcPresModeWrap.cpp | 62 CDrcPresModeWrapper::setDecoderHandle(const HANDLE_AACDECODER handle) argument 64 mHandleDecoder = handle; 219 else { // handle other used encoder target levels
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/ |
H A D | amrnbdec_test.cpp | 79 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); local 80 if(!handle){ 134 sf_writef_short(handle, (int16_t*)outputBuf, kSamplesPerFrame); 140 sf_close(handle);
|