liyujie
2025-08-28 b3810562527858a3b3d98ffa6e9c9c5b0f4a9a8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package android.aw;
 
import android.content.Intent;
import android.content.pm.ResolveInfo;
 
/**
 * System private interface to the background manager.
 *
 * {@hide}
 */
interface IBackgroundManager
{
    /**
     * set debug
     */
    void setDebug(boolean debug);
 
    /**
     * set current inputmethod
     * @param inputmethod current default inputmethod
     */
    void setCurrentInputMethod(String inputmethod);
 
    /**
     * gcm list
     * @param list gcm list
     */
    void setGcmList(in List<String> list);
 
    /**
     * set user whitelist
     * @param whitelist user whitelist
     */
    void setUserWhitelist(in List<String> whitelist);
 
    /**
     * return user whitelist
     */
    List<String> getSystemWhitelist();
 
    /**
     * set limit background count
     * @param limit background count
     */
    void setLimitBackgroundCount(int limit);
 
    /**
     * return limit background count
     */
    int getLimitBackgroundCount();
 
    /**
     * check skip service
     * @param Intent service intent
     */
    boolean skipService(in Intent service);
 
    /**
     * resolver receivers and remove not in whitelist
     * @param Intent target intent
     * @param receivers resolver receivers
     */
    String[] resolverReceiver(in Intent intent, inout List<ResolveInfo> receivers);
}