TelephonyDebugService: Support new ITelephonyDebugSubscriber interface

- Forward all events to subscribers
- Limit number of stored events
- Refactoring: move TelephonyDebugService.Event to TelephonyDebugEvent

Change-Id: I18fd24843b8b1388b7e67daf00fa3209380feecc
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 2d449ad..9e89f68 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -497,7 +497,12 @@
         </service>
 
         <!-- service to dump telephony information -->
-        <service android:name="TelephonyDebugService" />
+        <service android:name="com.android.phone.TelephonyDebugService"
+                 android:permission="android.permission.DUMP">
+            <intent-filter>
+                <action android:name="com.android.phone.TelephonyDebugService" />
+            </intent-filter>
+        </service>
 
         <activity android:name="EmergencyCallbackModeExitDialog"
             android:excludeFromRecents="true"