• 大小: 0.06M
    文件类型: .rar
    金币: 2
    下载: 2 次
    发布日期: 2021-02-01
  • 语言: Java
  • 标签: ee  

资源简介

成了无声音乐(已考虑功耗,降至最低),前台服务、双进程守护、像素保活,jobs五种保活方式

资源截图

代码片段和文件信息

package com.fanjun.keeplive;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumented test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.fanjun.keeplive.test“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        401  2019-08-27 15:21  keeplive-master\.classpath

     文件        391  2019-08-27 15:21  keeplive-master\.project

     文件       2318  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\activity\OnePixelActivity.class

     文件       2412  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\config\ForegroundNotification.class

     文件        628  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\config\ForegroundNotificationclickListener.class

     文件        181  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\config\KeepLiveService.class

     文件       7201  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\config\NotificationUtils.class

     文件       1047  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\ExampleInstrumentedTest.class

     文件        641  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\ExampleUnitTest.class

     文件       1144  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\KeepLive$RunMode.class

     文件       2140  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\KeepLive.class

     文件       1014  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\receiver\NotificationclickReceiver.class

     文件       1839  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\receiver\OnepxReceiver.class

     文件       2404  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\service\HideForegroundService.class

     文件       5297  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\service\JobHandlerService.class

     文件       4546  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\service\LocalService$MyBilder.class

     文件       4459  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\service\LocalService$ScreenStateReceiver.class

     文件       7340  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\service\LocalService.class

     文件       3067  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\service\RemoteService$MyBilder.class

     文件       3711  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\service\RemoteService.class

     文件       1162  2019-08-27 15:21  keeplive-master\bin\com\fanjun\keeplive\utils\ServiceUtils.class

    .......         7  2019-08-07 03:03  keeplive-master\keeplive-master\.gitignore

    .......       864  2019-08-07 03:03  keeplive-master\keeplive-master\build.gradle

    .......     13150  2019-08-07 03:03  keeplive-master\keeplive-master\keeplive.iml

    .......       751  2019-08-07 03:03  keeplive-master\keeplive-master\proguard-rules.pro

    .......      5582  2019-08-07 03:03  keeplive-master\keeplive-master\README.md

    .......       727  2019-08-07 03:03  keeplive-master\keeplive-master\src\androidTest\java\com\fanjun\keeplive\ExampleInstrumentedTest.java

    .......       151  2019-08-07 03:03  keeplive-master\keeplive-master\src\main\aidl\com\fanjun\keeplive\service\GuardAidl.aidl

    .......      1076  2019-08-07 03:03  keeplive-master\keeplive-master\src\main\AndroidManifest.xml

    .......      1144  2019-08-07 03:03  keeplive-master\keeplive-master\src\main\java\com\fanjun\keeplive\activity\OnePixelActivity.java

............此处省略59个文件信息

评论

共有 条评论