Home
last modified time | relevance | path

Searched refs:receiver (Results 1 – 15 of 15) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
DAndroidJUnitPropertyTester.java49 public boolean test(Object receiver, String property, Object[] args, Object expectedValue) { in test() argument
50 if (!(receiver instanceof IAdaptable)) { in test()
51 final String elementName = (receiver == null ? "null" : //$NON-NLS-1$ in test()
52 receiver.getClass().getName()); in test()
59 if (receiver instanceof IJavaElement) { in test()
60 element = (IJavaElement) receiver; in test()
61 } else if (receiver instanceof IResource) { in test()
62 element = JavaCore.create((IResource) receiver); in test()
67 element= (IJavaElement) ((IAdaptable) receiver).getAdapter(IJavaElement.class); in test()
69 IResource resource = (IResource) ((IAdaptable) receiver).getAdapter( in test()
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DDevice.java325 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in getPropertySync() local
326 executeShellCommand(String.format("getprop '%s'", name), receiver, GETPROP_TIMEOUT); in getPropertySync()
327 String value = receiver.getOutput().trim(); in getPropertySync()
450 public void executeShellCommand(String command, IShellOutputReceiver receiver) in executeShellCommand() argument
454 receiver, DdmPreferences.getTimeOut()); in executeShellCommand() local
458 public void executeShellCommand(String command, IShellOutputReceiver receiver, in executeShellCommand() argument
463 receiver, maxTimeToOutputResponse); in executeShellCommand() local
467 public void runEventLogService(LogReceiver receiver) in runEventLogService() argument
469 AdbHelper.runEventLogService(AndroidDebugBridge.getSocketAddress(), this, receiver); in runEventLogService() local
473 public void runLogService(String logname, LogReceiver receiver) in runLogService() argument
[all …]
DIDevice.java285 public void executeShellCommand(String command, IShellOutputReceiver receiver) in executeShellCommand() argument
316 public void executeShellCommand(String command, IShellOutputReceiver receiver, in executeShellCommand() argument
331 public void runEventLogService(LogReceiver receiver) in runEventLogService() argument
346 public void runLogService(String logname, LogReceiver receiver) in runLogService() argument
DFileListingService.java590 MultiLineReceiver receiver = new MultiLineReceiver() { in finishLinks() local
619 device.executeShellCommand(command, receiver); in finishLinks()
693 final IListingReceiver receiver) { in getChildren() argument
702 if (receiver == null) { in getChildren()
715 receiver.setChildren(entry, entry.getCachedChildren()); in getChildren()
741 receiver.refreshEntry(entry); in getChildren()
838 LsReceiver receiver = new LsReceiver(entry, entryList, linkList); in doLsAndThrow() local
841 mDevice.executeShellCommand(command, receiver); in doLsAndThrow()
844 receiver.finishLinks(mDevice, entryList); in doLsAndThrow()
/sdk/dumpeventlog/src/com/android/dumpeventlog/
DDumpEventLog.java65 public void setReceiver(LogReceiver receiver) { in setReceiver() argument
66 mReceiver = receiver; in setReceiver()
141 LogReceiver receiver = new LogReceiver(writer); in grabLogFrom() local
142 writer.setReceiver(receiver); in grabLogFrom()
144 device.runEventLogService(receiver); in grabLogFrom()
/sdk/templates/other/BroadcastReceiver/root/
DAndroidManifest.xml.ftl4 <receiver android:name=".${className}"
7 </receiver>
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DApkInstallManager.java148 PmReceiver receiver = new PmReceiver(); in isApplicationInstalled() local
149 found.device.executeShellCommand("pm path " + packageName, receiver); in isApplicationInstalled()
150 if (receiver.foundPackage == false) { in isApplicationInstalled()
154 return receiver.foundPackage; in isApplicationInstalled()
/sdk/emulator/qemud/
Dqemud.c752 Receiver receiver[1]; member
824 receiver_close(f->receiver); in fdhandler_close()
859 f->receiver->close = NULL; in fdhandler_shutdown()
915 receiver_post( f->receiver, p ); in fdhandler_event()
953 Receiver* receiver ) in fdhandler_new() argument
959 f->receiver[0] = receiver[0]; in fdhandler_new()
993 receiver_post( f->receiver, p ); in fdhandler_accept_event()
1012 Receiver* receiver ) in fdhandler_new_accept() argument
1018 f->receiver[0] = receiver[0]; in fdhandler_new_accept()
1060 Receiver receiver[1]; /* send payload there */ member
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkGdbLaunchDelegate.java236 CollectingOutputReceiver receiver = new CollectingOutputReceiver(launchedLatch); in doLaunch() local
237 device.executeShellCommand(command, receiver); in doLaunch()
239 String shellOutput = receiver.getOutput(); in doLaunch()
241 throw new RuntimeException(receiver.getOutput()); in doLaunch()
482 CollectingOutputReceiver receiver = new CollectingOutputReceiver(commandCompleteLatch); in getAppDirectory() local
483 device.executeShellCommand(command, receiver); in getAppDirectory()
485 return receiver.getOutput().trim(); in getAppDirectory()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DLogCatMonitor.java119 data.receiver.removeMessageReceivedEventListener(data.bufferChangeListener); in unmonitorDevice()
269 public final LogCatReceiver receiver; field in LogCatMonitor.DeviceData
273 receiver = r; in DeviceData()
/sdk/eventanalyzer/src/com/android/eventanalyzer/
DEventAnalyzer.java189 LogReceiver receiver = new LogReceiver(this); in parseBinaryLogFile() local
197 receiver.parseNewData(buffer, 0, count); in parseBinaryLogFile()
314 LogReceiver receiver = new LogReceiver(this); in grabLogFrom() local
316 device.runEventLogService(receiver); in grabLogFrom()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DCollectTraceAction.java296 StartActivityOutputReceiver receiver = new StartActivityOutputReceiver( in startActivity() local
298 device.executeShellCommand(startAppCmd, receiver); in startActivity()
304 String output = receiver.getOutput(); in startActivity()
/sdk/eclipse/scripts/
D_mk_icons.sh37 icon R green receiver
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
DDeviceView.java573 CollectingOutputReceiver receiver = new CollectingOutputReceiver(setTagLatch); in launchSystrace() local
576 device.executeShellCommand(cmd, receiver); in launchSystrace()
585 String shellOutput = receiver.getOutput(); in launchSystrace()
587 throw new RuntimeException(receiver.getOutput()); in launchSystrace()
/sdk/files/typos/
Dtypos-en.txt3500 reciever->receiver