Loading Android.mk +2 −1 Original line number Diff line number Diff line Loading @@ -127,6 +127,8 @@ LOCAL_SRC_FILES += \ core/java/android/content/pm/IPackageManager.aidl \ core/java/android/content/pm/IPackageMoveObserver.aidl \ core/java/android/content/pm/IPackageStatsObserver.aidl \ core/java/android/content/res/IThemeChangeListener.aidl \ core/java/android/content/res/IThemeService.aidl \ core/java/android/database/IContentObserver.aidl \ core/java/android/hardware/ICameraService.aidl \ core/java/android/hardware/ICameraServiceListener.aidl \ Loading Loading @@ -221,7 +223,6 @@ LOCAL_SRC_FILES += \ core/java/com/android/internal/app/IProcessStats.aidl \ core/java/com/android/internal/app/IUsageStats.aidl \ core/java/com/android/internal/app/IMediaContainerService.aidl \ core/java/com/android/internal/app/IAssetRedirectionManager.aidl \ core/java/com/android/internal/appwidget/IAppWidgetService.aidl \ core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \ core/java/com/android/internal/backup/IBackupTransport.aidl \ Loading cmds/bootanimation/Android.mk +4 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,10 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_C_INCLUDES := \ $(call include-path-for, corecg graphics) ifeq ($(TARGET_CONTINUOUS_SPLASH_ENABLED),true) LOCAL_CFLAGS += -DCONTINUOUS_SPLASH endif ifeq ($(TARGET_BOOTANIMATION_PRELOAD),true) LOCAL_CFLAGS += -DPRELOAD_BOOTANIMATION endif Loading cmds/bootanimation/BootAnimation.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ #include "BootAnimation.h" #define USER_BOOTANIMATION_FILE "/data/local/bootanimation.zip" #define THEME_BOOTANIMATION_FILE "/data/system/theme/bootanimation.zip" #define SYSTEM_BOOTANIMATION_FILE "/system/media/bootanimation.zip" #define SYSTEM_ENCRYPTED_BOOTANIMATION_FILE "/system/media/bootanimation-encrypted.zip" #define EXIT_PROP_NAME "service.bootanim.exit" Loading Loading @@ -288,6 +289,9 @@ status_t BootAnimation::readyToRun() { ((access(USER_BOOTANIMATION_FILE, R_OK) == 0) && (mZip.open(USER_BOOTANIMATION_FILE) == NO_ERROR)) || ((access(THEME_BOOTANIMATION_FILE, R_OK) == 0) && (mZip.open(THEME_BOOTANIMATION_FILE) == NO_ERROR)) || ((access(SYSTEM_BOOTANIMATION_FILE, R_OK) == 0) && (mZip.open(SYSTEM_BOOTANIMATION_FILE) == NO_ERROR))) { mAndroidAnimation = false; Loading @@ -302,6 +306,8 @@ status_t BootAnimation::readyToRun() { fd = fopen(SYSTEM_ENCRYPTED_BOOTANIMATION_FILE, "r"); else if (access(USER_BOOTANIMATION_FILE, R_OK) == 0) fd = fopen(USER_BOOTANIMATION_FILE, "r"); else if (access(THEME_BOOTANIMATION_FILE, R_OK) == 0) fd = fopen(THEME_BOOTANIMATION_FILE, "r"); else if (access(SYSTEM_BOOTANIMATION_FILE, R_OK) == 0) fd = fopen(SYSTEM_BOOTANIMATION_FILE, "r"); else Loading Loading @@ -504,6 +510,7 @@ bool BootAnimation::movie() } } #ifndef CONTINUOUS_SPLASH // clear screen glShadeModel(GL_FLAT); glDisable(GL_DITHER); Loading @@ -513,6 +520,7 @@ bool BootAnimation::movie() glClear(GL_COLOR_BUFFER_BIT); eglSwapBuffers(mDisplay, mSurface); #endif glBindTexture(GL_TEXTURE_2D, 0); glEnable(GL_TEXTURE_2D); Loading core/java/android/app/ActivityManager.java +0 −1 Original line number Diff line number Diff line /* * Copyright (C) 2007 The Android Open Source Project * This code has been modified. Portions copyright (C) 2010, T-Mobile USA, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. Loading core/java/android/app/ActivityManagerNative.java +4 −2 Original line number Diff line number Diff line Loading @@ -2064,6 +2064,8 @@ public abstract class ActivityManagerNative extends Binder implements IActivityM class ActivityManagerProxy implements IActivityManager { static final String TAG_TIMELINE = "Timeline"; public ActivityManagerProxy(IBinder remote) { mRemote = remote; Loading @@ -2082,7 +2084,7 @@ class ActivityManagerProxy implements IActivityManager Parcel reply = Parcel.obtain(); if (intent.getComponent() != null) { Log.i("ActivityManager", "Timeline: Activity_launch_request id:" Log.i(TAG_TIMELINE, "Timeline: Activity_launch_request id:" + intent.getComponent().getPackageName() + " time:" + SystemClock.uptimeMillis()); } Loading Loading @@ -2436,7 +2438,7 @@ class ActivityManagerProxy implements IActivityManager public void activityIdle(IBinder token, Configuration config, boolean stopProfiling) throws RemoteException { Log.i("ActivityManager", "Timeline: Activity_idle id: " + token + " time:" Log.i(TAG_TIMELINE, "Timeline: Activity_idle id: " + token + " time:" + SystemClock.uptimeMillis()); Parcel data = Parcel.obtain(); Parcel reply = Parcel.obtain(); Loading Loading
Android.mk +2 −1 Original line number Diff line number Diff line Loading @@ -127,6 +127,8 @@ LOCAL_SRC_FILES += \ core/java/android/content/pm/IPackageManager.aidl \ core/java/android/content/pm/IPackageMoveObserver.aidl \ core/java/android/content/pm/IPackageStatsObserver.aidl \ core/java/android/content/res/IThemeChangeListener.aidl \ core/java/android/content/res/IThemeService.aidl \ core/java/android/database/IContentObserver.aidl \ core/java/android/hardware/ICameraService.aidl \ core/java/android/hardware/ICameraServiceListener.aidl \ Loading Loading @@ -221,7 +223,6 @@ LOCAL_SRC_FILES += \ core/java/com/android/internal/app/IProcessStats.aidl \ core/java/com/android/internal/app/IUsageStats.aidl \ core/java/com/android/internal/app/IMediaContainerService.aidl \ core/java/com/android/internal/app/IAssetRedirectionManager.aidl \ core/java/com/android/internal/appwidget/IAppWidgetService.aidl \ core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \ core/java/com/android/internal/backup/IBackupTransport.aidl \ Loading
cmds/bootanimation/Android.mk +4 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,10 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_C_INCLUDES := \ $(call include-path-for, corecg graphics) ifeq ($(TARGET_CONTINUOUS_SPLASH_ENABLED),true) LOCAL_CFLAGS += -DCONTINUOUS_SPLASH endif ifeq ($(TARGET_BOOTANIMATION_PRELOAD),true) LOCAL_CFLAGS += -DPRELOAD_BOOTANIMATION endif Loading
cmds/bootanimation/BootAnimation.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ #include "BootAnimation.h" #define USER_BOOTANIMATION_FILE "/data/local/bootanimation.zip" #define THEME_BOOTANIMATION_FILE "/data/system/theme/bootanimation.zip" #define SYSTEM_BOOTANIMATION_FILE "/system/media/bootanimation.zip" #define SYSTEM_ENCRYPTED_BOOTANIMATION_FILE "/system/media/bootanimation-encrypted.zip" #define EXIT_PROP_NAME "service.bootanim.exit" Loading Loading @@ -288,6 +289,9 @@ status_t BootAnimation::readyToRun() { ((access(USER_BOOTANIMATION_FILE, R_OK) == 0) && (mZip.open(USER_BOOTANIMATION_FILE) == NO_ERROR)) || ((access(THEME_BOOTANIMATION_FILE, R_OK) == 0) && (mZip.open(THEME_BOOTANIMATION_FILE) == NO_ERROR)) || ((access(SYSTEM_BOOTANIMATION_FILE, R_OK) == 0) && (mZip.open(SYSTEM_BOOTANIMATION_FILE) == NO_ERROR))) { mAndroidAnimation = false; Loading @@ -302,6 +306,8 @@ status_t BootAnimation::readyToRun() { fd = fopen(SYSTEM_ENCRYPTED_BOOTANIMATION_FILE, "r"); else if (access(USER_BOOTANIMATION_FILE, R_OK) == 0) fd = fopen(USER_BOOTANIMATION_FILE, "r"); else if (access(THEME_BOOTANIMATION_FILE, R_OK) == 0) fd = fopen(THEME_BOOTANIMATION_FILE, "r"); else if (access(SYSTEM_BOOTANIMATION_FILE, R_OK) == 0) fd = fopen(SYSTEM_BOOTANIMATION_FILE, "r"); else Loading Loading @@ -504,6 +510,7 @@ bool BootAnimation::movie() } } #ifndef CONTINUOUS_SPLASH // clear screen glShadeModel(GL_FLAT); glDisable(GL_DITHER); Loading @@ -513,6 +520,7 @@ bool BootAnimation::movie() glClear(GL_COLOR_BUFFER_BIT); eglSwapBuffers(mDisplay, mSurface); #endif glBindTexture(GL_TEXTURE_2D, 0); glEnable(GL_TEXTURE_2D); Loading
core/java/android/app/ActivityManager.java +0 −1 Original line number Diff line number Diff line /* * Copyright (C) 2007 The Android Open Source Project * This code has been modified. Portions copyright (C) 2010, T-Mobile USA, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. Loading
core/java/android/app/ActivityManagerNative.java +4 −2 Original line number Diff line number Diff line Loading @@ -2064,6 +2064,8 @@ public abstract class ActivityManagerNative extends Binder implements IActivityM class ActivityManagerProxy implements IActivityManager { static final String TAG_TIMELINE = "Timeline"; public ActivityManagerProxy(IBinder remote) { mRemote = remote; Loading @@ -2082,7 +2084,7 @@ class ActivityManagerProxy implements IActivityManager Parcel reply = Parcel.obtain(); if (intent.getComponent() != null) { Log.i("ActivityManager", "Timeline: Activity_launch_request id:" Log.i(TAG_TIMELINE, "Timeline: Activity_launch_request id:" + intent.getComponent().getPackageName() + " time:" + SystemClock.uptimeMillis()); } Loading Loading @@ -2436,7 +2438,7 @@ class ActivityManagerProxy implements IActivityManager public void activityIdle(IBinder token, Configuration config, boolean stopProfiling) throws RemoteException { Log.i("ActivityManager", "Timeline: Activity_idle id: " + token + " time:" Log.i(TAG_TIMELINE, "Timeline: Activity_idle id: " + token + " time:" + SystemClock.uptimeMillis()); Parcel data = Parcel.obtain(); Parcel reply = Parcel.obtain(); Loading