Searched refs:na (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotifyingAppTest.java | 38 NotifyingApp na = new NotifyingApp(); in testConstructor() local 39 assertEquals(0, na.getUserId()); in testConstructor() 40 assertEquals(0, na.getLastNotified()); in testConstructor() 41 assertEquals(null, na.getPackage()); in testConstructor() 46 NotifyingApp na = new NotifyingApp(); in testPackage() local 47 na.setPackage("test"); in testPackage() 48 assertEquals("test", na.getPackage()); in testPackage() 53 NotifyingApp na = new NotifyingApp(); in testUserId() local 54 na.setUserId(90); in testUserId() 55 assertEquals(90, na.getUserId()); in testUserId() [all …]
|
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/ |
D | ConnectivityServiceIntegrationTest.kt | 203 val na = NetworkAgentWrapper(TRANSPORT_CELLULAR, LinkProperties(), context) in testValidation() constant 204 networkStackClient.verifyNetworkMonitorCreated(na.network, TEST_TIMEOUT_MS) in testValidation() 206 na.addCapability(NET_CAPABILITY_INTERNET) in testValidation() 207 na.connect() in testValidation() 209 testCallback.expectAvailableThenValidatedCallbacks(na.network, TEST_TIMEOUT_MS) in testValidation() 241 val na = NetworkAgentWrapper(TRANSPORT_CELLULAR, lp, context) in testCapportApi() constant 242 networkStackClient.verifyNetworkMonitorCreated(na.network, TEST_TIMEOUT_MS) in testCapportApi() 244 na.addCapability(NET_CAPABILITY_INTERNET) in testCapportApi() 245 na.connect() in testCapportApi() 247 testCb.expectAvailableCallbacks(na.network, validated = false, tmt = TEST_TIMEOUT_MS) in testCapportApi() [all …]
|
/frameworks/base/tests/net/java/com/android/server/net/ipmemorystore/ |
D | NetworkAttributesTest.java | 57 final NetworkAttributes na = in testTotalWeight() local 65 assertEquals(1.0f, na.getNetworkGroupSamenessConfidence(na), EPSILON); in testTotalWeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 79 final StatusBarNotification na = a.notification; 105 && isSystemNotification(na); 135 return Long.compare(nb.getNotification().when, na.getNotification().when);
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 642 final InstrumentedNetworkAgent na = new InstrumentedNetworkAgent(this, linkProperties) { in makeNetworkAgent() local 650 assertEquals(na.getNetwork().netId, nmNetworkCaptor.getValue().netId); in makeNetworkAgent() 655 return na; in makeNetworkAgent()
|