主权项 |
1. A communication device capable of performing wireless communication by a specific method, the communication device comprising:
a time measuring unit which measures an actual time from a first timing to a second timing, the first timing being a timing at which a communication request instructing to perform communication, with a specific device, by the specific method is informed from an application program on the communication device to an operating system on the communication device, the second timing being a timing at which reply information in response to the communication request is informed from the operating system to the application program; and a determination unit which determines whether an associating process relating to the wireless communication by the specific method has been performed by the operating system in a specific period from the first timing to the second timing, the associating process previously registering the communication device and the specific device in association with each other, wherein when the actual time is greater than a predetermined threshold, the determination unit determines that the associating process has been performed in the specific period, and when the actual time is smaller than the predetermined threshold, the determination unit determines that the associating process has not been performed in the specific period. |