INNER CODE UNIT · Java

onRestrictBackgroundChanged

moezbhatti/qksms · android-smsmms/src/main/java/android/net/INetworkPolicyListener.java:116

            public void onRestrictBackgroundChanged(boolean restrictBackground) throws android.os.RemoteException {
                android.os.Parcel _data = android.os.Parcel.obtain();
                try {
                    _data.writeInterfaceToken(DESCRIPTOR);
                    _data.writeInt(((restrictBackground) ? (1) : (0)));
                    mRemote.transact(Stub.TRANSACTION_onRestrictBackgroundChanged, _data, null, android.os.IBinder.FLAG_ONEWAY);
                } finally {
                    _data.recycle();
                }
            }
        }

        static final int TRANSACTION_onUidRulesChanged = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
        static final int TRANSACTION_onMeteredIfacesChanged = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
        static final int TRANSACTION_onRestrictBackgroundChanged = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
    }

    public void onUidRulesChanged(int uid, int uidRules) throws android.os.RemoteException;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…