/external/autotest/client/cros/ |
network.py | 51 service = conn_mgr.FindCellularService() 52 if not service: 54 service = conn_mgr.FindCellularService() 56 logging.info('ResetAllModems: found service %s', service) 59 if service: 60 service.SetProperty('AutoConnect', False), 62 # The service object may disappear, we can safely ignore it. 160 def NameServersForService(conn_mgr, service): 162 Returns the list of name servers used by a connected service [all...] |
/external/autotest/client/site_tests/network_LTEActivate/ |
network_LTEActivate.py | 89 # Service should appear as 'not-activated'. 93 # Call 'CompleteActivation' on the device. The service will become 97 service = self.test.FindCellularService() 98 service.CompleteCellularActivation() 105 This test verifies that the service eventually becomes 'activated' in the 115 # Service should appear as 'not-activated'. 119 # Call 'CompleteActivation' on the device. The service will become 123 service = self.test.FindCellularService() 124 service.CompleteCellularActivation() 128 # The service should register and be marked as 'activated' [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
file_bug_test.py | 61 # Add a fake issue tracker service that we can get call values from. 64 self.service = MockIssueTrackerService 65 file_bug.issue_tracker_service.IssueTrackerService = self.service 169 self.service.bug_id = 277761 183 comment = self.service.add_comment_args[1] 210 self.assertIn('M-2', self.service.new_bug_kwargs['labels']) 235 self.assertIn('M-2', self.service.new_bug_kwargs['labels']) 245 labels = self.service.new_bug_kwargs['labels'] 255 self.assertIn('Foo>Bar', self.service.new_bug_kwargs['components']) 271 self.assertIn('M-1', self.service.new_bug_kwargs['labels'] [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/ |
NAPTR.py | 38 @ivar service: service 39 @type service: string 46 __slots__ = ['order', 'preference', 'flags', 'service', 'regexp', 49 def __init__(self, rdclass, rdtype, order, preference, flags, service, 55 self.service = service 64 dns.rdata._escapify(self.service), 72 service = tok.get_string() 77 return cls(rdclass, rdtype, order, preference, flags, service, [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/ |
service_test.py | 33 from protorpc.wsgi import service namespace 50 my_service = service.service_mapping(webapp_test_util.TestService, 51 '/my/service') 52 my_other_service = service.service_mapping( 96 return service.service_mappings( 97 [('/my/service', webapp_test_util.TestService), 115 name='/my/service', 120 self.ResetServer(service.service_mappings( 121 {'/my/service': webapp_test_util.TestService, 132 name='/my/service', [all...] |
/frameworks/av/soundtrigger/ |
SoundTrigger.cpp | 51 ALOGW("Sound trigger service died!"); 87 const sp<ISoundTriggerHwService>& service = getSoundTriggerHwService(); local 88 if (service == 0) { 91 return service->listModules(modules, numModules); 99 const sp<ISoundTriggerHwService>& service = getSoundTriggerHwService(); local 100 if (service == 0) { 104 status_t status = service->attach(module, soundTrigger, soundTrigger->mISoundTrigger); 109 ALOGW("Error %d connecting to sound trigger service", status); 119 const sp<ISoundTriggerHwService>& service = getSoundTriggerHwService(); local 120 if (service == 0) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidService.java | 45 * Provides Bluetooth Hid Host profile, as a service in 117 Log.d(TAG, "getHidService(): service is NULL"); 119 Log.d(TAG,"getHidService(): service is not available"); 132 Log.d(TAG, "setHidService(): service not available"); 134 Log.d(TAG,"setHidService(): service is cleaning up"); 293 * Handlers for incoming service calls 319 HidService service = getService(); local 320 if (service == null) return false; 321 return service.connect(device); 325 HidService service = getService() local 331 HidService service = getService(); local 342 HidService service = getService(); local 348 HidService service = getService(); local 354 HidService service = getService(); local 361 HidService service = getService(); local 367 HidService service = getService(); local 373 HidService service = getService(); local 379 HidService service = getService(); local 385 HidService service = getService(); local 391 HidService service = getService(); local [all...] |
/packages/apps/Settings/src/com/android/settings/utils/ |
ManagedServiceSettings.java | 95 for (ServiceInfo service : services) { 96 final ComponentName cn = new ComponentName(service.packageName, service.name); 97 final String title = service.loadLabel(mPM).toString(); 100 pref.setIcon(service.loadIcon(mPM)); 114 protected boolean setEnabled(ComponentName service, String title, boolean enable) { 117 mServiceListing.setEnabled(service, false); 120 if (mServiceListing.isEnabled(service)) { 125 .setServiceInfo(service, title)
|
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeech.java | 77 * Denotes a stop requested by a client. It's used only on the service side of the API, 94 * Denotes a failure of a TTS service. 198 * Listener that will be called when the TTS service has 325 * Intent for starting a TTS service. Services that handle this intent must 327 * directly, instead they should talk to the TTS service using the the methods in this [all...] |
/system/connectivity/shill/wifi/ |
wifi.cc | 444 void WiFi::ConnectTo(WiFiService* service) { 445 CHECK(service) << "Can't connect to NULL service."; 453 // service (if this service is configured for auto-connect) when 461 if (pending_service_ && pending_service_ == service) { 463 LOG(INFO) << "WiFi " << link_name() << " ignoring ConnectTo service " 464 << service->unique_name() 469 if (pending_service_ && pending_service_ != service) { 470 LOG(INFO) << "Connecting to service. 989 WiFiServiceRefPtr service = provider_->FindServiceForEndpoint(endpoint); local 1295 WiFiServiceRefPtr service = provider_->OnEndpointRemoved(endpoint); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGatt.java | 232 Log.e(TAG, "Broken GATT database: can't find included service."); 524 * Returns a service by UUID, instance and type. 713 * <p>This is an asynchronous operation. Once service discovery is completed, 720 * @return true, if the remote service discovery has been started 741 * <p>This function requires that service discovery has been completed 747 * if service discovery has not yet been performed. 753 for (BluetoothGattService service : mServices) { 754 if (service.getDevice().equals(mDevice)) { 755 result.add(service); 766 * <p>This function requires that service discovery has been complete [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmNotifications.java | 19 import android.app.Service; 177 public static void showAlarmNotification(Service service, AlarmInstance instance) { 180 Resources resources = service.getResources(); 181 NotificationCompat.Builder notification = new NotificationCompat.Builder(service) 182 .setContentTitle(instance.getLabelOrDefault(service)) 183 .setContentText(AlarmUtils.getFormattedTime(service, instance.getAlarmTime())) 194 Intent snoozeIntent = AlarmStateManager.createStateChangeIntent(service, 197 PendingIntent snoozePendingIntent = PendingIntent.getService(service, instance.hashCode(), 204 Intent dismissIntent = AlarmStateManager.createStateChangeIntent(service, [all...] |
/external/dbus/bus/ |
driver.c | 251 BusService *service; local 312 /* Create the service */ 313 service = bus_registry_ensure (registry, 315 if (service == NULL) 690 BusService *service; local 714 service = bus_registry_lookup (registry, &service_name); 715 service_exists = service != NULL; 1080 BusService *service; local 1096 service = bus_registry_lookup (registry, &str); 1097 if (service == NULL & 1163 BusService *service; local 1265 const char *service; local 1341 const char *service; local 1417 const char *service; local 1492 const char *service; local [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyNotificationListenerService.java | 20 import android.service.notification.NotificationListenerService; 21 import android.service.notification.StatusBarNotification;
|
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
MainInteractionService.java | 17 package android.alarmclock.service; 23 import android.service.voice.VoiceInteractionService;
|
/cts/tests/tests/print/src/android/print/cts/services/ |
StubbablePrinterDiscoverySession.java | 31 public StubbablePrinterDiscoverySession(PrintService service, 33 mService = service;
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
MainInteractionService.java | 17 package android.voicesettings.service; 22 import android.service.voice.VoiceInteractionService; 61 " it is not set as the current voice interaction service");
|
/developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/ |
SampleChooserTargetService.java | 23 import android.service.chooser.ChooserTarget; 24 import android.service.chooser.ChooserTargetService;
|
/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/ |
SampleChooserTargetService.java | 23 import android.service.chooser.ChooserTarget; 24 import android.service.chooser.ChooserTargetService;
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
SampleChooserTargetService.java | 23 import android.service.chooser.ChooserTarget; 24 import android.service.chooser.ChooserTargetService;
|
/external/autotest/client/cros/networking/ |
apmanager_xmlrpc_server.py | 42 """Create/start an AP service. 45 @return string object path for the AP service. 51 def terminate_service(self, service): 52 """Remove/terminate an AP service. 54 @param service string object path of the AP service. 57 self._apmanager_proxy.terminate_service(service)
|
/external/autotest/client/cros/tendo/n_faced_peerd/ |
manager.py | 8 import dbus.service namespace 17 from autotest_lib.client.cros.tendo.n_faced_peerd import service namespace 40 a service ID. We'll call this whenever we Expose/Remove a 41 service via the DBus API. 73 """Callback that removes a service when the owner disconnects from DBus. 75 @param service_id: string service_id of service to remove. 76 @param owner: dbus.String identifier of service owner. 80 logging.debug('Name owner for service=%s changed to "%s".', 115 @param service_id: string service ID of remote service that has changed [all...] |
/external/autotest/client/site_tests/apmanager_CheckAPProcesses/ |
apmanager_CheckAPProcesses.py | 15 """Test that required processes are created/terminated when AP service 62 service = manager.start_service(ap_config) 65 manager.terminate_service(service)
|
/external/autotest/client/site_tests/cellular_Smoke/ |
cellular_Smoke.py | 54 service = env.CheckedConnectToCellular() 56 env.CheckedDisconnectFromCellular(service)
|
/external/autotest/client/site_tests/cellular_Throughput/ |
cellular_Throughput.py | 35 service = env.CheckedConnectToCellular() 51 env.CheckedDisconnectFromCellular(service)
|