Searched refs:handle (Results 51 - 75 of 347) sorted by relevance

1234567891011>>

/frameworks/av/camera/
H A DICameraRecordingProxyListener.cpp52 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument
57 data.writeNativeHandle(handle);
61 // The native handle is dupped in ICameraClient so we need to free it here.
62 native_handle_close(handle);
63 native_handle_delete(handle);
94 native_handle_t* handle = data.readNativeHandle(); local
95 if (handle == nullptr) {
96 ALOGE("%s: Received a null native handle", __FUNCTION__);
99 // The native handle will be freed in
101 recordingFrameHandleCallbackTimestamp(timestamp, handle);
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.h63 // handle for new object, set by SendObjectInfo and used by SendObject
81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, argument
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
105 void sendObjectAdded(MtpObjectHandle handle);
106 void sendObjectRemoved(MtpObjectHandle handle);
114 void addEditObject(MtpObjectHandle handle, MtpString& path,
116 ObjectEdit* getEditObject(MtpObjectHandle handle);
117 void removeEditObject(MtpObjectHandle handle);
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java135 // PUID is concatenation of storageID and object handle
294 MtpPropertyList getPropertyList(int handle, int format, int depth) { argument
295 //Log.d(TAG, "getPropertyList handle: " + handle + " format: " + format + " depth: " + depth);
305 if (handle == 0xFFFFFFFF) {
310 whereArgs = new String[] { Integer.toString(handle) };
318 if (handle == 0xFFFFFFFF) {
323 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) };
335 if (depth > 0 || handle == 0xFFFFFFFF || mColumns.length > 1) {
350 handle
[all...]
H A DMtpDevice.java156 * @param objectHandle handle of the object to read
171 * @param objectHandle handle of the object to read
193 * @param objectHandle handle of the object to read
212 * @param objectHandle handle of the object to read
232 * @param objectHandle the handle of the object
244 * @param objectHandle handle of the object to delete
252 * Retrieves the object handle for the parent of an object on the device.
254 * @param objectHandle handle of the object to query
255 * @return the parent's handle, or zero if it is in the root of the storage
264 * @param objectHandle handle o
367 getObjectSizeLong(int handle, int format) argument
395 native_reap_event_request(int handle) argument
396 native_discard_event_request(int handle) argument
397 native_get_object_size_long(int handle, int format) argument
[all...]
/frameworks/native/services/sensorservice/
H A DSensorEventConnection.h56 bool hasSensor(int32_t handle) const;
59 bool addSensor(int32_t handle);
60 bool removeSensor(int32_t handle);
61 void setFirstFlushPending(int32_t handle, bool value);
73 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
75 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
110 // Increment mPendingFlushEventsToSend for the given sensor handle.
111 void incrementPendingFlushCount(int32_t handle);
153 // protected by SensorService::mLock. Key for this vector is the sensor handle.
H A DSensorService.h74 status_t enable(const sp<SensorEventConnection>& connection, int handle,
78 status_t disable(const sp<SensorEventConnection>& connection, int handle);
80 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns,
159 String8 getSensorName(int handle) const;
160 bool isVirtualSensor(int handle) const;
161 sp<SensorInterface> getSensorInterfaceFromHandle(int handle) const;
169 bool unregisterDynamicSensorLocked(int handle);
170 status_t cleanupWithoutDisable(const sp<SensorEventConnection>& connection, int handle);
171 status_t cleanupWithoutDisableLocked(const sp<SensorEventConnection>& connection, int handle);
H A DSensorDevice.cpp66 mActivationCount.add(list[i].handle, model);
69 list[i].handle, 0);
75 void SensorDevice::handleDynamicSensorConnection(int handle, bool connected) { argument
78 mActivationCount.add(handle, model);
80 reinterpret_cast<struct sensors_poll_device_t *>(mSensorDevice), handle, 0); local
82 mActivationCount.removeItem(handle);
101 const Info& info = mActivationCount.valueFor(list[i].handle);
103 result.appendFormat("0x%08x) active-count = %zu; ", list[i].handle,
145 void SensorDevice::autoDisable(void *ident, int handle) { argument
146 Info& info( mActivationCount.editValueFor(handle) );
151 activate(void* ident, int handle, int enabled) argument
230 handle, info.bestBatchParams.batchDelay); local
235 batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) argument
300 setDelay(void* ident, int handle, int64_t samplingPeriodNs) argument
329 flush(void* ident, int handle) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothGattCallback.aidl34 void onCharacteristicRead(in String address, in int status, in int handle, in byte[] value);
35 void onCharacteristicWrite(in String address, in int status, in int handle);
37 void onDescriptorRead(in String address, in int status, in int handle, in byte[] value);
38 void onDescriptorWrite(in String address, in int status, in int handle);
39 void onNotify(in String address, in int handle, in byte[] value);
H A DBluetoothGattCallbackWrapper.java57 public void onCharacteristicRead(String address, int status, int handle, byte[] value) argument
62 public void onCharacteristicWrite(String address, int status, int handle) throws RemoteException { argument
70 public void onDescriptorRead(String address, int status, int handle, byte[] value) throws RemoteException { argument
74 public void onDescriptorWrite(String address, int status, int handle) throws RemoteException { argument
78 public void onNotify(String address, int handle, byte[] value) throws RemoteException { argument
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecStandbyModeHandler.java27 boolean handle(HdmiCecMessage message); method in interface:HdmiCecStandbyModeHandler.CecMessageHandler
32 public boolean handle(HdmiCecMessage message) { method in class:HdmiCecStandbyModeHandler.Bystander
39 public boolean handle(HdmiCecMessage message) { method in class:HdmiCecStandbyModeHandler.Bypasser
50 public boolean handle(HdmiCecMessage message) { method in class:HdmiCecStandbyModeHandler.Aborter
58 public boolean handle(HdmiCecMessage message) { method in class:HdmiCecStandbyModeHandler.AutoOnHandler
60 mAborterRefused.handle(message);
69 public boolean handle(HdmiCecMessage message) { method in class:HdmiCecStandbyModeHandler.UserControlProcessedHandler
76 return mAborterIncorrectMode.handle(message);
161 return handler.handle(message);
163 return mDefaultHandler.handle(messag
[all...]
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp27 static int readAt(void *handle, void *buffer, int pos, int size) { argument
28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size);
30 static int size(void *handle) { argument
31 return ((android::MidiIoWrapper*)handle)->size();
92 mEasFile.handle = this;
/frameworks/av/media/libstagefright/codecs/avc/enc/test/
H A Dh264_enc_test.cpp221 // Initialize the handle.
222 tagAVCHandle handle; local
223 memset(&handle, 0, sizeof(tagAVCHandle));
224 handle.AVCObject = NULL;
225 handle.userData = dpbBuffers;
226 handle.CBAVC_DPBAlloc = DpbAllocCb;
227 handle.CBAVC_FrameBind = BindFrameCb;
228 handle.CBAVC_FrameUnbind = UnbindFrameCb;
229 handle.CBAVC_Malloc = MallocCb;
230 handle
[all...]
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java37 * SlidingDrawer hides content out of the screen and allows the user to drag a handle
40 * A special widget composed of two children views: the handle, that the users drags,
41 * and the content, attached to the handle and dragged with it.
48 * Inside an XML layout, SlidingDrawer must define the id of the handle and of the
57 * android:handle="@+id/handle"
61 * android:id="@id/handle"
167 * Invoked when the user starts dragging/flinging the drawer's handle.
172 * Invoked when the user stops dragging/flinging the drawer's handle.
228 throw new IllegalArgumentException("The handle attribut
[all...]
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java443 * Find the difference of two List<Sensor> assuming List are sorted by handle of sensor,
444 * assuming the input list is already sorted by handle. Inputs are ol and nl; outputs are
499 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, argument
501 private static native int nativeDisableSensor(long eventQ, int handle); argument
504 private static native int nativeInjectSensorData(long eventQ, int handle, argument
532 int handle = sensor.getHandle();
533 if (mActiveSensors.get(handle)) return false;
536 mActiveSensors.put(handle, true);
552 int handle = mActiveSensors.keyAt(i);
553 Sensor sensor = mManager.mHandleToSensor.get(handle);
617 injectSensorDataBase(int handle, float[] values, int accuracy, long timestamp) argument
627 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
629 dispatchFlushCompleteEvent(int handle) argument
631 dispatchAdditionalInfoEvent( int handle, int type, int serial, float[] floatValues, int[] intValues) argument
669 dispatchSensorEvent(int handle, float[] values, int inAccuracy, long timestamp) argument
705 dispatchFlushCompleteEvent(int handle) argument
720 dispatchAdditionalInfoEvent( int handle, int type, int serial, float[] floatValues, int[] intValues) argument
764 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
793 dispatchFlushCompleteEvent(int handle) argument
802 injectSensorData(int handle, float[] values,int accuracy, long timestamp) argument
807 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
812 dispatchFlushCompleteEvent(int handle) argument
[all...]
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp42 const DecryptHandle* handle, Parcel* data) {
43 data->writeInt32(handle->decryptId);
44 data->writeString8(handle->mimeType);
45 data->writeInt32(handle->decryptApiType);
46 data->writeInt32(handle->status);
48 int size = handle->copyControlVector.size();
51 data->writeInt32(handle->copyControlVector.keyAt(i));
52 data->writeInt32(handle->copyControlVector.valueAt(i));
55 size = handle->extendedData.size();
58 data->writeString8(handle
41 writeDecryptHandleToParcelData( const DecryptHandle* handle, Parcel* data) argument
69 readDecryptHandleFromParcelData( DecryptHandle* handle, const Parcel& data) argument
102 clearDecryptHandle(DecryptHandle* handle) argument
624 DecryptHandle* handle = NULL; local
649 DecryptHandle* handle = NULL; local
676 DecryptHandle* handle = NULL; local
1131 DecryptHandle handle; local
1151 DecryptHandle handle; local
1332 DecryptHandle* handle local
1352 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); local
1376 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); local
1396 DecryptHandle* handle = new DecryptHandle(); local
1411 DecryptHandle handle; local
1442 DecryptHandle handle; local
1498 DecryptHandle handle; local
1515 DecryptHandle handle; local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPatch.h46 status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch);
48 status_t removeAudioPatch(audio_patch_handle_t handle);
/frameworks/base/media/java/android/media/
H A DAudioMixPort.java24 * - 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,
H A DAudioPort.java79 AudioPort(AudioHandle handle, int role, String name, argument
83 mHandle = handle;
93 AudioHandle handle() { method in class:AudioPort
200 return mHandle.equals(ap.handle());
/frameworks/native/include/gui/
H A DISensorEventConnection.h39 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
41 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp40 if (err != 0 || graphicBuffer->handle == 0) {
45 "failed (%s), handle=%p",
46 width, height, strerror(-err), graphicBuffer->handle);
H A DISensorEventConnection.cpp58 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, argument
63 data.writeInt32(handle);
72 virtual status_t setEventRate(int handle, nsecs_t ns) argument
76 data.writeInt32(handle);
110 int handle = data.readInt32(); local
115 status_t result = enableDisable(handle, enabled, samplingPeriodNs,
122 int handle = data.readInt32(); local
124 status_t result = setEventRate(handle, ns);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestSetMessageStatus.java34 public BluetoothMasRequestSetMessageStatus(String handle, StatusIndicator statusInd, argument
38 mHeaderSet.setHeader(HeaderSet.NAME, handle);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
H A Damrnbdec_test.cpp79 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);
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3dec_test.cpp80 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/base/core/java/android/app/
H A DNativeActivity.java100 private native void unloadNativeCode(long handle); argument
101 private native void onStartNative(long handle); argument
102 private native void onResumeNative(long handle); argument
103 private native byte[] onSaveInstanceStateNative(long handle); argument
104 private native void onPauseNative(long handle); argument
105 private native void onStopNative(long handle); argument
106 private native void onConfigurationChangedNative(long handle); argument
107 private native void onLowMemoryNative(long handle); argument
108 private native void onWindowFocusChangedNative(long handle, boolean focused); argument
109 private native void onSurfaceCreatedNative(long handle, Surfac argument
110 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument
112 onSurfaceRedrawNeededNative(long handle, Surface surface) argument
113 onSurfaceDestroyedNative(long handle) argument
114 onInputQueueCreatedNative(long handle, long queuePtr) argument
115 onInputQueueDestroyedNative(long handle, long queuePtr) argument
116 onContentRectChangedNative(long handle, int x, int y, int w, int h) argument
[all...]

Completed in 4903 milliseconds

1234567891011>>