Searched defs:code (Results 76 - 100 of 277) sorted by relevance

1234567891011>>

/frameworks/av/soundtrigger/
H A DISoundTriggerHwService.cpp118 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
120 switch(code) {
177 return BBinder::onTransact(code, data, reply, flags);
117 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/base/cmds/media/src/com/android/commands/media/
H A DVolumeCtrl.java173 static void log(String code, String msg) { argument
174 System.out.println(code + " " + msg);
/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java28 * IPC, application code should use the Cursor interface.
57 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
60 switch (code) {
130 return super.onTransact(code, data, reply, flags);
/frameworks/base/core/java/android/os/
H A DServiceManagerNative.java52 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
55 switch (code) {
170 // The result code that is returned by the C++ code can
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DWorkLockActivityControllerTest.java120 private void setActivityStartCode(int taskId, boolean taskOverlay, int code) throws Exception { argument
121 doReturn(code).when(mIActivityManager).startActivityAsUser(
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageVerificationState.java49 * Create a new package verification state where {@code requiredVerifierUid}
81 * @return {@code true} if the verifying agent actually exists in our list
83 public boolean setVerifierResponse(int uid, int code) { argument
86 switch (code) {
99 if (code == PackageManager.VERIFICATION_ALLOW) {
121 * @return {@code true} when verification is considered complete
137 * called after {@link #isVerificationComplete()} returns {@code true}.
139 * @return {@code true} if installation should be allowed
165 * @return {@code true} if a timeout was already extended.
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DConfig.java130 * Compare simulated platform version and code from {@link VERSION_CODES} to check if
131 * the simulated platform is greater than or equal to the version code.
133 public static boolean isGreaterOrEqual(int platformVersion, int code) { argument
135 return platformVersion == 0 || platformVersion >= code;
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64CA53Erratum843419Stub.cpp75 ErratumSequence code; local
76 pFragRef.memcpy(&code, AArch64InsnHelpers::InsnSize * 3, 0);
78 if (isErratum843419Sequence(code.insns[0], code.insns[1], code.insns[2])) {
/frameworks/native/libs/binder/
H A DIAppOpsService.cpp39 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { argument
42 data.writeInt32(code);
51 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { argument
54 data.writeInt32(code);
63 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, argument
68 data.writeInt32(code);
77 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, argument
82 data.writeInt32(code);
132 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
135 switch(code) {
131 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
138 int32_t code = data.readInt32(); local
148 int32_t code = data.readInt32(); local
159 int32_t code = data.readInt32(); local
170 int32_t code = data.readInt32(); local
[all...]
H A DIBatteryStats.cpp140 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
142 switch(code) {
240 return BBinder::onTransact(code, data, reply, flags);
139 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/native/services/surfaceflinger/
H A DGpuService.cpp36 status_t BnGpuService::onTransact(uint32_t code, const Parcel& data, argument
40 switch (code) {
63 return BBinder::onTransact(code, data, reply, flags);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedRadioControl.java49 public void triggerSsn(int type, int code); argument
/frameworks/av/camera/
H A DICameraClient.cpp125 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
127 switch(code) {
217 return BBinder::onTransact(code, data, reply, flags);
124 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/media/libaudioclient/
H A DIEffect.cpp138 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
140 switch (code) {
223 return BBinder::onTransact(code, data, reply, flags);
137 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DPlayerBase.cpp166 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
168 return BnPlayer::onTransact(code, data, reply, flags);
165 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/media/libmedia/
H A DIDataSource.cpp144 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
145 switch (code) {
219 return BBinder::onTransact(code, data, reply, flags);
143 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIMediaCodecList.cpp112 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
114 switch (code) {
193 return BBinder::onTransact(code, data, reply, flags);
111 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIMediaPlayerService.cpp139 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
141 switch (code) {
209 return BBinder::onTransact(code, data, reply, flags);
138 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIResourceManagerService.cpp118 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags)
120 switch (code) {
163 return BBinder::onTransact(code, data, reply, flags);
117 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
H A DIStreamSource.cpp95 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
96 switch (code) {
139 return BBinder::onTransact(code, data, reply, flags);
182 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
183 switch (code) {
212 return BBinder::onTransact(code, data, reply, flags);
94 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
181 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgc_pred.cpp22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
153 When the code is written for a specific target processor the
203 code = pointer to the innovative codebook vector; Q12 in MR122 mode,
256 The original etsi reference code uses a global flag Overflow. However, in the
263 Word16 *code, // i : innovative codebook vector (L_SUBFR)
278 * energy of code: *
280 * ener_code = sum(code[i]^2) *
282 ener_code = L_mac((Word32) 0, code[0], code[0]);
286 ener_code = L_mac(ener_code, code[
466 gc_pred( gc_predState *st, enum Mode mode, Word16 *code, Word16 *exp_gcode0, Word16 *frac_gcode0, Word16 *exp_en, Word16 *frac_en, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcalc_en.cpp22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
95 code = CB innovation (unfiltered), buffer type Word16
126 frac_en[2]*2^exp_en[2] = <exc code> LTP/CB innovation dot product
148 Word16 code[], // i : CB innovation (unfiltered), Q13
189 // Compute scalar product <exc[],code[]>
190 s = L_mac((Word32) 0, exc[0], code[0]);
192 s = L_mac(s, exc[i], code[i]);
244 When the code is written for a specific target processor the
267 Word16 code[], /* i : CB innovation (unfiltered), Q13 */
300 to have bit exact results with the pre-optimization code
264 calc_unfilt_energies( Word16 res[], Word16 exc[], Word16 code[], Word16 gain_pit, Word16 L_subfr, Word16 frac_en[], Word16 exp_en[], Word16 *ltpg, Flag *pOverflow ) argument
[all...]
H A Dgain_q.cpp22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
154 When the code is written for a specific target processor the
254 When the code is written for a specific target processor the
341 When the code is written for a specific target processor the
388 code -- Word16 array -- CB innovation (unfiltered), Q13
445 When the code is written for a specific target processor the
472 Word16 code[], /* i : CB innovation (unfiltered), Q13 */
523 /* (note that code[] is unsharpened in MR475) */
527 code,
584 /* (note that code[] i
467 gainQuant( gainQuantState *st, enum Mode mode, Word16 res[], Word16 exc[], Word16 code[], Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 even_subframe, Word16 gp_limit, Word16 *sf0_gain_pit, Word16 *sf0_gain_cod, Word16 *gain_pit, Word16 *gain_cod, Word16 **anap, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpPacket.cpp119 void MtpPacket::setContainerCode(uint16_t code) { argument
120 putUInt16(MTP_CONTAINER_CODE_OFFSET, code);
/frameworks/base/core/java/android/nfc/
H A DErrorCodes.java28 public static boolean isError(int code) { argument
29 if (code < 0) {
36 public static String asString(int code) { argument
37 switch (code) {

Completed in 4365 milliseconds

1234567891011>>