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

1234567891011>>

/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"
169 * Invoked when the user starts dragging/flinging the drawer's handle.
174 * Invoked when the user stops dragging/flinging the drawer's handle.
230 throw new IllegalArgumentException("The handle attribut
[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
622 DecryptHandle* handle = NULL; local
647 DecryptHandle* handle = NULL; local
674 DecryptHandle* handle = NULL; local
1129 DecryptHandle handle; local
1149 DecryptHandle handle; local
1330 DecryptHandle* handle local
1350 DecryptHandle* handle = openDecryptSession(uniqueId, uri.string(), mime.string()); local
1374 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); local
1394 DecryptHandle* handle = new DecryptHandle(); local
1409 DecryptHandle handle; local
1440 DecryptHandle handle; local
1496 DecryptHandle handle; local
1513 DecryptHandle handle; local
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp224 // add to our handle->SensorInterface mapping
377 int handle = mActiveSensors.keyAt(i); local
378 result.appendFormat("%s (handle=0x%08x, connections=%zu)\n",
379 getSensorName(handle).string(),
380 handle,
423 result.appendFormat("%02d:%02d:%02d activated package=%s handle=0x%08x "
429 result.appendFormat("%02d:%02d:%02d de-activated package=%s handle=0x%08x\n",
445 int handle = buffer[i].sensor; local
447 handle = buffer[i].meta_data.sensor;
449 if (connection->hasSensor(handle)) {
705 int handle = event.sensor; local
713 getSensorRecord(int handle) argument
792 int handle = mActiveSensors.keyAt(i); local
830 enable(const sp<SensorEventConnection>& connection, int handle, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags, const String16& opPackageName) argument
964 disable(const sp<SensorEventConnection>& connection, int handle) argument
993 cleanupWithoutDisable( const sp<SensorEventConnection>& connection, int handle) argument
999 cleanupWithoutDisableLocked( const sp<SensorEventConnection>& connection, int handle) argument
1022 setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns, const String16& opPackageName) argument
1056 const int handle = connection->mSensorInfo.keyAt(i); local
1418 addSensor(int32_t handle) argument
1431 removeSensor(int32_t handle) argument
1452 const int handle = mSensorInfo.keyAt(i); local
1464 setFirstFlushPending(int32_t handle, bool value) argument
1498 const int handle = mSensorInfo.keyAt(i); local
1526 incrementPendingFlushCount(int32_t handle) argument
1825 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument
1840 setEventRate( int handle, nsecs_t samplingPeriodNs) argument
[all...]
H A DRotationVectorSensor.h44 virtual status_t setDelay(void* ident, int handle, int64_t ns);
58 virtual status_t setDelay(void* ident, int handle, int64_t ns);
H A DSensorService.h140 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
142 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs);
178 // Increment mPendingFlushEventsToSend for the given sensor handle.
179 void incrementPendingFlushCount(int32_t handle);
220 // protected by SensorService::mLock. Key for this vector is the sensor handle.
238 bool hasSensor(int32_t handle) const;
241 bool addSensor(int32_t handle);
242 bool removeSensor(int32_t handle);
243 void setFirstFlushPending(int32_t handle, bool value);
333 String8 getSensorName(int handle) cons
[all...]
H A DLinearAccelerationSensor.cpp57 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { argument
58 return mGravitySensor.setDelay(ident, handle, ns);
67 hwSensor.handle = '_lin';
/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/base/services/core/java/com/android/server/am/
H A DUserState.java50 public UserState(UserHandle handle, boolean initial) { argument
51 mHandle = 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);
H A DBluetoothMasRequestPushMessage.java57 String handle = (String) headerset.getHeader(HeaderSet.NAME);
58 if (handle != null) {
60 new BigInteger(handle, 16);
62 mMsgHandle = 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/base/telecomm/java/android/telecom/
H A DConferenceParticipant.java30 * The conference participant's handle (e.g., phone number).
55 * @param handle The conference participant's handle (e.g., phone number).
60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { argument
61 mHandle = handle;
76 Uri handle = source.readParcelable(classLoader);
80 return new ConferenceParticipant(handle, displayName, endpoint, state);
129 * The conference participant's handle (e.g., phone number).
H A DConnectionRequest.java38 * @param handle The handle (e.g., phone number) to which the {@link Connection} is to connect.
43 Uri handle,
45 this(accountHandle, handle, extras, VideoProfile.STATE_AUDIO_ONLY);
50 * @param handle The handle (e.g., phone number) to which the {@link Connection} is to connect.
56 Uri handle,
60 mAddress = handle;
78 * The handle (e.g., phone number) to which the {@link Connection} is to connect.
41 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras) argument
54 ConnectionRequest( PhoneAccountHandle accountHandle, Uri handle, Bundle extras, int videoState) argument
/frameworks/native/include/binder/
H A DProcessState.h58 sp<IBinder> getStrongProxyForHandle(int32_t handle);
59 wp<IBinder> getWeakProxyForHandle(int32_t handle);
60 void expungeHandle(int32_t handle, IBinder* binder);
82 handle_entry* lookupHandleLocked(int32_t handle);
/frameworks/av/services/audioflinger/
H A DAudioHwDevice.cpp36 audio_io_handle_t handle,
53 status_t status = outputStream->open(handle, devices, config, address);
78 status = outputStream->open(handle, devices, &originalConfig, address);
34 openOutputStream( AudioStreamOut **ppStreamOut, audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address) argument
/frameworks/opt/net/wifi/service/jni/
H A Dwifi_hal_stub.h26 wifi_error wifi_initialize_stub(wifi_handle *handle);
27 void wifi_cleanup_stub(wifi_handle handle, wifi_cleaned_up_handler handler);
28 void wifi_event_loop_stub(wifi_handle handle);
30 wifi_error wifi_get_supported_feature_set_stub(wifi_interface_handle handle, feature_set *set);
31 wifi_error wifi_get_concurrency_matrix_stub(wifi_interface_handle handle, int set_size_max,
33 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces);
38 wifi_error wifi_set_nodfs_flag_stub(wifi_interface_handle handle, u32 nodfs);
39 wifi_error wifi_set_scanning_mac_oui_stub(wifi_interface_handle handle, unsigned char *oui);
40 wifi_error wifi_get_supported_channels_stub(wifi_handle handle, int *size, wifi_channel *list);
41 wifi_error wifi_is_epr_supported_stub(wifi_handle handle);
[all...]
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java289 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, argument
291 private static native int nativeDisableSensor(long eventQ, int handle); argument
294 private static native int nativeInjectSensorData(long eventQ, int handle, argument
324 int handle = sensor.getHandle();
325 if (mActiveSensors.get(handle)) return false;
328 mActiveSensors.put(handle, true);
344 int handle = mActiveSensors.keyAt(i);
345 Sensor sensor = mManager.mHandleToSensor.get(handle);
348 mActiveSensors.put(handle, false);
359 final int handle
409 injectSensorDataBase(int handle, float[] values, int accuracy, long timestamp) argument
419 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
421 dispatchFlushCompleteEvent(int handle) argument
456 dispatchSensorEvent(int handle, float[] values, int inAccuracy, long timestamp) argument
485 dispatchFlushCompleteEvent(int handle) argument
523 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
548 dispatchFlushCompleteEvent(int handle) argument
557 injectSensorData(int handle, float[] values,int accuracy, long timestamp) argument
562 dispatchSensorEvent(int handle, float[] values, int accuracy, long timestamp) argument
567 dispatchFlushCompleteEvent(int handle) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPatch.cpp46 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle);
48 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle);
61 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
62 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle);
75 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
76 mPatch.sinks[i].id, mPatch.sinks[i].ext.mix.handle);
85 status_t AudioPatchCollection::addAudioPatch(audio_patch_handle_t handle, argument
88 ssize_t index = indexOfKey(handle);
91 ALOGW("addAudioPatch() patch %d already in", handle);
94 add(handle, patc
102 removeAudioPatch(audio_patch_handle_t handle) argument
[all...]
/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal_stub.cpp5 wifi_error wifi_initialize_stub(wifi_handle *handle) { argument
9 void wifi_cleanup_stub(wifi_handle handle, wifi_cleaned_up_handler handler) { argument
12 void wifi_event_loop_stub(wifi_handle handle) { argument
20 wifi_error wifi_get_supported_feature_set_stub(wifi_interface_handle handle, feature_set *set) { argument
24 wifi_error wifi_get_concurrency_matrix_stub(wifi_interface_handle handle, int max_size, argument
29 wifi_error wifi_set_scanning_mac_oui_stub(wifi_interface_handle handle, unsigned char *oui) { argument
34 wifi_error wifi_get_supported_channels_stub(wifi_handle handle, int *size, wifi_channel *list) { argument
39 wifi_error wifi_is_epr_supported_stub(wifi_handle handle) { argument
44 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces) { argument
93 wifi_error wifi_get_gscan_capabilities_stub(wifi_interface_handle handle, argument
112 wifi_get_valid_channels_stub(wifi_interface_handle handle, int band, int max_channels, wifi_channel *channels, int *num_channels) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DEGL14cHeader.cpp113 jlong handle = _env->CallLongMethod(obj, mid); local
114 return reinterpret_cast<void*>(handle);
118 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
120 (EGLContext)handle == EGL_NO_CONTEXT) {
125 (EGLDisplay)handle == EGL_NO_DISPLAY) {
130 (EGLSurface)handle == EGL_NO_SURFACE) {
134 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle));

Completed in 503 milliseconds

1234567891011>>