Loading cmds/dumpstate/binder/android/os/IDumpstateListener.aidl +5 −3 Original line number Original line Diff line number Diff line Loading @@ -32,7 +32,7 @@ interface IDumpstateListener { * * * @param progress the progress in [0, 100] * @param progress the progress in [0, 100] */ */ void onProgress(int progress); oneway void onProgress(int progress); // NOTE: If you add to or change these error codes, please also change the corresponding enums // NOTE: If you add to or change these error codes, please also change the corresponding enums // in system server, in BugreportManager.java. // in system server, in BugreportManager.java. Loading @@ -54,16 +54,18 @@ interface IDumpstateListener { /** /** * Called on an error condition with one of the error codes listed above. * Called on an error condition with one of the error codes listed above. * This is not an asynchronous method since it can race with dumpstate exiting, thus triggering * death recipient. */ */ void onError(int errorCode); void onError(int errorCode); /** /** * Called when taking bugreport finishes successfully. * Called when taking bugreport finishes successfully. */ */ void onFinished(); oneway void onFinished(); /** /** * Called when screenshot is taken. * Called when screenshot is taken. */ */ void onScreenshotTaken(boolean success); oneway void onScreenshotTaken(boolean success); } } Loading
cmds/dumpstate/binder/android/os/IDumpstateListener.aidl +5 −3 Original line number Original line Diff line number Diff line Loading @@ -32,7 +32,7 @@ interface IDumpstateListener { * * * @param progress the progress in [0, 100] * @param progress the progress in [0, 100] */ */ void onProgress(int progress); oneway void onProgress(int progress); // NOTE: If you add to or change these error codes, please also change the corresponding enums // NOTE: If you add to or change these error codes, please also change the corresponding enums // in system server, in BugreportManager.java. // in system server, in BugreportManager.java. Loading @@ -54,16 +54,18 @@ interface IDumpstateListener { /** /** * Called on an error condition with one of the error codes listed above. * Called on an error condition with one of the error codes listed above. * This is not an asynchronous method since it can race with dumpstate exiting, thus triggering * death recipient. */ */ void onError(int errorCode); void onError(int errorCode); /** /** * Called when taking bugreport finishes successfully. * Called when taking bugreport finishes successfully. */ */ void onFinished(); oneway void onFinished(); /** /** * Called when screenshot is taken. * Called when screenshot is taken. */ */ void onScreenshotTaken(boolean success); oneway void onScreenshotTaken(boolean success); } }