/frameworks/base/media/java/android/media/ |
H A D | AudioMixPort.java | 29 AudioMixPort(AudioHandle handle, int role, int[] samplingRates, int[] channelMasks, argument 31 super(handle, role, samplingRates, channelMasks, formats, gains);
|
H A D | AudioPort.java | 77 AudioPort(AudioHandle handle, int role, int[] samplingRates, int[] channelMasks, argument 79 mHandle = handle; 87 AudioHandle handle() { method in class:AudioPort 169 return mHandle.equals(ap.handle());
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteCommon.cpp | 23 /* throw a SQLiteException with a message appropriate for the error in handle */ 24 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle) { argument 25 throw_sqlite3_exception(env, handle, NULL); 33 /* throw a SQLiteException with a message appropriate for the error in handle 36 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { argument 37 if (handle) { 42 throw_sqlite3_exception(env, sqlite3_extended_errcode(handle), 43 sqlite3_errmsg(handle), message);
|
H A D | android_app_NativeActivity.cpp | 258 void* handle = dlopen(pathStr, RTLD_LAZY); local 259 if (handle == NULL) { 261 handle = NativeBridgeLoadLibrary(pathStr, RTLD_LAZY); 267 if (handle != NULL) { 271 funcPtr = NativeBridgeGetTrampoline(handle, funcStr, NULL, 0); 273 funcPtr = dlsym(handle, funcStr); 276 code = new NativeCode(handle, (ANativeActivity_createFunc*)funcPtr); 359 unloadNativeCode_native(JNIEnv* env, jobject clazz, jlong handle) argument 362 if (handle != 0) { 363 NativeCode* code = (NativeCode*)handle; 369 onStart_native(JNIEnv* env, jobject clazz, jlong handle) argument 381 onResume_native(JNIEnv* env, jobject clazz, jlong handle) argument 393 onSaveInstanceState_native(JNIEnv* env, jobject clazz, jlong handle) argument 420 onPause_native(JNIEnv* env, jobject clazz, jlong handle) argument 432 onStop_native(JNIEnv* env, jobject clazz, jlong handle) argument 444 onConfigurationChanged_native(JNIEnv* env, jobject clazz, jlong handle) argument 456 onLowMemory_native(JNIEnv* env, jobject clazz, jlong handle) argument 468 onWindowFocusChanged_native(JNIEnv* env, jobject clazz, jlong handle, jboolean focused) argument 480 onSurfaceCreated_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface) argument 500 onSurfaceChanged_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface, jint format, jint width, jint height) argument 541 onSurfaceRedrawNeeded_native(JNIEnv* env, jobject clazz, jlong handle) argument 553 onSurfaceDestroyed_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface) argument 567 onInputQueueCreated_native(JNIEnv* env, jobject clazz, jlong handle, jlong queuePtr) argument 580 onInputQueueDestroyed_native(JNIEnv* env, jobject clazz, jlong handle, jlong queuePtr) argument 593 onContentRectChanged_native(JNIEnv* env, jobject clazz, jlong handle, jint x, jint y, jint w, jint h) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Client.h | 47 void attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer); 51 sp<Layer> getLayerUser(const sp<IBinder>& handle) const; 58 sp<IBinder>* handle, 61 virtual status_t destroySurface(const sp<IBinder>& handle); 63 virtual status_t clearLayerFrameStats(const sp<IBinder>& handle) const; 65 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const;
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposerClient.cpp | 56 sp<IBinder>* handle, 66 *handle = reply.readStrongBinder(); 71 virtual status_t destroySurface(const sp<IBinder>& handle) { argument 74 data.writeStrongBinder(handle); 79 virtual status_t clearLayerFrameStats(const sp<IBinder>& handle) const { 82 data.writeStrongBinder(handle); 87 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const { argument 90 data.writeStrongBinder(handle); 112 sp<IBinder> handle; local 115 &handle, 54 createSurface(const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument 128 sp<IBinder> handle = data.readStrongBinder(); local 135 sp<IBinder> handle = data.readStrongBinder(); local [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | NativeLibraryHelper.java | 65 * A handle to an opened package, consisting of one or more APKs. Used as 145 private static native void nativeClose(long handle); argument 147 private static native long nativeSumNativeBinaries(long handle, String cpuAbi); argument 149 private native static int nativeCopyNativeBinaries(long handle, argument 152 private static long sumNativeBinaries(Handle handle, String abi) { argument 154 for (long apkHandle : handle.apkHandles) { 163 * @param handle APK file to scan for native libraries 168 public static int copyNativeBinaries(Handle handle, File sharedLibraryDir, String abi) { argument 169 for (long apkHandle : handle.apkHandles) { 185 public static int findSupportedAbi(Handle handle, Strin argument 210 nativeFindSupportedAbi(long handle, String[] supportedAbis) argument 275 sumNativeBinariesForSupportedAbi(Handle handle, String[] abiList) argument 284 copyNativeBinariesForSupportedAbi(Handle handle, File libraryRoot, String[] abiList, boolean useIsaSubdir) argument 317 copyNativeBinariesWithOverride(Handle handle, File libraryRoot, String abiOverride) argument 378 sumNativeBinariesWithOverride(Handle handle, String abiOverride) argument 421 hasRenderscriptBitcode(Handle handle) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDatabase.h | 44 MtpObjectHandle handle, 63 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle, 67 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle, 79 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle, 84 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle, 87 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) = 0; 89 virtual MtpResponseCode getObjectFilePath(MtpObjectHandle handle, 94 virtual MtpResponseCode deleteFile(MtpObjectHandle handle) = 0; 96 virtual MtpObjectHandleList* getObjectReferences(MtpObjectHandle handle) = 0; 98 virtual MtpResponseCode setObjectReferences(MtpObjectHandle handle, [all...] |
H A D | MtpDevice.h | 85 MtpObjectInfo* getObjectInfo(MtpObjectHandle handle); 86 void* getThumbnail(MtpObjectHandle handle, int& outLength); 89 bool deleteObject(MtpObjectHandle handle); 90 MtpObjectHandle getParent(MtpObjectHandle handle); 91 MtpObjectHandle getStorageID(MtpObjectHandle handle); 98 bool readObject(MtpObjectHandle handle, 102 bool readObject(MtpObjectHandle handle, const char* destPath, int group,
|
H A D | MtpServer.h | 63 // 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/native/include/binder/ |
H A D | IPCThreadState.h | 63 status_t transact(int32_t handle, 67 void incStrongHandle(int32_t handle); 68 void decStrongHandle(int32_t handle); 69 void incWeakHandle(int32_t handle); 70 void decWeakHandle(int32_t handle); 71 status_t attemptIncStrongHandle(int32_t handle); 72 static void expungeHandle(int32_t handle, IBinder* binder); 73 status_t requestDeathNotification( int32_t handle, 75 status_t clearDeathNotification( int32_t handle, 97 int32_t handle, [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 53 handle = NULL; 66 handle = NULL; 82 handle = inHandle; 95 handle = buffer->handle; 100 if (handle) { 108 mBufferMapper.unregisterBuffer(handle); 109 native_handle_close(handle); 110 native_handle_delete(const_cast<native_handle*>(handle)); 113 allocator.free(handle); [all...] |
H A D | GraphicBufferMapper.cpp | 51 status_t GraphicBufferMapper::registerBuffer(buffer_handle_t handle) argument 56 err = mAllocMod->registerBuffer(mAllocMod, handle); 59 handle, err, strerror(-err)); 63 status_t GraphicBufferMapper::unregisterBuffer(buffer_handle_t handle) argument 68 err = mAllocMod->unregisterBuffer(mAllocMod, handle); 71 handle, err, strerror(-err)); 75 status_t GraphicBufferMapper::lock(buffer_handle_t handle, argument 81 err = mAllocMod->lock(mAllocMod, handle, usage, 89 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, argument 99 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usag 107 unlock(buffer_handle_t handle) argument 118 lockAsync(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr, int fenceFd) argument 140 lockAsyncYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument 165 unlockAsync(buffer_handle_t handle, int *fenceFd) argument [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipSessionListenerProxy.java | 55 handle(t, "onCalling()"); 71 handle(t, "onRinging()"); 86 handle(t, "onRingingBack()"); 102 handle(t, "onCallEstablished()"); 117 handle(t, "onCallEnded()"); 133 handle(t, "onCallTransferring()"); 148 handle(t, "onCallBusy()"); 164 handle(t, "onCallChangeFailed()"); 180 handle(t, "onError()"); 195 handle( 248 private void handle(Throwable t, String message) { method in class:SipSessionListenerProxy [all...] |
/frameworks/native/cmds/servicemanager/ |
H A D | service_manager.c | 131 uint32_t handle; member in struct:svcinfo 158 if (si->handle) { 159 binder_release(bs, si->handle); 160 si->handle = 0; 180 //ALOGI("check_service('%s') handle = %x\n", str8(s, len), si ? si->handle : 0); 181 if (si && si->handle) { 190 return si->handle; 198 uint32_t handle, uid_t uid, int allow_isolated, 203 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle, 196 do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, uid_t uid, int allow_isolated, pid_t spid) argument 254 uint32_t handle; local [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputApplicationHandle.cpp | 94 NativeInputApplicationHandle* handle; local 96 handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr); 99 handle = new NativeInputApplicationHandle(objWeak); 100 handle->incStrong((void*)android_server_InputApplicationHandle_getHandle); 102 reinterpret_cast<jlong>(handle)); 104 return handle; 117 NativeInputApplicationHandle* handle = reinterpret_cast<NativeInputApplicationHandle*>(ptr); local 118 handle->decStrong((void*)android_server_InputApplicationHandle_getHandle);
|
/frameworks/opt/net/wifi/service/lib/ |
H A D | wifi_hal.cpp | 4 wifi_error wifi_initialize(wifi_handle *handle) { argument 8 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) { argument 11 void wifi_event_loop(wifi_handle handle) { argument 19 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set) { argument 23 wifi_error wifi_get_concurrency_matrix(wifi_interface_handle handle, int max_size, argument 28 wifi_error wifi_set_scanning_mac_oui(wifi_interface_handle handle, unsigned char *oui) { argument 33 wifi_error wifi_get_supported_channels(wifi_handle handle, int *size, wifi_channel *list) { argument 38 wifi_error wifi_is_epr_supported(wifi_handle handle) { argument 43 wifi_error wifi_get_ifaces(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces) { argument 97 wifi_error wifi_get_gscan_capabilities(wifi_interface_handle handle, argument 116 wifi_get_valid_channels(wifi_interface_handle handle, int band, int max_channels, wifi_channel *channels, int *num_channels) argument [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 67 mActivationCount.add(list[i].handle, model); 70 list[i].handle, 0); 87 const Info& info = mActivationCount.valueFor(list[i].handle); 88 result.appendFormat("handle=0x%08x, active-count=%zu, batch_period(ms)={ ", list[i].handle, 97 result.appendFormat("handle=0x%08x, active-count=%zu, batch_timeout(ms)={ ", list[i].handle, 128 void SensorDevice::autoDisable(void *ident, int handle) { argument 129 Info& info( mActivationCount.editValueFor(handle) ); 134 status_t SensorDevice::activate(void* ident, int handle, in argument 205 handle, info.bestBatchParams.batchDelay); local 210 batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, int64_t maxBatchReportLatencyNs) argument 275 setDelay(void* ident, int handle, int64_t samplingPeriodNs) argument 305 flush(void* ident, int handle) argument [all...] |
H A D | SensorService.h | 82 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, 84 virtual status_t setEventRate(int handle, nsecs_t samplingPeriodNs); 120 // Increment mPendingFlushEventsToSend for the given sensor handle. 121 void incrementPendingFlushCount(int32_t handle); 161 // protected by SensorService::mLock. Key for this vector is the sensor handle. 177 bool hasSensor(int32_t handle) const; 180 bool addSensor(int32_t handle); 181 bool removeSensor(int32_t handle); 182 void setFirstFlushPending(int32_t handle, bool value); 213 String8 getSensorName(int handle) cons [all...] |
H A D | SensorDevice.h | 87 status_t activate(void* ident, int handle, int enabled); 88 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, 91 status_t setDelay(void* ident, int handle, int64_t ns); 92 status_t flush(void* ident, int handle); 93 void autoDisable(void *ident, int handle);
|
/frameworks/av/include/soundtrigger/ |
H A D | SoundTrigger.h | 49 sound_model_handle_t *handle); 51 status_t unloadSoundModel(sound_model_handle_t handle); 53 status_t startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory); 54 status_t stopRecognition(sound_model_handle_t handle);
|
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 97 private native void unloadNativeCode(long handle); argument 98 private native void onStartNative(long handle); argument 99 private native void onResumeNative(long handle); argument 100 private native byte[] onSaveInstanceStateNative(long handle); argument 101 private native void onPauseNative(long handle); argument 102 private native void onStopNative(long handle); argument 103 private native void onConfigurationChangedNative(long handle); argument 104 private native void onLowMemoryNative(long handle); argument 105 private native void onWindowFocusChangedNative(long handle, boolean focused); argument 106 private native void onSurfaceCreatedNative(long handle, Surfac argument 107 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument 109 onSurfaceRedrawNeededNative(long handle, Surface surface) argument 110 onSurfaceDestroyedNative(long handle) argument 111 onInputQueueCreatedNative(long handle, long queuePtr) argument 112 onInputQueueDestroyedNative(long handle, long queuePtr) argument 113 onContentRectChangedNative(long handle, int x, int y, int w, int h) argument [all...] |
/frameworks/native/include/gui/ |
H A D | ISurfaceComposerClient.h | 63 sp<IBinder>* handle, 69 virtual status_t destroySurface(const sp<IBinder>& handle) = 0; 74 virtual status_t clearLayerFrameStats(const sp<IBinder>& handle) const = 0; 79 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const = 0;
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 137 // PUID is concatenation of storageID and object handle 296 MtpPropertyList getPropertyList(int handle, int format, int depth) { argument 297 //Log.d(TAG, "getPropertyList handle: " + handle + " format: " + format + " depth: " + depth); 307 if (handle == 0xFFFFFFFF) { 312 whereArgs = new String[] { Integer.toString(handle) }; 320 if (handle == 0xFFFFFFFF) { 325 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) }; 337 if (depth > 0 || handle == 0xFFFFFFFF || mColumns.length > 1) { 352 handle [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecStandbyModeHandler.java | 27 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...] |