Lines Matching refs:err
29 inputMethodSetting.listInputMethod((err, data) => {
31 expect(err==undefined).assertTrue();
71 }).catch((err) => {
72 console.info('inputmethod_test_listInputMethod_003 listInputMethod err ' + err);
87 inputMethodSetting.displayOptionalInputMethod((err) => {
88 console.info("inputmethod_test_displayOptionalInputMethod_001 err:" + err);
89 expect(err==undefined).assertTrue();
122 }).catch((err) => {
123 … console.info('inputmethod_test_displayOptionalInputMethod_003 listInputMethod err ' + err);
139 inputMethodCtrl.stopInput((err,res) => {
141 console.info("inputmethod_test_stopInput_001 stopInput result" + err);
143 expect(err==undefined).assertTrue();
175 }).catch((err) => {
176 console.info('inputmethod_test_stopInput_003 stopInput err ' + err);
211 }).catch((err) => {
212 … console.error('inputmethod_test_switchInputMethod_001 failed because ' + JSON.stringify(err));
230 inputMethod.switchInputMethod(inputMethodProperty, (err, data)=>{
231 if(err){
232 console.info("inputmethod_test_switchInputMethod_002 error:" + err);
268 }).catch((err) => {
269 …rror('inputmethod_test_switchCurrentInputMethodSubtype_001 failed because ' + JSON.stringify(err));
285 inputMethod.switchCurrentInputMethodSubtype(inputMethodSubProperty, (err, data)=>{
286 if(err){
287 console.info("inputmethod_test_switchCurrentInputMethodSubtype_002 error:" + err);
309 }).catch((err) => {
310 …r('inputmethod_test_switchCurrentInputMethodAndSubtype_001 failed because ' + JSON.stringify(err));
330 …thod.switchCurrentInputMethodAndSubtype(inputMethodProperty, inputMethodSubProperty, (err, data)=>{
331 if(err){
332 console.info("inputmethod_test_switchCurrentInputMethodAndSubtype_002 error:" + err);
355 inputMethodSetting.listInputMethodSubtype(inputMethodProperty, (err, data) => {
357 expect(err==undefined).assertTrue();
380 }).catch((err) => {
381 console.info('inputmethod_test_ListInputMethodSubtype_002 listInputMethod err ' + err);
396 inputMethodSetting.listCurrentInputMethodSubtype((err, data) => {
398 expect(err==undefined).assertTrue();
415 }).catch((err) => {
416 console.info('inputmethod_test_ListCurrentInputMethodSubtype_002 err ' + err);