/* Android IMSI-Catcher Detector | (c) AIMSICD Privacy Project * ----------------------------------------------------------- * LICENSE: http://git.io/vki47 | TERMS: http://git.io/vki4o * ----------------------------------------------------------- */ package com.secupwn.aimsicd.rilexecutor; import android.os.Message; public interface OemRilExecutor { DetectResult detect(); void start(); void stop(); /** * Invokes RIL_REQUEST_OEM_HOOK_RAW. * * @param data The data for the request. * @param response <strong>On success</strong>, * (byte[])(((AsyncResult)response.obj).result) * <strong>On failure</strong>, * (((RawResult)response.obj).result) == null and * (((RawResult)response.obj).exception) being an instance of * com.android.internal.telephony.gsm.CommandException * @see #invokeOemRilRequestRaw(byte[], android.os.Message) */ void invokeOemRilRequestRaw(byte data[], Message response); /** * Invokes RIL_REQUEST_OEM_HOOK_STRING * * @param strings The data for the request. * @param response <strong>On success</strong>, * (byte[])(((AsyncResult)response.obj).result) * <strong>On failure</strong>, * (((RawResult)response.obj).result) == null and * (((RawResult)response.obj).exception) being an instance of * com.android.internal.telephony.gsm.CommandException * @see #invokeOemRilRequestStrings(String[], android.os.Message) */ void invokeOemRilRequestStrings(String[] strings, Message response); }