/frameworks/av/include/soundtrigger/ |
H A D | ISoundTrigger.h | 36 sound_model_handle_t *handle) = 0; 38 virtual status_t unloadSoundModel(sound_model_handle_t handle) = 0; 40 virtual status_t startRecognition(sound_model_handle_t handle, 42 virtual status_t stopRecognition(sound_model_handle_t handle) = 0;
|
/frameworks/av/media/libmedia/ |
H A D | IDataSource.cpp | 109 sp<DecryptHandle> handle; local 111 handle = new DecryptHandle(); 112 handle->decryptId = reply.readInt32(); 113 handle->mimeType = reply.readString8(); 114 handle->decryptApiType = reply.readInt32(); 115 handle->status = reply.readInt32(); 119 handle->decryptInfo = new DecryptInfo(); 120 handle->decryptInfo->decryptBufferLength = bufferLength; 127 handle->copyControlVector.add(key, value); 134 handle 188 sp<DecryptHandle> handle = DrmInitialization(mime); local [all...] |
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHalInterface.h | 38 * Only one active recognition per model at a time. The SoundTrigger service will handle 40 * The implementation returns a unique handle used by other functions (unload_sound_model(), 46 sound_model_handle_t *handle) = 0; 52 virtual int unloadSoundModel(sound_model_handle_t handle) = 0; 58 virtual int startRecognition(sound_model_handle_t handle, 66 virtual int stopRecognition(sound_model_handle_t handle) = 0;
|
H A D | SoundTriggerHalLegacy.cpp | 80 sound_model_handle_t *handle) 85 return mHwDevice->load_sound_model(mHwDevice, sound_model, callback, cookie, handle); 88 int SoundTriggerHalLegacy::unloadSoundModel(sound_model_handle_t handle) argument 93 return mHwDevice->unload_sound_model(mHwDevice, handle); 96 int SoundTriggerHalLegacy::startRecognition(sound_model_handle_t handle, argument 104 return mHwDevice->start_recognition(mHwDevice, handle, config, callback, cookie); 107 int SoundTriggerHalLegacy::stopRecognition(sound_model_handle_t handle) argument 112 return mHwDevice->stop_recognition(mHwDevice, handle); 77 loadSoundModel(struct sound_trigger_sound_model *sound_model, sound_model_callback_t callback, void *cookie, sound_model_handle_t *handle) argument
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyList.java | 53 public void append(int handle, int property, int type, long value) { argument 58 mObjectHandles[index] = handle; 64 public void append(int handle, int property, String value) { argument 69 mObjectHandles[index] = handle;
|
H A D | MtpServer.java | 68 public void sendObjectAdded(int handle) { argument 69 native_send_object_added(handle); 72 public void sendObjectRemoved(int handle) { argument 73 native_send_object_removed(handle); 102 private native final void native_send_object_added(int handle); argument 103 private native final void native_send_object_removed(int handle); argument
|
/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 | SensorInterface.cpp | 65 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, 71 status_t HardwareSensor::flush(void* ident, int handle) { argument 72 return mSensorDevice.flush(ident, handle); 75 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument 76 return mSensorDevice.setDelay(ident, handle, ns); 79 void HardwareSensor::autoDisable(void *ident, int handle) { argument 80 mSensorDevice.autoDisable(ident, handle);
|
H A D | SensorDirectConnection.cpp | 39 if (mMem.handle != nullptr) { 40 native_handle_close(mMem.handle); 41 native_handle_delete(const_cast<struct native_handle*>(mMem.handle)); 50 result.appendFormat("\tPackage %s, HAL channel handle %d, total sensor activated %zu\n", 62 int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, 65 UNUSED(handle); 74 int handle, nsecs_t samplingPeriodNs) { 76 UNUSED(handle); 86 int32_t SensorService::SensorDirectConnection::configureChannel(int handle, int rateLevel) { argument 88 if (handle 61 enableDisable( int handle, bool enabled, nsecs_t samplingPeriodNs, nsecs_t maxBatchReportLatencyNs, int reservedFlags) argument 73 setEventRate( int handle, nsecs_t samplingPeriodNs) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteCommon.h | 32 /* throw a SQLiteException with a message appropriate for the error in handle */ 33 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle); 38 /* throw a SQLiteException with a message appropriate for the error in handle 41 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message);
|
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 | 282 void* handle = OpenNativeLibrary(env, local 290 if (handle == nullptr) { 300 funcPtr = NativeBridgeGetTrampoline(handle, funcStr, NULL, 0); 302 funcPtr = dlsym(handle, funcStr); 305 code.reset(new NativeCode(handle, (ANativeActivity_createFunc*)funcPtr)); 388 unloadNativeCode_native(JNIEnv* env, jobject clazz, jlong handle) argument 393 if (handle != 0) { 394 NativeCode* code = (NativeCode*)handle; 400 onStart_native(JNIEnv* env, jobject clazz, jlong handle) argument 405 if (handle ! 414 onResume_native(JNIEnv* env, jobject clazz, jlong handle) argument 428 onSaveInstanceState_native(JNIEnv* env, jobject clazz, jlong handle) argument 457 onPause_native(JNIEnv* env, jobject clazz, jlong handle) argument 471 onStop_native(JNIEnv* env, jobject clazz, jlong handle) argument 485 onConfigurationChanged_native(JNIEnv* env, jobject clazz, jlong handle) argument 499 onLowMemory_native(JNIEnv* env, jobject clazz, jlong handle) argument 513 onWindowFocusChanged_native(JNIEnv* env, jobject clazz, jlong handle, jboolean focused) argument 527 onSurfaceCreated_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface) argument 549 onSurfaceChanged_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface, jint format, jint width, jint height) argument 592 onSurfaceRedrawNeeded_native(JNIEnv* env, jobject clazz, jlong handle) argument 606 onSurfaceDestroyed_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface) argument 622 onInputQueueCreated_native(JNIEnv* env, jobject clazz, jlong handle, jlong queuePtr) argument 637 onInputQueueDestroyed_native(JNIEnv* env, jobject clazz, jlong handle, jlong queuePtr) argument 652 onContentRectChanged_native(JNIEnv* env, jobject clazz, jlong handle, jint x, jint y, jint w, jint h) argument [all...] |
/frameworks/base/core/java/android/service/trust/ |
H A D | ITrustAgentService.aidl | 34 oneway void onEscrowTokenAdded(in byte[] token, long handle, in UserHandle user); 35 oneway void onTokenStateReceived(long handle, int tokenState); 36 oneway void onEscrowTokenRemoved(long handle, boolean successful);
|
H A D | ITrustAgentServiceCallback.aidl | 32 void isEscrowTokenActive(long handle, int userId); 33 void removeEscrowToken(long handle, int userId); 34 void unlockUserWithToken(long handle, in byte[] token, int userId);
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | client_channel.h | 42 const LocalHandle& handle) = 0; 44 const BorrowedHandle& handle) = 0; 46 void* transaction_state, const LocalChannelHandle& handle) = 0; 48 void* transaction_state, const BorrowedChannelHandle& handle) = 0; 50 LocalHandle* handle) const = 0; 52 LocalChannelHandle* handle) const = 0;
|
H A D | mock_client_channel.h | 36 const LocalHandle& handle)); 38 const BorrowedHandle& handle)); 41 const LocalChannelHandle& handle)); 44 const BorrowedChannelHandle& handle)); 47 LocalHandle* handle)); 50 LocalChannelHandle* handle));
|
/frameworks/av/camera/ |
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 157 native_handle_t* handle = data.readNativeHandle(); local [all...] |
/frameworks/av/media/libaaudio/src/utility/ |
H A D | HandleTracker.cpp | 48 // Error if handle is negative so type is limited to bottom half. 108 // Avoid generation zero so that 0x0 is not a valid handle. 142 // Generate a handle. 143 aaudio_handle_t handle = buildHandle(inputHeader, index); local 145 ALOGV("HandleTracker::put(%p) returns 0x%08x", address, handle); 146 return handle; 150 aaudio_handle_t handle) const 152 // Validate the handle. 153 handle_tracker_slot_t index = extractIndex(handle); 155 ALOGE("HandleTracker::handleToIndex() invalid handle 185 remove(handle_tracker_type_t type, aaudio_handle_t handle) argument 223 extractIndex(aaudio_handle_t handle) argument 228 extractGeneration(aaudio_handle_t handle) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDevice.h | 104 MtpObjectInfo* getObjectInfo(MtpObjectHandle handle); 105 void* getThumbnail(MtpObjectHandle handle, int& outLength); 107 bool sendObject(MtpObjectHandle handle, int size, int srcFD); 108 bool deleteObject(MtpObjectHandle handle); 109 MtpObjectHandle getParent(MtpObjectHandle handle); 110 MtpStorageID getStorageID(MtpObjectHandle handle); 117 // Reads value of |property| for |handle|. Returns true on success. 118 bool getObjectPropValue(MtpObjectHandle handle, MtpProperty* property); 120 bool readObject(MtpObjectHandle handle, ReadObjectCallback callback, 122 bool readObject(MtpObjectHandle handle, cons [all...] |
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...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | SyntheticPasswordManager.java | 48 * The SP has an associated password handle, which binds to the SID for that user. The password 49 * handle is persisted by SyntheticPasswordManager internally. 54 * SP_HANDLE_NAME: GateKeeper password handle of synthetic password. Only available if user 59 * for each SP blob under the user (stored under the corresponding handle): 70 private static final String SP_HANDLE_NAME = "handle"; 218 public int getCredentialType(long handle, int userId) { argument 219 byte[] passwordData = loadState(PASSWORD_DATA_NAME, handle, userId); 237 * (the corresponding synthetic password handle is persisted by SyntheticPasswordManager 241 * SyntheticPasswordManager will nuke any SP handle previously persisted. In this case, 270 * Enroll a new password handle an 389 removePendingToken(long handle, int userId) argument 396 activateTokenBasedSyntheticPassword(long handle, AuthenticationToken authToken, int userId) argument 415 createSyntheticPasswordBlob(long handle, byte type, AuthenticationToken authToken, byte[] applicationId, long sid, int userId) argument 436 unwrapPasswordBasedSyntheticPassword(IGateKeeperService gatekeeper, long handle, String credential, int userId) argument 486 unwrapTokenBasedSyntheticPassword( IGateKeeperService gatekeeper, long handle, byte[] token, int userId) argument 507 unwrapSyntheticPasswordBlob(long handle, byte type, byte[] applicationId, int userId) argument 581 existsHandle(long handle, int userId) argument 585 destroyTokenBasedSyntheticPassword(long handle, int userId) argument 590 destroyPasswordBasedSyntheticPassword(long handle, int userId) argument 596 destroySyntheticPassword(long handle, int userId) argument 610 createSecdiscardable(long handle, int userId) argument 616 loadSecdiscardable(long handle, int userId) argument 620 hasState(String stateName, long handle, int userId) argument 624 loadState(String stateName, long handle, int userId) argument 628 saveState(String stateName, byte[] data, long handle, int userId) argument 632 destroyState(String stateName, long handle, int userId) argument 670 getHandleName(long handle) argument 683 sidFromPasswordHandle(byte[] handle) argument 691 nativeSidFromPasswordHandle(byte[] handle) argument [all...] |
/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, 102 int32_t handle, [all...] |
/frameworks/native/libs/binder/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, 102 int32_t handle, [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/base/cmds/telecom/src/com/android/commands/telecom/ |
H A D | Telecom.java | 140 final PhoneAccountHandle handle = getPhoneAccountHandleFromArgs(); 141 final boolean success = mTelecomService.enablePhoneAccount(handle, enabled); 143 System.out.println("Success - " + handle + (enabled ? " enabled." : " disabled.")); 145 System.out.println("Error - is " + handle + " a valid PhoneAccount?"); 150 final PhoneAccountHandle handle = getPhoneAccountHandleFromArgs(); 152 PhoneAccount account = PhoneAccount.builder(handle, label) 155 System.out.println("Success - " + handle + " registered."); 159 final PhoneAccountHandle handle = getPhoneAccountHandleFromArgs(); 163 handle, label) 173 System.out.println("Success - " + handle [all...] |