@Test public void testBrowse() throws Exception { NSArray array = client.browse(); NSDictionary safari = null; for (int i = 0; i < array.count(); i++) { NSDictionary dict = (NSDictionary) array.objectAtIndex(i); NSObject v = dict.objectForKey("CFBundleIdentifier"); if (v != null && "com.apple.mobilesafari".equals(v.toString())) { safari = dict; } } assertNotNull(safari); }
public NSArray browse() throws IOException { return browse(null); }
InstallationProxyClient implements AutoCloseable { public NSArray browse() throws IOException { return browse(null); } }
InstallationProxyClient implements AutoCloseable { public NSArray browse() throws IOException { return browse(null); } InstallationProxyClient(InstproxyClientRef ref);  InstallationProxyClient(IDevice device, LockdowndServiceDescriptor service); }
InstallationProxyClient implements AutoCloseable { public NSArray browse() throws IOException { return browse(null); } InstallationProxyClient(InstproxyClientRef ref);  InstallationProxyClient(IDevice device, LockdowndServiceDescriptor service); NSArray browse(); NSArray browse(Options.ApplicationType type); void install(String pkgPath, Options options, StatusCallback callback); void upgrade(String pkgPath, Options options, StatusCallback callback); synchronized void dispose(); @Override void close(); static void main(String[] args); }
InstallationProxyClient implements AutoCloseable { public NSArray browse() throws IOException { return browse(null); } InstallationProxyClient(InstproxyClientRef ref);  InstallationProxyClient(IDevice device, LockdowndServiceDescriptor service); NSArray browse(); NSArray browse(Options.ApplicationType type); void install(String pkgPath, Options options, StatusCallback callback); void upgrade(String pkgPath, Options options, StatusCallback callback); synchronized void dispose(); @Override void close(); static void main(String[] args); static final String SERVICE_NAME; }