Home
last modified time | relevance | path

Searched refs:logPrefix (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DGridLayoutManagerRtlTest.java84 String logPrefix = mConfig + ", changeRtlAfterLayout:" + mChangeRtlAfter + "," in rtlTest() local
127 assertNotNull(logPrefix + " child position 0 should be laid out", child0); in rtlTest()
129 logPrefix + " second child position " + (secondChildPos) + " should be laid out", in rtlTest()
132 assertTrue(logPrefix + " second child should be to the left of first child", in rtlTest()
134 assertEquals(logPrefix + " first child should be right aligned", in rtlTest()
137 assertTrue(logPrefix + " first child should be to the left of second child", in rtlTest()
139 assertEquals(logPrefix + " first child should be left aligned", in rtlTest()
DLinearLayoutManagerSavedStateTest.java327 final String logPrefix = mConfig + "\npostLayout:" + mPostLayoutOperation.describe() + in savedStateTest() local
329 assertEquals(logPrefix + " on saved state, reverse layout should be preserved", in savedStateTest()
331 assertEquals(logPrefix + " on saved state, orientation should be preserved", in savedStateTest()
333 assertEquals(logPrefix + " on saved state, stack from end should be preserved", in savedStateTest()
339 logPrefix + ": on restore, previous view positions should be preserved", in savedStateTest()
343 logPrefix in savedStateTest()
DGridLayoutManagerBaseConfigSetTest.java66 final String logPrefix = config.toString(); in scrollBackAndPreservePositionsTest() local
91 assertEquals(logPrefix + " span index should match", in scrollBackAndPreservePositionsTest()
100 logPrefix + " If scroll is complete, all views should be visited", in scrollBackAndPreservePositionsTest()
DLinearLayoutManagerBaseConfigSetTest.java120 final String logPrefix = config + " " + target; in scrollToPositionWithOffsetTest() local
127 assertNotNull(logPrefix + " scrolling to a mPosition with offset " + offset in scrollToPositionWithOffsetTest()
131 Log.d(TAG, logPrefix + " post scroll to invisible mPosition " + bounds + " in " in scrollToPositionWithOffsetTest()
136 assertEquals(logPrefix + " when scrolling with offset to an invisible in reverse " in scrollToPositionWithOffsetTest()
143 logPrefix + " when scrolling with offset to an invisible child in normal" in scrollToPositionWithOffsetTest()
DStaggeredGridLayoutManagerBaseConfigSetTest.java96 String logPrefix = mConfig + ", changeRtlAfterLayout:" + changeRtlAfter; in rtlTest() local
129 assertNotNull(logPrefix + " child position 0 should be laid out", child0); in rtlTest()
130 assertNotNull(logPrefix + " child position 0 should be laid out", child1); in rtlTest()
131 logPrefix += " child1 pos:" + mLayoutManager.getPosition(child1); in rtlTest()
133 assertTrue(logPrefix + " second child should be to the left of first child", in rtlTest()
135 assertEquals(logPrefix + " first child should be right aligned", in rtlTest()
138 assertTrue(logPrefix + " first child should be to the left of second child", in rtlTest()
140 assertEquals(logPrefix + " first child should be left aligned", in rtlTest()
DRecyclerViewAnimationsTest.java852 final String logPrefix = "supportsChangeAnim:" + supportsChangeAnim + in changeAnimTest() local
867 Log.d(TAG, logPrefix + " onCreateVH" + vh.toString()); in changeAnimTest()
877 Log.d(TAG, logPrefix + " onBind to " + position + "" + holder.toString()); in changeAnimTest()
895 assertTrue(logPrefix + " changed view holder should have correct flag" in changeAnimTest()
905 assertNotSame(logPrefix + "a new VH should be given if change is supported", in changeAnimTest()
908 assertSame(logPrefix + "if change animations are not supported but we have " in changeAnimTest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttMetricsTest.java507 private void validateProtoHistBucket(String logPrefix, in validateProtoHistBucket() argument
509 collector.checkThat(logPrefix + ": start", bucket.start, equalTo(start)); in validateProtoHistBucket()
510 collector.checkThat(logPrefix + ": end", bucket.end, equalTo(end)); in validateProtoHistBucket()
511 collector.checkThat(logPrefix + ": count", bucket.count, equalTo(count)); in validateProtoHistBucket()
514 private void validateProtoOverallStatusHistBucket(String logPrefix, in validateProtoOverallStatusHistBucket() argument
517 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status)); in validateProtoOverallStatusHistBucket()
518 collector.checkThat(logPrefix + ": count", bucket.count, equalTo(count)); in validateProtoOverallStatusHistBucket()
521 private void validateProtoIndividualStatusHistBucket(String logPrefix, in validateProtoIndividualStatusHistBucket() argument
524 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status)); in validateProtoIndividualStatusHistBucket()
525 collector.checkThat(logPrefix + ": count", bucket.count, equalTo(count)); in validateProtoIndividualStatusHistBucket()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java615 private void validateProtoHistBucket(String logPrefix, in validateProtoHistBucket() argument
617 collector.checkThat(logPrefix + ": start", bucket.start, equalTo(start)); in validateProtoHistBucket()
618 collector.checkThat(logPrefix + ": end", bucket.end, equalTo(end)); in validateProtoHistBucket()
619 collector.checkThat(logPrefix + ": count", bucket.count, equalTo(count)); in validateProtoHistBucket()
622 private void validateNanStatusProtoHistBucket(String logPrefix, in validateNanStatusProtoHistBucket() argument
624 collector.checkThat(logPrefix + ": type", bucket.nanStatusType, equalTo(type)); in validateNanStatusProtoHistBucket()
625 collector.checkThat(logPrefix + ": count", bucket.count, equalTo(count)); in validateNanStatusProtoHistBucket()
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
DOpReorderTest.java646 public static void assertIdentical(String logPrefix, Item item1, Item item2) { in assertIdentical() argument
647 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.id, item2.id); in assertIdentical()
648 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.version, item2.version); in assertIdentical()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java2953 String logPrefix = Thread.currentThread().getName() + " " + i; in testConcurrencyReadWrite() local
2957 Log.d(TAG, logPrefix + " getAccounts started"); in testConcurrencyReadWrite()
2964 String msg = logPrefix + ": Unexpected accounts: " + Arrays in testConcurrencyReadWrite()
2969 Log.d(TAG, logPrefix + " getAccounts done"); in testConcurrencyReadWrite()
2971 String msg = logPrefix + ": getAccounts failed " + e; in testConcurrencyReadWrite()
2983 String logPrefix = Thread.currentThread().getName() + " " + i; in testConcurrencyReadWrite() local
2986 Log.d(TAG, logPrefix + " setAuthToken started"); in testConcurrencyReadWrite()
2989 Log.d(TAG, logPrefix + " setAuthToken done"); in testConcurrencyReadWrite()
2991 errors.add(logPrefix + ": setAuthToken failed: " + e); in testConcurrencyReadWrite()
3027 String logPrefix = Thread.currentThread().getName() + " " + i; in testConcurrencyRead() local
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java1058 private FillResponse getLastResponseLocked(@Nullable String logPrefix) { in getLastResponseLocked() argument
1060 if (sDebug && logPrefix != null) Slog.d(TAG, logPrefix + ": no contexts"); in getLastResponseLocked()
1066 if (sVerbose && logPrefix != null) { in getLastResponseLocked()
1067 Slog.v(TAG, logPrefix + ": no responses on session"); in getLastResponseLocked()
1074 if (logPrefix != null) { in getLastResponseLocked()
1075 Slog.w(TAG, logPrefix + ": did not get last response. mResponses=" + mResponses in getLastResponseLocked()
1082 if (sVerbose && logPrefix != null) { in getLastResponseLocked()
1083 Slog.v(TAG, logPrefix + ": mResponses=" + mResponses + ", mContexts=" + mContexts in getLastResponseLocked()