Home
last modified time | relevance | path

Searched refs:currentDevice (Results 1 – 12 of 12) sorted by relevance

/external/cronet/base/power_monitor/
Dpower_monitor_device_source_ios.mm17 UIDevice* currentDevice = [UIDevice currentDevice];
18 BOOL isCurrentAppMonitoringBattery = currentDevice.isBatteryMonitoringEnabled;
19 [UIDevice currentDevice].batteryMonitoringEnabled = YES;
20 UIDeviceBatteryState batteryState = [UIDevice currentDevice].batteryState;
21 currentDevice.batteryMonitoringEnabled = isCurrentAppMonitoringBattery;
/external/webrtc/sdk/objc/components/capturer/
DRTCCameraVideoCapturer.m31 @property(nonatomic, strong) AVCaptureDevice *currentDevice; property
52 @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;
/external/webrtc/sdk/objc/native/src/audio/
Dhelpers.mm61 NSString* osName = [[UIDevice currentDevice] systemName];
66 NSString* osVersion = [[UIDevice currentDevice] systemVersion];
71 NSString* deviceModel = [[UIDevice currentDevice] model];
/external/cronet/base/system/
Dsys_info_ios.mm50 SysNSStringToUTF8([[UIDevice currentDevice] systemName]));
65 SysNSStringToUTF8([[UIDevice currentDevice] systemVersion]));
146 switch ([[UIDevice currentDevice] userInterfaceIdiom]) {
/external/skia/src/gpu/graphite/
DRecorder.cpp230 for (auto& currentDevice : fTrackedDevices) { in deviceIsRegistered() local
231 if (device == currentDevice) { in deviceIsRegistered()
/external/cronet/base/ios/
Ddevice_util.mm48 client_id = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
167 [[[UIDevice currentDevice] identifierForVendor] UUIDString]);
Ddevice_util_unittest.mm54 if (![[[[UIDevice currentDevice] identifierForVendor] UUIDString]
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java188 int currentDevice = -1; field in Camera2BasicFragment
332 && deviceIndex == currentDevice in updateActiveModel()
337 currentDevice = deviceIndex; in updateActiveModel()
/external/webrtc/sdk/objc/unittests/
DRTCCameraVideoCapturerTests.mm204 [UIDevice.currentDevice setValue:@(UIDeviceOrientationPortraitUpsideDown) forKey:@"orientation"];
246 [UIDevice.currentDevice setValue:@(deviceOrientation) forKey:@"orientation"];
306 [UIDevice.currentDevice setValue:@(UIDeviceOrientationLandscapeLeft) forKey:@"orientation"];
/external/webrtc/sdk/objc/helpers/
DRTCCameraPreviewView.m81 UIDeviceOrientation deviceOrientation = [UIDevice currentDevice].orientation;
DUIDevice+RTCDevice.mm164 return [self currentDevice].systemVersion.doubleValue;
/external/tensorflow/tensorflow/lite/examples/ios/camera/
DCameraExampleViewController.mm174 if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone)