• Home
  • Raw
  • Download

Lines Matching full:args

30   readPixelsToBuffer: function (...args) {  argument
33 const len = args.length
34 if (typeof args[len - 1] === 'function') {
35 args[len - 1].call(this, paramMock.businessErrorMock);
42 readPixels: function (...args) { argument
45 const len = args.length
46 if (typeof args[len - 1] === 'function') {
47 args[len - 1].call(this, paramMock.businessErrorMock);
54 writePixels: function (...args) { argument
57 const len = args.length
58 if (typeof args[len - 1] === 'function') {
59 args[len - 1].call(this, paramMock.businessErrorMock);
66 writeBufferToPixels: function (...args) { argument
69 const len = args.length
70 if (typeof args[len - 1] === 'function') {
71 args[len - 1].call(this, paramMock.businessErrorMock);
78 getImageInfo: function (...args) { argument
81 const len = args.length
82 if (len > 0 && typeof args[len - 1] === 'function') {
83 args[len - 1].call(this, paramMock.businessErrorMock, imageInfoMock);
90 getBytesNumberPerRow: function (...args) { argument
95 getPixelBytesNumber: function (...args) { argument
100 release: function (...args) { argument
103 const len = args.length
104 if (len > 0 && typeof args[len - 1] === 'function') {
105 args[len - 1].call(this, paramMock.businessErrorMock);
117 getImageInfo: function (...args) { argument
120 const len = args.length
121 if (typeof args[len - 1] === 'function') {
122 args[len - 1].call(this, paramMock.businessErrorMock, imageInfoMock);
129 release: function (...args) { argument
132 const len = args.length
133 if (len > 0 && typeof args[len - 1] === 'function') {
134 args[len - 1].call(this, paramMock.businessErrorMock);
141 createPixelMap: function (...args) { argument
144 const len = args.length
145 if (len > 0 && typeof args[len - 1] === 'function') {
146 args[len - 1].call(this, paramMock.businessErrorMock, PixelMapMock);
153 getImageProperty: function (...args) { argument
156 const len = args.length
157 if (len > 0 && typeof args[len - 1] === 'function') {
158 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramStringMock);
168 packing: function (...args) { argument
171 const len = args.length
172 if (typeof args[len - 1] === 'function') {
173 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramArrayMock);
180 release: function (...args) { argument
183 const len = args.length
184 if (typeof args[len - 1] === 'function') {
185 args[len - 1].call(this, paramMock.businessErrorMock);
261 seek: function (...args) { argument
265 setVolume: function (...args) { argument
278 on: function (...args) { argument
281 const len = args.length
282 if (typeof args[len - 1] === 'function') {
283 if (args[0] == 'error') {
284 args[len - 1].call(this, paramMock.businessErrorMock);
285 } else if (args[0] == 'timeUpdate') {
286 args[len - 1].call(this, paramMock.paramNumberMock);
288 args[len - 1].call(this);
322 on: function (...args) { argument
325 const len = args.length
326 if (typeof args[len - 1] === 'function') {
327 if (args[0] == 'error') {
328 args[len - 1].call(this, paramMock.businessErrorMock);
330 args[len - 1].call(this);
336 extractSource: function (...args) { argument
339 const len = args.length
341 if (typeof args[len - 1] === 'function') {
342 args[len - 1].call(this, paramMock.businessErrorMock, composerTracks);
349 configOutput: function (...args) { argument
352 const len = args.length
353 if (typeof args[len - 1] === 'function') {
354 args[len - 1].call(this, paramMock.businessErrorMock);
361 addTrack: function (...args) { argument
364 const len = args.length
365 if (typeof args[len - 1] === 'function') {
366 args[len - 1].call(this, paramMock.businessErrorMock);
373 removeTrack: function (...args) { argument
376 const len = args.length
377 if (typeof args[len - 1] === 'function') {
378 args[len - 1].call(this, paramMock.businessErrorMock);
385 compose: function (...args) { argument
388 const len = args.length
389 if (typeof args[len - 1] === 'function') {
390 args[len - 1].call(this, paramMock.businessErrorMock);
397 release: function (...args) { argument
400 const len = args.length
401 if (typeof args[len - 1] === 'function') {
402 args[len - 1].call(this, paramMock.businessErrorMock);
411 start: function (...args) { argument
415 seek: function (...args) { argument
431 on: function (...args) { argument
434 const len = args.length
435 if (typeof args[len - 1] === 'function') {
436 if (args[0] == 'error') {
437 args[len - 1].call(this, paramMock.businessErrorMock);
438 } else if (args[0] == 'start') {
439 args[len - 1].call(this, sizeMock);
440 } else if (args[0] == 'frameChange') {
441 args[len - 1].call(this, sizeMock);
442 } else if (args[0] == 'frameAvailable') {
443 args[len - 1].call(this, DecoderFrameMock);
445 args[len - 1].call(this);
459 findDecoder: function (...args) { argument
462 const len = args.length
463 if (typeof args[len - 1] === 'function') {
464 args[len - 1].call(this, paramMock.businessErrorMock, CodecDescriptionMock);
471 findEncoder: function (...args) { argument
474 const len = args.length
475 if (typeof args[len - 1] === 'function') {
476 args[len - 1].call(this, paramMock.businessErrorMock, CodecDescriptionMock);
483 getSupportedDecoders: function (...args) { argument
486 const len = args.length
488 if (typeof args[len - 1] === 'function') {
489 args[len - 1].call(this, paramMock.businessErrorMock, CodecDescriptionArray);
496 getSupportedEncoders: function (...args) { argument
499 const len = args.length
501 if (typeof args[len - 1] === 'function') {
502 args[len - 1].call(this, paramMock.businessErrorMock, CodecDescriptionArray);
509 getSupportedMimes: function (...args) { argument
512 const len = args.length
514 if (typeof args[len - 1] === 'function') {
515 args[len - 1].call(this, paramMock.businessErrorMock, MimeTypeArray);
522 isDecoderSupportedByFormat: function (...args) { argument
525 const len = args.length
526 if (typeof args[len - 1] === 'function') {
527 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramBooleanMock);
534 isDecoderSupportedByMime: function (...args) { argument
537 const len = args.length
538 if (typeof args[len - 1] === 'function') {
539 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramBooleanMock);
546 isEncoderSupportedByFormat: function (...args) { argument
549 const len = args.length
550 if (typeof args[len - 1] === 'function') {
551 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramBooleanMock);
558 isEncoderSupportedByMime: function (...args) { argument
561 const len = args.length
562 if (typeof args[len - 1] === 'function') {
563 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramBooleanMock);
625 storeMediaAsset: function (...args) { argument
628 const len = args.length
629 if (typeof args[len - 1] === 'function') {
630 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramStringMock);
637 startImagePreview: function (...args) { argument
640 const len = args.length
641 if (typeof args[len - 1] === 'function') {
642 args[len - 1].call(this, paramMock.businessErrorMock);
649 startMediaSelect: function (...args) { argument
652 const len = args.length
653 if (typeof args[len - 1] === 'function') {
654 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramArrayMock);
661 getFileAssets: function (...args) { argument
664 const len = args.length
665 var isCallBack = typeof args[len - 1] === 'function'
666 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, FetchFileResultMock)
671 getAlbums: function (...args) { argument
674 const len = args.length
676 var isCallBack = typeof args[len - 1] === 'function'
677 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, albumsMock)
682 on: function (...args) { argument
686 off: function (...args) { argument
692 getCount: function (...args) { argument
697 isAfterLast: function (...args) { argument
702 close: function (...args) { argument
706 getFirstObject: function (...args) { argument
709 const len = args.length
710 var isCallBack = typeof args[len - 1] === 'function'
711 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, FileAssetMock)
716 getLastObject: function (...args) { argument
719 const len = args.length
720 var isCallBack = typeof args[len - 1] === 'function'
721 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, FileAssetMock)
726 getNextObject: function (...args) { argument
729 const len = args.length
730 var isCallBack = typeof args[len - 1] === 'function'
731 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, FileAssetMock)
736 getPositionObject: function (...args) { argument
739 const len = args.length
740 var isCallBack = typeof args[len - 1] === 'function'
741 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, FileAssetMock)
746 getAllObject: function (...args) { argument
749 const len = args.length
751 var isCallBack = typeof args[len - 1] === 'function'
752 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, fileAssets)
763 getFileAssets: function (...args) { argument
766 const len = args.length
767 var isCallBack = typeof args[len - 1] === 'function'
768 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, FetchFileResultMock)
775 setSource: function (...args) { argument
778 const len = args.length
779 var isCallBack = typeof args[len - 1] === 'function'
780 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock)
785 fetchVideoPixelMapByTime: function (...args) { argument
788 const len = args.length
789 var isCallBack = typeof args[len - 1] === 'function'
790 …return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramObjectMoc…
795 resolveMetadata: function (...args) { argument
798 const len = args.length
799 var isCallBack = typeof args[len - 1] === 'function'
800 …return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramStringMoc…
805 release: function (...args) { argument
808 const len = args.length
809 var isCallBack = typeof args[len - 1] === 'function'
810 return isCallBack ? args[len - 1].call(this, paramMock.businessErrorMock)
858 on: function (...args) { argument
861 const len = args.length
862 if (typeof args[len - 1] === 'function') {
863 if (args[0] == 'interrupt') {
864 args[len - 1].call(this, interruptActionMock);
865 } else if (args[0] == 'deviceChange') {
866 args[len - 1].call(this, DeviceChangeActionMock);
868 args[len - 1].call(this);
872 off: function (...args) { argument
875 const len = args.length
876 if (typeof args[len - 1] === 'function') {
877 if (args[0] == 'interrupt') {
878 args[len - 1].call(this, interruptActionMock);
879 } else if (args[0] == 'deviceChange') {
880 args[len - 1].call(this);
882 args[len - 1].call(this);
886 getDevices: function (...args) { argument
890 const len = args.length
891 if (typeof args[len - 1] === 'function') {
892 args[len - 1].call(this, paramMock.businessErrorMock, AudioDeviceDescriptors);
899 isDeviceActive: function (...args) { argument
902 const len = args.length
903 if (typeof args[len - 1] === 'function') {
904 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramBooleanMock);
911 setDeviceActive: function (...args) { argument
914 const len = args.length
915 if (typeof args[len - 1] === 'function') {
916 args[len - 1].call(this, paramMock.businessErrorMock);
923 setRingerMode: function (...args) { argument
926 const len = args.length
927 if (typeof args[len - 1] === 'function') {
928 args[len - 1].call(this, paramMock.businessErrorMock);
935 setAudioParameter: function (...args) { argument
938 const len = args.length
939 if (typeof args[len - 1] === 'function') {
940 args[len - 1].call(this, paramMock.businessErrorMock);
947 setVolume: function (...args) { argument
950 const len = args.length
951 if (typeof args[len - 1] === 'function') {
952 args[len - 1].call(this, paramMock.businessErrorMock);
959 getVolume: function (...args) { argument
962 const len = args.length
963 if (typeof args[len - 1] === 'function') {
964 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramNumberMock);
971 getMinVolume: function (...args) { argument
974 const len = args.length
975 if (typeof args[len - 1] === 'function') {
976 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramNumberMock);
983 getMaxVolume: function (...args) { argument
986 const len = args.length
987 if (typeof args[len - 1] === 'function') {
988 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramNumberMock);
995 isMute: function (...args) { argument
998 const len = args.length
999 if (typeof args[len - 1] === 'function') {
1000 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramBooleanMock);
1007 mute: function (...args) { argument
1010 const len = args.length
1011 if (typeof args[len - 1] === 'function') {
1012 args[len - 1].call(this, paramMock.businessErrorMock);
1019 isActive: function (...args) { argument
1022 const len = args.length
1023 if (typeof args[len - 1] === 'function') {
1024 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramBooleanMock);
1031 isMicrophoneMute: function (...args) { argument
1034 const len = args.length
1035 if (typeof args[len - 1] === 'function') {
1036 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramBooleanMock);
1043 setMicrophoneMute: function (...args) { argument
1046 const len = args.length
1047 if (typeof args[len - 1] === 'function') {
1048 args[len - 1].call(this, paramMock.businessErrorMock);
1055 getAudioParameter: function (...args) { argument
1058 const len = args.length
1059 if (typeof args[len - 1] === 'function') {
1060 args[len - 1].call(this, paramMock.businessErrorMock, paramMock.paramStringMock);
1067 getRingerMode: function (...args) { argument
1070 const len = args.length
1071 if (typeof args[len - 1] === 'function') {
1072 args[len - 1].call(this, paramMock.businessErrorMock, AudioRingModeMock);