/frameworks/base/core/java/com/android/internal/os/ |
D | BinderTransactionNameResolver.java | 47 public static String noDefaultTransactionName(int transactionCode) { in noDefaultTransactionName() argument 48 return String.valueOf(transactionCode); in noDefaultTransactionName() 68 public String getMethodName(Class<? extends Binder> binderClass, int transactionCode) { in getMethodName() argument 84 return (String) method.invoke(null, transactionCode); in getMethodName()
|
D | BinderCallsStats.java | 231 s.transactionCode = code; in callStarted() 321 callingUid, s.binderClass, s.transactionCode, in processCallEnded() 348 callingUid, s.binderClass, s.transactionCode, in processCallEnded() 367 hash = 31 * hash + e.transactionCode; in shouldExport() 536 exported.transactionCode = stat.transactionCode; in getExportedCallStat() 561 || previous.transactionCode != exported.transactionCode; in resolveBinderMethodNames() 564 methodName = resolver.getMethodName(exported.binderClass, exported.transactionCode); in resolveBinderMethodNames() 907 int transactionCode; field in BinderCallsStats.ExportedCallStat 915 public final int transactionCode; field in BinderCallsStats.CallStat 941 public CallStat(int callingUid, Class<? extends Binder> binderClass, int transactionCode, in CallStat() argument [all …]
|
D | BinderLatencyObserver.java | 203 LatencyDims dims = LatencyDims.create(s.binderClass, s.transactionCode); in callEnded() 325 public static LatencyDims create(Class<? extends Binder> binderClass, int transactionCode) { in create() argument 326 return new LatencyDims(binderClass, transactionCode); in create() 329 private LatencyDims(Class<? extends Binder> binderClass, int transactionCode) { in LatencyDims() argument 331 this.mTransactionCode = transactionCode; in LatencyDims()
|
D | BinderInternal.java | 81 public int transactionCode; field in BinderInternal.CallSession
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderLatencyObserverTest.java | 66 callSession.transactionCode = 1; in testLatencyCollectionWithMultipleClasses() 74 callSession.transactionCode = 2; in testLatencyCollectionWithMultipleClasses() 97 callSession.transactionCode = 1; in testSampling() 100 callSession.transactionCode = 2; in testSampling() 120 callSession.transactionCode = 1; in testTooCallLengthOverflow() 139 callSession.transactionCode = 1; in testHistogramBucketOverflow() 163 callSession.transactionCode = 1; in testSingleAtomPush() 199 callSession.transactionCode = 1; in testMultipleAtomPush() 202 callSession.transactionCode = 2; in testMultipleAtomPush() 205 callSession.transactionCode = 3; in testMultipleAtomPush() [all …]
|
D | BinderCallsStatsTest.java | 99 assertEquals(1, callStatsList.get(0).transactionCode); in testDetailedOff() 143 assertEquals(1, callStatsList.get(0).transactionCode); in testDetailedOn() 874 if (callStats.transactionCode == 1) { in testCallStatsObserver() 949 switch (callStat.transactionCode) { in testTrackingSpecificWorksourceUid() 966 fail("Unexpected transaction code: " + callStat.transactionCode); in testTrackingSpecificWorksourceUid()
|
/frameworks/base/core/java/android/os/ |
D | Binder.java | 917 default Object onTransactStarted(@NonNull IBinder binder, int transactionCode, int flags) { in onTransactStarted() argument 918 return onTransactStarted(binder, transactionCode); in onTransactStarted() 927 Object onTransactStarted(@NonNull IBinder binder, int transactionCode); in onTransactStarted() argument 948 public Object onTransactStarted(IBinder binder, int transactionCode) { in onTransactStarted() argument 1077 public @Nullable String getTransactionName(int transactionCode) { in getTransactionName() argument 1086 public final @Nullable String getTransactionTraceName(int transactionCode) { in getTransactionTraceName() argument 1096 ? transactionCode : transactionCode - FIRST_CALL_TRANSACTION; in getTransactionTraceName() 1103 final String transactionName = getTransactionName(transactionCode); in getTransactionTraceName() 1112 buf.append(mSimpleDescriptor).append("::#").append(transactionCode); in getTransactionTraceName()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderProxyTest.java | 51 public Object onTransactStarted(IBinder binder, int transactionCode) { in onTransactStarted() argument 105 public Object onTransactStarted(IBinder binder, int transactionCode) { in testSessionPropagated()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | BinderLogger.kt | 62 override fun onTransactStarted(binder: IBinder, transactionCode: Int, flags: Int): Any? { in onTransactStarted() 82 override fun onTransactStarted(binder: IBinder, transactionCode: Int): Any? { in onTransactStarted()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | SystemServicePowerCalculatorTest.java | 251 int transactionCode = 42; in prepareBatteryStats() local 255 Binder.class, transactionCode, true /*screenInteractive */); in prepareBatteryStats() 265 Binder.class, transactionCode, true /*screenInteractive */); in prepareBatteryStats()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DejankUtils.java | 64 public Object onTransactStarted(IBinder binder, int transactionCode, int flags) { 88 public Object onTransactStarted(IBinder binder, int transactionCode) {
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 8090 public int transactionCode; field in BatteryStatsImpl.BinderCallStats 8100 return binderClass.hashCode() * 31 + transactionCode; in hashCode() 8109 return binderClass.equals(bcsk.binderClass) && transactionCode == bcsk.transactionCode; in equals() 8123 methodName = resolver.getMethodName(binderClass, transactionCode); in ensureMethodName() 8131 + " transaction=" + transactionCode in toString() 10045 sTempBinderCallStats.transactionCode = stat.transactionCode; in noteBinderCallStatsLocked() 10052 bcs.transactionCode = stat.transactionCode; in noteBinderCallStatsLocked()
|