/cts/tests/tests/security/src/android/security/cts/ |
D | IBinderExchange.java | 22 public interface IBinderExchange extends android.os.IInterface { 24 public static abstract class Stub extends android.os.Binder 37 public static android.security.cts.IBinderExchange asInterface(android.os.IBinder obj) { in asInterface() 41 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 49 public android.os.IBinder asBinder() { in asBinder() 55 int code, android.os.Parcel data, android.os.Parcel reply, int flags) in onTransact() 56 throws android.os.RemoteException { in onTransact() 65 android.os.IBinder _arg0; in onTransact() 73 android.os.IBinder _result = this.getBinder(); in onTransact() 85 private android.os.IBinder mRemote; [all …]
|
D | DeviceIdleControllerTest.java | 19 import android.os.Bundle; 20 import android.os.Handler; 21 import android.os.IBinder; 22 import android.os.PowerManager; 23 import android.os.RemoteException; 24 import android.os.ResultReceiver; 25 import android.os.ServiceManager;
|
/cts/tests/tests/binder_ndk/src/android/binder/cts/ |
D | ILegacyBinder.java | 22 public interface ILegacyBinder extends android.os.IInterface { 23 public static class Stub extends android.os.Binder implements ILegacyBinder { 28 public static ILegacyBinder asInterface(android.os.IBinder obj) { in asInterface() 32 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 39 public int RepeatInt(int in) throws android.os.RemoteException { in RepeatInt() 43 public android.os.IBinder asBinder() { in asBinder() 47 public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) in onTransact() 48 throws android.os.RemoteException { in onTransact() 60 private android.os.IBinder mRemote; 61 Proxy(android.os.IBinder remote) { in Proxy() [all …]
|
/cts/tests/tests/os/ |
D | TEST_MAPPING | 10 "exclude-filter": "android.os.cts.BuildTest#testSdkInt" 13 "exclude-filter": "android.os.cts.StrictModeTest#testNonSdkApiUsage" 30 … "exclude-filter": "android.os.cts.AppHibernationIntegrationTest#testUnusedApp_getsForceStopped" 34 …"exclude-filter": "android.os.cts.AutoRevokeTest#testAppWithPermissionsChangedRecently_doesNotGetP… 38 …"exclude-filter": "android.os.cts.AutoRevokeTest#testAutoRevoke_goToUnusedAppsPage_removesSafetyCe… 42 "exclude-filter": "android.os.cts.AutoRevokeTest#testAutoRevoke_userAllowlisting" 46 …"exclude-filter": "android.os.cts.AutoRevokeTest#testPreMinAutoRevokeVersionUnusedApp_doesntGetPer… 50 "exclude-filter": "android.os.cts.AutoRevokeTest#testInstallGrants_notRevokedImmediately" 54 "exclude-filter": "android.os.cts.AutoRevokeTest#testUnusedApp_uninstallApp" 58 "exclude-filter": "android.os.cts.BuildTest#testSdkInt" [all …]
|
D | Android.bp | 44 "android.os.flags-aconfig-java", 57 "src/android/os/cts/IParcelFileDescriptorPeer.aidl", 58 "src/android/os/cts/IEmptyService.aidl", 59 "src/android/os/cts/ISeccompIsolatedService.aidl", 60 "src/android/os/cts/ISecondary.aidl", 61 "src/android/os/cts/ISharedMemoryService.aidl", 62 "src/android/os/cts/IParcelExceptionService.aidl", 92 "android.os.flags-aconfig-java", 97 "src/android/os/connectivity/cts/WifiActivityEnergyInfoTest.java", 98 "src/android/os/cts/BadParcelableExceptionTest.java", [all …]
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | DeviceTestCompanion.java | 25 import android.os.ParcelFileDescriptor; 59 private String nextTest(@NonNull InputStream is, @NonNull OutputStream os, in nextTest() argument 71 os.write(lastTestSucceeded ? (byte) 1 : (byte) 0); in nextTest() 93 private boolean echoBytes(@NonNull InputStream is, @NonNull OutputStream os, int size) in echoBytes() argument 106 os.write(buffer); in echoBytes() 121 private boolean echoUntilStopSignal(@NonNull InputStream is, @NonNull OutputStream os) { in echoUntilStopSignal() argument 132 os.write(dataBytes); in echoUntilStopSignal() 148 private void helpToFigureOutIfCompanionZeroTerminates(@NonNull OutputStream os) in helpToFigureOutIfCompanionZeroTerminates() argument 151 os.write(new byte[1024]); in helpToFigureOutIfCompanionZeroTerminates() 152 os.write(new byte[1]); in helpToFigureOutIfCompanionZeroTerminates() [all …]
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | allowlisted-methods.txt | 1 …os.Bundle> addAccount(String, String, String[], android.os.Bundle, android.app.Activity, android.a… 2 …roid.os.Bundle> removeAccount(android.accounts.Account, android.app.Activity, android.accounts.Acc… 4 …os.Bundle> updateCredentials(android.accounts.Account, String, android.os.Bundle, android.app.Acti…
|
/cts/hostsidetests/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/ |
D | UserInfoUtil.java | 19 import static android.os.UserManager.USER_TYPE_FULL_DEMO; 20 import static android.os.UserManager.USER_TYPE_FULL_GUEST; 21 import static android.os.UserManager.USER_TYPE_FULL_RESTRICTED; 22 import static android.os.UserManager.USER_TYPE_FULL_SECONDARY; 23 import static android.os.UserManager.USER_TYPE_FULL_SYSTEM; 24 import static android.os.UserManager.USER_TYPE_PROFILE_CLONE; 25 import static android.os.UserManager.USER_TYPE_PROFILE_MANAGED; 26 import static android.os.UserManager.USER_TYPE_PROFILE_PRIVATE; 27 import static android.os.UserManager.USER_TYPE_SYSTEM_HEADLESS;
|
/cts/hostsidetests/theme/ |
D | generate_images.py | 18 import os 134 out_file = os.path.join(out_path, os.path.join(version, "%s.zip" % density_bucket)) 178 if 'ANDROID_SDK_ROOT' not in os.environ: 182 sdk_path = os.environ['ANDROID_SDK_ROOT'] 183 if not os.path.isdir(sdk_path): 187 emu_path = os.path.join(os.path.join(sdk_path, 'tools'), 'emulator') 188 if not os.path.isfile(emu_path): 216 if 'ANDROID_BUILD_TOP' not in os.environ or 'ANDROID_HOST_OUT' not in os.environ: 220 theme_apk = os.path.join(os.environ['ANDROID_HOST_OUT'], 222 if not os.path.isfile(theme_apk): [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 32 import android.os.AsyncTask; 33 import android.os.Bundle; 34 import android.os.ParcelFileDescriptor; 35 import android.os.SystemClock; 161 try (OutputStream os = new ParcelFileDescriptor.AutoCloseOutputStream( in onAttached() argument 174 nextTest(is, os, "echo 32 bytes"); in onAttached() 176 os.write(origBuffer32); in onAttached() 183 nextTest(is, os, "echo 32 bytes"); in onAttached() 185 os.write(origBuffer32); in onAttached() 195 nextTest(is, os, "echo two 16 byte transfers as one"); in onAttached() [all …]
|
/cts/hostsidetests/multidevices/tools/ |
D | run_all_tests.py | 17 import os 18 import os.path 31 CONFIG_FILE = os.path.join(os.getcwd(), 'config.yml') 32 TESTS_DIR = os.path.join(os.getcwd(), 'tests') 121 for root, _, files in os.walk(TESTS_DIR): 124 test_name = os.path.splitext(file)[0] 125 test_file_path = os.path.join(root, file) 135 summary_file_path = os.path.join(topdir, MOBLY_TEST_SUMMARY_TXT_FILE) 152 os.remove(os.path.join(topdir, MOBLY_TEST_SUMMARY_TXT_FILE))
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessengerService.java | 18 package android.os.cts; 22 import android.os.Handler; 23 import android.os.IBinder; 24 import android.os.Message; 25 import android.os.Messenger; 26 import android.os.RemoteException;
|
D | BuildExtTest.java | 17 package android.os.cts; 19 import static android.os.cts.BuildTest.runTestCpuAbi32; 20 import static android.os.cts.BuildTest.runTestCpuAbi64; 21 import static android.os.cts.BuildTest.runTestCpuAbiCommon; 23 import android.os.Build; 51 if (android.os.Process.is64Bit()) { in testCpuAbi()
|
D | ResultReceiverTest.java | 17 package android.os.cts; 19 import android.os.Bundle; 20 import android.os.Handler; 21 import android.os.Looper; 22 import android.os.Parcel; 23 import android.os.ResultReceiver;
|
/cts/apps/CameraITS/tools/ |
D | run_all_unit_tests.py | 17 import os 29 scene_path = os.path.join(os.environ['CAMERA_ITS_TOP'], 31 self.assertTrue(os.path.exists(scene_path), 38 test_path = os.path.join(os.environ['CAMERA_ITS_TOP'], 40 self.assertTrue(os.path.exists(test_path),
|
D | run_sensor_fusion.py | 17 import os 18 import os.path 134 os.mkdir(os.path.join(topdir, camera_id)) 137 mobly_output_logs_path = os.path.join(topdir, camera_id) 138 mobly_scene_output_logs_path = os.path.join( 156 os.path.join(os.environ['CAMERA_ITS_TOP'], 'tests', 180 os.remove(run_all_tests.MOBLY_TEST_SUMMARY_TXT_FILE) 181 file_name = os.path.join(root_output_path, 'test_log.DEBUG') 199 tmp_yml_file = os.path.join(run_all_tests.YAML_FILE_DIR, tmp_yml_file_name) 200 os.remove(tmp_yml_file)
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | EphemeralService.java | 23 import android.os.Binder; 24 import android.os.IBinder; 25 import android.os.IInterface; 26 import android.os.Parcel; 27 import android.os.RemoteException; 28 import android.os.ResultReceiver; 29 import android.os.ShellCallback;
|
/cts/tests/process/src/android/os/cts/process/ |
D | ProcessTest2.java | 16 package android.os.cts.process; 18 import static android.os.cts.process.common.Consts.HELPER1_RECEIVER0; 19 import static android.os.cts.process.common.Consts.HELPER1_RECEIVER1; 20 import static android.os.cts.process.common.Consts.HELPER1_RECEIVER2; 21 import static android.os.cts.process.common.Consts.HELPER2_RECEIVER0; 22 import static android.os.cts.process.common.Consts.HELPER2_RECEIVER1; 23 import static android.os.cts.process.common.Consts.HELPER2_RECEIVER2; 24 import static android.os.cts.process.common.Consts.HELPER3_RECEIVER0; 25 import static android.os.cts.process.common.Consts.HELPER3_RECEIVER1; 26 import static android.os.cts.process.common.Consts.HELPER3_RECEIVER2; [all …]
|
/cts/hostsidetests/os/test-apps/PowerManagerTestApp/src/android/os/powermanagertests/ |
D | WakeLockTest.java | 17 package android.os.powermanagertests; 19 import static android.os.PowerManager.PARTIAL_WAKE_LOCK; 22 import android.os.Bundle; 23 import android.os.PowerManager.WakeLock; 24 import android.os.PowerManager;
|
/cts/hostsidetests/os/test-apps/StaticSharedLibProviderApp1/src/android/os/lib/provider/ |
D | StaticSharedLib.java | 17 package android.os.lib.provider; 20 import android.os.lib.provider.recursive.StaticSharedLibRecursive; 21 import android.os.lib.provider.recursive.R; 26 context.getResources().getInteger(android.os.lib.provider.R.integer.version)); in getVersion() 30 .getInteger(android.os.lib.provider.recursive.R.integer.version); in getRecursiveVersion()
|
/cts/hostsidetests/appsecurity/test-apps/UseEmbeddedDexApp/src/com/android/cts/useembeddeddex/ |
D | IsolatedService.java | 21 import android.os.Binder; 22 import android.os.IBinder; 31 Log.i("IsolatedService", "Service created in pid " + android.os.Process.myPid()); in onCreate() 36 Log.i("IsolatedService", "Service bound with pid " + android.os.Process.myPid()); in onBind() 43 Log.i("IsolatedService", "Service destroyed in pid " + android.os.Process.myPid()); in onDestroy()
|
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | IsolatedService.java | 20 import android.os.Handler; 21 import android.os.IBinder; 22 import android.os.Message; 23 import android.os.Messenger; 24 import android.os.Process; 25 import android.os.RemoteException;
|
/cts/hostsidetests/seccomp/app/ |
D | gen_blocklist.py | 17 import os 108 kernel_uapi_path = os.path.join(os.getenv('ANDROID_BUILD_TOP'), 113 '-I' + os.path.join(kernel_uapi_path, 115 '-I' + os.path.join(kernel_uapi_path) 151 candidates = sorted(glob.glob(os.path.join(os.getenv('ANDROID_BUILD_TOP'), 154 clang_exe = os.path.join(clang_dir, 'bin/clang') 155 if os.path.exists(clang_exe):
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/ |
D | SharedMemoryTestService.java | 17 package android.car.cts.builtin.os; 21 import android.os.IBinder; 22 import android.os.ParcelFileDescriptor; 23 import android.os.RemoteException; 24 import android.os.SharedMemory;
|
/cts/tests/framework/base/windowmanager/backgroundactivity/common/src/android/server/wm/backgroundactivity/common/ |
D | EventReceiver.java | 19 import android.os.Bundle; 20 import android.os.ConditionVariable; 21 import android.os.Handler; 22 import android.os.Looper; 23 import android.os.ResultReceiver;
|