Code example for Binder

0
        } 
	}     
 
    @SmallTest 
    public void testDISABLE_KEYGUARD() { 
        Binder token = new Binder();
        try { 
            mWm.disableKeyguard(token, "foo");
            fail("IWindowManager.disableKeyguard did not throw SecurityException as"
                    + " expected"); 
        } catch (SecurityException e) {
            // expected 
        } catch (RemoteException e) {
            fail("Unexpected remote exception");
        } 
         
        try { 
            mWm.reenableKeyguard(token);
            fail("IWindowManager.reenableKeyguard did not throw SecurityException as"
                    + " expected"); 
        } catch (SecurityException e) {