/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/ |
D | ValidateRepositoryXmlTest.java | 59 private Validator getRepoValidator(int version, @Nullable CaptureErrorHandler handler) in getRepoValidator() argument 68 if (handler != null) { in getRepoValidator() 69 validator.setErrorHandler(handler); in getRepoValidator() 89 CaptureErrorHandler handler = new CaptureErrorHandler(); in testRepoLatestVersionNumber() local 92 assertNotNull(getRepoValidator(SdkRepoConstants.NS_LATEST_VERSION, handler)); in testRepoLatestVersionNumber() 100 getRepoValidator(SdkRepoConstants.NS_LATEST_VERSION + 1, handler)); in testRepoLatestVersionNumber() 109 CaptureErrorHandler handler = new CaptureErrorHandler(); in testValidateLocalRepositoryFile1() local 110 Validator validator = getRepoValidator(1, handler); in testValidateLocalRepositoryFile1() 112 handler.verify(); in testValidateLocalRepositoryFile1() 121 CaptureErrorHandler handler = new CaptureErrorHandler(); in testValidateLocalRepositoryFile2() local [all …]
|
D | ValidateAddonXmlTest.java | 56 private Validator getAddonValidator(int version, @Nullable CaptureErrorHandler handler) in getAddonValidator() argument 64 if (handler != null) { in getAddonValidator() 65 validator.setErrorHandler(handler); in getAddonValidator() 85 CaptureErrorHandler handler = new CaptureErrorHandler(); in testAddonLatestVersionNumber() local 88 assertNotNull(getAddonValidator(SdkAddonConstants.NS_LATEST_VERSION, handler)); in testAddonLatestVersionNumber() 96 getAddonValidator(SdkAddonConstants.NS_LATEST_VERSION + 1, handler)); in testAddonLatestVersionNumber() 105 CaptureErrorHandler handler = new CaptureErrorHandler(); in testValidateLocalAddonFile1() local 106 Validator validator = getAddonValidator(1, handler); in testValidateLocalAddonFile1() 108 handler.verify(); in testValidateLocalAddonFile1() 117 CaptureErrorHandler handler = new CaptureErrorHandler(); in testValidateLocalAddonFile2() local [all …]
|
D | ValidateAddonsListXmlTest.java | 48 private Validator getValidator(int version, @Nullable CaptureErrorHandler handler) in getValidator() argument 56 if (handler != null) { in getValidator() 57 validator.setErrorHandler(handler); in getValidator() 68 CaptureErrorHandler handler = new CaptureErrorHandler(); in testAddonLatestVersionNumber() local 71 assertNotNull(getValidator(SdkAddonsListConstants.NS_LATEST_VERSION, handler)); in testAddonLatestVersionNumber() 79 getValidator(SdkAddonsListConstants.NS_LATEST_VERSION + 1, handler)); in testAddonLatestVersionNumber() 88 CaptureErrorHandler handler = new CaptureErrorHandler(); in testValidateLocalAddonFile1() local 89 Validator validator = getValidator(1, handler); in testValidateLocalAddonFile1() 91 handler.verify(); in testValidateLocalAddonFile1() 100 CaptureErrorHandler handler = new CaptureErrorHandler(); in testValidateLocalAddonFile2() local [all …]
|
D | ValidateSysImgXmlTest.java | 51 private Validator getValidator(int version, @Nullable CaptureErrorHandler handler) in getValidator() argument 60 if (handler != null) { in getValidator() 61 validator.setErrorHandler(handler); in getValidator() 72 CaptureErrorHandler handler = new CaptureErrorHandler(); in testSysImgLatestVersionNumber() local 75 assertNotNull(getValidator(SdkSysImgConstants.NS_LATEST_VERSION, handler)); in testSysImgLatestVersionNumber() 83 getValidator(SdkSysImgConstants.NS_LATEST_VERSION + 1, handler)); in testSysImgLatestVersionNumber() 92 CaptureErrorHandler handler = new CaptureErrorHandler(); in testValidateLocalRepositoryFile1() local 93 Validator validator = getValidator(1, handler); in testValidateLocalRepositoryFile1() 95 handler.verify(); in testValidateLocalRepositoryFile1()
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
D | HandleProfiling.java | 150 IMethodProfilingHandler handler = ClientData.getMethodProfilingHandler(); in handleMPRE() local 151 if (handler != null) { in handleMPRE() 153 handler.onSuccess(filename, client); in handleMPRE() 157 handler.onEndFailure(client, null /*message*/); in handleMPRE() 216 IMethodProfilingHandler handler = ClientData.getMethodProfilingHandler(); in handleMPSE() local 217 if (handler != null) { in handleMPSE() 223 handler.onSuccess(stuff, client); in handleMPSE() 283 IMethodProfilingHandler handler = ClientData.getMethodProfilingHandler(); in handleFAIL() local 284 if (handler != null) { in handleFAIL() 285 handler.onStartFailure(client, message); in handleFAIL() [all …]
|
D | MonitorThread.java | 180 synchronized void registerChunkHandler(int type, ChunkHandler handler) { in registerChunkHandler() argument 187 mHandlerMap.put(type, handler); in registerChunkHandler() 327 ChunkHandler handler = client in processClientActivity() local 336 callHandler(client, packet, handler); in processClientActivity() 380 ChunkHandler handler) { in callHandler() argument 393 if (handler == null) { in callHandler() 396 handler = mHandlerMap.get(type); in callHandler() 401 if (handler == null) { in callHandler() 406 + " [" + handler + "] (len=" + length + ")"); in callHandler() 414 handler.handleChunk(client, type, roBuf, reply, packet.getId()); in callHandler() [all …]
|
D | Client.java | 720 private void addRequestId(int id, ChunkHandler handler) { in addRequestId() argument 724 mOutstandingReqs.put(id, handler); in addRequestId() 749 ChunkHandler handler = mOutstandingReqs.get(id); in isResponseToUs() local 750 if (handler != null) { in isResponseToUs() 753 + " in request set - " + handler); in isResponseToUs() 754 return handler; in isResponseToUs()
|
D | HandleHeap.java | 290 IHprofDumpHandler handler = ClientData.getHprofDumpHandler(); in handleHPDU() local 291 if (handler != null) { in handleHPDU() 293 handler.onSuccess(filename, client); in handleHPDU() 297 handler.onEndFailure(client, null); in handleHPDU() 308 IHprofDumpHandler handler = ClientData.getHprofDumpHandler(); in handleHPDS() local 309 if (handler != null) { in handleHPDS() 315 handler.onSuccess(stuff, client); in handleHPDS()
|
D | ClientData.java | 362 public static void setHprofDumpHandler(IHprofDumpHandler handler) { in setHprofDumpHandler() argument 363 sHprofDumpHandler = handler; in setHprofDumpHandler() 373 public static void setMethodProfilingHandler(IMethodProfilingHandler handler) { in setMethodProfilingHandler() argument 374 sMethodProfilingHandler = handler; in setMethodProfilingHandler()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/ |
D | DeletionHandlerTest.java | 78 DeletionHandler handler = new DeletionHandler(deletedNodes, movedNodes, layout); in testSimple() local 79 handler.updateConstraints(); in testSimple() 211 DeletionHandler handler = new DeletionHandler(deletedNodes, movedNodes, layout); in testTransitive() local 212 handler.updateConstraints(); in testTransitive() 330 DeletionHandler handler = new DeletionHandler(deletedNodes, movedNodes, layout); in testCenter() local 331 handler.updateConstraints(); in testCenter() 401 DeletionHandler handler = new DeletionHandler(deletedNodes, movedNodes, layout); in testMove() local 402 handler.updateConstraints(); in testMove()
|
/sdk/anttargetprint/src/com/android/anttargetprint/ |
D | Main.java | 41 BuildXmlHandler handler = new BuildXmlHandler(); in main() local 42 parser.parse(new File(args[0]), handler); in main() 44 for (Entry<String, List<String>> entry : handler.processTargets().entrySet()) { in main()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
D | PreCompilerDeltaVisitor.java | 109 SourceChangeHandler handler = processor.getChangeHandler(); in PreCompilerDeltaVisitor() local 110 mSourceChangeHandlers.add(handler); in PreCompilerDeltaVisitor() 289 for (SourceChangeHandler handler : mSourceChangeHandlers) { in visit() 290 if (handler.handleGeneratedFile(file, kind)) { in visit() 311 for (SourceChangeHandler handler : mSourceChangeHandlers) { in visit() 312 handler.handleSourceFile(file, kind); in visit() 357 for (SourceChangeHandler handler : mSourceChangeHandlers) { in visit() 358 handler.handleResourceFile((IFile)resource, kind); in visit()
|
/sdk/apps/SdkController/ |
D | Implementation.txt | 20 handler to deal with emulator connections starts/stopping. Some handlers 26 composed of a background handler (that consumes data form the emulator and 28 or controls the handler's state.) 52 The activity can then access the handler: 53 handler = getServiceBinder().getHandler(HandlerType....) 55 and then the activity wants to provide a listener to get notified by the handler: 56 handler.addUiHandler(new android.os.Handler(this));
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
D | EglX11Api.cpp | 182 ErrorHandler handler(dpy); in validNativeWin() local 184 return handler.getLastError() == 0; in validNativeWin() 196 ErrorHandler handler(dpy); in validNativePixmap() local 198 return handler.getLastError() == 0; in validNativePixmap() 248 ErrorHandler handler(dpy); in createContext() local 250 return handler.getLastError() == 0 ? retVal : NULL; in createContext() 260 ErrorHandler handler(dpy); in makeCurrent() local 269 return (handler.getLastError() == 0) && retval; in makeCurrent()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | Match.java | 55 public Match(GuidelineHandler handler, Segment edge, Segment with, in Match() argument 57 mHandler = handler; in Match()
|
/sdk/uiautomatorviewer/src/com/android/uiautomator/tree/ |
D | UiHierarchyXmlLoader.java | 65 DefaultHandler handler = new DefaultHandler(){ in parseXml() local 118 parser.parse(new File(xmlPath), handler); in parseXml()
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
D | MonkeyRunnerStarter.java | 171 for (Handler handler : logger.getHandlers()) { 172 handler.setFormatter(form); 173 handler.setLevel(level);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | NewTemplateWizardState.java | 183 TemplateHandler handler = getTemplateHandler(); in getIconState() local 184 if (handler != null) { in getIconState() 185 TemplateMetadata template = handler.getTemplate(); in getIconState()
|
D | ActivityPage.java | 166 TemplateHandler handler = mValues.activityValues.getTemplateHandler(); in updatePreview() local 167 TemplateMetadata template = handler.getTemplate(); in updatePreview()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/META-INF/ |
D | MANIFEST.MF | 26 com.android.ddmuilib.handler,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | GridLayoutRule.java | 293 GridDropHandler handler = (GridDropHandler) feedback.userData; in onDropMove() local 294 handler.computeMatches(feedback, p); in onDropMove() 609 GridDropHandler handler = (GridDropHandler) feedback.userData; in onPaste() local 610 GridModel grid = handler.getGrid(); in onPaste()
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/ |
D | BaseFileHandler.java | 17 package com.android.ddmuilib.handler;
|
D | MethodProfilingHandler.java | 17 package com.android.ddmuilib.handler;
|
/sdk/common/src/com/android/utils/ |
D | PositionXmlParser.java | 139 DomBuilder handler = new DomBuilder(xml); in parse() local 140 parser.parse(input, handler); in parse() 141 return handler.getDocument(); in parse()
|
/sdk/traceview/src/com/android/traceview/ |
D | ProfileView.java | 246 public void setMethodHandler(MethodHandler handler) { in setMethodHandler() argument 247 mMethodHandler = handler; in setMethodHandler()
|