Home
last modified time | relevance | path

Searched defs:code (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DCodeUtilsTest.kt60 val code = """package org.example.test; in checkWildcardStaticImported_true() constant
69 val code = """package org.example.test; in checkWildcardStaticImported_notStatic() constant
78 val code = """package org.example.test; in checkWildcardStaticImported_differentClass() constant
87 val code = """package org.example.test; in checkWildcardStaticImported_notWildcard() constant
96 val code = """package org.example.test; in isClassImportedOrSamePackage_imported() constant
105 val code = """package org.example.test; in isClassImportedOrSamePackage_samePackage() constant
113 val code = """package org.example.test; in isClassImportedOrSamePackage_false() constant
122 val code = """ in staticallyImportedMethods_ab() constant
134 val code = """ in staticallyImportedMethods_differentClass() constant
146 val code = """ in staticallyImportedMethods_notStatic() constant
[all …]
DProtoLogCallProcessorTest.kt57 val code = """ in process_samePackage() constant
83 val code = """ in process_imported() constant
102 val code = """ in process_importedStatic() constant
121 val code = """ in process_groupNotImported() constant
138 val code = """ in process_protoLogNotImported() constant
156 val code = """ in process_unknownGroup() constant
170 val code = """ in process_staticGroup() constant
184 val code = """ in process_badGroup() constant
198 val code = """ in process_invalidSignature() constant
213 val code = """ in process_disabled() constant
DSourceTransformerTest.kt176 var code = StaticJavaParser.parse(TEST_CODE) in <lambda>() variable
213 var code = StaticJavaParser.parse(TEST_CODE_MULTICALLS) in <lambda>() variable
255 var code = StaticJavaParser.parse(TEST_CODE_MULTILINE) in <lambda>() variable
293 var code = StaticJavaParser.parse(TEST_CODE_NO_PARAMS) in <lambda>() variable
327 var code = StaticJavaParser.parse(TEST_CODE) in <lambda>() variable
364 var code = StaticJavaParser.parse(TEST_CODE_MULTILINE) in <lambda>() variable
403 var code = StaticJavaParser.parse(TEST_CODE) in <lambda>() variable
428 var code = StaticJavaParser.parse(TEST_CODE_MULTILINE) in <lambda>() variable
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Dchanges.md13 ### Internal Shell utility classes
18 ### Internal Shell components
29 ### SysUI accessible components
46 ### Launcher accessible components
63 ### Component initialization
83 ### General Do's & Dont's
98 ### Exposing shared code for use in Launcher
/frameworks/av/media/mtp/
DMtpDebug.cpp23 uint16_t code; member
372 static const char* getCodeName(uint16_t code, const CodeEntry* table) { in getCodeName()
382 const char* MtpDebug::getOperationCodeName(MtpOperationCode code) { in getOperationCodeName()
386 const char* MtpDebug::getFormatCodeName(MtpObjectFormat code) { in getFormatCodeName()
392 const char* MtpDebug::getObjectPropCodeName(MtpPropertyCode code) { in getObjectPropCodeName()
398 const char* MtpDebug::getDevicePropCodeName(MtpPropertyCode code) { in getDevicePropCodeName()
/frameworks/libs/binary_translation/assembler/
Dassembler_test.cc51 const MachineCode& code) { in CompareCode()
77 MachineCode code; in AssemblerTest() local
132 MachineCode code; in LabelTest() local
157 MachineCode code; in CondTest1() local
185 MachineCode code; in CondTest2() local
215 MachineCode code; in JccTest() local
267 MachineCode code; in ShiftTest() local
285 MachineCode code; in LogicTest() local
303 MachineCode code; in BsrTest() local
321 MachineCode code; in CallFPTest() local
[all …]
/frameworks/av/media/module/codecs/m4v_h263/dec/src/
Dbitstream.h51 __inline PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) in BitstreamShowBits16()
69 __inline PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow15Bits()
83 __inline PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow13Bits()
97 uint code; in BitstreamReadBits16_INLINE() local
112 uint code; in BitstreamRead1Bits_INLINE() local
Dvlc_decode.cpp106 uint32 code; in DecodeUserData() local
455 uint code; in PV_VlcDecMV() local
505 uint code; in PV_VlcDecMCBPC_com_intra() local
538 uint code; in PV_VlcDecMCBPC_com_inter() local
559 uint code; in PV_VlcDecMCBPC_com_inter_H263() local
593 uint code; in PV_VlcDecCBPY() local
631 uint code; in PV_VlcDecIntraDCPredSize() local
841 uint code; in VlcDecTCOEFIntra() local
1024 uint code; in VlcDecTCOEFInter() local
1203 uint code; in VlcDecTCOEFShortHeader() local
[all …]
Dbitstream.cpp175 PV_STATUS BitstreamShowBits32HC(BitstreamDecVideo *stream, uint32 *code) in BitstreamShowBits32HC()
193 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) in BitstreamShowBits32()
215 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) in BitstreamShowBits16()
238 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow15Bits()
257 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow13Bits()
272 uint code; in BitstreamReadBits16_INLINE() local
289 uint code; in BitstreamRead1Bits_INLINE() local
313 uint code; in BitstreamReadBits16() local
335 uint code; in BitstreamRead1Bits() local
384 uint32 code; in BitstreamReadBits32() local
[all …]
/frameworks/av/media/utils/include/mediautils/
DMethodStatistics.h59 void event(C&& code, FloatType executeMs) { in event()
74 std::string getMethodForCode(const Code& code) const { in getMethodForCode()
82 size_t getMethodCount(const Code& code) const { in getMethodCount()
91 StatsType getStatistics(const Code& code) const { in getStatistics()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp186 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_finish() local
192 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_setWindowFormat() local
198 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_setWindowFlags() local
204 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_showSoftInput() local
210 NativeCode* code = static_cast<NativeCode*>(activity); in android_NativeActivity_hideSoftInput() local
220 NativeCode* code = (NativeCode*)data; in mainWorkCallback() local
281 std::unique_ptr<NativeCode> code; in loadNativeCode_native() local
406 NativeCode* code = (NativeCode*)handle; in unloadNativeCode_native() local
418 NativeCode* code = (NativeCode*)handle; in onStart_native() local
432 NativeCode* code = (NativeCode*)handle; in onResume_native() local
[all …]
/frameworks/base/media/java/android/mtp/
DMtpDeviceInfo.java167 public boolean isOperationSupported(int code) { in isOperationSupported()
176 public boolean isEventSupported(int code) { in isEventSupported()
187 public boolean isDevicePropertySupported(int code) { in isDevicePropertySupported()
195 private static boolean isSupported(@NonNull int[] set, int code) { in isSupported()
/frameworks/native/libs/permission/
DIAppOpsService.cpp39 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { in checkOperation()
51 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName, in noteOperation()
72 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in startOperation()
96 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, in finishOperation()
135 virtual int32_t checkAudioOperation(int32_t code, int32_t usage, in checkAudioOperation()
188 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact()
194 int32_t code = data.readInt32(); in onTransact() local
204 int32_t code = data.readInt32(); in onTransact() local
221 int32_t code = data.readInt32(); in onTransact() local
239 int32_t code = data.readInt32(); in onTransact() local
[all …]
/frameworks/base/core/java/android/app/
DAppOpsManagerInternal.java55 int checkOperation(int code, int uid, String packageName, @Nullable String attributionTag, in checkOperation()
69 int checkAudioOperation(int code, int usage, int uid, String packageName, in checkAudioOperation()
84 SyncNotedAppOp noteOperation(int code, int uid, @Nullable String packageName, in noteOperation()
102 SyncNotedAppOp noteProxyOperation(int code, @NonNull AttributionSource attributionSource, in noteProxyOperation()
125 SyncNotedAppOp startOperation(IBinder token, int code, int uid, in startOperation()
150 SyncNotedAppOp startProxyOperation(@NonNull IBinder clientId, int code, in startProxyOperation()
168 default void finishOperation(IBinder clientId, int code, int uid, String packageName, in finishOperation()
183 void finishProxyOperation(@NonNull IBinder clientId, int code, in finishProxyOperation()
209 public abstract void setUidModeFromPermissionPolicy(int code, int uid, int mode, in setUidModeFromPermissionPolicy()
216 public abstract void setModeFromPermissionPolicy(int code, int uid, @NonNull String packageName, in setModeFromPermissionPolicy()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DRcsPublishResponseAidlWrapper.java39 public void onCommandError(int code) throws ImsException { in onCommandError()
49 public void onNetworkResponse(int code, String reasonPhrase) throws ImsException { in onNetworkResponse()
62 public void onNetworkResponse(int code, String reasonPhrase, int reasonHeaderCause, in onNetworkResponse()
DIOptionsResponseCallback.aidl27 void onCommandError(int code); in onCommandError()
28 void onNetworkResponse(int code, String reason, in List<String> theirCaps); in onNetworkResponse()
/frameworks/native/cmds/installd/
Ddexopt_return_codes.h39 inline const char* get_installd_return_code_name(DexoptReturnCodes code) { in get_installd_return_code_name()
71 inline const char* get_dex2oat_return_code_name(int code) { in get_dex2oat_return_code_name()
80 inline const char* get_return_code_name(int code) { in get_return_code_name()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageVerificationResponse.java20 public final int code; field in PackageVerificationResponse
24 public PackageVerificationResponse(int code, int callerUid) { in PackageVerificationResponse()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRestrictionsImpl.java66 public boolean setGlobalRestriction(Object clientToken, int code, boolean restricted) { in setGlobalRestriction()
91 public boolean getGlobalRestriction(Object clientToken, int code) { in getGlobalRestriction()
114 public boolean setUserRestriction(Object clientToken, int userId, int code, in setUserRestriction()
153 private boolean getUserRestriction(Object clientToken, int userId, int code) { in getUserRestriction()
167 public boolean getUserRestriction(Object clientToken, int userId, int code, String packageName, in getUserRestriction()
207 int code = restrictedCodes.keyAt(j); in collectAllUserRestrictedCodes() local
221 int code = allUserRestrictedCodes.keyAt(j); in notifyAllUserRestrictions() local
253 private boolean putUserRestriction(Object token, int userId, int code, boolean restricted) { in putUserRestriction()
329 public void dumpRestrictions(PrintWriter pw, int code, String dumpPackage, in dumpRestrictions()
DAppOpsRestrictions.java37 boolean setGlobalRestriction(Object clientToken, int code, boolean restricted); in setGlobalRestriction()
46 boolean getGlobalRestriction(Object clientToken, int code); in getGlobalRestriction()
77 boolean setUserRestriction(Object clientToken, int userId, int code, boolean restricted, in setUserRestriction()
95 boolean getUserRestriction(Object clientToken, int userId, int code, String packageName, in getUserRestriction()
/frameworks/base/telephony/java/android/telephony/ims/
DImsException.java95 public ImsException(@Nullable String message, @ImsErrorCode int code) { in ImsException()
108 public ImsException(@Nullable String message, @ImsErrorCode int code, in ImsException()
121 private static String getMessage(String message, int code) { in getMessage()
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java128 public DisconnectCause(int code) { in DisconnectCause()
138 public DisconnectCause(int code, String reason) { in DisconnectCause()
150 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause()
163 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause()
183 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause()
349 String code = ""; in toString() local
/frameworks/base/services/core/java/com/android/server/wm/
DActivitySnapshotController.java140 final int code = getSystemHashCode(ar); in getSnapshot() local
232 final int code = getSystemHashCode(ar); in postProcess() local
262 final int code = getSystemHashCode(ar); in postProcess() local
268 final int code = getSystemHashCode(ar); in postProcess() local
285 final int code = getSystemHashCode(activity); in recordSnapshot() local
474 final int code = getSystemHashCode(activity); in onAppRemoved() local
487 final int code = getSystemHashCode(activity); in onAppDied() local
537 private void removeIfUserSavedFileExist(int code, int userId) { in removeIfUserSavedFileExist()
546 private boolean containsFile(int code, int userId) { in containsFile()
550 private void addUserSavedFile(int code, int userId, TaskSnapshot snapshot) { in addUserSavedFile()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl39 int checkOperation(int code, int uid, String packageName); in checkOperation()
40 …SyncNotedAppOp noteOperation(int code, int uid, String packageName, @nullable String attributionTa… in noteOperation()
42 SyncNotedAppOp startOperation(IBinder clientId, int code, int uid, String packageName, in startOperation()
47 void finishOperation(IBinder clientId, int code, int uid, String packageName, in finishOperation()
52 int checkAudioOperation(int code, int usage, int uid, String packageName); in checkAudioOperation()
60 SyncNotedAppOp noteProxyOperation(int code, in AttributionSource attributionSource, in noteProxyOperation()
63 SyncNotedAppOp startProxyOperation(IBinder clientId, int code, in startProxyOperation()
68 void finishProxyOperation(IBinder clientId, int code, in AttributionSource attributionSource, in finishProxyOperation()
94 void setUidMode(int code, int uid, int mode); in setUidMode()
96 void setMode(int code, int uid, String packageName, int mode); in setMode()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DAppOpsPolicy.java218 public int checkOperation(int code, int uid, String packageName, in checkOperation()
225 public int checkAudioOperation(int code, int usage, int uid, String packageName, in checkAudioOperation()
231 public SyncNotedAppOp noteOperation(int code, int uid, @Nullable String packageName, in noteOperation()
241 public SyncNotedAppOp noteProxyOperation(int code, @NonNull AttributionSource attributionSource, in noteProxyOperation()
253 public SyncNotedAppOp startOperation(IBinder token, int code, int uid, in startOperation()
267 public SyncNotedAppOp startProxyOperation(@NonNull IBinder clientId, int code, in startProxyOperation()
282 public void finishOperation(IBinder clientId, int code, int uid, String packageName, in finishOperation()
290 public void finishProxyOperation(@NonNull IBinder clientId, int code, in finishProxyOperation()
325 private int resolveDatasourceOp(int code, int uid, @NonNull String packageName, in resolveDatasourceOp()
417 private static int resolveLocationOp(int code) { in resolveLocationOp()
[all …]

12345678910>>...16