/system/security/keystore/ |
D | key_store_service.h | 38 int32_t getState(int32_t userId); 40 int32_t get(const String16& name, int32_t uid, uint8_t** item, size_t* itemLength); 41 int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int targetUid, 42 int32_t flags); 43 int32_t del(const String16& name, int targetUid); 44 int32_t exist(const String16& name, int targetUid); 45 int32_t list(const String16& prefix, int targetUid, Vector<String16>* matches); 47 int32_t reset(); 49 int32_t onUserPasswordChanged(int32_t userId, const String16& password); 50 int32_t onUserAdded(int32_t userId, int32_t parentId); [all …]
|
D | IKeystoreService.cpp | 464 virtual int32_t getState(int32_t userId) in getState() 474 int32_t err = reply.readExceptionCode(); in getState() 475 int32_t ret = reply.readInt32(); in getState() 483 virtual int32_t get(const String16& name, int32_t uid, uint8_t** item, size_t* itemLength) in get() 494 int32_t err = reply.readExceptionCode(); in get() 517 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid, in insert() 518 int32_t flags) in insert() 533 int32_t err = reply.readExceptionCode(); in insert() 534 int32_t ret = reply.readInt32(); in insert() 542 virtual int32_t del(const String16& name, int uid) in del() [all …]
|
/system/core/include/cutils/ |
D | atomic.h | 82 int32_t android_atomic_inc(volatile int32_t* addr) in android_atomic_inc() 90 int32_t android_atomic_dec(volatile int32_t* addr) in android_atomic_dec() 97 int32_t android_atomic_add(int32_t value, volatile int32_t* addr) in android_atomic_add() 104 int32_t android_atomic_and(int32_t value, volatile int32_t* addr) in android_atomic_and() 111 int32_t android_atomic_or(int32_t value, volatile int32_t* addr) in android_atomic_or() 132 int32_t android_atomic_acquire_load(volatile const int32_t* addr) in android_atomic_acquire_load() 139 int32_t android_atomic_release_load(volatile const int32_t* addr) in android_atomic_release_load() 163 void android_atomic_acquire_store(int32_t value, volatile int32_t* addr) in android_atomic_acquire_store() 172 void android_atomic_release_store(int32_t value, volatile int32_t* addr) in android_atomic_release_store() 191 int android_atomic_acquire_cas(int32_t oldvalue, int32_t newvalue, in android_atomic_acquire_cas() [all …]
|
/system/security/keystore/include/keystore/ |
D | IKeystoreService.h | 155 virtual int32_t getState(int32_t userId) = 0; 157 virtual int32_t get(const String16& name, int32_t uid, uint8_t** item, size_t* itemLength) = 0; 159 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid, 160 int32_t flags) = 0; 162 virtual int32_t del(const String16& name, int uid) = 0; 164 virtual int32_t exist(const String16& name, int uid) = 0; 166 virtual int32_t list(const String16& prefix, int uid, Vector<String16>* matches) = 0; 168 virtual int32_t reset() = 0; 170 virtual int32_t onUserPasswordChanged(int32_t userId, const String16& newPassword) = 0; 172 virtual int32_t lock(int32_t userId) = 0; [all …]
|
D | keystore_client_impl.h | 46 int32_t addRandomNumberGeneratorEntropy(const std::string& entropy) override; 47 int32_t generateKey(const std::string& key_name, 51 int32_t 55 int32_t importKey(const std::string& key_name, 60 int32_t exportKey(keymaster_key_format_t export_format, const std::string& key_name, 62 int32_t deleteKey(const std::string& key_name) override; 63 int32_t deleteAllKeys() override; 64 int32_t beginOperation(keymaster_purpose_t purpose, const std::string& key_name, 68 int32_t updateOperation(keymaster_operation_handle_t handle, 73 int32_t finishOperation(keymaster_operation_handle_t handle, [all …]
|
D | keystore_client_mock.h | 43 MOCK_METHOD1(addRandomNumberGeneratorEntropy, int32_t(const std::string& entropy)); 45 int32_t(const std::string& key_name, 50 int32_t(const std::string& key_name, 54 int32_t(const std::string& key_name, 59 MOCK_METHOD3(exportKey, int32_t(keymaster_key_format_t export_format, 61 MOCK_METHOD1(deleteKey, int32_t(const std::string& key_name)); 62 MOCK_METHOD0(deleteAllKeys, int32_t()); 63 MOCK_METHOD5(beginOperation, int32_t(keymaster_purpose_t purpose, const std::string& key_name, 68 int32_t(keymaster_operation_handle_t handle, 73 int32_t(keymaster_operation_handle_t handle, [all …]
|
D | keystore_client.h | 85 virtual int32_t addRandomNumberGeneratorEntropy(const std::string& entropy) = 0; 92 virtual int32_t generateKey(const std::string& key_name, 100 virtual int32_t 110 virtual int32_t importKey(const std::string& key_name, 119 virtual int32_t exportKey(keymaster_key_format_t export_format, const std::string& key_name, 124 virtual int32_t deleteKey(const std::string& key_name) = 0; 128 virtual int32_t deleteAllKeys() = 0; 135 virtual int32_t beginOperation(keymaster_purpose_t purpose, const std::string& key_name, 145 virtual int32_t updateOperation(keymaster_operation_handle_t handle, 156 virtual int32_t finishOperation(keymaster_operation_handle_t handle, [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 52 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c); 103 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count); 133 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count); 200 void memcpy_to_i32_from_p24(int32_t *dst, const uint8_t *src, size_t count); 242 void memcpy_to_p24_from_q8_23(uint8_t *dst, const int32_t *src, size_t count); 257 void memcpy_to_p24_from_i32(uint8_t *dst, const int32_t *src, size_t count); 269 void memcpy_to_q8_23_from_i16(int32_t *dst, const int16_t *src, size_t count); 284 void memcpy_to_q8_23_from_float_with_clamp(int32_t *dst, const float *src, size_t count); 296 void memcpy_to_q8_23_from_p24(int32_t *dst, const uint8_t *src, size_t count); 311 void memcpy_to_q4_27_from_float(int32_t *dst, const float *src, size_t count); [all …]
|
/system/core/fingerprintd/ |
D | FingerprintDaemonProxy.h | 36 …virtual int32_t enroll(const uint8_t* token, ssize_t tokenLength, int32_t groupId, int32_t timeout… 38 virtual int32_t postEnroll(); 39 virtual int32_t stopEnrollment(); 40 virtual int32_t authenticate(uint64_t sessionId, uint32_t groupId); 41 virtual int32_t stopAuthentication(); 42 virtual int32_t remove(int32_t fingerId, int32_t groupId); 43 virtual int32_t enumerate(); 45 virtual int32_t setActiveGroup(int32_t groupId, const uint8_t* path, ssize_t pathLen); 47 virtual int32_t closeHal();
|
D | IFingerprintDaemonCallback.h | 42 virtual status_t onEnrollResult(int64_t devId, int32_t fpId, int32_t gpId, int32_t rem) = 0; 43 virtual status_t onAcquired(int64_t devId, int32_t acquiredInfo) = 0; 44 virtual status_t onAuthenticated(int64_t devId, int32_t fingerId, int32_t groupId) = 0; 45 virtual status_t onError(int64_t devId, int32_t error) = 0; 46 virtual status_t onRemoved(int64_t devId, int32_t fingerId, int32_t groupId) = 0; 47 … virtual status_t onEnumerate(int64_t devId, int32_t fingerId, int32_t groupId, int32_t rem) = 0;
|
D | IFingerprintDaemon.h | 56 virtual int32_t enroll(const uint8_t* token, ssize_t tokenLength, int32_t groupId, 57 int32_t timeout) = 0; 59 virtual int32_t postEnroll() = 0; 60 virtual int32_t stopEnrollment() = 0; 61 virtual int32_t authenticate(uint64_t sessionId, uint32_t groupId) = 0; 62 virtual int32_t stopAuthentication() = 0; 63 virtual int32_t remove(int32_t fingerId, int32_t groupId) = 0; 64 virtual int32_t enumerate() = 0; 66 virtual int32_t setActiveGroup(int32_t groupId, const uint8_t* path, ssize_t pathLen) = 0; 68 virtual int32_t closeHal() = 0;
|
D | IFingerprintDaemonCallback.cpp | 33 virtual status_t onEnrollResult(int64_t devId, int32_t fpId, int32_t gpId, int32_t rem) { in onEnrollResult() 43 virtual status_t onAcquired(int64_t devId, int32_t acquiredInfo) { in onAcquired() 51 virtual status_t onAuthenticated(int64_t devId, int32_t fpId, int32_t gpId) { in onAuthenticated() 60 virtual status_t onError(int64_t devId, int32_t error) { in onError() 68 virtual status_t onRemoved(int64_t devId, int32_t fpId, int32_t gpId) { in onRemoved() 77 virtual status_t onEnumerate(int64_t devId, int32_t fpId, int32_t gpId, int32_t rem) { in onEnumerate()
|
D | IFingerprintDaemon.cpp | 57 const int32_t ret = authenticate(sessionId, groupId); in onTransact() 67 const int32_t ret = stopAuthentication(); in onTransact() 79 const int32_t groupId = data.readInt32(); in onTransact() 80 const int32_t timeout = data.readInt32(); in onTransact() 81 const int32_t ret = enroll(token, tokenSize, groupId, timeout); in onTransact() 91 const int32_t ret = stopEnrollment(); in onTransact() 111 const int32_t ret = postEnroll(); in onTransact() 121 const int32_t fingerId = data.readInt32(); in onTransact() 122 const int32_t groupId = data.readInt32(); in onTransact() 123 const int32_t ret = remove(fingerId, groupId); in onTransact() [all …]
|
/system/media/audio_utils/ |
D | fixedfft.cpp | 87 static inline int32_t mult(int32_t a, int32_t b) in mult() 90 int32_t t = b; in mult() 101 static inline int32_t half(int32_t a) in half() 111 void fixed_fft(int n, int32_t *v) in fixed_fft() 118 int32_t t = v[i]; in fixed_fft() 128 int32_t x = half(v[i]); in fixed_fft() 129 int32_t y = half(v[i + p]); in fixed_fft() 135 int32_t w = MAX_FFT_SIZE / 4 - (r << scale); in fixed_fft() 137 w = ((int32_t) twiddle[(w ^ i) - i]) ^ (i << 16); in fixed_fft() 139 int32_t x = half(v[i]); in fixed_fft() [all …]
|
D | primitives.c | 21 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c) in ditherAndClamp() 25 int32_t l = *sums++; in ditherAndClamp() 26 int32_t r = *sums++; in ditherAndClamp() 27 int32_t nl = l >> 12; in ditherAndClamp() 28 int32_t nr = r >> 12; in ditherAndClamp() 58 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_i32() 72 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_q4_27() 113 void memcpy_to_i32_from_p24(int32_t *dst, const uint8_t *src, size_t count) in memcpy_to_i32_from_p24() 143 int32_t ival = clamp24_from_float(*src++); in memcpy_to_p24_from_float() 157 void memcpy_to_p24_from_q8_23(uint8_t *dst, const int32_t *src, size_t count) in memcpy_to_p24_from_q8_23() [all …]
|
D | format.c | 55 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 58 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 76 memcpy_to_float_from_i32((float*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 79 memcpy_to_float_from_q8_23((float*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 106 memcpy_to_p24_from_i32((uint8_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 109 memcpy_to_p24_from_q8_23((uint8_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 118 memcpy_to_i32_from_i16((int32_t*)dst, (int16_t*)src, count); in memcpy_by_audio_format() 121 memcpy_to_i32_from_float((int32_t*)dst, (float*)src, count); in memcpy_by_audio_format() 124 memcpy_to_i32_from_p24((int32_t*)dst, (uint8_t *)src, count); in memcpy_by_audio_format() 133 memcpy_to_q8_23_from_i16((int32_t*)dst, (int16_t*)src, count); in memcpy_by_audio_format() [all …]
|
/system/core/include/ziparchive/ |
D | zip_writer.h | 66 static const char* ErrorCodeString(int32_t error_code); 87 int32_t StartEntry(const char* path, size_t flags); 97 int32_t StartAlignedEntry(const char* path, size_t flags, uint32_t alignment); 102 int32_t StartEntryWithTime(const char* path, size_t flags, time_t time); 107 int32_t StartAlignedEntryWithTime(const char* path, size_t flags, time_t time, 114 int32_t WriteBytes(const void* data, size_t len); 122 int32_t FinishEntry(); 128 int32_t Finish(); 144 int32_t HandleError(int32_t error_code); 145 int32_t PrepareDeflate(); [all …]
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 26 int32_t gglRecipQNormalized(int32_t x, int* exponent) in gglRecipQNormalized() 28 const int32_t s = x>>31; in gglRecipQNormalized() 40 const int32_t lz = gglClz(a); in gglRecipQNormalized() 60 int32_t gglRecipQ(GGLfixed x, int q) in gglRecipQ() 94 const int32_t lz = gglClz(x); in gglSqrtRecipx() 96 const int32_t exp = lz - 16; in gglSqrtRecipx() 113 int32_t bshift = 15; in gglSqrtx() 148 int32_t exp = gglClz(x) - 16; in gglPowx() 174 int32_t gglDivQ(GGLfixed n, GGLfixed d, int32_t i) in gglDivQ() 177 const int32_t ds = n^d; in gglDivQ() [all …]
|
/system/netd/server/binder/android/net/ |
D | UidRange.h | 34 UidRange(int32_t start, int32_t stop); 42 void setStart(int32_t uid); 43 void setStop(int32_t uid); 48 int32_t getStart() const; 49 int32_t getStop() const; 64 int32_t mStart = -1; 65 int32_t mStop = -1;
|
/system/core/include/system/ |
D | camera.h | 245 int32_t rect[4]; 252 int32_t score; 259 int32_t id; 265 int32_t left_eye[2]; 271 int32_t right_eye[2]; 277 int32_t mouth[2]; 288 int32_t number_of_faces;
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
D | ggl_fixed.h | 75 #define GGL_B_TO_X(_x) GGLfixed( ((int32_t(_x)+1)>>1)<<10 ) 76 #define GGL_S_TO_X(_x) GGLfixed( ((int32_t(_x)+1)>>1)<<2 ) 77 #define GGL_I_TO_X(_x) GGLfixed( ((int32_t(_x)>>1)+1)>>14 ) 90 int32_t gglMulDivi(int32_t a, int32_t b, int32_t c); 92 int32_t gglRecipQNormalized(int32_t x, int* exponent); 93 int32_t gglRecipQ(GGLfixed x, int q) CONST; 101 int32_t gglRecip28(GGLfixed x) { in gglRecip28() 175 inline int64_t gglMulii(int32_t x, int32_t y) CONST; 176 inline int64_t gglMulii(int32_t x, int32_t y) in gglMulii() 181 int32_t lo; in gglMulii() [all …]
|
/system/netd/server/ |
D | ResolverStats.h | 50 void encode(std::vector<int32_t>* out) const; 53 ssize_t decode(const std::vector<int32_t>& in, ssize_t ofs); 58 static void encodeAll(const std::vector<ResolverStats>& stats, std::vector<int32_t>* out); 61 static bool decodeAll(const std::vector<int32_t>& in, std::vector<ResolverStats>* stats); 65 inline void ResolverStats::encode(std::vector<int32_t>* out) const { in encode() 68 int32_t* cur = &(*out)[ofs]; in encode() 79 inline ssize_t ResolverStats::decode(const std::vector<int32_t>& in, ssize_t ofs) { in decode() 83 const int32_t* cur = &in[ofs]; in decode() 95 std::vector<int32_t>* out) { in encodeAll() 102 inline bool ResolverStats::decodeAll(const std::vector<int32_t>& in, in decodeAll()
|
D | NetdNativeService.h | 39 const std::vector<int32_t>& uids, bool *ret) override; 44 const std::vector<int32_t>& skipUids) override; 45 binder::Status setResolverConfiguration(int32_t netId, const std::vector<std::string>& servers, 46 const std::vector<std::string>& domains, const std::vector<int32_t>& params) override; 47 binder::Status getResolverInfo(int32_t netId, std::vector<std::string>* servers, 48 std::vector<std::string>* domains, std::vector<int32_t>* params, 49 std::vector<int32_t>* stats) override; 60 int32_t family, int32_t which, const std::string &ifname, const std::string ¶meter,
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 69 const int32_t MAX_MESSAGE_VERSION = 3; 70 inline int32_t MessageVersion(uint8_t major_ver, uint8_t minor_ver, uint8_t /* subminor_ver */) { in MessageVersion() 71 int32_t message_version = -1; in MessageVersion() 96 KeymasterMessage(int32_t ver) : message_version(ver) { assert(ver >= 0); } in KeymasterMessage() 107 explicit KeymasterResponse(int32_t ver) in KeymasterResponse() 122 explicit SupportedAlgorithmsRequest(int32_t ver = MAX_MESSAGE_VERSION) 133 explicit SupportedByAlgorithmRequest(int32_t ver) : KeymasterMessage(ver) {} in SupportedByAlgorithmRequest() 147 SupportedImportFormatsRequest(int32_t ver = MAX_MESSAGE_VERSION) 152 SupportedExportFormatsRequest(int32_t ver = MAX_MESSAGE_VERSION) 157 explicit SupportedByAlgorithmAndPurposeRequest(int32_t ver = MAX_MESSAGE_VERSION) [all …]
|
/system/core/include/log/ |
D | logger.h | 33 int32_t pid; /* generating process's pid */ 34 int32_t tid; /* generating process's tid */ 35 int32_t sec; /* seconds since Epoch */ 36 int32_t nsec; /* nanoseconds */ 48 int32_t pid; /* generating process's pid */ 49 int32_t tid; /* generating process's tid */ 50 int32_t sec; /* seconds since Epoch */ 51 int32_t nsec; /* nanoseconds */ 59 int32_t pid; /* generating process's pid */ 60 int32_t tid; /* generating process's tid */ [all …]
|