Home
last modified time | relevance | path

Searched refs:receiverName (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyServiceClient.java84 public int getCounters(String receiverName, String action) throws RemoteException { in getCounters() argument
85 return mService.getCounters(receiverName, action); in getCounters()
DAbstractRestrictBackgroundNetworkTestCase.java184 protected void assertRestrictBackgroundChangedReceived(String receiverName, int expectedCount) in assertRestrictBackgroundChangedReceived() argument
191 count = getNumberBroadcastsReceived(receiverName, ACTION_RESTRICT_BACKGROUND_CHANGED); in assertRestrictBackgroundChangedReceived()
202 assertEquals("Number of expected broadcasts for " + receiverName + " not reached after " in assertRestrictBackgroundChangedReceived()
231 protected int getNumberBroadcastsReceived(String receiverName, String action) throws Exception { in getNumberBroadcastsReceived() argument
232 return mServiceClient.getCounters(receiverName, action); in getNumberBroadcastsReceived()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java108 static int getCounter(Context context, String action, String receiverName) { in getCounter() argument
109 final SharedPreferences prefs = context.getSharedPreferences(receiverName, in getCounter()
112 Log.d(TAG, "getCounter('" + action + "', '" + receiverName + "'): " + value); in getCounter()
DMyService.java72 public int getCounters(String receiverName, String action) {
73 return MyBroadcastReceiver.getCounter(getApplicationContext(), action, receiverName);
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIMyService.aidl23 int getCounters(String receiverName, String action); in getCounters() argument
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java248 ComponentName receiverName = new ComponentName(PACKAGE_NAME, RECEIVER_NAME); in testGetInfo() local
266 assertEquals(RECEIVER_NAME, mPackageManager.getReceiverInfo(receiverName, 0).name); in testGetInfo()