Searched refs:currentDevice (Results 1 – 12 of 12) sorted by relevance
17 UIDevice* currentDevice = [UIDevice currentDevice];18 BOOL isCurrentAppMonitoringBattery = currentDevice.isBatteryMonitoringEnabled;19 [UIDevice currentDevice].batteryMonitoringEnabled = YES;20 UIDeviceBatteryState batteryState = [UIDevice currentDevice].batteryState;21 currentDevice.batteryMonitoringEnabled = isCurrentAppMonitoringBattery;
31 @property(nonatomic, strong) AVCaptureDevice *currentDevice; property52 @synthesize currentDevice = _currentDevice;166 [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];172 self.currentDevice = device;175 if (![self.currentDevice lockForConfiguration:&error]) {177 self.currentDevice,190 [self.currentDevice unlockForConfiguration];204 self.currentDevice = nil;213 [[UIDevice currentDevice] endGeneratingDeviceOrientationNotifications];524 _orientation = [UIDevice currentDevice].orientation;
61 NSString* osName = [[UIDevice currentDevice] systemName];66 NSString* osVersion = [[UIDevice currentDevice] systemVersion];71 NSString* deviceModel = [[UIDevice currentDevice] model];
50 SysNSStringToUTF8([[UIDevice currentDevice] systemName]));65 SysNSStringToUTF8([[UIDevice currentDevice] systemVersion]));146 switch ([[UIDevice currentDevice] userInterfaceIdiom]) {
230 for (auto& currentDevice : fTrackedDevices) { in deviceIsRegistered() local231 if (device == currentDevice) { in deviceIsRegistered()
48 client_id = [[[UIDevice currentDevice] identifierForVendor] UUIDString];167 [[[UIDevice currentDevice] identifierForVendor] UUIDString]);
54 if (![[[[UIDevice currentDevice] identifierForVendor] UUIDString]
188 int currentDevice = -1; field in Camera2BasicFragment332 && deviceIndex == currentDevice in updateActiveModel()337 currentDevice = deviceIndex; in updateActiveModel()
204 [UIDevice.currentDevice setValue:@(UIDeviceOrientationPortraitUpsideDown) forKey:@"orientation"];246 [UIDevice.currentDevice setValue:@(deviceOrientation) forKey:@"orientation"];306 [UIDevice.currentDevice setValue:@(UIDeviceOrientationLandscapeLeft) forKey:@"orientation"];
81 UIDeviceOrientation deviceOrientation = [UIDevice currentDevice].orientation;
164 return [self currentDevice].systemVersion.doubleValue;
174 if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone)