Searched refs:pasteData (Results 1 – 7 of 7) sorted by relevance
/test/xts/acts/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/ |
D | PasteBoard.test.ets | 54 var pasteData = pasteboard.createHtmlData('application/xml'); 58 let prop = pasteData.getProperty(); 60 pasteData.setProperty(prop); 61 var property = pasteData.getProperty(); 76 var pasteData = pasteboard.createPlainTextData("hello"); 80 let prop = pasteData.getProperty(); 82 pasteData.setProperty(prop); 83 var property = pasteData.getProperty(); 98 var pasteData = pasteboard.createPlainTextData("hello"); 102 let prop = pasteData.getProperty(); [all …]
|
D | PasteBoardRecord.test.ets | 56 let pasteData 58 pasteData = pasteboard.createData(pasteboard.MIMETYPE_PIXELMAP,pixelMap); 60 let pixelMapRecord = pasteData.getPrimaryPixelMap() 77 let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_WANT,WANT) 78 let hasType = pasteData.hasType(pasteboard.MIMETYPE_TEXT_WANT) 94 let pasteData = pasteboard.createData("ArrayBuffer",ARRAY_BUFFER) 95 let hasType = pasteData.hasType("ArrayBuffer") 111 let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN,"String") 112 let hasType = pasteData.hasType(pasteboard.MIMETYPE_TEXT_PLAIN) 129 let pasteData = pasteboard.createData(mimeType,ARRAY_BUFFER) [all …]
|
D | PasteBoardEtsunitTest.ets | 41 var pasteData = pasteboard.createPlainTextData(textData); 42 console.info('f_test1: createPlainTextData pasteData = ' + JSON.stringify(pasteData)); 45 systemPasteboard.setPasteData(pasteData).then(() => { 53 var types = pasteData.getMimeTypes(); 105 var pasteData = pasteboard.createPlainTextData(textData); 106 console.info('f_test2: createPlainTextData pasteData = ' + JSON.stringify(pasteData)); 109 systemPasteboard.setPasteData(pasteData).then(() => { 152 var pasteData = pasteboard.createPlainTextData(textData); 153 console.info('f_test3: createPlainTextData pasteData = ' + JSON.stringify(pasteData)); 156 systemPasteboard.setPasteData(pasteData).then(() => { [all …]
|
D | Pasteboardsync.test.ets | 36 let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, "pasteboard"); 39 systemPasteBoard.setDataSync(pasteData); 61 let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, "pasteboard"); 65 systemPasteBoard.setDataSync(pasteData); 83 let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, "pasteboard"); 104 let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, "pasteboard"); 126 let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, "pasteboard"); 129 systemPasteBoard.setData(pasteData); 149 let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, "pasteboard"); 152 systemPasteBoard.setDataSync(pasteData); [all …]
|
D | PasteBoardSystemPasteBoard.test.ets | 40 let pasteData = pasteboard.createData('string', ARRAY_BUFFER); 42 await systemPasteBoard.setData(pasteData) 90 let pasteData = pasteboard.createData('string', ARRAY_BUFFER); 92 await systemPasteBoard.setData(pasteData).then(async () => { 126 let pasteData = pasteboard.createData('string', ARRAY_BUFFER); 128 await systemPasteBoard.setData(pasteData).then(async () => { 156 let pasteData = pasteboard.createData('string', ARRAY_BUFFER); 183 let pasteData = pasteboard.createData('string', ARRAY_BUFFER); 185 await systemPasteBoard.setData(pasteData).then(async () => { 212 let pasteData = pasteboard.createData('string', ARRAY_BUFFER); [all …]
|
/test/testfwk/arkxtest/uitest/napi/ |
D | uitest_napi.cpp | 342 … auto pasteData = MiscServices::PasteboardClient::GetInstance()->CreatePlainTextData(string(text)); in SetPasteBoardData() local 343 pasteBoardMgr->SetPasteData(*pasteData); in SetPasteBoardData()
|
/test/testfwk/arkxtest/uitest/server/ |
D | system_ui_controller.cpp | 534 auto pasteData = pasteBoardMgr->CreatePlainTextData(string(text)); in PutTextToClipboard() local 535 pasteBoardMgr->SetPasteData(*pasteData); in PutTextToClipboard()
|