/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/ |
AutofillDataSource.java | 16 package com.example.android.autofill.service.data.source; 18 import com.example.android.autofill.service.data.DataCallback; 19 import com.example.android.autofill.service.model.DatasetWithFilledAutofillFields; 20 import com.example.android.autofill.service.model.FieldType; 21 import com.example.android.autofill.service.model.FieldTypeWithHeuristics; 22 import com.example.android.autofill.service.model.FilledAutofillField; 23 import com.example.android.autofill.service.model.ResourceIdHeuristic;
|
/external/autotest/client/cros/ |
service_stopper.py | 11 self._services = service_stopper.ServiceStopper(['service']) 60 for service in self.services_to_stop: 61 cmd = 'status %s' % service 67 utils.system('stop %s' % service) 68 self._services_stopped.append(service) 70 logging.warning('Error stopping service %s. %s', 71 service, str(e)) 76 for service in reversed(self._services_stopped): 77 utils.system('start %s' % service, ignore_status=True)
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothPan.java | 38 * Service via IPC. Use {@link BluetoothAdapter#getProfileProxy} to get 130 * Bluetooth Service which handles the Pan profile 151 Log.e(TAG, "Could not bind to Bluetooth Pan Service with " + intent); 201 Log.e(TAG, "onBluetoothStateChange: could not bind to PAN service: ", 205 Log.e(TAG, "onBluetoothStateChange: could not bind to PAN service: ", 209 if (VDBG) Log.d(TAG, "Unbinding service..."); 241 final IBluetoothPan service = mPanService; local 242 if (service != null && isEnabled() && isValidDevice(device)) { 244 return service.connect(device); 250 if (service == null) Log.w(TAG, "Proxy not attached to service") 281 final IBluetoothPan service = mPanService; local 300 final IBluetoothPan service = mPanService; local 319 final IBluetoothPan service = mPanService; local 338 final IBluetoothPan service = mPanService; local 353 final IBluetoothPan service = mPanService; local 365 final IBluetoothPan service = mPanService; local [all...] |
BluetoothMap.java | 64 if (VDBG) Log.d(TAG, "Unbinding service..."); 77 if (VDBG) Log.d(TAG, "Binding service..."); 113 Log.e(TAG, "Could not bind to Bluetooth MAP Service with " + intent); 128 * Close the connection to the backing service. 157 * Get the current state of the BluetoothMap service. 160 * connected to the Map service. 164 final IBluetoothMap service = mService; local 165 if (service != null) { 167 return service.getState(); 172 Log.w(TAG, "Proxy not attached to service"); 186 final IBluetoothMap service = mService; local 207 final IBluetoothMap service = mService; local 238 final IBluetoothMap service = mService; local 279 final IBluetoothMap service = mService; local 299 final IBluetoothMap service = mService; local 319 final IBluetoothMap service = mService; local 345 final IBluetoothMap service = mService; local 374 final IBluetoothMap service = mService; local [all...] |
BluetoothSap.java | 36 * Service via IPC. Use {@link BluetoothAdapter#getProfileProxy} to get 102 if (VDBG) Log.d(TAG, "Unbinding service..."); 115 if (VDBG) Log.d(TAG, "Binding service..."); 151 Log.e(TAG, "Could not bind to Bluetooth SAP Service with " + intent); 166 * Close the connection to the backing service. 197 * Get the current state of the BluetoothSap service. 200 * connected to the Sap service. 205 final IBluetoothSap service = mService; local 206 if (service != null) { 208 return service.getState() 228 final IBluetoothSap service = mService; local 251 final IBluetoothSap service = mService; local 285 final IBluetoothSap service = mService; local 306 final IBluetoothSap service = mService; local 327 final IBluetoothSap service = mService; local 348 final IBluetoothSap service = mService; local 373 final IBluetoothSap service = mService; local 399 final IBluetoothSap service = mService; local [all...] |
/external/mockito/src/test/java/org/mockitousage/bugs/ |
ShouldNotDeadlockAnswerExecutionTest.java | 24 Service service = Mockito.mock(Service.class); local 30 Mockito.when(service.verySlowMethod()).thenAnswer(new LockingAnswer(counter)); 34 threads.execute(new ServiceRunner(service)); 35 threads.execute(new ServiceRunner(service)); 49 Service service1 = Mockito.mock(Service.class); 50 Service service2 = Mockito.mock(Service.class) 99 private Service service; field in class:ShouldNotDeadlockAnswerExecutionTest.ServiceRunner [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
ConnectionServiceRepository.java | 44 public void onUnbind(ConnectionServiceWrapper service) { 46 mServiceCache.remove(Pair.create(service.getComponentName(), 47 service.getUserHandle())); 66 ConnectionServiceWrapper service = mServiceCache.get(cacheKey); local 67 if (service == null) { 68 service = new ConnectionServiceWrapper( 76 service.addListener(mUnbindListener); 77 mServiceCache.put(cacheKey, service); 79 return service;
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
keystore.cpp | 19 sp<IKeystoreService> service = interface_cast<IKeystoreService>( local 21 if (service == nullptr) { 27 auto ret = service->get(String16(key.c_str()), AID_WIFI, &value); 37 sp<IKeystoreService> service = interface_cast<IKeystoreService>( local 39 if (service == nullptr) { 44 auto ret = service->get_pubkey(String16(keyId.c_str()), &pubkey); 55 sp<IKeystoreService> service = interface_cast<IKeystoreService>( local 57 if (service == nullptr) { 63 auto ret = service->sign(String16(keyId.c_str()), dataToSign, &signedData);
|
/device/google/marlin/dumpstate/ |
Android.mk | 19 LOCAL_MODULE := android.hardware.dumpstate@1.0-service.marlin 20 LOCAL_INIT_RC := android.hardware.dumpstate@1.0-service.marlin.rc 25 service.cpp
|
/device/google/wahoo/dumpstate/ |
Android.mk | 19 LOCAL_MODULE := android.hardware.dumpstate@1.0-service.wahoo 20 LOCAL_INIT_RC := android.hardware.dumpstate@1.0-service.wahoo.rc 25 service.cpp
|
/device/google/wahoo/power-libperfmgr/ |
service.cpp | 17 #define LOG_TAG "android.hardware.power@1.2-service.wahoo-libperfmgr" 37 ALOGI("Power HAL Service 1.2 for Wahoo is starting"); 39 android::sp<IPower> service = new Power(); local 40 if (service == nullptr) { 47 status_t status = service->registerAsService(); 49 ALOGE("Could not register service for Power HAL Iface (%d), exiting.", status); 53 ALOGI("Power Service is ready"); 57 ALOGE("Power Service is shutting down");
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUServiceTest.java | 77 public SortedMap getDisplayNames(ICUService service) { 80 return service.getDisplayNames(locale, col, null); 88 public SortedMap getDisplayNames(ICUService service, ULocale locale) { 90 return service.getDisplayNames(locale, col, null); 97 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) { 99 return service.getDisplayNames(locale, col, matchID); 105 super("Test Service"); 116 // create a service using locale keys, 117 ICUService service = new TestService(); local 119 logln("service name:" + service.getName()) 684 ICULocaleService service = new ICULocaleService("test locale"); local 807 ICUService service = new ICUService("wrap"); local 863 ICUService service = new ICUService(); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUServiceTest.java | 74 public SortedMap getDisplayNames(ICUService service) { 77 return service.getDisplayNames(locale, col, null); 85 public SortedMap getDisplayNames(ICUService service, ULocale locale) { 87 return service.getDisplayNames(locale, col, null); 94 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) { 96 return service.getDisplayNames(locale, col, matchID); 102 super("Test Service"); 113 // create a service using locale keys, 114 ICUService service = new TestService(); local 116 logln("service name:" + service.getName()) 681 ICULocaleService service = new ICULocaleService("test locale"); local 804 ICUService service = new ICUService("wrap"); local 860 ICUService service = new ICUService(); local [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/matchers/ |
StartedServiceMatcherTest.java | 6 import android.service.wallpaper.WallpaperService; 21 private WallpaperService service; field in class:StartedServiceMatcherTest 29 service = new WallpaperService() { 41 givesFailureMessage((Context) service, "to start " + createIntent(WallpaperService.class) + ", but didn't start anything")); 44 givesFailureMessage((Context) service, "to start " + createIntent(WallpaperService.class, "view") + ", but didn't start anything")); 47 givesFailureMessage((Context) service, "to start " + intentWithExtra + ", but didn't start anything")); 54 service.startService(actualIntent); 56 givesFailureMessage((Context) service, "to start " + createIntent(IntentService.class) + ", but started " + actualIntent)); 58 service.startService(actualIntent); 60 givesFailureMessage((Context) service, "to start " + createIntent(IntentService.class, "view") + ", but started " + actualIntent)) [all...] |
/external/tensorflow/tensorflow/compiler/xla/client/ |
compile_only_client.h | 21 #include "tensorflow/compiler/xla/service/compile_only_service.h" 22 #include "tensorflow/compiler/xla/service/compiler.h" 34 explicit CompileOnlyClient(CompileOnlyService* service) 35 : Client(service), compiler_service_(service) {}
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
A2dpSinkService.java | 36 * Provides Bluetooth A2DP Sink profile, as a service in the Bluetooth application. 56 // Start the media browser service. 89 Log.w(TAG, "getA2dpSinkService(): service is null"); 93 Log.w(TAG, "getA2dpSinkService(): service is not available "); 260 A2dpSinkService service = getService(); local 261 if (service == null) { 264 return service.connect(device); 269 A2dpSinkService service = getService(); local 270 if (service == null) { 273 return service.disconnect(device) 278 A2dpSinkService service = getService(); local 287 A2dpSinkService service = getService(); local 296 A2dpSinkService service = getService(); local 305 A2dpSinkService service = getService(); local 314 A2dpSinkService service = getService(); local 323 A2dpSinkService service = getService(); local 332 A2dpSinkService service = getService(); local [all...] |
/system/libhwbinder/vts/performance/ |
Benchmark.cpp | 59 sp<IBenchmark> service = IBenchmark::getService(gServiceName, true); local 60 status_t status = service->registerAsService(gServiceName); 63 ALOGE("Failed to register service %s.", gServiceName); 70 static void BM_sendVec(benchmark::State& state, sp<IBenchmark> service) { 79 service->sendVec(data_vec, [&] (const auto &/*res*/) { 86 sp<IBenchmark> service = IBenchmark::getService(gServiceName, true /* getStub */); local 87 if (service == nullptr) { 88 state.SkipWithError("Failed to retrieve benchmark service."); 90 if (service->isRemote()) { 91 state.SkipWithError("Benchmark service is remote.") 98 sp<IBenchmark> service = IBenchmark::getService(gServiceName); local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ServiceTest.java | 120 public void onServiceConnected(ComponentName name, IBinder service) { 143 public void onServiceConnected(ComponentName name, IBinder service) { 149 service.transact(SET_REPORTER_CODE, data, null, 0); 191 void startExpectResult(Intent service) { 192 startExpectResult(service, new Bundle()); 195 void startExpectResult(Intent service, Bundle bundle) { 201 getContext().startService(new Intent(service).putExtras(bundle)); 202 waitForResultOrThrow(5 * 1000, "service to start first time"); 205 getContext().startService(new Intent(service).putExtras(bundle)); 206 waitForResultOrThrow(5 * 1000, "service to start second time") [all...] |
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
SettingsActivity.java | 17 package android.alarmclock.service;
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
SettingsActivity.java | 17 package android.voiceinteraction.service;
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
SettingsActivity.java | 17 package android.voicesettings.service;
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/datasource/ |
DigitalAssetLinksDataSource.java | 16 package com.example.android.autofill.service.datasource;
|
PackageVerificationDataSource.java | 16 package com.example.android.autofill.service.datasource;
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/androidTest/java/com/example/android/autofill/service/util/ |
SingleExecutors.java | 17 package com.example.android.autofill.service.util;
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/ |
DataCallback.java | 17 package com.example.android.autofill.service.data;
|