Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more updates #22

Open
wants to merge 1 commit into
base: v7-android-4.4.4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions framework.jar.out/smali/android/app/ContextImpl.smali
Original file line number Diff line number Diff line change
Expand Up @@ -1762,6 +1762,14 @@
.locals 2

.prologue
const-string v0, "jobscheduler"

new-instance v1, Landroid/app/ContextImpl$JobSchedulerServiceFetcher;

invoke-direct {v1}, Landroid/app/ContextImpl$JobSchedulerServiceFetcher;-><init>()V

invoke-static {v0, v1}, Landroid/app/ContextImpl;->registerService(Ljava/lang/String;Landroid/app/ContextImpl$ServiceFetcher;)V

const-string v0, "security"

new-instance v1, Landroid/app/ContextImpl$SecurityServiceFetcher;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
# setter for: Landroid/net/wifi/SupplicantStateTracker;->mNetworksDisabledDuringConnect:Z
invoke-static {v0, v1}, Landroid/net/wifi/SupplicantStateTracker;->access$602(Landroid/net/wifi/SupplicantStateTracker;Z)Z

invoke-static {}, Landroid/net/wifi/SupplicantStateTrackerInjector;->handleNetworkConnectionComplete()V

:cond_0
return-void
.end method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@
# setter for: Landroid/net/wifi/SupplicantStateTracker;->mAssociationRejectCount:I
invoke-static {v2, v4}, Landroid/net/wifi/SupplicantStateTracker;->access$702(Landroid/net/wifi/SupplicantStateTracker;I)I

iget v2, p1, Landroid/os/Message;->arg1:I

invoke-static {v2}, Landroid/net/wifi/SupplicantStateTrackerInjector;->handleConnectNetwork(I)V

goto :goto_0

:sswitch_4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

move-result v2

const/4 v3, 0x2
const/4 v3, 0x1

if-lt v2, v3, :cond_1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

.field private static final MAX_RETRIES_ON_ASSOCIATION_REJECT:I = 0x10

.field private static final MAX_RETRIES_ON_AUTHENTICATION_FAILURE:I = 0x2
.field private static final MAX_RETRIES_ON_AUTHENTICATION_FAILURE:I = 0x1

.field private static final TAG:Ljava/lang/String; = "SupplicantStateTracker"

Expand Down Expand Up @@ -407,7 +407,7 @@
.end method

.method private handleNetworkConnectionFailure(II)V
.locals 1
.locals 2
.param p1, "netId" # I
.param p2, "disableReason" # I

Expand All @@ -429,6 +429,16 @@

invoke-virtual {v0, p1, p2}, Landroid/net/wifi/WifiConfigStore;->disableNetwork(II)Z

iget-object v0, p0, Landroid/net/wifi/SupplicantStateTracker;->mContext:Landroid/content/Context;

iget-object v1, p0, Landroid/net/wifi/SupplicantStateTracker;->mWifiConfigStore:Landroid/net/wifi/WifiConfigStore;

invoke-virtual {v1}, Landroid/net/wifi/WifiConfigStore;->getConfiguredNetworks()Ljava/util/List;

move-result-object v1

invoke-static {v0, v1, p1}, Landroid/net/wifi/SupplicantStateTrackerInjector;->handleNetworkConnectionFailure(Landroid/content/Context;Ljava/util/List;I)V

return-void
.end method

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@

const v11, 0x25001

invoke-virtual {v10, v11}, Landroid/net/wifi/SupplicantStateTracker;->sendMessage(I)V
invoke-virtual {v10, v11, v2}, Landroid/net/wifi/SupplicantStateTracker;->sendMessage(II)V

iget-object v10, p0, Landroid/net/wifi/WifiStateMachine$ConnectModeState;->this$0:Landroid/net/wifi/WifiStateMachine;

Expand Down
91 changes: 91 additions & 0 deletions framework.jar.out/smali/android/os/Parcel.smali
Original file line number Diff line number Diff line change
Expand Up @@ -2840,6 +2840,50 @@
goto/16 :goto_0
.end method

.method public final readPersistableBundle()Landroid/os/PersistableBundle;
.locals 1

.prologue
const/4 v0, 0x0

invoke-virtual {p0, v0}, Landroid/os/Parcel;->readPersistableBundle(Ljava/lang/ClassLoader;)Landroid/os/PersistableBundle;

move-result-object v0

return-object v0
.end method

.method public final readPersistableBundle(Ljava/lang/ClassLoader;)Landroid/os/PersistableBundle;
.locals 2
.param p1, "loader" # Ljava/lang/ClassLoader;

.prologue
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I

move-result v1

.local v1, "length":I
if-gez v1, :cond_1

const/4 v0, 0x0

:cond_0
:goto_0
return-object v0

:cond_1
new-instance v0, Landroid/os/PersistableBundle;

invoke-direct {v0, p0, v1}, Landroid/os/PersistableBundle;-><init>(Landroid/os/Parcel;I)V

.local v0, "bundle":Landroid/os/PersistableBundle;
if-eqz p1, :cond_0

invoke-virtual {v0, p1}, Landroid/os/PersistableBundle;->setClassLoader(Ljava/lang/ClassLoader;)V

goto :goto_0
.end method

.method public final readRawFileDescriptor()Ljava/io/FileDescriptor;
.locals 1

Expand Down Expand Up @@ -3678,6 +3722,13 @@

goto/16 :goto_0

:pswitch_miui
invoke-virtual {p0, p1}, Landroid/os/Parcel;->readPersistableBundle(Ljava/lang/ClassLoader;)Landroid/os/PersistableBundle;

move-result-object v2

goto/16 :goto_0

nop

:pswitch_data_0
Expand Down Expand Up @@ -3708,6 +3759,7 @@
:pswitch_18
:pswitch_c
:pswitch_f
:pswitch_miui
.end packed-switch
.end method

Expand Down Expand Up @@ -4815,6 +4867,28 @@
return-void
.end method

.method public final writePersistableBundle(Landroid/os/PersistableBundle;)V
.locals 1
.param p1, "val" # Landroid/os/PersistableBundle;

.prologue
if-nez p1, :cond_0

const/4 v0, -0x1

invoke-virtual {p0, v0}, Landroid/os/Parcel;->writeInt(I)V

:goto_0
return-void

:cond_0
const/4 v0, 0x0

invoke-virtual {p1, p0, v0}, Landroid/os/PersistableBundle;->writeToParcel(Landroid/os/Parcel;I)V

goto :goto_0
.end method

.method public final writeSerializable(Ljava/io/Serializable;)V
.locals 7
.param p1, "s" # Ljava/io/Serializable;
Expand Down Expand Up @@ -5732,6 +5806,23 @@

.restart local p1 # "v":Ljava/lang/Object;
:cond_18
instance-of v0, p1, Landroid/os/PersistableBundle;

if-eqz v0, :cond_miui_0

const/16 v0, 0x19

invoke-virtual {p0, v0}, Landroid/os/Parcel;->writeInt(I)V

check-cast p1, Landroid/os/PersistableBundle;

.end local p1 # "v":Ljava/lang/Object;
invoke-virtual {p0, p1}, Landroid/os/Parcel;->writePersistableBundle(Landroid/os/PersistableBundle;)V

goto/16 :goto_0

.restart local p1 # "v":Ljava/lang/Object;
:cond_miui_0
instance-of v0, p1, Ljava/io/Serializable;

if-eqz v0, :cond_19
Expand Down
1 change: 1 addition & 0 deletions overlay/OVERLAY_CLASSES
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ android/app/DownloadManager
android/widget/DateTimeView
android/widget/RemoteViews
com/android/internal/app/ResolverActivity
com/android/internal/util/XmlUtils
com/android/server/am/AppErrorDialog
com/android/server/am/AppNotRespondingDialog
com/android/server/am/BaseErrorDialog
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.class final Landroid/app/ContextImpl$JobSchedulerServiceFetcher;
.super Landroid/app/ContextImpl$ServiceFetcher;
.source "ContextImpl.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/app/ContextImpl;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation


# direct methods
.method constructor <init>()V
.locals 0

.prologue
.line 604
invoke-direct {p0}, Landroid/app/ContextImpl$ServiceFetcher;-><init>()V

return-void
.end method


# virtual methods
.method public createService(Landroid/app/ContextImpl;)Ljava/lang/Object;
.locals 3
.param p1, "ctx" # Landroid/app/ContextImpl;

.prologue
.line 606
const-string v1, "jobscheduler"

invoke-static {v1}, Landroid/os/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IBinder;

move-result-object v0

.line 607
.local v0, "b":Landroid/os/IBinder;
new-instance v1, Landroid/app/JobSchedulerImpl;

invoke-static {v0}, Landroid/app/job/IJobScheduler$Stub;->asInterface(Landroid/os/IBinder;)Landroid/app/job/IJobScheduler;

move-result-object v2

invoke-direct {v1, v2}, Landroid/app/JobSchedulerImpl;-><init>(Landroid/app/job/IJobScheduler;)V

return-object v1
.end method
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,19 @@

iget-boolean v4, v0, Lcom/android/server/NotificationManagerService$6;->val$isSystemNotification:Z

if-nez v4, :cond_2
if-eqz v4, :cond_miui_00

move-object/from16 v0, p0

iget-object v4, v0, Lcom/android/server/NotificationManagerService$6;->val$pkg:Ljava/lang/String;

invoke-static {v4}, Lmiui/util/NotificationFilterHelper;->canSystemNotificationBeBlocked(Ljava/lang/String;)Z

move-result v4

if-eqz v4, :cond_2

:cond_miui_00
const/16 v9, -0x3e8

const-string v4, "NotificationService"
Expand Down Expand Up @@ -684,6 +695,23 @@
.end local v28 # "resolver":Landroid/content/ContentResolver;
:cond_b
:goto_8
move-object/from16 v0, p0

iget-object v4, v0, Lcom/android/server/NotificationManagerService$6;->this$0:Lcom/android/server/NotificationManagerService;

iget-object v4, v4, Lcom/android/server/NotificationManagerService;->mContext:Landroid/content/Context;

move-object/from16 v0, v30

invoke-static {v4, v0, v3}, Lmiui/util/NotificationFilterHelper;->getCustomSoundUri(Landroid/content/Context;Landroid/net/Uri;Landroid/service/notification/StatusBarNotification;)Landroid/net/Uri;

move-result-object v30

if-eqz v30, :cond_miui_0

const/16 v18, 0x1

:goto_miui_0
if-eqz v18, :cond_d

move-object/from16 v0, p0
Expand Down Expand Up @@ -737,6 +765,20 @@

if-nez v4, :cond_d

move-object/from16 v0, p0

iget-object v4, v0, Lcom/android/server/NotificationManagerService$6;->this$0:Lcom/android/server/NotificationManagerService;

iget-object v4, v4, Lcom/android/server/NotificationManagerService;->mContext:Landroid/content/Context;

const-string v5, "_sound"

invoke-static {v4, v3, v5}, Lmiui/util/NotificationFilterHelper;->isAllowed(Landroid/content/Context;Landroid/service/notification/StatusBarNotification;Ljava/lang/String;)Z

move-result v4

if-eqz v4, :cond_d

invoke-static {}, Landroid/os/Binder;->clearCallingIdentity()J
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_0
Expand Down Expand Up @@ -845,6 +887,20 @@

iget-object v4, v0, Lcom/android/server/NotificationManagerService$6;->this$0:Lcom/android/server/NotificationManagerService;

iget-object v4, v4, Lcom/android/server/NotificationManagerService;->mContext:Landroid/content/Context;

const-string v5, "_vibrate"

invoke-static {v4, v3, v5}, Lmiui/util/NotificationFilterHelper;->isAllowed(Landroid/content/Context;Landroid/service/notification/StatusBarNotification;Ljava/lang/String;)Z

move-result v4

if-eqz v4, :cond_10

move-object/from16 v0, p0

iget-object v4, v0, Lcom/android/server/NotificationManagerService$6;->this$0:Lcom/android/server/NotificationManagerService;

move-object/from16 v0, v27

# setter for: Lcom/android/server/NotificationManagerService;->mVibrateNotification:Lcom/android/server/NotificationManagerService$NotificationRecord;
Expand Down Expand Up @@ -1329,6 +1385,11 @@

goto :goto_13

:cond_miui_0
const/16 v18, 0x0

goto/16 :goto_miui_0

:cond_1d
const/16 v24, 0x0

Expand Down
11 changes: 11 additions & 0 deletions services.jar.out/smali/com/android/server/ServerThread$2.smali
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,17 @@

invoke-virtual {v1}, Lcom/android/server/Watchdog;->start()V

iget-object v1, p0, Lcom/android/server/ServerThread$2;->this$0:Lcom/android/server/ServerThread;

# getter for: Lcom/android/server/ServerThread;->mSystemServiceManager:Lcom/android/server/SystemServiceManager;
invoke-static {v1}, Lcom/android/server/ServerThread;->access$mSystemServiceManager(Lcom/android/server/ServerThread;)Lcom/android/server/SystemServiceManager;

move-result-object v1

const/16 v2, 0x258

invoke-virtual {v1, v2}, Lcom/android/server/SystemServiceManager;->startBootPhase(I)V

:try_start_c
iget-object v1, p0, Lcom/android/server/ServerThread$2;->val$appWidgetF:Lcom/android/server/AppWidgetService;

Expand Down
Loading