Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java438 String receiverClassName = replaceLastDotWith$IfInnerStaticClass(receiver.getName()); in registerBroadcastReceivers() local
439 application.registerReceiver((BroadcastReceiver) newInstanceOf(receiverClassName), filter); in registerBroadcastReceivers()
443 private static String replaceLastDotWith$IfInnerStaticClass(String receiverClassName) { in replaceLastDotWith$IfInnerStaticClass() argument
444 String[] splits = receiverClassName.split("\\.", 0); in replaceLastDotWith$IfInnerStaticClass()
449 int lastDotIndex = receiverClassName.lastIndexOf("."); in replaceLastDotWith$IfInnerStaticClass()
450 StringBuilder buffer = new StringBuilder(receiverClassName); in replaceLastDotWith$IfInnerStaticClass()
454 return receiverClassName; in replaceLastDotWith$IfInnerStaticClass()